Home
last modified time | relevance | path

Searched refs:mac_node (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dmac.c159 struct device_node *mac_node, *dev_node; in mac_probe() local
169 mac_node = dev->of_node; in mac_probe()
187 dev_node = of_get_parent(mac_node); in mac_probe()
190 mac_node); in mac_probe()
241 if (!of_device_is_available(mac_node)) in mac_probe()
261 mac_node); in mac_probe()
267 mac_node); in mac_probe()
276 mac_node); in mac_probe()
299 err = of_get_phy_mode(mac_node, &phy_if); in mac_probe()
303 mac_node); in mac_probe()
[all …]
H A Dfman_memac.c1044 node = of_parse_phandle(mac_node, "pcsphy-handle", index); in memac_pcs_create()
1067 struct device_node *mac_node, in memac_initialization() argument
1105 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi"); in memac_initialization()
1107 memac->xfi_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1119 memac->qsgmii_pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1135 pcs = memac_pcs_create(mac_node, 0); in memac_initialization()
1139 pcs = memac_pcs_create(mac_node, err); in memac_initialization()
1156 memac->serdes = devm_of_phy_optional_get(mac_dev->dev, mac_node, in memac_initialization()
1232 fixed = of_get_child_by_name(mac_node, "fixed-link"); in memac_initialization()
1233 if (!fixed && !of_property_read_bool(mac_node, "fixed-link") && in memac_initialization()
[all …]
H A Dfman_dtsec.h14 struct device_node *mac_node,
H A Dfman_tgec.h14 struct device_node *mac_node,
H A Dfman_memac.h17 struct device_node *mac_node,
H A Dfman_dtsec.c1401 struct device_node *mac_node, in dtsec_initialization() argument
1432 phy_node = of_parse_phandle(mac_node, "tbi-handle", 0); in dtsec_initialization()
H A Dfman_tgec.c760 struct device_node *mac_node, in tgec_initialization() argument
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c882 return mac_node; in hclgevf_find_mac_node()
900 kfree(mac_node); in hclgevf_update_mac_node()
934 if (mac_node) { in hclgevf_update_mac_list()
945 mac_node = kzalloc(sizeof(*mac_node), GFP_ATOMIC); in hclgevf_update_mac_list()
946 if (!mac_node) { in hclgevf_update_mac_list()
951 mac_node->state = state; in hclgevf_update_mac_list()
1035 kfree(mac_node); in hclgevf_config_mac_list()
1057 kfree(mac_node); in hclgevf_sync_from_add_list()
1063 kfree(mac_node); in hclgevf_sync_from_add_list()
1083 kfree(mac_node); in hclgevf_sync_from_del_list()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8422 return mac_node; in hclge_find_mac_node()
8440 kfree(mac_node); in hclge_update_mac_node()
8476 if (mac_node) { in hclge_update_mac_list()
8493 mac_node = kzalloc(sizeof(*mac_node), GFP_ATOMIC); in hclge_update_mac_list()
8494 if (!mac_node) { in hclge_update_mac_list()
8791 kfree(mac_node); in hclge_unsync_vport_mac_list()
8822 kfree(mac_node); in hclge_sync_from_add_list()
8828 kfree(mac_node); in hclge_sync_from_add_list()
8852 kfree(mac_node); in hclge_sync_from_del_list()
9070 kfree(mac_node); in hclge_uninit_vport_mac_list()
[all …]
H A Dhclge_debugfs.c2003 struct hclge_mac_node *mac_node, *tmp; in hclge_dbg_dump_mac_list() local
2023 list_for_each_entry_safe(mac_node, tmp, list, node) { in hclge_dbg_dump_mac_list()
2027 sprintf(result[i++], "%pM", mac_node->mac_addr); in hclge_dbg_dump_mac_list()
2029 hclge_mac_state_str[mac_node->state]); in hclge_dbg_dump_mac_list()
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c400 struct device_node *mac_node = dev->of_node; in dpaa_get_ts_info() local
407 fman_node = of_get_parent(mac_node); in dpaa_get_ts_info()