Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_mac.c56 static enum mac_mode hns_mac_dev_to_enet_if(const struct hns_mac_cb *mac_cb) in hns_mac_dev_to_enet_if()
70 static enum mac_mode hns_get_enet_interface(const struct hns_mac_cb *mac_cb) in hns_get_enet_interface()
84 int hns_mac_get_sfp_prsnt(struct hns_mac_cb *mac_cb, int *sfp_prsnt) in hns_mac_get_sfp_prsnt()
95 void hns_mac_get_link_status(struct hns_mac_cb *mac_cb, u32 *link_status) in hns_mac_get_link_status()
114 int hns_mac_get_port_info(struct hns_mac_cb *mac_cb, in hns_mac_get_port_info()
136 void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) in hns_mac_adjust_link()
167 static int hns_mac_get_inner_port_num(struct hns_mac_cb *mac_cb, 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_set_multi(struct hns_mac_cb *mac_cb, in hns_mac_set_multi()
322 int hns_mac_del_mac(struct hns_mac_cb *mac_cb, u32 vfn, char *mac) in hns_mac_del_mac()
[all …]
Dhns_ae_adapt.c227 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_mac_address() local
248 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_multicast_one() local
275 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_mtu() local
283 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_start() local
299 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_stop() local
349 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_get_link_status() local
359 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_get_mac_info() local
367 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_adjust_link() local
414 struct hns_mac_cb *mac_cb = hns_get_mac_cb(handle); in hns_ae_set_pauseparam() local
488 struct hns_mac_cb *mac_cb; in hns_ae_update_stats() local
[all …]
Dhns_dsaf_misc.c15 void hns_cpld_set_led(struct hns_mac_cb *mac_cb, int link_status, in hns_cpld_set_led()
52 void cpld_led_reset(struct hns_mac_cb *mac_cb) in cpld_led_reset()
61 int cpld_set_led_id(struct hns_mac_cb *mac_cb, in cpld_set_led_id()
241 phy_interface_t hns_mac_get_phy_if(struct hns_mac_cb *mac_cb) in hns_mac_get_phy_if()
276 int hns_mac_config_sds_loopback(struct hns_mac_cb *mac_cb, u8 en) in hns_mac_config_sds_loopback()
Dhns_dsaf_xgmac.c794 void *hns_xgmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_xgmac_config()
Dhns_dsaf_gmac.c662 void *hns_gmac_config(struct hns_mac_cb *mac_cb, struct mac_params *mac_param) in hns_gmac_config()
Dhns_dsaf_main.h185 struct hns_mac_cb *mac_cb; member
297 struct hns_mac_cb *mac_cb; member
Dhns_dsaf_mac.h395 struct hns_mac_cb *mac_cb; member
413 const struct hns_mac_cb *mac_cb) in hns_mac_get_drv()
Dhns_dsaf_main.c1849 void hns_dsaf_fix_mac_mode(struct hns_mac_cb *mac_cb) in hns_dsaf_fix_mac_mode()
/linux-4.4.14/include/net/
Dieee802154_netdev.h224 static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb) in mac_cb() function