HomeSort by: relevance | last modified time | path
    Searched refs:drive (Results 1 - 25 of 238) sorted by relevancy

1 2 3 4 5 6 7 8 910

  /src/sys/arch/x68k/stand/libsa/
chdsk.c 42 int drive[2]; local
44 drive[0] = 0x90 << 8;
45 drive[1] = 0x91 << 8;
48 IOCS_B_DRVCHK(drive[sc->unit], 3);
50 IOCS_B_DRVCHK(drive[sc->unit], 1);
53 IOCS_B_DRVCHK(drive[0], 4);
54 IOCS_B_DRVCHK(drive[1], 4);
57 if ((IOCS_B_DRVCHK(drive[0], 0) & 2)) {
61 if ((IOCS_B_DRVCHK(drive[1], 0) & 2)) {
68 IOCS_B_DRVCHK(drive[0], 5)
    [all...]
  /src/sys/dev/pci/
pciide_cy693_reg.h 40 #define CY_CTRL_PREFETCH(drive) (0x00000100 << (2 * (drive)))
48 #define CY_ADDR_CTRL_SETUP_OFF(drive) (4 * (drive))
49 #define CY_ADDR_CTRL_SETUP_MASK(drive) \
50 (0x00000007 << CY_ADDR_CTRL_SETUP_OFF(drive))
54 #define CY_CMD_CTRL_IOW_PULSE_OFF(drive) (12 + 16 * (drive))
55 #define CY_CMD_CTRL_IOW_REC_OFF(drive) (8 + 16 * (drive))
    [all...]
pciide_ite_reg.h 26 #define IT_CFG_CABLE(chan, drive) (0x0010 << ((chan) * 2 + (drive)))
33 #define IT_MODE_DMA(chan, drive) (0x0008 << ((chan) * 2 + (drive)))
38 #define IT_TIM_UDMA5(drive) (0x00800000 << (drive) * 8)
pciide_sis_reg.h 36 #define SIS_TIM66_REC_OFF(drive) (16 * (drive))
37 #define SIS_TIM66_ACT_OFF(drive) (8 + 16 * (drive))
38 #define SIS_TIM66_UDMA_TIME_OFF(drive) (12 + 16 * (drive))
40 #define SIS_TIM100_REC_OFF(drive) (16 * (drive))
41 #define SIS_TIM100_ACT_OFF(drive) (4 + 16 * (drive))
    [all...]
pciide_cmd_reg.h 58 * data read/write timing registers . 0640 uses the same for drive 0 and 1
61 #define CMD_DATA_TIM(chan, drive) \
63 ((drive) == 0) ? 0x54: 0x56 \
65 ((drive) == 0) ? 0x58 : 0x5b)
89 #define CMD_UDMATIM_UDMA(drive) (0x01 << (drive))
90 #define CMD_UDMATIM_UDMA33(drive) (0x04 << (drive))
92 #define CMD_UDMATIM_TIM_OFF(drive) (4 + ((drive) * 2)
    [all...]
pciide_acard_reg.h 30 #define ATP850_SETTIME(drive, act, rec) \
31 (((((act) & 0xf) << 8) | ((rec) & 0xf)) << ((drive) * 16))
32 #define ATP860_SETTIME(channel, drive, act, rec) \
34 ((channel) * 16 + (drive) * 8))
47 #define ATP850_UDMA_MODE(channel, drive, x) \
48 (((x) & 0x3) << ((channel) * 4 + (drive) * 2))
49 #define ATP860_UDMA_MODE(channel, drive, x) \
50 (((x) & 0xf) << ((channel) * 8 + (drive) * 4))
pciide_apollo_reg.h 84 * drive which does not support UDMA modes.
129 #define APO_DATATIM_RECOV(channel, drive, x) (((x) & 0xf) << \
130 (((1 - (channel)) << 4) + ((1 - (drive)) << 3)))
131 #define APO_DATATIM_PULSE(channel, drive, x) (((x) & 0xf) << \
132 (((1 - (channel)) << 4) + ((1 - (drive)) << 3) + 4))
140 #define APO_UDMA_TIME(channel, drive, x) (((x) & 0xf) << \
141 (((1 - (channel)) << 4) + ((1 - (drive)) << 3)))
142 #define APO_UDMA_PIO_MODE(channel, drive) (0x20 << \
143 (((1 - (channel)) << 4) + ((1 - (drive)) << 3))) /* via only */
144 #define APO_UDMA_EN(channel, drive) (0x40 <<
    [all...]
