Searched refs:mac_node (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/freescale/fman/ |
D | mac.c | 604 struct device_node *mac_node, *dev_node; in mac_probe() local 614 mac_node = dev->of_node; in mac_probe() 631 if (of_device_is_compatible(mac_node, "fsl,fman-dtsec")) { in mac_probe() 633 priv->internal_phy_node = of_parse_phandle(mac_node, in mac_probe() 635 } else if (of_device_is_compatible(mac_node, "fsl,fman-xgec")) { in mac_probe() 637 } else if (of_device_is_compatible(mac_node, "fsl,fman-memac")) { in mac_probe() 639 priv->internal_phy_node = of_parse_phandle(mac_node, in mac_probe() 643 mac_node); in mac_probe() 651 dev_node = of_get_parent(mac_node); in mac_probe() 654 mac_node); in mac_probe() [all …]
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
D | hclgevf_main.c | 1378 struct hclgevf_mac_addr_node *mac_node, *tmp; in hclgevf_find_mac_node() local 1380 list_for_each_entry_safe(mac_node, tmp, list, node) in hclgevf_find_mac_node() 1381 if (ether_addr_equal(mac_addr, mac_node->mac_addr)) in hclgevf_find_mac_node() 1382 return mac_node; in hclgevf_find_mac_node() 1387 static void hclgevf_update_mac_node(struct hclgevf_mac_addr_node *mac_node, in hclgevf_update_mac_node() argument 1393 if (mac_node->state == HCLGEVF_MAC_TO_DEL) in hclgevf_update_mac_node() 1394 mac_node->state = HCLGEVF_MAC_ACTIVE; in hclgevf_update_mac_node() 1398 if (mac_node->state == HCLGEVF_MAC_TO_ADD) { in hclgevf_update_mac_node() 1399 list_del(&mac_node->node); in hclgevf_update_mac_node() 1400 kfree(mac_node); in hclgevf_update_mac_node() [all …]
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 8535 struct hclge_mac_node *mac_node, *tmp; in hclge_find_mac_node() local 8537 list_for_each_entry_safe(mac_node, tmp, list, node) in hclge_find_mac_node() 8538 if (ether_addr_equal(mac_addr, mac_node->mac_addr)) in hclge_find_mac_node() 8539 return mac_node; in hclge_find_mac_node() 8544 static void hclge_update_mac_node(struct hclge_mac_node *mac_node, in hclge_update_mac_node() argument 8550 if (mac_node->state == HCLGE_MAC_TO_DEL) in hclge_update_mac_node() 8551 mac_node->state = HCLGE_MAC_ACTIVE; in hclge_update_mac_node() 8555 if (mac_node->state == HCLGE_MAC_TO_ADD) { in hclge_update_mac_node() 8556 list_del(&mac_node->node); in hclge_update_mac_node() 8557 kfree(mac_node); in hclge_update_mac_node() [all …]
|
D | hclge_debugfs.c | 1929 struct hclge_mac_node *mac_node, *tmp; in hclge_dbg_dump_mac_list() local 1949 list_for_each_entry_safe(mac_node, tmp, list, node) { in hclge_dbg_dump_mac_list() 1953 sprintf(result[i++], "%pM", mac_node->mac_addr); in hclge_dbg_dump_mac_list() 1955 hclge_mac_state_str[mac_node->state]); in hclge_dbg_dump_mac_list()
|
/Linux-v5.15/drivers/net/ethernet/freescale/dpaa/ |
D | dpaa_ethtool.c | 484 struct device_node *mac_node = dev->of_node; in dpaa_get_ts_info() local 491 fman_node = of_get_parent(mac_node); in dpaa_get_ts_info()
|