Home
last modified time | relevance | path

Searched defs:mac_cb (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c55 static enum mac_mode hns_get_enet_interface(const struct hns_mac_cb *mac_cb) in hns_get_enet_interface()
69 void hns_mac_get_link_status(struct hns_mac_cb *mac_cb, u32 *link_status) in hns_mac_get_link_status()
91 int hns_mac_get_port_info(struct hns_mac_cb *mac_cb, in hns_mac_get_port_info()
120 bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) in hns_mac_need_adjust_link()
133 void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) in hns_mac_adjust_link()
163 int hns_mac_get_inner_port_num(struct hns_mac_cb *mac_cb, u8 vmid, u8 *port_num) in hns_mac_get_inner_port_num()
242 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, in hns_mac_change_vf_addr()
285 int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, in hns_mac_add_uc_addr()
305 int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, in hns_mac_rm_uc_addr()
325 int hns_mac_set_multi(struct hns_mac_cb *mac_cb, in hns_mac_set_multi()
[all …]
Dhns_ae_adapt.c212 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_mac_address() local
232 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_add_uc_address() local
243 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_rm_uc_address() local
255 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_multicast_one() local
286 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_clr_multicast() local
296 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_mtu() local
336 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_start() local
360 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_stop() local
416 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_get_link_status() local
426 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_get_mac_info() local
[all …]
Dhns_dsaf_misc.c58 static void hns_dsaf_acpi_ledctrl_by_port(struct hns_mac_cb *mac_cb, u8 op_type, in hns_dsaf_acpi_ledctrl_by_port()
86 static void hns_dsaf_acpi_locate_ledctrl_by_port(struct hns_mac_cb *mac_cb, in hns_dsaf_acpi_locate_ledctrl_by_port()
113 static void hns_cpld_set_led(struct hns_mac_cb *mac_cb, int link_status, in hns_cpld_set_led()
153 static void hns_cpld_set_led_acpi(struct hns_mac_cb *mac_cb, int link_status, in hns_cpld_set_led_acpi()
165 static void cpld_led_reset(struct hns_mac_cb *mac_cb) in cpld_led_reset()
175 static void cpld_led_reset_acpi(struct hns_mac_cb *mac_cb) in cpld_led_reset_acpi()
189 static int cpld_set_led_id(struct hns_mac_cb *mac_cb, in cpld_set_led_id()
224 static int cpld_set_led_id_acpi(struct hns_mac_cb *mac_cb, in cpld_set_led_id_acpi()
512 static phy_interface_t hns_mac_get_phy_if(struct hns_mac_cb *mac_cb) in hns_mac_get_phy_if()
544 static phy_interface_t hns_mac_get_phy_if_acpi(struct hns_mac_cb *mac_cb) in hns_mac_get_phy_if_acpi()
[all …]
Dhns_dsaf_gmac.c250 struct hns_mac_cb *mac_cb = drv->mac_cb; in hns_gmac_need_adjust_link() local
697 void *hns_gmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_gmac_config()
Dhns_dsaf_xgmac.c780 void *hns_xgmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_xgmac_config()
Dhns_dsaf_main.h211 struct hns_mac_cb *mac_cb; member
344 struct hns_mac_cb *mac_cb[DSAF_MAX_PORT_NUM]; member
Dhns_dsaf_main.c2175 void hns_dsaf_fix_mac_mode(struct hns_mac_cb *mac_cb) in hns_dsaf_fix_mac_mode()
2773 struct hns_mac_cb *mac_cb; in set_promisc_tcam_enable() local
Dhns_dsaf_mac.h396 struct hns_mac_cb *mac_cb; member
414 const struct hns_mac_cb *mac_cb) in hns_mac_get_drv()
/linux-5.19.10/include/net/
Dieee802154_netdev.h216 static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb) in mac_cb() function