/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/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/gpio/ |
priv.h | 24 int (*drive)(struct nvkm_gpio *, int line, int dir, int out); member in struct:nvkm_gpio_func
|
/src/sys/dev/pci/ |
cypide.c | 172 int drive; local in function:cy693_setup_channel 187 for (drive = 0; drive < 2; drive++) { 188 drvp = &chp->ch_drive[drive]; 189 /* If no drive, skip */ 194 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive); 200 CY_CMD_CTRL_IOW_PULSE_OFF(drive)); 202 CY_CMD_CTRL_IOW_REC_OFF(drive)); 204 CY_CMD_CTRL_IOR_PULSE_OFF(drive)); [all...] |
acardide.c | 188 int drive, s; local in function:acard_setup_channel 220 /* Per drive settings */ 221 for (drive = 0; drive < 2; drive++) { 222 drvp = &chp->ch_drive[drive]; 223 /* If no drive, skip */ 231 idetime |= ATP850_SETTIME(drive, 234 udma_mode |= ATP850_UDMA_MODE(channel, drive, 237 idetime |= ATP860_SETTIME(channel, drive, [all...] |
geodeide.c | 175 int drive, s; local in function:geodeide_setup_channel 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...] |
iteide.c | 166 int drive, mode = 0; local in function:ite_setup_channel 188 for (drive = 0; drive < 2; drive++) { 189 drvp = &chp->ch_drive[drive]; 191 /* If no drive, skip */ 199 modectl &= ~IT_MODE_DMA(channel, drive); 204 (cfg & IT_CFG_CABLE(channel, drive)) == 0) { 208 channel, drive), DEBUG_PROBE); 214 tim |= IT_TIM_UDMA5(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...] |
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...] |
schide.c | 177 int drive, s; local in function:sch_setup_channel 184 /* Per drive settings */ 185 for (drive = 0; drive < 2; drive++) { 186 drvp = &chp->ch_drive[drive]; 187 /* If no drive, skip */ 191 timaddr = (drive == 0) ? SCH_D0TIM : SCH_D1TIM; 211 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive);
|
slide.c | 193 int pxdx_reg, drive, s; local in function:sl82c105_setup_channel 199 for (drive = 0; drive < 2; drive++) { 202 (drive * 4); 209 drvp = &chp->ch_drive[drive]; 210 /* If no drive, skip. */ 257 /* ...and set the mode for this drive. */
|
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...] |
toshide.c | 172 int drive, s; local in function:piccolo_setup_channel 183 for (drive = 0; drive < 2; drive++) { 185 drvp = &chp->ch_drive[drive]; 186 /* If no drive, skip */ 215 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive); 244 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive);
|
hptide.c | 282 int drive, s; local in function:hpt_setup_channel 337 /* Per drive settings */ 338 for (drive = 0; drive < chp->ch_ndrives; drive++) { 339 drvp = &chp->ch_drive[drive]; 340 /* If no drive, skip */ 344 HPT_IDETIM(chp->ch_channel, drive)); 356 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive); 368 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive); [all...] |
ixpide.c | 177 int drive, s; local in function:ixp_setup_channel 190 for (drive = 0; drive < 2; drive++) { 191 drvp = &chp->ch_drive[drive]; 198 IXP_UDMA_ENABLE(udma, chp->ch_channel, drive); 199 IXP_SET_MODE(udma, chp->ch_channel, drive, drvp->UDMA_mode); 201 IXP_UDMA_DISABLE(udma, chp->ch_channel, drive); 202 IXP_SET_TIMING(mdma_timing, chp->ch_channel, drive, 205 IXP_UDMA_DISABLE(udma, chp->ch_channel, drive); [all...] |
nside.c | 159 int drive; local in function:natsemi_setup_channel 168 for (drive = 0; drive < 2; drive++) { 169 drvp = &chp->ch_drive[drive]; 170 /* If no drive, skip */ 188 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive); 195 NATSEMI_RTREG(chp->ch_channel, drive), tim); 197 NATSEMI_WTREG(chp->ch_channel, drive), tim);
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/ |
i2c.h | 19 u8 drive; member in struct:dcb_i2c_entry
|
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/ |
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/dev/ata/ |
ata_raid_adaptec.c | 75 uint32_t gen, drive; local in function:ata_raid_read_config_adaptec 173 drive = atabus->sc_chan->ch_channel; 174 if (drive >= aai->aai_ndisks) { 176 "drive number %d doesn't make sense within %d-disk " 177 "array\n", drive, aai->aai_ndisks); 182 adi = &aai->aai_disks[drive]; 186 adi->adi_compsize = be32toh(info->configs[drive+1].sectors);
|
/src/sys/arch/i386/pnpbios/ |
pciide_pnpbios.c | 87 int i, drive, size; local in function:pciide_pnpbios_attach 177 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) { 182 if (pciide_dma_table_setup(sc, 0, drive) != 0) { 187 device_xname(self), 0, drive); 194 idedma_ctl |= IDEDMA_CTL_DRV_DMA(drive);
|
/src/games/battlestar/ |
command6.c | 183 drive(void) function in typeref:typename:int 196 puts("There is nothing to drive here.");
|
/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...] |
/src/sys/arch/cobalt/stand/boot/ |
wdc.c | 101 /* Test to see controller with at last one attached drive is there. 102 * Returns a bit for each possible drive found (0x01 for drive 0, 103 * 0x02 for drive 1). 105 * - If a status register is at 0xff, assume there is no drive here 108 * If no drive at all -> return. 117 uint8_t drive; local in function:wdcprobe 159 for (drive = 0; drive < 2; drive++) [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/mmeye/stand/boot/ |
wdc.c | 110 /* Test to see controller with at last one attached drive is there. 111 * Returns a bit for each possible drive found (0x01 for drive 0, 112 * 0x02 for drive 1). 114 * - If a status register is at 0xff, assume there is no drive here 117 * If no drive at all -> return. 126 uint8_t drive; local in function:wdcprobe 168 for (drive = 0; drive < 2; drive++) [all...] |
/src/usr.sbin/mmcformat/ |
uscsilib.h | 64 int drive; /* -1 if wildcard */ member in struct:uscsi_addr::__anon076a3679010a::__anon076a36790308
|