Searched refs:mac_cfg (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hw.c | 331 __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-6.1.9/drivers/net/ethernet/neterion/ |
D | s2io.c | 1238 add = &bar0->mac_cfg; in init_nic() 1239 val64 = readq(&bar0->mac_cfg); in init_nic() 1731 add = &bar0->mac_cfg; in init_nic() 1732 val64 = readq(&bar0->mac_cfg); in init_nic() 1738 val64 = readq(&bar0->mac_cfg); in init_nic() 1741 add = &bar0->mac_cfg; in init_nic() 1742 val64 = readq(&bar0->mac_cfg); in init_nic() 1745 writeq(val64, &bar0->mac_cfg); in init_nic() 4936 add = &bar0->mac_cfg; in s2io_set_multicast() 4937 val64 = readq(&bar0->mac_cfg); in s2io_set_multicast() [all …]
|
D | s2io-regs.h | 686 u64 mac_cfg; member
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 9017 struct hclge_mac_node *mac_cfg, *tmp; in hclge_build_del_list() local 9019 list_for_each_entry_safe(mac_cfg, tmp, list, node) { in hclge_build_del_list() 9020 switch (mac_cfg->state) { in hclge_build_del_list() 9023 list_move_tail(&mac_cfg->node, tmp_del_list); in hclge_build_del_list() 9027 list_del(&mac_cfg->node); in hclge_build_del_list() 9028 kfree(mac_cfg); in hclge_build_del_list() 9041 struct hclge_mac_node *mac_cfg, *tmp; in hclge_unsync_del_list() local 9044 list_for_each_entry_safe(mac_cfg, tmp, tmp_del_list, node) { in hclge_unsync_del_list() 9045 ret = unsync(vport, mac_cfg->mac_addr); in hclge_unsync_del_list() 9052 mac_cfg->state == HCLGE_MAC_ACTIVE) { in hclge_unsync_del_list() [all …]
|
/linux-6.1.9/drivers/net/ethernet/marvell/ |
D | skge.c | 3525 u8 t8, mac_cfg, pmd_type; in skge_reset() local 3589 mac_cfg = skge_read8(hw, B2_MAC_CFG); in skge_reset() 3590 hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; in skge_reset() 3591 hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; in skge_reset()
|