Home
last modified time | relevance | path

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

123

/freebsd/sys/dev/intel/
H A Dpchtherm.c139 temp = bus_read_2(sc->tbar, regoff); in pchtherm_temp_sysctl()
192 val = bus_read_2(sc->tbar, PCHTHERM_REG_TSPM); in pchtherm_attach()
240 val = bus_read_2(sc->tbar, PCHTHERM_REG_TL2); in pchtherm_attach()
248 val = bus_read_2(sc->tbar, PCHTHERM_REG_PHLC); in pchtherm_attach()
250 val |= bus_read_2(sc->tbar, PCHTHERM_REG_PHL); in pchtherm_attach()
271 bus_read_2(sc->tbar, PCHTHERM_REG_TAHV) != 0) { in pchtherm_attach()
281 bus_read_2(sc->tbar, PCHTHERM_REG_TALV) != 0) { in pchtherm_attach()
/freebsd/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/sys/dev/sdhci/
H A Dsdhci_xenon.c89 return (bus_read_2(sc->mem_res, off)); in sdhci_xenon_read_2()
396 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
424 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
457 hostctrl2 = bus_read_2(sc->mem_res, SDHCI_HOST_CONTROL2); in sdhci_xenon_switch_vccq()
/freebsd/tools/bus_space/C/
H A Dlibbus.h32 int32_t bus_read_2(int rid, long ofs);
H A Dlang.c43 bus_read_2(int rid, long ofs) in bus_read_2() function
/freebsd/sys/dev/vte/
H A Dif_vtevar.h152 bus_read_2((_sc)->vte_res, (reg))
/freebsd/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/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/sys/dev/enetc/
H A Denetc.h115 bus_read_2((sc)->regs, ENETC_PORT_BASE + (reg))
/freebsd/sys/dev/le/
H A Dif_le_pci.c175 return (bus_read_2(lesc->sc_rres, PCNET_PCI_BDP)); in le_pci_rdbcr()
195 return (bus_read_2(lesc->sc_rres, PCNET_PCI_RDP)); in le_pci_rdcsr()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_ecap.c57 #define ECAP_READ2(_sc, reg) bus_read_2((_sc)->sc_mem_res, reg);
/freebsd/sys/arm/freescale/imx/
H A Dimx_wdog.c90 return (bus_read_2(sc->sc_res[MEMRES], offs)); in RD2()
/freebsd/sys/dev/ida/
H A Didavar.h39 bus_read_2((ida)->regs, port)
/freebsd/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/sys/dev/fxp/
H A Dif_fxpvar.h245 #define CSR_READ_2(sc, reg) bus_read_2(sc->fxp_res[0], reg)
/freebsd/sys/dev/ips/
H A Dips.h60 #define ips_read_2(sc,offset) bus_read_2(sc->iores, offset)
/freebsd/sys/dev/axgbe/
H A Dxgbe-common.h1598 bus_read_2((_pdata)->xpcs_res, (_off))
1614 bus_read_2((_pdata)->sir0_res, _reg)
1634 bus_read_2((_pdata)->sir1_res, _reg)
1657 bus_read_2((_pdata)->rxtx_res, _reg)
/freebsd/sys/dev/ale/
H A Dif_alevar.h236 bus_read_2((_sc)->ale_res[0], (reg))
/freebsd/sys/dev/vge/
H A Dif_vgevar.h227 bus_read_2(sc->vge_res, reg)
/freebsd/sys/dev/alc/
H A Dif_alcvar.h267 bus_read_2((_sc)->alc_res[0], (reg))
/freebsd/sys/dev/age/
H A Dif_agevar.h242 bus_read_2((_sc)->age_res[0], (reg))
/freebsd/sys/powerpc/amigaone/
H A Dcpld_x5000.c128 return (bus_read_2(sc->sc_mem, CPLD_MEM_DATA)); in cpld_read()
/freebsd/sys/dev/mgb/
H A Dif_mgb.h243 bus_read_2((sc)->regs, reg)
/freebsd/sys/dev/pci/
H A Dpci_dw.c101 return (bus_read_2(sc->dbi_res, reg)); in pci_dw_dbi_read()
538 data = bus_read_2(res, reg); in pci_dw_read_config()
/freebsd/sys/dev/ste/
H A Dif_stereg.h491 bus_read_2((sc)->ste_res, reg)

123