Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/hisilicon/hns/
H 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,
429 int hns_mac_set_multi(struct hns_mac_cb *mac_cb,
432 void hns_mac_start(struct hns_mac_cb *mac_cb);
433 void hns_mac_stop(struct hns_mac_cb *mac_cb);
436 void hns_mac_reset(struct hns_mac_cb *mac_cb);
452 void hns_set_led_opt(struct hns_mac_cb *mac_cb);
[all …]
H A Dhns_dsaf_mac.c120 int hns_mac_get_port_info(struct hns_mac_cb *mac_cb, in hns_mac_get_port_info()
271 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, in hns_mac_change_vf_addr()
354 int hns_mac_set_multi(struct hns_mac_cb *mac_cb, in hns_mac_set_multi()
396 struct hns_mac_cb *mac_cb) in hns_mac_param_get()
489 void hns_mac_reset(struct hns_mac_cb *mac_cb) in hns_mac_reset()
535 void hns_mac_start(struct hns_mac_cb *mac_cb) in hns_mac_start()
552 void hns_mac_stop(struct hns_mac_cb *mac_cb) in hns_mac_stop()
999 struct hns_mac_cb *mac_cb, u32 mac_mode_idx) in hns_mac_get_vaddr()
1092 struct hns_mac_cb *mac_cb; in hns_mac_init()
1231 void hns_set_led_opt(struct hns_mac_cb *mac_cb) in hns_set_led_opt()
[all …]
H A Dhns_dsaf_main.h13 struct hns_mac_cb;
188 struct hns_mac_cb *mac_cb;
276 void (*cpld_set_led)(struct hns_mac_cb *mac_cb, int link_status,
278 void (*cpld_reset_led)(struct hns_mac_cb *mac_cb);
279 int (*cpld_set_led_id)(struct hns_mac_cb *mac_cb,
288 phy_interface_t (*get_phy_if)(struct hns_mac_cb *mac_cb);
289 int (*get_sfp_prsnt)(struct hns_mac_cb *mac_cb, int *sfp_prsnt);
291 int (*cfg_serdes_loopback)(struct hns_mac_cb *mac_cb, bool en);
318 struct hns_mac_cb *mac_cb[DSAF_MAX_PORT_NUM];
410 void hns_dsaf_fix_mac_mode(struct hns_mac_cb *mac_cb);
H 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()
763 struct hns_mac_cb *mac_cb; in hns_ae_get_sset_count()
808 struct hns_mac_cb *mac_cb; in hns_ae_update_led_status()
[all …]
H A Dhns_dsaf_misc.c86 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()
449 static phy_interface_t hns_mac_get_phy_if(struct hns_mac_cb *mac_cb) in hns_mac_get_phy_if()
481 static phy_interface_t hns_mac_get_phy_if_acpi(struct hns_mac_cb *mac_cb) in hns_mac_get_phy_if_acpi()
561 static int hns_mac_config_sds_loopback(struct hns_mac_cb *mac_cb, bool en) in hns_mac_config_sds_loopback()
[all …]
H A Dhns_dsaf_gmac.c250 struct hns_mac_cb *mac_cb = drv->mac_cb; in hns_gmac_need_adjust_link()
696 void *hns_gmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_gmac_config()
H A Dhns_dsaf_xgmac.c779 void *hns_xgmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_xgmac_config()
H A Dhns_dsaf_main.c2175 void hns_dsaf_fix_mac_mode(struct hns_mac_cb *mac_cb) in hns_dsaf_fix_mac_mode()
2751 struct hns_mac_cb *mac_cb; in set_promisc_tcam_enable()