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

1 2

  /src/sys/dev/pci/
pdcide.c 353 (chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA &&
354 chp->ch_drive[0].UDMA_mode <= 2) ||
355 (chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA &&
356 chp->ch_drive[1].UDMA_mode <= 2)) {
357 if (chp->ch_drive[0].UDMA_mode > 2)
358 chp->ch_drive[0].UDMA_mode = 2;
359 if (chp->ch_drive[1].UDMA_mode > 2)
360 chp->ch_drive[1].UDMA_mode = 2;
363 if ((chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA &&
364 chp->ch_drive[0].UDMA_mode > 2) |
    [all...]
acardide.c 206 if ((chp->ch_drive[0].drive_flags & ATA_DRIVE_UDMA) ||
207 (chp->ch_drive[1].drive_flags & ATA_DRIVE_UDMA)) {
210 if (chp->ch_drive[0].UDMA_mode > 2)
211 chp->ch_drive[0].UDMA_mode = 2;
212 if (chp->ch_drive[1].UDMA_mode > 2)
213 chp->ch_drive[1].UDMA_mode = 2;
222 drvp = &chp->ch_drive[drive];
optiide.c 199 drvp = &chp->ch_drive[drive];
234 chp->ch_drive[d].PIO_mode = chp->ch_drive[1-d].PIO_mode;
235 chp->ch_drive[d].DMA_mode = 0;
237 chp->ch_drive[d].drive_flags &= ~ATA_DRIVE_DMA;
aceride.c 269 if ((chp->ch_drive[0].drive_flags | chp->ch_drive[1].drive_flags) &
273 if (chp->ch_drive[0].UDMA_mode > 2)
274 chp->ch_drive[0].UDMA_mode = 2;
275 if (chp->ch_drive[1].UDMA_mode > 2)
276 chp->ch_drive[1].UDMA_mode = 2;
281 drvp = &chp->ch_drive[drive];
cypide.c 188 drvp = &chp->ch_drive[drive];
209 chp->ch_drive[0].DMA_mode = dma_mode;
210 chp->ch_drive[1].DMA_mode = dma_mode;
schide.c 186 drvp = &chp->ch_drive[drive];
stpcide.c 160 drvp = &chp->ch_drive[drive];
geodeide.c 205 drvp = &chp->ch_drive[drive];
iteide.c 189 drvp = &chp->ch_drive[drive];
ixpide.c 191 drvp = &chp->ch_drive[drive];
nside.c 169 drvp = &chp->ch_drive[drive];
slide.c 209 drvp = &chp->ch_drive[drive];
toshide.c 185 drvp = &chp->ch_drive[drive];
  /src/sys/dev/ata/
ata.c 248 chp->ch_drive[0].drive_type, chp->ch_drive[1].drive_type),
267 if (chp->ch_drive == NULL)
269 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
271 if (chp->ch_drive[i].drive_type != ATA_DRIVET_NONE)
327 chp->ch_drive[PMP_PORT_CTL].drive_type == ATA_DRIVET_PM) {
340 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
342 if (chp->ch_drive[i].drive_type == ATA_DRIVET_ATAPI) {
354 if (chp->ch_drive[i].drive_type == ATA_DRIVET_ATAPI)
355 chp->ch_drive[i].drive_type = ATA_DRIVET_NONE
    [all...]
sata_subr.c 172 if (chp->ch_drive == NULL) {
185 chp->ch_drive[PMP_PORT_CTL].drive_type = ATA_DRIVET_PM;
192 chp->ch_drive[port].drive_type = ATA_DRIVET_ATAPI;
195 chp->ch_drive[port].drive_type = ATA_DRIVET_ATA;
201 chp->ch_drive[port].drive_type = ATA_DRIVET_ATA;
satapmp_subr.c 61 drvp = &chp->ch_drive[PMP_PORT_CTL];
130 drvp = &chp->ch_drive[PMP_PORT_CTL];
249 if (chp->ch_drive[i].drive_type != ATA_DRIVET_NONE ||
263 &chp->ch_drive[i], AT_WAIT, &sig);
ata_wdc.c 182 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
340 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
633 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
823 (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc, xfer);
848 (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc, xfer);
ata_recovery.c 176 drvp = &chp->ch_drive[drive];
satafis_subr.c 104 struct ata_drive_datas *drvp = &xfer->c_chp->ch_drive[xfer->c_drive];
  /src/sys/arch/macppc/dev/
kauai.c 226 struct ata_drive_datas *drvp0 = &chp->ch_drive[0];
227 struct ata_drive_datas *drvp1 = &chp->ch_drive[1];
238 drvp = &chp->ch_drive[drive];
280 struct ata_drive_datas *drvp = &chp->ch_drive[drive];
wdc_obio.c 322 drvp = &chp->ch_drive[drive];
387 drvp = &chp->ch_drive[drive];
  /src/sys/dev/ic/
wdc.c 212 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
257 chp->ch_drive[0].drive_type = ATA_DRIVET_ATAPI;
259 chp->ch_drive[0].drive_type = ATA_DRIVET_ATA;
266 chp->ch_drive[0].drive_type = ATA_DRIVET_NONE;
321 chp->ch_drive[1].drive_type == ATA_DRIVET_ATA) {
330 if (chp->ch_drive[0].drive_type == ATA_DRIVET_ATA) {
341 if ((chp->ch_drive[0].drive_type != ATA_DRIVET_ATA ||
344 chp->ch_drive[1].drive_type != ATA_DRIVET_ATA ||
357 chp->ch_drive[0].drive_type != ATA_DRIVET_ATAPI)
358 chp->ch_drive[0].drive_type = ATA_DRIVET_NONE
    [all...]
mvsata.c 768 struct ata_drive_datas *drvp = &chp->ch_drive[target];
870 ata_kill_pending(&chp->ch_drive[periph->periph_target]);
898 drvp = &chp->ch_drive[drive];
961 drvp = &chp->ch_drive[drive];
1022 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
1273 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
1444 (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc, xfer);
1476 (*chp->ch_drive[drive].drv_done)(chp->ch_drive[drive].drv_softc, xfer)
    [all...]
  /src/sys/dev/scsipi/
atapi_wdc.c 170 ata_kill_pending(&chp->ch_drive[periph->periph_target]);
226 wdc_exec_command(&chp->ch_drive[drive], xfer);
237 chp->ch_drive[drive].state = 0;
245 if (ata_get_params(&chp->ch_drive[drive], AT_WAIT, id) != 0) {
272 struct ata_drive_datas *drvp = &chp->ch_drive[target];
403 if ((atac->atac_channels[channel]->ch_drive[drive].drive_flags &
484 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
738 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
1062 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive];
1173 struct ata_drive_datas *drvp = &chp->ch_drive[xfer->c_drive]
    [all...]
  /src/sys/arch/i386/pci/
gcscide.c 201 drvp = &chp->ch_drive[drive];

Completed in 22 milliseconds

1 2