/linux-6.3-rc2/drivers/cxl/core/ |
A D | regs.c | 268 static bool cxl_decode_regblock(struct pci_dev *pdev, u32 reg_lo, u32 reg_hi, in cxl_decode_regblock() argument 271 int bar = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BIR_MASK, reg_lo); in cxl_decode_regblock() 273 (reg_lo & CXL_DVSEC_REG_LOCATOR_BLOCK_OFF_LOW_MASK); in cxl_decode_regblock() 282 map->reg_type = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BLOCK_ID_MASK, reg_lo); in cxl_decode_regblock() 318 u32 reg_lo, reg_hi; in cxl_find_regblock() local 320 pci_read_config_dword(pdev, regloc, ®_lo); in cxl_find_regblock() 323 if (!cxl_decode_regblock(pdev, reg_lo, reg_hi, map)) in cxl_find_regblock()
|
/linux-6.3-rc2/drivers/misc/ |
A D | smpro-misc.c | 32 u32 reg_lo; in boot_progress_show() local 52 ret = regmap_read(misc->regmap, BOOTSTAGE_LO, ®_lo); in boot_progress_show() 67 boot_progress[2] = swab16(reg_lo); in boot_progress_show()
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | rti800.c | 210 int reg_lo = chan ? RTI800_DAC1LO : RTI800_DAC0LO; in rti800_ao_insn_write() local 222 outb(val & 0xff, dev->iobase + reg_lo); in rti800_ao_insn_write()
|
/linux-6.3-rc2/drivers/net/dsa/ |
A D | rzn1_a5psw.c | 545 u32 reg_lo, reg_hi; in a5psw_read_stat() local 547 reg_lo = a5psw_reg_readl(a5psw, offset + A5PSW_PORT_OFFSET(port)); in a5psw_read_stat() 551 return ((u64)reg_hi << 32) | reg_lo; in a5psw_read_stat()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb3/ |
A D | xgmac.c | 603 #define RMON_UPDATE64(mac, name, reg_lo, reg_hi) \ in t3_mac_update_stats() argument 604 (mac)->stats.name += RMON_READ(mac, A_XGM_STAT_##reg_lo) + \ in t3_mac_update_stats()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_hw.c | 410 u32 reg_hi, reg_lo; in netxen_p2_nic_set_mac_addr() local 421 reg_lo = NETXEN_NIU_XGE_STATION_ADDR_0_1 + (0x10000 * phy); in netxen_p2_nic_set_mac_addr() 425 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr() 427 if (NXWR32(adapter, reg_lo, mac_lo) || NXWR32(adapter, reg_hi, mac_hi)) in netxen_p2_nic_set_mac_addr()
|
/linux-6.3-rc2/drivers/net/ethernet/amd/xgbe/ |
A D | xgbe-dev.c | 2909 static u64 xgbe_mmc_read(struct xgbe_prv_data *pdata, unsigned int reg_lo) in xgbe_mmc_read() argument 2915 switch (reg_lo) { in xgbe_mmc_read() 2929 switch (reg_lo) { in xgbe_mmc_read() 2943 val = XGMAC_IOREAD(pdata, reg_lo); in xgbe_mmc_read() 2946 val |= ((u64)XGMAC_IOREAD(pdata, reg_lo + 4) << 32); in xgbe_mmc_read()
|
/linux-6.3-rc2/drivers/net/ethernet/synopsys/ |
A D | dwc-xlgmac-hw.c | 1840 static u64 xlgmac_mmc_read(struct xlgmac_pdata *pdata, unsigned int reg_lo) in xlgmac_mmc_read() argument 1845 switch (reg_lo) { in xlgmac_mmc_read() 1858 val = (u64)readl(pdata->mac_regs + reg_lo); in xlgmac_mmc_read() 1861 val |= ((u64)readl(pdata->mac_regs + reg_lo + 4) << 32); in xlgmac_mmc_read()
|
/linux-6.3-rc2/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_main.c | 1696 static inline u64 sxgbe_get_stat64(void __iomem *ioaddr, int reg_lo, int reg_hi) in sxgbe_get_stat64() argument 1698 u64 val = readl(ioaddr + reg_lo); in sxgbe_get_stat64()
|
/linux-6.3-rc2/drivers/edac/ |
A D | sb_edac.c | 1075 u32 reg_lo, reg_hi; in knl_get_tohm() local 1077 pci_read_config_dword(pvt->knl.pci_mc_info, KNL_TOHM_0, ®_lo); in knl_get_tohm() 1079 rc = ((u64)reg_hi << 32) | reg_lo; in knl_get_tohm()
|