Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cxl/core/
Dregs.c251 static void cxl_decode_regblock(u32 reg_lo, u32 reg_hi, in cxl_decode_regblock() argument
255 (reg_lo & CXL_DVSEC_REG_LOCATOR_BLOCK_OFF_LOW_MASK); in cxl_decode_regblock()
256 map->barno = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BIR_MASK, reg_lo); in cxl_decode_regblock()
257 map->reg_type = FIELD_GET(CXL_DVSEC_REG_LOCATOR_BLOCK_ID_MASK, reg_lo); in cxl_decode_regblock()
290 u32 reg_lo, reg_hi; in cxl_find_regblock() local
292 pci_read_config_dword(pdev, regloc, &reg_lo); in cxl_find_regblock()
295 cxl_decode_regblock(reg_lo, reg_hi, map); in cxl_find_regblock()
/linux-6.1.9/drivers/comedi/drivers/
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.1.9/drivers/net/dsa/
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.1.9/drivers/net/ethernet/chelsio/cxgb3/
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.1.9/drivers/net/ethernet/qlogic/netxen/
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.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c2859 static u64 xgbe_mmc_read(struct xgbe_prv_data *pdata, unsigned int reg_lo) in xgbe_mmc_read() argument
2865 switch (reg_lo) { in xgbe_mmc_read()
2879 switch (reg_lo) { in xgbe_mmc_read()
2893 val = XGMAC_IOREAD(pdata, reg_lo); in xgbe_mmc_read()
2896 val |= ((u64)XGMAC_IOREAD(pdata, reg_lo + 4) << 32); in xgbe_mmc_read()
/linux-6.1.9/drivers/net/ethernet/synopsys/
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.1.9/drivers/net/ethernet/samsung/sxgbe/
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.1.9/drivers/edac/
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()