/linux-master/drivers/net/ethernet/freescale/fman/ |
H A D | fman_tgec.h | 14 struct device_node *mac_node,
|
H A D | fman_dtsec.h | 14 struct device_node *mac_node,
|
H A D | fman_memac.h | 17 struct device_node *mac_node,
|
H A D | mac.c | 156 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 D | fman_memac.c | 1036 static struct phylink_pcs *memac_pcs_create(struct device_node *mac_node, argument 1042 node = of_parse_phandle(mac_node, "pcsphy-handle", index); 1065 struct device_node *mac_node, 1103 err = of_property_match_string(mac_node, "pcs-handle-names", "xfi"); 1105 memac->xfi_pcs = memac_pcs_create(mac_node, err); 1115 err = of_property_match_string(mac_node, "pcs-handle-names", "qsgmii"); 1117 memac->qsgmii_pcs = memac_pcs_create(mac_node, err); 1131 err = of_property_match_string(mac_node, "pcs-handle-names", "sgmii"); 1133 pcs = memac_pcs_create(mac_node, 0); 1137 pcs = memac_pcs_create(mac_node, er 1064 memac_initialization(struct mac_device *mac_dev, struct device_node *mac_node, struct fman_mac_params *params) argument [all...] |
H A D | fman_dtsec.c | 1401 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 D | fman_tgec.c | 760 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 D | hclgevf_main.c | 915 struct hclgevf_mac_addr_node *mac_node, *tmp; local 917 list_for_each_entry_safe(mac_node, tmp, list, node) 918 if (ether_addr_equal(mac_addr, mac_node->mac_addr)) 919 return mac_node; 924 static void hclgevf_update_mac_node(struct hclgevf_mac_addr_node *mac_node, argument 930 if (mac_node->state == HCLGEVF_MAC_TO_DEL) 931 mac_node->state = HCLGEVF_MAC_ACTIVE; 935 if (mac_node->state == HCLGEVF_MAC_TO_ADD) { 936 list_del(&mac_node->node); 937 kfree(mac_node); 958 struct hclgevf_mac_addr_node *mac_node; local 1024 hclgevf_add_del_mac_addr(struct hclgevf_dev *hdev, struct hclgevf_mac_addr_node *mac_node, enum HCLGEVF_MAC_ADDR_TYPE mac_type) argument 1055 struct hclgevf_mac_addr_node *mac_node, *tmp; local 1080 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local 1108 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local 1129 struct hclgevf_mac_addr_node *mac_node, *tmp; local 1140 struct hclgevf_mac_addr_node *mac_node, *tmp, *new_node; local [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 8469 struct hclge_mac_node *mac_node, *tmp; local 8471 list_for_each_entry_safe(mac_node, tmp, list, node) 8472 if (ether_addr_equal(mac_addr, mac_node->mac_addr)) 8473 return mac_node; 8478 static void hclge_update_mac_node(struct hclge_mac_node *mac_node, argument 8484 if (mac_node->state == HCLGE_MAC_TO_DEL) 8485 mac_node->state = HCLGE_MAC_ACTIVE; 8489 if (mac_node->state == HCLGE_MAC_TO_ADD) { 8490 list_del(&mac_node->node); 8491 kfree(mac_node); 8514 struct hclge_mac_node *mac_node; local 8794 struct hclge_mac_node *mac_node, *tmp; local 8830 struct hclge_mac_node *mac_node, *tmp; local 8854 struct hclge_mac_node *mac_node, *tmp, *new_node; local 8889 struct hclge_mac_node *mac_node, *tmp, *new_node; local 8930 struct hclge_mac_node *mac_node, *tmp, *new_node; local 9102 struct hclge_mac_node *mac_node, *tmp; local 10234 struct hclge_mac_node *mac_node, *tmp; local [all...] |
H A D | hclge_debugfs.c | 2648 struct hclge_mac_node *mac_node, *tmp; local 2668 list_for_each_entry_safe(mac_node, tmp, list, node) { 2672 sprintf(result[i++], "%pM", mac_node->mac_addr); 2674 hclge_mac_state_str[mac_node->state]);
|
/linux-master/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_ethtool.c | 400 struct device_node *mac_node = dev->of_node; local 407 fman_node = of_get_parent(mac_node);
|