Home
last modified time | relevance | path

Searched refs:hns_mac_cb (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_mac.h303 struct hns_mac_cb { struct
396 struct hns_mac_cb *mac_cb;
414 const struct hns_mac_cb *mac_cb) in hns_mac_get_drv()
419 void *hns_gmac_config(struct hns_mac_cb *mac_cb,
421 void *hns_xgmac_config(struct hns_mac_cb *mac_cb,
430 int hns_mac_set_multi(struct hns_mac_cb *mac_cb,
433 void hns_mac_start(struct hns_mac_cb *mac_cb);
434 void hns_mac_stop(struct hns_mac_cb *mac_cb);
437 void hns_mac_reset(struct hns_mac_cb *mac_cb);
453 void hns_set_led_opt(struct hns_mac_cb *mac_cb);
[all …]
A Dhns_dsaf_mac.c91 int hns_mac_get_port_info(struct hns_mac_cb *mac_cb, in hns_mac_get_port_info()
242 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, in hns_mac_change_vf_addr()
325 int hns_mac_set_multi(struct hns_mac_cb *mac_cb, in hns_mac_set_multi()
367 struct hns_mac_cb *mac_cb) in hns_mac_param_get()
460 void hns_mac_reset(struct hns_mac_cb *mac_cb) in hns_mac_reset()
506 void hns_mac_start(struct hns_mac_cb *mac_cb) in hns_mac_start()
523 void hns_mac_stop(struct hns_mac_cb *mac_cb) in hns_mac_stop()
969 struct hns_mac_cb *mac_cb, u32 mac_mode_idx) in hns_mac_get_vaddr()
1062 struct hns_mac_cb *mac_cb; in hns_mac_init()
1206 void hns_set_led_opt(struct hns_mac_cb *mac_cb) in hns_set_led_opt()
[all …]
A Dhns_dsaf_main.h13 struct hns_mac_cb;
211 struct hns_mac_cb *mac_cb;
299 void (*cpld_set_led)(struct hns_mac_cb *mac_cb, int link_status,
301 void (*cpld_reset_led)(struct hns_mac_cb *mac_cb);
302 int (*cpld_set_led_id)(struct hns_mac_cb *mac_cb,
314 phy_interface_t (*get_phy_if)(struct hns_mac_cb *mac_cb);
315 int (*get_sfp_prsnt)(struct hns_mac_cb *mac_cb, int *sfp_prsnt);
317 int (*cfg_serdes_loopback)(struct hns_mac_cb *mac_cb, bool en);
344 struct hns_mac_cb *mac_cb[DSAF_MAX_PORT_NUM];
436 void hns_dsaf_fix_mac_mode(struct hns_mac_cb *mac_cb);
A Dhns_ae_adapt.c212 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_mac_address()
232 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_add_uc_address()
243 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_rm_uc_address()
255 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_multicast_one()
286 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_clr_multicast()
624 struct hns_mac_cb *mac_cb; in hns_ae_update_stats()
704 struct hns_mac_cb *mac_cb; in hns_ae_get_stats()
738 struct hns_mac_cb *mac_cb; in hns_ae_get_strings()
769 struct hns_mac_cb *mac_cb; in hns_ae_get_sset_count()
814 struct hns_mac_cb *mac_cb; in hns_ae_update_led_status()
[all …]
A 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 …]
A Dhns_dsaf_gmac.c250 struct hns_mac_cb *mac_cb = drv->mac_cb; in hns_gmac_need_adjust_link()
697 void *hns_gmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_gmac_config()
A Dhns_dsaf_xgmac.c780 void *hns_xgmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_xgmac_config()
A 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()

Completed in 21 milliseconds