Searched refs:mac_node (Results 1 - 11 of 11) sorted by path

/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_ethtool.c400 struct device_node *mac_node = dev->of_node; local
407 fman_node = of_get_parent(mac_node);
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_dtsec.c1401 struct device_node *mac_node,
1432 phy_node = of_parse_phandle(mac_node, "tbi-handle", 0);
1400 dtsec_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument
H A Dfman_dtsec.h14 struct device_node *mac_node,
H A Dfman_memac.c1037 static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node, argument
1043 node = of_parse_phandle(mac_node, "pcsphy-handle", index);
1066 struct device_node *mac_node,
1104 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi");
1106 memac->xfi_pcs = memac_pcs_create(mac_node, err);
1116 err = of_property_match_string(mac_node, "pcs-handle-names", "qsgmii");
1118 memac->qsgmii_pcs = memac_pcs_create(mac_node, err);
1132 err = of_property_match_string(mac_node, "pcs-handle-names", "sgmii");
1134 pcs = memac_pcs_create(mac_node, 0);
1138 pcs = memac_pcs_create(mac_node, er
1065 memac_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument
[all...]
H A Dfman_memac.h17 struct device_node *mac_node,
H A Dfman_tgec.c760 struct device_node *mac_node,
759 tgec_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument
H A Dfman_tgec.h14 struct device_node *mac_node,
H A Dmac.c156 int (*init)(struct mac_device *mac_dev, struct device_node *mac_node,
159 struct device_node *mac_node, *dev_node; local
169 mac_node = dev->of_node;
187 dev_node = of_get_parent(mac_node);
190 mac_node);
241 if (!of_device_is_available(mac_node))
245 err = of_property_read_u32(mac_node, "cell-index", &val);
247 dev_err(dev, "failed to read cell-index for %pOF\n", mac_node);
253 err = of_get_mac_address(mac_node, mac_dev->addr);
255 dev_warn(dev, "of_get_mac_address(%pOF) failed\n", mac_node);
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c2010 struct hclge_mac_node *mac_node, *tmp; local
2030 list_for_each_entry_safe(mac_node, tmp, list, node) {
2034 sprintf(result[i++], "%pM", mac_node->mac_addr);
2036 hclge_mac_state_str[mac_node->state]);
H A Dhclge_main.c8413 struct hclge_mac_node *mac_node, *tmp; local
8415 list_for_each_entry_safe(mac_node, tmp, list, node)
8416 if (ether_addr_equal(mac_addr, mac_node->mac_addr))
8417 return mac_node;
8422 static void hclge_update_mac_node(struct hclge_mac_node *mac_node, argument
8428 if (mac_node->state == HCLGE_MAC_TO_DEL)
8429 mac_node->state = HCLGE_MAC_ACTIVE;
8433 if (mac_node->state == HCLGE_MAC_TO_ADD) {
8434 list_del(&mac_node->node);
8435 kfree(mac_node);
8458 struct hclge_mac_node *mac_node; local
8738 struct hclge_mac_node *mac_node, *tmp; local
8774 struct hclge_mac_node *mac_node, *tmp; local
8798 struct hclge_mac_node *mac_node, *tmp, *new_node; local
8833 struct hclge_mac_node *mac_node, *tmp, *new_node; local
8874 struct hclge_mac_node *mac_node, *tmp, *new_node; local
9046 struct hclge_mac_node *mac_node, *tmp; local
10178 struct hclge_mac_node *mac_node, *tmp; local
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c878 struct hclgevf_mac_addr_node *mac_node, *tmp; local
880 list_for_each_entry_safe(mac_node, tmp, list, node)
881 if (ether_addr_equal(mac_addr, mac_node->mac_addr))
882 return mac_node;
887 static void hclgevf_update_mac_node(struct hclgevf_mac_addr_node *mac_node, argument
893 if (mac_node->state == HCLGEVF_MAC_TO_DEL)
894 mac_node->state = HCLGEVF_MAC_ACTIVE;
898 if (mac_node->state == HCLGEVF_MAC_TO_ADD) {
899 list_del(&mac_node->node);
900 kfree(mac_node);
921 struct hclgevf_mac_addr_node *mac_node; local
987 hclgevf_add_del_mac_addr(struct hclgevf_dev *hdev, struct hclgevf_mac_addr_node *mac_node, enum HCLGEVF_MAC_ADDR_TYPE mac_type) argument
1018 struct hclgevf_mac_addr_node *mac_node, *tmp; local
1043 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
1071 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
1092 struct hclgevf_mac_addr_node *mac_node, *tmp; local
1103 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
[all...]

Completed in 251 milliseconds