Home
last modified time | relevance | path

Searched refs:reg_lo (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/drivers/cxl/core/
A Dregs.c268 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, &reg_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 Dsmpro-misc.c32 u32 reg_lo; in boot_progress_show() local
52 ret = regmap_read(misc->regmap, BOOTSTAGE_LO, &reg_lo); in boot_progress_show()
67 boot_progress[2] = swab16(reg_lo); in boot_progress_show()
/linux-6.3-rc2/drivers/comedi/drivers/
A Drti800.c210 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 Drzn1_a5psw.c545 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 Dxgmac.c603 #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 Dnetxen_nic_hw.c410 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 Dxgbe-dev.c2909 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 Ddwc-xlgmac-hw.c1840 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 Dsxgbe_main.c1696 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 Dsb_edac.c1075 u32 reg_lo, reg_hi; in knl_get_tohm() local
1077 pci_read_config_dword(pvt->knl.pci_mc_info, KNL_TOHM_0, &reg_lo); in knl_get_tohm()
1079 rc = ((u64)reg_hi << 32) | reg_lo; in knl_get_tohm()

Completed in 45 milliseconds