Home
last modified time | relevance | path

Searched refs:bus_read_2 (Results 1 – 25 of 75) sorted by relevance

123

/freebsd-14.2/sys/dev/intel/
H A Dpchtherm.c138 temp = bus_read_2(sc->tbar, regoff); in pchtherm_temp_sysctl()
191 val = bus_read_2(sc->tbar, PCHTHERM_REG_TSPM); in pchtherm_attach()
239 val = bus_read_2(sc->tbar, PCHTHERM_REG_TL2); in pchtherm_attach()
247 val = bus_read_2(sc->tbar, PCHTHERM_REG_PHLC); in pchtherm_attach()
249 val |= bus_read_2(sc->tbar, PCHTHERM_REG_PHL); in pchtherm_attach()
270 bus_read_2(sc->tbar, PCHTHERM_REG_TAHV) != 0) { in pchtherm_attach()
280 bus_read_2(sc->tbar, PCHTHERM_REG_TALV) != 0) { in pchtherm_attach()
/freebsd-14.2/sys/dev/altera/sdcard/
H A Daltera_sdcard_io.c71 return (le16toh(bus_read_2(sc->as_res, ALTERA_SDCARD_OFF_ASR))); in altera_sdcard_read_asr()
193 return (le16toh(bus_read_2(sc->as_res, ALTERA_SDCARD_OFF_RR1))); in altera_sdcard_read_rr1()
253 v = bus_read_2(sc->as_res, in altera_sdcard_write_rxtx_buffer()
261 v = bus_read_2(sc->as_res, in altera_sdcard_write_rxtx_buffer()
/freebsd-14.2/sys/arm/altera/socfpga/
H A Dsocfpga_common.h32 #define READ2(_sc, _reg) bus_read_2((_sc)->res[0], _reg)
/freebsd-14.2/sys/dev/smc/
H A Dif_smc.c162 KASSERT((bus_read_2(sc->smc_reg, BSR) & in smc_mmu_wait()
165 while (bus_read_2(sc->smc_reg, MMUCR) & MMUCR_BUSY) in smc_mmu_wait()
187 return (bus_read_2(sc->smc_reg, offset)); in smc_read_2()
246 val = bus_read_2(reg, BSR); in smc_probe()
259 val = bus_read_2(reg, BSR); in smc_probe()
271 val = bus_read_2(reg, BAR); in smc_probe()
285 val = bus_read_2(reg, REV); in smc_probe()
/freebsd-14.2/sys/dev/sdhci/
H A Dsdhci_xenon.c90 return (bus_read_2(sc->mem_res, off)); in sdhci_xenon_read_2()
397 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
425 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
458 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
/freebsd-14.2/sys/dev/beri/virtio/
H A Dvirtio.h32 bus_read_2((_sc)->res[0], _reg)
/freebsd-14.2/tools/bus_space/C/
H A Dlibbus.h32 int32_t bus_read_2(int rid, long ofs);
H A Dlang.c44 bus_read_2(int rid, long ofs) in bus_read_2() function
/freebsd-14.2/sys/dev/vte/
H A Dif_vtevar.h152 bus_read_2((_sc)->vte_res, (reg))
/freebsd-14.2/sys/dev/enetc/
H A Denetc.h116 bus_read_2((sc)->regs, ENETC_PORT_BASE + (reg))
/freebsd-14.2/sys/dev/mlx/
H A Dmlxreg.h83 #define MLX_V3_GET_STATUS(sc) bus_read_2 (sc->mlx_mem, MLX_V3_STATUS)
120 #define MLX_V4_GET_STATUS(sc) bus_read_2 (sc->mlx_mem, MLX_V4_STATUS)
165 #define MLX_V5_GET_STATUS(sc) bus_read_2 (sc->mlx_mem, MLX_V5_STATUS)
/freebsd-14.2/sys/dev/cardbus/
H A Dcardbus_cis.c501 romsig = bus_read_2(res, in cardbus_read_tuple_init()
521 pcidata = imagebase + bus_read_2(res, in cardbus_read_tuple_init()
523 imagesize = bus_read_2(res, in cardbus_read_tuple_init()
/freebsd-14.2/sys/dev/le/
H A Dif_le_pci.c178 return (bus_read_2(lesc->sc_rres, PCNET_PCI_BDP)); in le_pci_rdbcr()
198 return (bus_read_2(lesc->sc_rres, PCNET_PCI_RDP)); in le_pci_rdcsr()
/freebsd-14.2/sys/arm/ti/am335x/
H A Dam335x_ecap.c58 #define ECAP_READ2(_sc, reg) bus_read_2((_sc)->sc_mem_res, reg);
/freebsd-14.2/sys/arm/freescale/imx/
H A Dimx_wdog.c91 return (bus_read_2(sc->sc_res[MEMRES], offs)); in RD2()
/freebsd-14.2/sys/dev/ida/
H A Didavar.h39 bus_read_2((ida)->regs, port)
/freebsd-14.2/sys/dev/altera/pio/
H A Dpio.c59 #define READ2(_sc, _reg) bus_read_2((_sc)->res[0], _reg)
/freebsd-14.2/sys/dev/fxp/
H A Dif_fxpvar.h245 #define CSR_READ_2(sc, reg) bus_read_2(sc->fxp_res[0], reg)
/freebsd-14.2/tools/bus_space/Python/
H A Dlang.c50 bus_read_2(PyObject *self, PyObject *args) in bus_read_2() function
421 { "read_2", bus_read_2, METH_VARARGS, "Read a 2-byte data item." },
/freebsd-14.2/sys/dev/ips/
H A Dips.h60 #define ips_read_2(sc,offset) bus_read_2(sc->iores, offset)
/freebsd-14.2/sys/dev/axgbe/
H A Dxgbe-common.h1574 bus_read_2((_pdata)->xpcs_res, (_off))
1590 bus_read_2((_pdata)->sir0_res, _reg)
1610 bus_read_2((_pdata)->sir1_res, _reg)
1633 bus_read_2((_pdata)->rxtx_res, _reg)
/freebsd-14.2/sys/dev/ata/chipsets/
H A Data-fsl.c85 bus_write_2(ctrl->r_res1, 0x28, bus_read_2(ctrl->r_res1, 0x28)); in imx_ata_intr()
/freebsd-14.2/sys/dev/ale/
H A Dif_alevar.h236 bus_read_2((_sc)->ale_res[0], (reg))
/freebsd-14.2/sys/dev/age/
H A Dif_agevar.h242 bus_read_2((_sc)->age_res[0], (reg))
/freebsd-14.2/sys/dev/vge/
H A Dif_vgevar.h227 bus_read_2(sc->vge_res, reg)

123