Lines Matching defs:chp
594 piix_setup_channel(struct ata_channel *chp)
598 struct pciide_channel *cp = CHAN_TO_PCHAN(chp);
599 struct pciide_softc *sc = CHAN_TO_PCIIDE(chp);
603 idetim = PIIX_IDETIM_CLEAR(oidetim, 0xffff, chp->ch_channel);
608 chp->ch_channel);
668 mode[drive], 1, chp->ch_channel);
675 mode[0], 0, chp->ch_channel);
678 mode[1], 0, chp->ch_channel);
700 piix3_4_setup_channel(struct ata_channel *chp)
704 struct pciide_channel *cp = CHAN_TO_PCHAN(chp);
705 struct pciide_softc *sc = CHAN_TO_PCIIDE(chp);
708 int channel = chp->ch_channel;
728 drvp = &chp->ch_drive[drive];
861 struct ata_channel *chp = drvp->chnl_softc;
862 u_int8_t channel = chp->ch_channel;