Lines Matching defs:chp
123 struct ata_channel *chp = &sc->sc_channel;
180 sc->sc_chanarray[0] = chp;
181 chp->ch_channel = 0;
182 chp->ch_atac = &sc->sc_wdcdev.sc_atac;
204 sc->sc_ih = intr_establish(irq, ist, IPL_BIO, wdcintr, chp);
213 wdcattach(chp);
265 mpcata_set_modes(struct ata_channel *chp)
267 struct mpcata_softc *sc = (struct mpcata_softc *)chp->ch_atac;
271 struct ata_drive_datas *drvp = &chp->ch_drive[drive];
282 struct ata_drive_datas *drvp = &chp->ch_drive[drive];
296 mpcata_datain(struct ata_channel *chp, int flags, void *bf, size_t len)
298 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
309 mpcata_dataout(struct ata_channel *chp, int flags, void *bf, size_t len)
311 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);