Searched refs:mac_hi (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_net_sriov.c | 264 u32 vf_offset, mac_hi, rate; in nfp_app_get_vf_config() local 276 mac_hi = readl(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_get_vf_config() 285 put_unaligned_be32(mac_hi, &ivi->mac[0]); in nfp_app_get_vf_config()
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw.h | 13 #define mac_hi(mac) (((mac)[0] << 0) | ((mac)[1] << 8) | \ macro
|
A D | am65-cpsw-nuss.c | 139 u32 mac_hi = (dev_addr[0] << 0) | (dev_addr[1] << 8) | in am65_cpsw_port_set_sl_mac() local 143 writel(mac_hi, slave->port_base + AM65_CPSW_PORTN_REG_SA_H); in am65_cpsw_port_set_sl_mac() 1899 u32 mac_lo, mac_hi, offset; in am65_cpsw_am654_get_efuse_macid() local 1916 regmap_read(syscon, offset + 4, &mac_hi); in am65_cpsw_am654_get_efuse_macid() 1918 mac_addr[0] = (mac_hi >> 8) & 0xff; in am65_cpsw_am654_get_efuse_macid() 1919 mac_addr[1] = mac_hi & 0xff; in am65_cpsw_am654_get_efuse_macid()
|
A D | cpsw_priv.c | 274 slave_write(slave, mac_hi(priv->mac_addr), SA_HI); in cpsw_set_slave_mac()
|
A D | netcp_ethss.c | 2061 writel(mac_hi(ndev->dev_addr), GBE_REG_ADDR(slave, port_regs, sa_hi)); in gbe_set_slave_mac()
|
/linux-6.3-rc2/drivers/net/dsa/microchip/ |
A D | ksz9477.c | 659 u32 mac_hi, mac_lo; in ksz9477_mdb_add() local 665 mac_hi = ((mdb->addr[0] << 8) | mdb->addr[1]); in ksz9477_mdb_add() 690 ((static_table[2] & ALU_V_MAC_ADDR_HI) == mac_hi) && in ksz9477_mdb_add() 713 static_table[2] |= mac_hi; in ksz9477_mdb_add() 739 u32 mac_hi, mac_lo; in ksz9477_mdb_del() local 744 mac_hi = ((mdb->addr[0] << 8) | mdb->addr[1]); in ksz9477_mdb_del() 770 ((static_table[2] & ALU_V_MAC_ADDR_HI) == mac_hi) && in ksz9477_mdb_del()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_hw.c | 409 u32 mac_hi, mac_lo; in netxen_p2_nic_set_mac_addr() local 418 mac_hi = addr[2] | ((u32)addr[3] << 8) | 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() 1025 uint32_t crbaddr, mac_hi, mac_lo; in netxen_p3_get_mac_addr() local 1032 mac_hi = NXRD32(adapter, crbaddr+4); in netxen_p3_get_mac_addr() 1035 *mac = le64_to_cpu((mac_lo >> 16) | ((u64)mac_hi << 16)); in netxen_p3_get_mac_addr() 1037 *mac = le64_to_cpu((u64)mac_lo | ((u64)mac_hi << 32)); in netxen_p3_get_mac_addr()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_main.c | 11483 static void bnx2x_set_mac_buf(u8 *mac_buf, u32 mac_lo, u16 mac_hi) in bnx2x_set_mac_buf() argument 11485 __be16 mac_hi_be = cpu_to_be16(mac_hi); in bnx2x_set_mac_buf()
|
Completed in 59 milliseconds