Searched refs:mac_cfg (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.4/drivers/staging/rtl8188eu/ |
D | Makefile | 22 hal/mac_cfg.o \
|
/Linux-v5.4/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-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 7305 struct hclge_vport_mac_addr_cfg *mac_cfg; in hclge_add_vport_mac_table() local 7311 mac_cfg = kzalloc(sizeof(*mac_cfg), GFP_KERNEL); in hclge_add_vport_mac_table() 7312 if (!mac_cfg) in hclge_add_vport_mac_table() 7315 mac_cfg->hd_tbl_status = true; in hclge_add_vport_mac_table() 7316 memcpy(mac_cfg->mac_addr, mac_addr, ETH_ALEN); in hclge_add_vport_mac_table() 7321 list_add_tail(&mac_cfg->node, list); in hclge_add_vport_mac_table() 7328 struct hclge_vport_mac_addr_cfg *mac_cfg, *tmp; in hclge_rm_vport_mac_table() local 7338 list_for_each_entry_safe(mac_cfg, tmp, list, node) { in hclge_rm_vport_mac_table() 7339 if (strncmp(mac_cfg->mac_addr, mac_addr, ETH_ALEN) == 0) { in hclge_rm_vport_mac_table() 7340 if (uc_flag && mac_cfg->hd_tbl_status) in hclge_rm_vport_mac_table() [all …]
|
/Linux-v5.4/drivers/net/ethernet/neterion/ |
D | s2io.c | 1236 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() 4926 add = &bar0->mac_cfg; in s2io_set_multicast() 4927 val64 = readq(&bar0->mac_cfg); in s2io_set_multicast() [all …]
|
D | s2io-regs.h | 686 u64 mac_cfg; member
|
/Linux-v5.4/drivers/net/ethernet/marvell/ |
D | skge.c | 3520 u8 t8, mac_cfg, pmd_type; in skge_reset() local 3584 mac_cfg = skge_read8(hw, B2_MAC_CFG); in skge_reset() 3585 hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; in skge_reset() 3586 hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; in skge_reset()
|