Searched refs:mac_node (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | mac.c | 159 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 D | fman_memac.c | 1044 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 D | fman_dtsec.h | 14 struct device_node *mac_node,
|
H A D | fman_tgec.h | 14 struct device_node *mac_node,
|
H A D | fman_memac.h | 17 struct device_node *mac_node,
|
H A D | fman_dtsec.c | 1401 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 D | fman_tgec.c | 760 struct device_node *mac_node, in tgec_initialization() argument
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 882 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 D | hclge_main.c | 8422 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 D | hclge_debugfs.c | 2003 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 D | dpaa_ethtool.c | 400 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()
|