mac_cfg 7310 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac_cfg; mac_cfg 7316 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_cfg = kzalloc(sizeof(*mac_cfg), GFP_KERNEL); mac_cfg 7317 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (!mac_cfg) mac_cfg 7320 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_cfg->hd_tbl_status = true; mac_cfg 7321 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c memcpy(mac_cfg->mac_addr, mac_addr, ETH_ALEN); mac_cfg 7326 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_add_tail(&mac_cfg->node, list); mac_cfg 7333 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac_cfg, *tmp; mac_cfg 7343 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac_cfg, tmp, list, node) { mac_cfg 7344 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (strncmp(mac_cfg->mac_addr, mac_addr, ETH_ALEN) == 0) { mac_cfg 7345 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (uc_flag && mac_cfg->hd_tbl_status) mac_cfg 7348 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (mc_flag && mac_cfg->hd_tbl_status) mac_cfg 7351 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_del(&mac_cfg->node); mac_cfg 7352 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kfree(mac_cfg); mac_cfg 7361 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c struct hclge_vport_mac_addr_cfg *mac_cfg, *tmp; mac_cfg 7367 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_for_each_entry_safe(mac_cfg, tmp, list, node) { mac_cfg 7368 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (mac_type == HCLGE_MAC_ADDR_UC && mac_cfg->hd_tbl_status) mac_cfg 7369 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_rm_uc_addr_common(vport, mac_cfg->mac_addr); mac_cfg 7371 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c if (mac_type == HCLGE_MAC_ADDR_MC && mac_cfg->hd_tbl_status) mac_cfg 7372 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_rm_mc_addr_common(vport, mac_cfg->mac_addr); mac_cfg 7374 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c mac_cfg->hd_tbl_status = false; mac_cfg 7376 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c list_del(&mac_cfg->node); mac_cfg 7377 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c kfree(mac_cfg); mac_cfg 3520 drivers/net/ethernet/marvell/skge.c u8 t8, mac_cfg, pmd_type; mac_cfg 3584 drivers/net/ethernet/marvell/skge.c mac_cfg = skge_read8(hw, B2_MAC_CFG); mac_cfg 3585 drivers/net/ethernet/marvell/skge.c hw->ports = (mac_cfg & CFG_SNG_MAC) ? 1 : 2; mac_cfg 3586 drivers/net/ethernet/marvell/skge.c hw->chip_rev = (mac_cfg & CFG_CHIP_R_MSK) >> 4; mac_cfg 686 drivers/net/ethernet/neterion/s2io-regs.h u64 mac_cfg; mac_cfg 1236 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; mac_cfg 1237 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 1729 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; mac_cfg 1730 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 1736 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 1739 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; mac_cfg 1740 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 1743 drivers/net/ethernet/neterion/s2io.c writeq(val64, &bar0->mac_cfg); mac_cfg 4926 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; mac_cfg 4927 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 4942 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 4948 drivers/net/ethernet/neterion/s2io.c add = &bar0->mac_cfg; mac_cfg 4949 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 4964 drivers/net/ethernet/neterion/s2io.c val64 = readq(&bar0->mac_cfg); mac_cfg 331 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c __u32 mac_cfg; mac_cfg 340 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c mac_cfg = 0; mac_cfg 342 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg)) mac_cfg 358 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c u32 mac_cfg; mac_cfg 367 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c mac_cfg = NXRD32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port)); mac_cfg 368 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c mac_cfg &= ~0x4; mac_cfg 369 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg); mac_cfg 401 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c mac_cfg |= 0x4; mac_cfg 402 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c NXWR32(adapter, NETXEN_NIU_XGE_CONFIG_0 + (0x10000 * port), mac_cfg);