Home
last modified time | relevance | path

Searched refs:lo_addr (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac_lib.c287 unsigned int hi_addr, lo_addr; in stmmac_get_mac_addr() local
291 lo_addr = readl(ioaddr + low); in stmmac_get_mac_addr()
294 addr[0] = lo_addr & 0xff; in stmmac_get_mac_addr()
295 addr[1] = (lo_addr >> 8) & 0xff; in stmmac_get_mac_addr()
296 addr[2] = (lo_addr >> 16) & 0xff; in stmmac_get_mac_addr()
297 addr[3] = (lo_addr >> 24) & 0xff; in stmmac_get_mac_addr()
H A Ddwmac4_lib.c259 unsigned int hi_addr, lo_addr; in stmmac_dwmac4_get_mac_addr() local
263 lo_addr = readl(ioaddr + low); in stmmac_dwmac4_get_mac_addr()
266 addr[0] = lo_addr & 0xff; in stmmac_dwmac4_get_mac_addr()
267 addr[1] = (lo_addr >> 8) & 0xff; in stmmac_dwmac4_get_mac_addr()
268 addr[2] = (lo_addr >> 16) & 0xff; in stmmac_dwmac4_get_mac_addr()
269 addr[3] = (lo_addr >> 24) & 0xff; in stmmac_dwmac4_get_mac_addr()
H A Ddwxgmac2_core.c412 u32 hi_addr, lo_addr; in dwxgmac2_get_umac_addr() local
416 lo_addr = readl(ioaddr + XGMAC_ADDRx_LOW(reg_n)); in dwxgmac2_get_umac_addr()
419 addr[0] = lo_addr & 0xff; in dwxgmac2_get_umac_addr()
420 addr[1] = (lo_addr >> 8) & 0xff; in dwxgmac2_get_umac_addr()
421 addr[2] = (lo_addr >> 16) & 0xff; in dwxgmac2_get_umac_addr()
422 addr[3] = (lo_addr >> 24) & 0xff; in dwxgmac2_get_umac_addr()
/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_common.c58 sge->lo_addr = lower_32_bits(addr); in hinic_set_sge()
70 return (dma_addr_t)((((u64)sge->hi_addr) << 32) | sge->lo_addr); in hinic_sge_to_dma()
H A Dhinic_common.h17 u32 lo_addr; member
H A Dhinic_hw_qp.c929 sge->lo_addr = be32_to_cpu(rq_wqe->buf_desc.lo_addr); in hinic_rq_get_sge()
960 buf_desc->lo_addr = sge->lo_addr; in hinic_rq_prepare_wqe()
H A Dhinic_hw_wqe.h411 u32 lo_addr; member
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddf_v3_6.c97 uint32_t lo_addr, uint32_t *lo_val, in df_v3_6_perfmon_rreg() argument
106 WREG32(address, lo_addr); in df_v3_6_perfmon_rreg()
119 static void df_v3_6_perfmon_wreg(struct amdgpu_device *adev, uint32_t lo_addr, in df_v3_6_perfmon_wreg() argument
128 WREG32(address, lo_addr); in df_v3_6_perfmon_wreg()
137 uint32_t lo_addr, uint32_t lo_val, in df_v3_6_perfmon_arm_with_status() argument
147 WREG32(address, lo_addr); in df_v3_6_perfmon_arm_with_status()
152 WREG32(address, lo_addr); in df_v3_6_perfmon_arm_with_status()
172 uint32_t lo_addr, uint32_t lo_val, in df_v3_6_perfmon_arm_with_retry() argument
179 if (!df_v3_6_perfmon_arm_with_status(adev, lo_addr, lo_val, in df_v3_6_perfmon_arm_with_retry()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp_hw.c595 u16 lo_addr, hi_addr; in ice_read_phy_tstamp_e822() local
599 lo_addr = (u16)TS_L(Q_REG_TX_MEMORY_BANK_START, idx); in ice_read_phy_tstamp_e822()
602 err = ice_read_quad_reg_e822(hw, quad, lo_addr, &lo); in ice_read_phy_tstamp_e822()
637 u16 lo_addr, hi_addr; in ice_clear_phy_tstamp_e822() local
640 lo_addr = (u16)TS_L(Q_REG_TX_MEMORY_BANK_START, idx); in ice_clear_phy_tstamp_e822()
643 err = ice_write_quad_reg_e822(hw, quad, lo_addr, 0); in ice_clear_phy_tstamp_e822()
2625 u32 lo_addr = TS_EXT(LOW_TX_MEMORY_BANK_START, lport, idx); in ice_read_phy_tstamp_sbq_e810() local
2629 err = ice_read_phy_reg_e810(hw, lo_addr, &lo_val); in ice_read_phy_tstamp_sbq_e810()
2693 u32 lo_addr, hi_addr; in ice_clear_phy_tstamp_e810() local
2696 lo_addr = TS_EXT(LOW_TX_MEMORY_BANK_START, lport, idx); in ice_clear_phy_tstamp_e810()
[all …]
/openbmc/linux/drivers/net/ethernet/calxeda/
H A Dxgmac.c629 u32 hi_addr, lo_addr; in xgmac_get_mac_addr() local
633 lo_addr = readl(ioaddr + XGMAC_ADDR_LOW(num)); in xgmac_get_mac_addr()
636 addr[0] = lo_addr & 0xff; in xgmac_get_mac_addr()
637 addr[1] = (lo_addr >> 8) & 0xff; in xgmac_get_mac_addr()
638 addr[2] = (lo_addr >> 16) & 0xff; in xgmac_get_mac_addr()
639 addr[3] = (lo_addr >> 24) & 0xff; in xgmac_get_mac_addr()
/openbmc/linux/drivers/hwmon/
H A Demc2103.c101 u8 hi_addr, u8 lo_addr) in read_fan_from_i2c() argument
108 if (read_u8_from_i2c(client, lo_addr, &lo_byte) < 0) in read_fan_from_i2c()