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

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/x68k/stand/libsa/
chdsk.c 42 int drive[2]; local in function:changedisk_hook
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 in function:rdcide_setup_channel
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 in function:opti_setup_channel
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 in function:stpc_setup_channel
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...]
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/qcom/
msm8916-pins.dtsi 13 drive-strength = <16>;
21 drive-strength = <2>;
29 drive-strength = <16>;
37 drive-strength = <2>;
45 drive-strength = <12>;
52 drive-strength = <16>;
62 drive-strength = <2>;
70 drive-strength = <12>;
77 drive-strength = <16>;
87 drive-strength = <2>
    [all...]
qcs404-evb-4000.dts 45 drive-strength = <2>;
61 drive-strength = <16>;
67 drive-strength = <2>;
73 drive-strength = <16>;
79 drive-strength = <2>;
85 drive-strength = <16>;
91 drive-strength = <2>;
  /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/external/gpl2/dts/dist/arch/arm/boot/dts/
qcom-apq8064-pins.dtsi 14 drive-strengh = <16>;
20 drive-strengh = <10>;
26 drive-strengh = <10>;
34 drive-strengh = <8>;
40 drive-strengh = <8>;
46 drive-strengh = <8>;
66 drive-strength = <16>;
78 drive-strength = <2>;
105 drive-strength = <16>;
118 drive-strength = <2>
    [all...]
qcom-mdm9615-wp8548.dtsi 66 drive-strength = <8>;
75 drive-strength = <8>;
84 drive-strength = <8>;
91 drive-strength = <2>;
100 drive-strength = <8>;
109 drive-strength = <2>;
122 qcom,drive-strength = <1>;
nuvoton-npcm730-gsj-gpio.dtsi 9 drive-push-pull;
14 drive-push-pull;
19 drive-push-pull;
24 drive-push-pull;
29 drive-push-pull;
34 drive-push-pull;
39 drive-push-pull;
44 drive-push-pull;
59 drive-push-pull;
64 drive-push-pull
    [all...]
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/external/gpl2/dts/dist/arch/arm64/boot/dts/rockchip/
rockchip-pinconf.dtsi 25 drive-strength = <0>;
31 drive-strength = <1>;
37 drive-strength = <2>;
43 drive-strength = <3>;
49 drive-strength = <4>;
55 drive-strength = <5>;
61 drive-strength = <6>;
67 drive-strength = <7>;
73 drive-strength = <8>;
79 drive-strength = <9>
    [all...]
  /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 in function:main
    [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 in function:rodisk_open
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/arch/macppc/dev/
kauai.c 229 int drive; local in function:kauai_set_modes
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

Completed in 74 milliseconds

1 2 3 4 5 6 7 8 91011>>