Lines Matching refs:chp
136 #define CHP_READ_REG(chp, a) ((chp)->_vtbl->read_reg)(chp, a) argument
137 #define CHP_WRITE_REG(chp, a, b) ((chp)->_vtbl->write_reg)(chp, a, b) argument
138 #define CHP_LBA48_WRITE_REG(chp, a, b) \ argument
139 ((chp)->_vtbl->lba48_write_reg)(chp, a, b)
141 #define CHP_READ_RAW_MULTI_2(chp, a, b) \ argument
142 ((chp)->_vtbl->read_raw_multi_2)(chp, a, b)
143 #define CHP_WRITE_RAW_MULTI_2(chp, a, b) \ argument
144 ((chp)->_vtbl->write_raw_multi_2)(chp, a, b)
145 #define CHP_READ_RAW_MULTI_4(chp, a, b) \ argument
146 ((chp)->_vtbl->read_raw_multi_4)(chp, a, b)
147 #define CHP_WRITE_RAW_MULTI_4(chp, a, b) \ argument
148 ((chp)->_vtbl->write_raw_multi_4)(chp, a, b)
230 struct channel_softc *chp; member
294 #define wdcwait(chp, status, mask, timeout) ((wdc_wait_for_status((chp), (status), (mask), (timeout… argument
295 #define wait_for_drq(chp, timeout) wdcwait((chp), WDCS_DRQ, WDCS_DRQ, (timeout)) argument
296 #define wait_for_unbusy(chp, timeout) wdcwait((chp), 0, 0, (timeout)) argument
297 #define wait_for_ready(chp, timeout) wdcwait((chp), WDCS_DRDY, \ argument