Searched refs:ch_ndrives (Results 1 – 17 of 17) sorted by relevance
246 if (chp->ch_ndrives >= 2) { in atabusconfig()270 for (i = 0; i < chp->ch_ndrives; i++) in atabusconfig()273 if (i == chp->ch_ndrives) in atabusconfig()363 for (i = 0; i < chp->ch_ndrives; i++) { in atabusconfig_thread()408 for (i = 0; i < chp->ch_ndrives; i++) { in atabusconfig_thread()755 if (chp->ch_ndrives != ndrives) in atabus_alloc_drives()775 chp->ch_ndrives = ndrives; in atabus_alloc_drives()808 chp->ch_ndrives = 0; in atabus_free_drives()1580 KASSERT(drive <= chp->ch_ndrives); in ata_thread_run()1642 KASSERT(drive <= chp->ch_ndrives); in ata_thread_run()[all …]
60 KASSERT(chp->ch_ndrives >= PMP_MAX_DRIVES); in satapmp_read_8()129 KASSERT(chp->ch_ndrives >= PMP_MAX_DRIVES); in satapmp_write_8()245 KASSERT(chp->ch_satapmp_nports <= chp->ch_ndrives); in satapmp_rescan()
180 KASSERT(port < chp->ch_ndrives); in sata_interpret_sig()
175 KASSERT(drive < chp->ch_ndrives); in ata_recovery_resume()
291 device_xname(chp->atabus), chp->ch_flags, chp->ch_ndrives); in atachannel_debug()
426 int ch_ndrives; /* number of entries in ch_drive[] */ member
212 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL); in wdc_sataprobe()320 if (chp->ch_ndrives > 1 && in wdc_drvprobe()343 (chp->ch_ndrives < 2 || in wdc_drvprobe()359 if (chp->ch_ndrives > 1 && (st1 & WDCS_DRDY) == 0 && in wdc_drvprobe()371 for (i = 0; i < chp->ch_ndrives; i++) { in wdc_drvprobe()471 for (j = 0; j < chp->ch_ndrives; j++) { in wdc_drvprobe()1043 if (chp->ch_ndrives > 1) in wdcreset()
319 KASSERT(chp->ch_ndrives != 0); in njata32_setup_channel()326 for (drive = 0; drive < chp->ch_ndrives; drive++) { in njata32_setup_channel()
635 if (chp->ch_ndrives > PMP_PORT_CTL) { in siisata_channel_recover()1449 if (chp->ch_ndrives > 1) { in siisata_reinit_port()1461 for (int i = 0; i < chp->ch_ndrives; i++) { in siisata_reinit_port()1483 if (chp->ch_ndrives > 1) in siisata_reinit_port()
1106 if (chp->ch_ndrives > PMP_PORT_CTL && in ahci_probe_drive()1678 if (chp->ch_ndrives > PMP_PORT_CTL && in ahci_channel_start()1704 if (chp->ch_ndrives > PMP_PORT_CTL) { in ahci_channel_recover()
567 if (chp->ch_ndrives > PMP_PORT_CTL) { in mvsata_channel_recover()897 for (drive = 0; drive < chp->ch_ndrives; drive++) { in mvsata_setup_channel()960 for (drive = 0; drive < chp->ch_ndrives; drive++) { in mvsata_setup_channel()
576 KASSERT(cp->ata_channel.ch_ndrives != 0); in pciide_channel_dma_setup()578 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) { in pciide_channel_dma_setup()1120 KASSERT(cp->ata_channel.ch_ndrives != 0); in sata_setup_channel()1121 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) { in sata_setup_channel()
338 for (drive = 0; drive < chp->ch_ndrives; drive++) { in hpt_setup_channel()
219 if (nchp->ch_ndrives == 0) in cmd064x_free_hw()
178 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) { in pciide_pnpbios_attach()
206 ch->ch_ndrives = 2; in wdc_spd_attach()
141 chan->chan_ntargets = chp->ch_ndrives; in wdc_atapibus_attach()