rdcide.c 203 u_int8_t drive; local
221 for (drive = 0; drive < 2; drive++) {
222 udccr &= ~RDCIDE_UDCCR_EN(chp->ch_channel, drive);
223 udccr &= ~RDCIDE_UDCCR_TIM_MASK(chp->ch_channel, drive);
224 iiocr &= ~RDCIDE_IIOCR_CLK_MASK(chp->ch_channel, drive);
227 for (drive = 0; drive < 2; drive++)
    [all...]
pciide_piix_reg.h 88 #define PIIX_UDMACTL_DRV_EN(channel, drive) (0x01 << ((channel) * 2 + (drive)))
92 #define PIIX_UDMATIM_SET(x, channel, drive) \
93 (((x) << ((channel * 8) + (drive * 4))) << PIIX_UDMATIM_SHIFT)
101 #define PIIX_CONFIG_CR(channel, drive) (0x0010 << ((channel) * 2 + (drive)))
102 #define PIIX_CONFIG_UDMA66(channel, drive) (0x0001 << ((channel) * 2 + (drive)))
104 #define PIIX_CONFIG_UDMA100(channel, drive) (0x1000 << ((channel) * 2 + (drive)))
    [all...]
optiide.c 175 int drive, spd, s; local
198 for (drive = 0; drive < 2; drive++) {
199 drvp = &chp->ch_drive[drive];
200 /* If no drive, skip */
202 mode[drive] = -1;
219 mode[drive] = drvp->DMA_mode + 5;
221 mode[drive] = drvp->PIO_mode;
223 if (drive && mode[0] >= 0 &
    [all...]
stpcide.c 150 int drive, bits[2], s; local
158 /* Per drive settings */
159 for (drive = 0; drive < 2; drive++) {
160 drvp = &chp->ch_drive[drive];
161 /* If no drive, skip */
171 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive);
172 bits[drive] = 0xe; /* IOCHRDY,wr/post,rd/prefetch */
179 bits[drive] = 0x8; /* IOCHRDY *
    [all...]
geodeide.c 175 int drive, s; local
203 /* Per drive settings */
204 for (drive = 0; drive < 2; drive++) {
205 drvp = &chp->ch_drive[drive];
206 /* If no drive, skip */
212 dmaoff = CS5530_DMA_REG(channel, drive);
213 piooff = CS5530_PIO_REG(channel, drive);
219 dmaoff = SC1100_DMA_REG(channel, drive);
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/
nouveau_nvkm_subdev_i2c_auxgf119.c 36 gf119_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive,
39 return g94_i2c_aux_new_(&gf119_i2c_aux, pad, index, drive, paux);
nouveau_nvkm_subdev_i2c_busnv04.c 36 u8 drive; member in struct:nv04_i2c_bus
45 u8 val = nvkm_rdvgac(device, 0, bus->drive);
48 nvkm_wrvgac(device, 0, bus->drive, val | 0x01);
56 u8 val = nvkm_rdvgac(device, 0, bus->drive);
59 nvkm_wrvgac(device, 0, bus->drive, val | 0x01);
88 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense,
98 bus->drive = drive;
  /src/sys/arch/i386/stand/misc/
rawrite.c 68 case 0x07: msg("Drive parameter activity failed"); break;
79 case 0xAA: msg("Drive not ready (hard disk only"); break;
89 Identify what kind of diskette is installed in the specified drive.
95 int nsects(int (drive))
105 biosdisk(RESET, drive, 0, 0, 0, 0, buffer);
106 status = biosdisk(READ, drive, 0, 10, 1, 1, buffer);
108 status = biosdisk(READ, drive, 0, 0, 1, 1, buffer);
111 biosdisk(RESET, drive, 0, 0, 0, 0, buffer);
112 status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer);
114 status = biosdisk(READ, drive, 0, 0, nsect[i], 1, buffer)
128 int count, fdin, drive, head, track, status, spt, buflength, ns; local
    [all...]
  /src/sys/arch/acorn32/stand/lib/
riscosdisk.c 40 int drive; member in struct:riscosdisk
60 rodisk_open(struct open_file *f, ... /* char const *fsname, int drive,
66 int drive, partition, nfd, nhd, err; local
72 drive = va_arg(ap, int);
80 if (drive < 0 ||
81 (drive < 4 && drive >= nfd) ||
82 drive >= nhd + 4)
87 rd->drive = drive;
    [all...]
devopen.c 46 int part, drive, err, fslen;
58 drive = 0;
60 drive = drive * 10 + *p-- - '0';
67 err = rodisk_open(f, fsname, drive, part);
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/st/
stm32h7-pinctrl.dtsi 52 drive-open-drain;
81 drive-push-pull;
94 drive-push-pull;
100 drive-open-drain;
122 drive-push-pull;
149 drive-push-pull;
162 drive-push-pull;
168 drive-open-drain;
191 drive-push-pull;
205 drive-push-pull
    [all...]
  /src/sys/arch/macppc/dev/
kauai.c 229 int drive; local
237 for (drive = 0; drive < 2; drive++) {
238 drvp = &chp->ch_drive[drive];
240 (*sc->sc_calc_timing)(sc, drive);
242 PIO_CONFIG_REG, sc->sc_piotiming_r[drive]);
244 DMA_CONFIG_REG, sc->sc_dmatiming_r[drive]);
277 calc_timing_kauai(struct kauai_softc *sc, int drive)
280 struct ata_drive_datas *drvp = &chp->ch_drive[drive];
    [all...]
  /src/sys/arch/atari/conf/
MILAN.in 51 fdisa0 at fdcisa0 drive 0
113 wd* at atabus? drive ?
116 cd* at atapibus? drive ? # ATAPI CD-ROM drives
  /src/sys/arch/atari/stand/tostools/chg_pid/
chg_pid.c 153 eprintf("Note: >>> Both drive and partition numbers start "
159 eprintf("About to change id of partition %d on drive %d to %s\r\n",
184 int chg_tosparts(chg_part, drive, newname)
185 int chg_part, drive;
197 if (read_block(buf, 0, drive) == 0)
218 if (read_block(buf, new_root, drive) == 0)
232 if (write_block(buf, new_root, drive) == 0)
248 if (read_block(buf, 0, drive) == 0)
254 if (write_block(buf, 0, drive) == 0)
278 int read_block(buf, blkno, drive)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/bios/
nouveau_nvkm_subdev_bios_i2c.c 100 info->drive = DCB_I2C_UNUSED;
107 info->drive = nvbios_rd08(bios, ent + 0);
111 info->drive = nvbios_rd08(bios, ent + 1);
114 info->drive = nvbios_rd08(bios, ent + 0) & 0x0f;
124 info->drive = (nvbios_rd16(bios, ent + 0) & 0x01f) >> 0;
125 if (info->drive == 0x1f)
126 info->drive = DCB_I2C_UNUSED;
151 info->drive = nvbios_rd08(bios, ent + 4);
152 if (!info->drive) info->drive = 0x3f
    [all...]
  /src/sys/arch/vax/consolerl/
hkmboo.com 5 ! rk07 drive type boot to multi user mode
15 DEPOSIT R10 3 ! rk07 drive type - uba0 - drive 0
hksboo.com 5 ! rk07 drive type boot to single user mode
15 DEPOSIT R10 3 ! rk07 drive type - uba0 - drive 0
hpmboo.com 5 ! 'hp' drive type boot to multi user mode
15 DEPOSIT R10 0 ! 'hp' drive type - mba0 - drive 0

Completed in 545 milliseconds

1 2 3 4 5 6 7 8 910