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

/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_tgec.h14 struct device_node *mac_node,
H A Dfman_dtsec.h14 struct device_node *mac_node,
H A Dfman_memac.h17 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...]
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_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_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
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_main.c877 struct hclgevf_mac_addr_node *mac_node, *tmp; local
879 list_for_each_entry_safe(mac_node, tmp, list, node)
880 if (ether_addr_equal(mac_addr, mac_node->mac_addr))
881 return mac_node;
886 static void hclgevf_update_mac_node(struct hclgevf_mac_addr_node *mac_node, argument
892 if (mac_node->state == HCLGEVF_MAC_TO_DEL)
893 mac_node->state = HCLGEVF_MAC_ACTIVE;
897 if (mac_node->state == HCLGEVF_MAC_TO_ADD) {
898 list_del(&mac_node->node);
899 kfree(mac_node);
920 struct hclgevf_mac_addr_node *mac_node; local
986 hclgevf_add_del_mac_addr(struct hclgevf_dev *hdev, struct hclgevf_mac_addr_node *mac_node, enum HCLGEVF_MAC_ADDR_TYPE mac_type) argument
1017 struct hclgevf_mac_addr_node *mac_node, *tmp; local
1042 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
1070 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
1091 struct hclgevf_mac_addr_node *mac_node, *tmp; local
1102 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local
[all...]
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c8409 struct hclge_mac_node *mac_node, *tmp; local
8411 list_for_each_entry_safe(mac_node, tmp, list, node)
8412 if (ether_addr_equal(mac_addr, mac_node->mac_addr))
8413 return mac_node;
8418 static void hclge_update_mac_node(struct hclge_mac_node *mac_node, argument
8424 if (mac_node->state == HCLGE_MAC_TO_DEL)
8425 mac_node->state = HCLGE_MAC_ACTIVE;
8429 if (mac_node->state == HCLGE_MAC_TO_ADD) {
8430 list_del(&mac_node->node);
8431 kfree(mac_node);
8454 struct hclge_mac_node *mac_node; local
8734 struct hclge_mac_node *mac_node, *tmp; local
8770 struct hclge_mac_node *mac_node, *tmp; local
8794 struct hclge_mac_node *mac_node, *tmp, *new_node; local
8829 struct hclge_mac_node *mac_node, *tmp, *new_node; local
8870 struct hclge_mac_node *mac_node, *tmp, *new_node; local
9042 struct hclge_mac_node *mac_node, *tmp; local
10169 struct hclge_mac_node *mac_node, *tmp; local
[all...]
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]);
/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);

Completed in 481 milliseconds