HomeSort by: relevance | last modified time | path
    Searched refs:ch_ndrives (Results 1 - 17 of 17) sorted by relevancy

  /src/sys/dev/ata/
ata.c 246 if (chp->ch_ndrives >= 2) {
269 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
270 for (i = 0; i < chp->ch_ndrives; i++)
273 if (i == chp->ch_ndrives)
326 if (chp->ch_ndrives == PMP_MAX_DRIVES &&
340 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
341 for (i = 0; i < chp->ch_ndrives && chp->atapibus == NULL; i++) {
353 for (i = 0; i < chp->ch_ndrives; i++) {
363 for (i = 0; i < chp->ch_ndrives; i++) {
394 for (i = 0; i < chp->ch_ndrives; i++)
    [all...]
satapmp_subr.c 60 KASSERT(chp->ch_ndrives >= PMP_MAX_DRIVES);
129 KASSERT(chp->ch_ndrives >= PMP_MAX_DRIVES);
245 KASSERT(chp->ch_satapmp_nports <= chp->ch_ndrives);
sata_subr.c 180 KASSERT(port < chp->ch_ndrives);
ata_recovery.c 175 KASSERT(drive < chp->ch_ndrives);
ata_subr.c 291 device_xname(chp->atabus), chp->ch_flags, chp->ch_ndrives);
atavar.h 426 int ch_ndrives; /* number of entries in ch_drive[] */ member in struct:ata_channel
  /src/sys/arch/i386/pnpbios/
pciide_pnpbios.c 177 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
  /src/sys/arch/playstation2/dev/
wdc_spd.c 205 ch->ch_ndrives = 2;
  /src/sys/dev/pci/
pciide_common.c 586 KASSERT(cp->ata_channel.ch_ndrives != 0);
588 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
1156 KASSERT(cp->ata_channel.ch_ndrives != 0);
1157 for (drive = 0; drive < cp->ata_channel.ch_ndrives; drive++) {
hptide.c 338 for (drive = 0; drive < chp->ch_ndrives; drive++) {
cmdide.c 219 if (nchp->ch_ndrives == 0)
  /src/sys/dev/ic/
ninjaata32.c 319 KASSERT(chp->ch_ndrives != 0);
326 for (drive = 0; drive < chp->ch_ndrives; drive++) {
wdc.c 212 KASSERT(chp->ch_ndrives == 0 || chp->ch_drive != NULL);
320 if (chp->ch_ndrives > 1 &&
343 (chp->ch_ndrives < 2 ||
359 if (chp->ch_ndrives > 1 && (st1 & WDCS_DRDY) == 0 &&
371 for (i = 0; i < chp->ch_ndrives; i++) {
471 for (j = 0; j < chp->ch_ndrives; j++) {
1043 if (chp->ch_ndrives > 1)
siisata.c 635 if (chp->ch_ndrives > PMP_PORT_CTL) {
1449 if (chp->ch_ndrives > 1) {
1461 for (int i = 0; i < chp->ch_ndrives; i++) {
1483 if (chp->ch_ndrives > 1)
ahcisata_core.c 1102 if (chp->ch_ndrives > PMP_PORT_CTL &&
1674 if (chp->ch_ndrives > PMP_PORT_CTL &&
1700 if (chp->ch_ndrives > PMP_PORT_CTL) {
mvsata.c 567 if (chp->ch_ndrives > PMP_PORT_CTL) {
897 for (drive = 0; drive < chp->ch_ndrives; drive++) {
960 for (drive = 0; drive < chp->ch_ndrives; drive++) {
  /src/sys/dev/scsipi/
atapi_wdc.c 141 chan->chan_ntargets = chp->ch_ndrives;

Completed in 29 milliseconds