Lines Matching defs:chp
122 struct ata_channel *chp = &sc->sc_channel;
181 sc->sc_ih = intr_establish_xname(intr, type, IPL_BIO, wdcintr, chp,
232 sc->sc_chanptr = chp;
241 chp->ch_channel = 0;
242 chp->ch_atac = &sc->sc_wdcdev.sc_atac;
259 wdcattach(chp);
301 wdc_obio_select(struct ata_channel *chp, int drive)
303 struct wdc_obio_softc *sc = (struct wdc_obio_softc *)chp->ch_atac;
304 struct wdc_regs *wdr = CHAN_TO_WDC_REGS(chp);
311 adjust_timing(struct ata_channel *chp)
313 struct wdc_obio_softc *sc = (struct wdc_obio_softc *)chp->ch_atac;
322 drvp = &chp->ch_drive[drive];
365 wdc_obio_select(chp,0);
371 wdc_obio_select(chp,1);
376 ata4_adjust_timing(struct ata_channel *chp)
378 struct wdc_obio_softc *sc = (struct wdc_obio_softc *)chp->ch_atac;
387 drvp = &chp->ch_drive[drive];
432 wdc_obio_select(chp,0);
438 wdc_obio_select(chp,1);