Searched refs:CHP_READ_REG (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/sys/dev/ic/ |
| D | wdc.c | 454 status = CHP_READ_REG(chp, wdr_status); in wdc_floating_bus() 561 if (CHP_READ_REG(chp, wdr_cyl_lo) != 0xaa && in wdc_ata_present() 562 CHP_READ_REG(chp, wdr_cyl_hi) != 0x55) { in wdc_ata_present() 616 st0 = CHP_READ_REG(chp, wdr_status); in wdcprobe() 620 st1 = CHP_READ_REG(chp, wdr_status); in wdcprobe() 659 st0 = CHP_READ_REG(chp, wdr_status); in wdcprobe() 660 sc = CHP_READ_REG(chp, wdr_seccnt); in wdcprobe() 661 sn = CHP_READ_REG(chp, wdr_sector); in wdcprobe() 662 cl = CHP_READ_REG(chp, wdr_cyl_lo); in wdcprobe() 663 ch = CHP_READ_REG(chp, wdr_cyl_hi); in wdcprobe() [all …]
|
| D | wdcvar.h | 136 #define CHP_READ_REG(chp, a) ((chp)->_vtbl->read_reg)(chp, a) macro
|
| /openbsd/src/sys/dev/atapiscsi/ |
| D | atapiscsi.c | 476 u_int8_t reg = CHP_READ_REG(chp, wdr_sdh); in wdc_atapi_drive_selected() 665 chp->ch_status = CHP_READ_REG(chp, wdr_status); in wdc_atapi_update_status() 672 chp->ch_status = CHP_READ_REG(chp, wdr_status); in wdc_atapi_update_status() 677 chp->ch_error = CHP_READ_REG(chp, wdr_error); in wdc_atapi_update_status() 957 len = (CHP_READ_REG(chp, wdr_cyl_hi) << 8) | in wdc_atapi_intr_data() 958 CHP_READ_REG(chp, wdr_cyl_lo); in wdc_atapi_intr_data() 961 ire = CHP_READ_REG(chp, wdr_ireason); in wdc_atapi_intr_data() 1197 ireason = CHP_READ_REG(chp, wdr_ireason); in wdc_atapi_pio_intr() 1239 ireason = CHP_READ_REG(chp, wdr_ireason); in wdc_atapi_pio_intr()
|
| /openbsd/src/sys/dev/pci/ |
| D | pciide.c | 4485 scnt = CHP_READ_REG(chp, wdr_seccnt); in sii3112_drv_probe() 4486 sn = CHP_READ_REG(chp, wdr_sector); in sii3112_drv_probe() 4487 cl = CHP_READ_REG(chp, wdr_cyl_lo); in sii3112_drv_probe() 4488 ch = CHP_READ_REG(chp, wdr_cyl_hi); in sii3112_drv_probe() 7730 scnt = CHP_READ_REG(chp, wdr_seccnt); in svwsata_drv_probe() 7731 sn = CHP_READ_REG(chp, wdr_sector); in svwsata_drv_probe() 7732 cl = CHP_READ_REG(chp, wdr_cyl_lo); in svwsata_drv_probe() 7733 ch = CHP_READ_REG(chp, wdr_cyl_hi); in svwsata_drv_probe()
|