Searched defs:mac_cb (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_dsaf_mac.c | 55 static enum mac_mode hns_get_enet_interface(const struct hns_mac_cb *mac_cb) in hns_get_enet_interface() 90 void hns_mac_get_link_status(struct hns_mac_cb *mac_cb, u32 *link_status) in hns_mac_get_link_status() 120 int hns_mac_get_port_info(struct hns_mac_cb *mac_cb, in hns_mac_get_port_info() 149 bool hns_mac_need_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) in hns_mac_need_adjust_link() 162 void hns_mac_adjust_link(struct hns_mac_cb *mac_cb, int speed, int duplex) in hns_mac_adjust_link() 192 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() 271 int hns_mac_change_vf_addr(struct hns_mac_cb *mac_cb, in hns_mac_change_vf_addr() 314 int hns_mac_add_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, in hns_mac_add_uc_addr() 334 int hns_mac_rm_uc_addr(struct hns_mac_cb *mac_cb, u8 vf_id, in hns_mac_rm_uc_addr() 354 int hns_mac_set_multi(struct hns_mac_cb *mac_cb, in hns_mac_set_multi() [all …]
|
H A D | hns_dsaf_misc.c | 58 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 …]
|
/linux/include/net/ |
H A D | ieee802154_netdev.h | 397 static inline struct ieee802154_mac_cb *mac_cb(struct sk_buff *skb) in mac_cb() function
|