Home
last modified time | relevance | path

Searched refs:mac_cfg (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/
DMakefile22 hal/mac_cfg.o \
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.c577 u32 mac_cfg = readl(ioaddr + GMAC_CONFIG); in dwmac5_est_configure() local
585 offset = (mac_cfg & GMAC_CONFIG_IPG) >> GMAC_CONFIG_IPG_SHIFT; in dwmac5_est_configure()
589 speed = mac_cfg & (GMAC_CONFIG_PS | GMAC_CONFIG_FES); in dwmac5_est_configure()
/Linux-v5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c331 __u32 mac_cfg; in netxen_niu_disable_xg_port() local
340 mac_cfg = 0; in netxen_niu_disable_xg_port()
342 NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg)) in netxen_niu_disable_xg_port()
358 u32 mac_cfg; in netxen_p2_nic_set_promisc() local
367 mac_cfg = NXRD32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port)); in netxen_p2_nic_set_promisc()
368 mac_cfg &= ~0x4; in netxen_p2_nic_set_promisc()
369 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc()
401 mac_cfg |= 0x4; in netxen_p2_nic_set_promisc()
402 NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); in netxen_p2_nic_set_promisc()
/Linux-v5.10/drivers/net/ethernet/neterion/
Ds2io.c1236 add = &bar0->mac_cfg; in init_nic()
1237 val64 = readq(&bar0->mac_cfg); in init_nic()
1729 add = &bar0->mac_cfg; in init_nic()
1730 val64 = readq(&bar0->mac_cfg); in init_nic()
1736 val64 = readq(&bar0->mac_cfg); in init_nic()
1739 add = &bar0->mac_cfg; in init_nic()
1740 val64 = readq(&bar0->mac_cfg); in init_nic()
1743 writeq(val64, &bar0->mac_cfg); in init_nic()
4931 add = &bar0->mac_cfg; in s2io_set_multicast()
4932 val64 = readq(&bar0->mac_cfg); in s2io_set_multicast()
[all …]
Ds2io-regs.h686 u64 mac_cfg; member
/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c7929 struct hclge_mac_node *mac_cfg, *tmp; in hclge_rm_vport_all_mac_table() local
7949 list_for_each_entry_safe(mac_cfg, tmp, list, node) { in hclge_rm_vport_all_mac_table()
7950 switch (mac_cfg->state) { in hclge_rm_vport_all_mac_table()
7953 list_del(&mac_cfg->node); in hclge_rm_vport_all_mac_table()
7954 list_add_tail(&mac_cfg->node, &tmp_del_list); in hclge_rm_vport_all_mac_table()
7958 list_del(&mac_cfg->node); in hclge_rm_vport_all_mac_table()
7959 kfree(mac_cfg); in hclge_rm_vport_all_mac_table()
7967 list_for_each_entry_safe(mac_cfg, tmp, &tmp_del_list, node) { in hclge_rm_vport_all_mac_table()
7968 ret = unsync(vport, mac_cfg->mac_addr); in hclge_rm_vport_all_mac_table()
7975 mac_cfg->state == HCLGE_MAC_ACTIVE) { in hclge_rm_vport_all_mac_table()
[all …]
/Linux-v5.10/drivers/net/ethernet/marvell/
Dskge.c3517 u8 t8, mac_cfg, pmd_type; in skge_reset() local
3581 mac_cfg = skge_read8(hw, B2_MAC_CFG); in skge_reset()
3582 hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; in skge_reset()
3583 hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; in skge_reset()