ch_drive          178 dev/ata/ata_wdc.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          380 dev/ata/ata_wdc.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          541 dev/ata/ata_wdc.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          328 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[as->drive];
ch_drive          453 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[as->drive];
ch_drive          740 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          782 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          817 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          860 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         1017 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         1107 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         1330 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         1589 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         1617 dev/atapiscsi/atapiscsi.c 	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive          711 dev/ic/wdc.c   			chp->ch_drive[drive].drive_flags |= DRIVE_ATAPI;
ch_drive          720 dev/ic/wdc.c   		if (chp->ch_drive[drive].drive_flags & DRIVE_ATAPI)
ch_drive          726 dev/ic/wdc.c   			chp->ch_drive[drive].drive_flags |= DRIVE_ATA;
ch_drive          729 dev/ic/wdc.c   				chp->ch_drive[drive].drive_flags |= DRIVE_OLD;
ch_drive          805 dev/ic/wdc.c   	if ((chp->ch_drive[0].drive_flags & DRIVE_ATAPI) ||
ch_drive          806 dev/ic/wdc.c   	    (chp->ch_drive[1].drive_flags & DRIVE_ATAPI)) {
ch_drive          814 dev/ic/wdc.c   	if ((chp->ch_drive[0].drive_flags & DRIVE_ATAPI) ||
ch_drive          815 dev/ic/wdc.c   	    (chp->ch_drive[1].drive_flags & DRIVE_ATAPI)) {
ch_drive          830 dev/ic/wdc.c   		struct ata_drive_datas *drvp = &chp->ch_drive[i];
ch_drive          843 dev/ic/wdc.c   		if (i == 1 && ((chp->ch_drive[0].drive_flags & DRIVE) == 0))
ch_drive          850 dev/ic/wdc.c   		if (ata_get_params(&chp->ch_drive[i], at_poll, &drvp->id) ==
ch_drive          871 dev/ic/wdc.c   	    chp->ch_drive[0].drive_flags, chp->ch_drive[1].drive_flags),
ch_drive          875 dev/ic/wdc.c   	if ((chp->ch_drive[0].drive_flags & DRIVE) == 0 &&
ch_drive          876 dev/ic/wdc.c   	    (chp->ch_drive[1].drive_flags & DRIVE) == 0)
ch_drive          880 dev/ic/wdc.c   		if ((chp->ch_drive[i].drive_flags & DRIVE) == 0) {
ch_drive          884 dev/ic/wdc.c   		if (chp->ch_drive[i].drive_flags & DRIVE_ATAPI)
ch_drive          890 dev/ic/wdc.c   		aa_link.aa_drv_data = &chp->ch_drive[i];
ch_drive          899 dev/ic/wdc.c   		if (chp->ch_drive[i].drive_name[0] == 0)
ch_drive          900 dev/ic/wdc.c   			chp->ch_drive[i].drive_flags = 0;
ch_drive          949 dev/ic/wdc.c   	if (chp->ch_drive[xfer->drive].drive_flags & DRIVE_RESET) {
ch_drive          950 dev/ic/wdc.c   		chp->ch_drive[xfer->drive].drive_flags &= ~DRIVE_RESET;
ch_drive          951 dev/ic/wdc.c   		chp->ch_drive[xfer->drive].state = 0;
ch_drive         1029 dev/ic/wdc.c   		chp->ch_drive[drive].state = 0;
ch_drive         1045 dev/ic/wdc.c   	drv_mask1 = (chp->ch_drive[0].drive_flags & DRIVE) ? 0x01:0x00;
ch_drive         1046 dev/ic/wdc.c   	drv_mask1 |= (chp->ch_drive[1].drive_flags & DRIVE) ? 0x02:0x00;
ch_drive         1599 dev/ic/wdc.c   		drvp = &chp->ch_drive[drive];
ch_drive         1786 dev/ic/wdc.c   		wdc_output_bytes(&chp->ch_drive[drive],
ch_drive         1815 dev/ic/wdc.c   	struct ata_drive_datas *drvp = &chp->ch_drive[xfer->drive];
ch_drive         2071 dev/ic/wdc.c   		    chp->ch_drive[xfer->drive].drive_name,
ch_drive           81 dev/ic/wdcvar.h 	struct ata_drive_datas ch_drive[2];
ch_drive         1582 dev/pci/pciide.c 		drvp = &cp->wdc_channel.ch_drive[drive];
ch_drive         1888 dev/pci/pciide.c 	if ((wdc_cp->ch_drive[0].drive_flags & DRIVE) == 0 &&
ch_drive         1889 dev/pci/pciide.c 	    (wdc_cp->ch_drive[1].drive_flags & DRIVE) == 0) {
ch_drive         2070 dev/pci/pciide.c 			drvp = &cp->wdc_channel.ch_drive[drive];
ch_drive         2155 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         2456 dev/pci/pciide.c 	struct ata_drive_datas *drvp = cp->wdc_channel.ch_drive;
ch_drive         2588 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         2886 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         3149 dev/pci/pciide.c 	if ((chp->ch_drive[0].drive_flags & DRIVE_UDMA) &&
ch_drive         3150 dev/pci/pciide.c 	    (chp->ch_drive[1].drive_flags & DRIVE_UDMA)) {
ch_drive         3152 dev/pci/pciide.c 		if (chp->ch_drive[0].UDMA_mode > 2 &&
ch_drive         3153 dev/pci/pciide.c 		    chp->ch_drive[1].UDMA_mode <= 2) {
ch_drive         3155 dev/pci/pciide.c 			chp->ch_drive[0].UDMA_mode = 2;
ch_drive         3156 dev/pci/pciide.c 		} else if (chp->ch_drive[1].UDMA_mode > 2 &&
ch_drive         3157 dev/pci/pciide.c 		    chp->ch_drive[0].UDMA_mode <= 2) {
ch_drive         3159 dev/pci/pciide.c 			chp->ch_drive[1].UDMA_mode = 2;
ch_drive         3164 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         3486 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         3700 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         3910 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         3951 dev/pci/pciide.c 		chp->ch_drive[i].chnl_softc = chp;
ch_drive         3952 dev/pci/pciide.c 		chp->ch_drive[i].drive = i;
ch_drive         4042 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATAPI;
ch_drive         4044 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATA;
ch_drive         4521 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         4542 dev/pci/pciide.c 	chp->ch_drive[0].DMA_mode = dma_mode;
ch_drive         4543 dev/pci/pciide.c 	chp->ch_drive[1].DMA_mode = dma_mode;
ch_drive         4825 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         4891 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         5054 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         5249 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         5425 dev/pci/pciide.c 	if ((chp->ch_drive[0].drive_flags | chp->ch_drive[1].drive_flags) &
ch_drive         5432 dev/pci/pciide.c 			if (chp->ch_drive[0].UDMA_mode > 2)
ch_drive         5433 dev/pci/pciide.c 				chp->ch_drive[0].UDMA_mode = 2;
ch_drive         5434 dev/pci/pciide.c 			if (chp->ch_drive[1].UDMA_mode > 2)
ch_drive         5435 dev/pci/pciide.c 				chp->ch_drive[1].UDMA_mode = 2;
ch_drive         5440 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         5734 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         6057 dev/pci/pciide.c 		    ((chp->ch_drive[0].drive_flags & DRIVE_UDMA &&
ch_drive         6058 dev/pci/pciide.c 		    chp->ch_drive[0].UDMA_mode > 2) ||
ch_drive         6059 dev/pci/pciide.c 		    (chp->ch_drive[1].drive_flags & DRIVE_UDMA &&
ch_drive         6060 dev/pci/pciide.c 		    chp->ch_drive[1].UDMA_mode > 2))) {
ch_drive         6064 dev/pci/pciide.c 			if (chp->ch_drive[0].UDMA_mode > 2)
ch_drive         6065 dev/pci/pciide.c 				chp->ch_drive[0].UDMA_mode = 2;
ch_drive         6066 dev/pci/pciide.c 			if (chp->ch_drive[1].UDMA_mode > 2)
ch_drive         6067 dev/pci/pciide.c 				chp->ch_drive[1].UDMA_mode = 2;
ch_drive         6070 dev/pci/pciide.c 		if ((chp->ch_drive[0].drive_flags & DRIVE_UDMA &&
ch_drive         6071 dev/pci/pciide.c 		    chp->ch_drive[0].UDMA_mode <= 2) ||
ch_drive         6072 dev/pci/pciide.c 		    (chp->ch_drive[1].drive_flags & DRIVE_UDMA &&
ch_drive         6073 dev/pci/pciide.c 		    chp->ch_drive[1].UDMA_mode <= 2)) {
ch_drive         6074 dev/pci/pciide.c 			if (chp->ch_drive[0].UDMA_mode > 2)
ch_drive         6075 dev/pci/pciide.c 				chp->ch_drive[0].UDMA_mode = 2;
ch_drive         6076 dev/pci/pciide.c 			if (chp->ch_drive[1].UDMA_mode > 2)
ch_drive         6077 dev/pci/pciide.c 				chp->ch_drive[1].UDMA_mode = 2;
ch_drive         6080 dev/pci/pciide.c 		if ((chp->ch_drive[0].drive_flags & DRIVE_UDMA &&
ch_drive         6081 dev/pci/pciide.c 		    chp->ch_drive[0].UDMA_mode > 2) ||
ch_drive         6082 dev/pci/pciide.c 		    (chp->ch_drive[1].drive_flags & DRIVE_UDMA &&
ch_drive         6083 dev/pci/pciide.c 		    chp->ch_drive[1].UDMA_mode > 2))
ch_drive         6093 dev/pci/pciide.c 		if (chp->ch_drive[0].drive_flags & DRIVE_ATAPI ||
ch_drive         6094 dev/pci/pciide.c 		    chp->ch_drive[1].drive_flags & DRIVE_ATAPI) {
ch_drive         6095 dev/pci/pciide.c 			if (((chp->ch_drive[0].drive_flags & DRIVE_UDMA) &&
ch_drive         6096 dev/pci/pciide.c 			    !(chp->ch_drive[1].drive_flags & DRIVE_UDMA) &&
ch_drive         6097 dev/pci/pciide.c 			    (chp->ch_drive[1].drive_flags & DRIVE_DMA)) ||
ch_drive         6098 dev/pci/pciide.c 			    ((chp->ch_drive[1].drive_flags & DRIVE_UDMA) &&
ch_drive         6099 dev/pci/pciide.c 			    !(chp->ch_drive[0].drive_flags & DRIVE_UDMA) &&
ch_drive         6100 dev/pci/pciide.c 			    (chp->ch_drive[0].drive_flags & DRIVE_DMA)))
ch_drive         6109 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         6178 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         6574 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         6779 dev/pci/pciide.c 		chp->ch_drive[i].chnl_softc = chp;
ch_drive         6780 dev/pci/pciide.c 		chp->ch_drive[i].drive = i;
ch_drive         6832 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATAPI;
ch_drive         6834 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATA;
ch_drive         7011 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         7046 dev/pci/pciide.c 			chp->ch_drive[d].PIO_mode = chp->ch_drive[1-d].PIO_mode;
ch_drive         7047 dev/pci/pciide.c 			chp->ch_drive[d].DMA_mode = 0;
ch_drive         7048 dev/pci/pciide.c 			chp->ch_drive[d].drive_flags &= DRIVE_DMA;
ch_drive         7177 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         7441 dev/pci/pciide.c 		chp->ch_drive[i].chnl_softc = chp;
ch_drive         7442 dev/pci/pciide.c 		chp->ch_drive[i].drive = i;
ch_drive         7529 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATAPI;
ch_drive         7531 dev/pci/pciide.c 			chp->ch_drive[0].drive_flags |= DRIVE_ATA;
ch_drive         7697 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         7870 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         8109 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         8256 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];
ch_drive         8409 dev/pci/pciide.c 		drvp = &chp->ch_drive[drive];