Home
last modified time | relevance | path

Searched refs:btag (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/ocs_fc/
H A Docs_os.c105 return bus_space_read_4(reg->btag, reg->bhandle, off); in ocs_reg_read32()
129 return bus_space_read_2(reg->btag, reg->bhandle, off); in ocs_reg_read16()
153 return bus_space_read_1(reg->btag, reg->bhandle, off); in ocs_reg_read8()
178 return bus_space_write_4(reg->btag, reg->bhandle, off, val); in ocs_reg_write32()
203 return bus_space_write_2(reg->btag, reg->bhandle, off, val); in ocs_reg_write16()
228 return bus_space_write_1(reg->btag, reg->bhandle, off, val); in ocs_reg_write8()
H A Docs_pci.c134 ocs->reg[r].btag = rman_get_bustag(ocs->reg[r].res); in ocs_map_g7_bars()
174 ocs->reg[0].btag = rman_get_bustag(ocs->reg[0].res); in ocs_map_bars()
H A Docs_os.h1025 bus_space_tag_t btag; member
/freebsd/sys/dev/arcmsr/
H A Darcmsr.c1747 deviceMapCurrent[target]=bus_space_read_4(acb->btag[0], acb->bhandle[0], devicemap); in arcmsr_dr_handle()
1756 deviceMapCurrent[target]=bus_space_read_4(acb->btag[1], acb->bhandle[1], devicemap); in arcmsr_dr_handle()
1765 deviceMapCurrent[target]=bus_space_read_4(acb->btag[0], acb->bhandle[0], devicemap); in arcmsr_dr_handle()
1773 deviceMapCurrent[target]=bus_space_read_4(acb->btag[0], acb->bhandle[0], devicemap); in arcmsr_dr_handle()
1781 deviceMapCurrent[target]=bus_space_read_4(acb->btag[0], acb->bhandle[0], devicemap); in arcmsr_dr_handle()
3776 *acb_firm_model = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_model+i); in arcmsr_get_hba_config()
3783 *acb_firm_version = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_firm_version+i); in arcmsr_get_hba_config()
3790 *acb_device_map = bus_space_read_1(acb->btag[0], acb->bhandle[0], iop_device_map+i); in arcmsr_get_hba_config()
3826 *acb_firm_model = bus_space_read_1(acb->btag[1], acb->bhandle[1], iop_firm_model+i); in arcmsr_get_hbb_config()
3833 *acb_firm_version = bus_space_read_1(acb->btag[1], acb->bhandle[1], iop_firm_version+i); in arcmsr_get_hbb_config()
[all …]
H A Darcmsr.h197 #define CHIP_REG_READ32(s, b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], offsetof(struct s,…
198 #define CHIP_REG_WRITE32(s, b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], offsetof(stru…
199 #define READ_CHIP_REG32(b, r) bus_space_read_4(acb->btag[b], acb->bhandle[b], r)
200 #define WRITE_CHIP_REG32(b, r, d) bus_space_write_4(acb->btag[b], acb->bhandle[b], r, d)
1339 bus_space_tag_t btag[2]; member
/freebsd/sys/dev/sound/pci/
H A Dcsa.c114 bus_space_tag_t btag; in clkrun_hack() local
122 btag = X86_BUS_SPACE_IO; in clkrun_hack()
124 control = bus_space_read_2(btag, 0x0, port); in clkrun_hack()
127 bus_space_write_2(btag, 0x0, port, control); in clkrun_hack()
/freebsd/sys/dev/hdmi/
H A Ddwc_hdmi.c764 int off, p, btag, blen; in dwc_hdmi_detect_hdmi_vsdb() local
777 btag = BLOCK_TAG(edid[p]); in dwc_hdmi_detect_hdmi_vsdb()
785 if (btag == BLOCK_TAG_VSDB && blen >= HDMI_VSDB_MINLEN && in dwc_hdmi_detect_hdmi_vsdb()
/freebsd/sys/dev/sis/
H A Dif_sis.c389 bus_space_tag_t btag; in sis_read_cmos() local
399 btag = X86_BUS_SPACE_IO; in sis_read_cmos()
403 bus_space_write_1(btag, 0x0, 0x70, i + off); in sis_read_cmos()
404 *(dest + i) = bus_space_read_1(btag, 0x0, 0x71); in sis_read_cmos()