Lines Matching defs:chp
116 wdc_extio_reset(struct ata_channel *chp, int poll)
118 struct wdc_softc *wdc = CHAN_TO_WDC(chp);
119 struct wdc_regs *wdr = &wdc->regs[chp->ch_channel];
126 wdc->select(chp,0);
150 wdc->irqack(chp);
215 wdc_extio_dataout(struct ata_channel *chp, int flags, void *bf, size_t len)
217 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
224 wdc_extio_datain(struct ata_channel *chp, int flags, void *bf, size_t len)
226 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
277 struct ata_channel *chp = &sc->sc_channel;
285 chp->ch_atac = &sc->sc_wdcdev.sc_atac;
301 sc->sc_chanlist[0] = chp;
306 chp->ch_channel = 0;
307 chp->ch_atac = &sc->sc_wdcdev.sc_atac;
311 wdcattach(chp);