Lines Matching defs:hwdev
29 static int hinic_set_mac(struct hinic_hwdev *hwdev, const u8 *mac_addr, in hinic_set_mac()
52 static void hinic_notify_vf_link_status(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_notify_vf_link_status()
76 void hinic_notify_all_vfs_link_changed(struct hinic_hwdev *hwdev, in hinic_notify_all_vfs_link_changed()
89 static u16 hinic_vf_info_vlanprio(struct hinic_hwdev *hwdev, int vf_id) in hinic_vf_info_vlanprio()
102 static int hinic_set_vf_vlan(struct hinic_hwdev *hwdev, bool add, u16 vid, in hinic_set_vf_vlan()
134 static int hinic_set_vf_tx_rate_max_min(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate_max_min()
164 static int hinic_set_vf_rate_limit(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_rate_limit()
193 static int hinic_set_vf_tx_rate(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_tx_rate()
212 static int hinic_init_vf_config(struct hinic_hwdev *hwdev, u16 vf_id) in hinic_init_vf_config()
257 static int hinic_register_vf_msg_handler(void *hwdev, u16 vf_id, in hinic_register_vf_msg_handler()
286 static int hinic_unregister_vf_msg_handler(void *hwdev, u16 vf_id, in hinic_unregister_vf_msg_handler()
303 static int hinic_change_vf_mtu_msg_handler(void *hwdev, u16 vf_id, in hinic_change_vf_mtu_msg_handler()
321 static int hinic_get_vf_mac_msg_handler(void *hwdev, u16 vf_id, in hinic_get_vf_mac_msg_handler()
340 static int hinic_set_vf_mac_msg_handler(void *hwdev, u16 vf_id, in hinic_set_vf_mac_msg_handler()
374 static int hinic_del_vf_mac_msg_handler(void *hwdev, u16 vf_id, in hinic_del_vf_mac_msg_handler()
406 static int hinic_get_vf_link_status_msg_handler(void *hwdev, u16 vf_id, in hinic_get_vf_link_status_msg_handler()
433 static bool check_func_table(struct hinic_hwdev *hwdev, u16 func_idx, in check_func_table()
535 static int hinic_update_mac(struct hinic_hwdev *hwdev, u8 *old_mac, in hinic_update_mac()
573 static void hinic_get_vf_config(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_get_vf_config()
612 static int hinic_set_vf_mac(struct hinic_hwdev *hwdev, int vf, in hinic_set_vf_mac()
662 static int hinic_add_vf_vlan(struct hinic_hwdev *hwdev, int vf_id, in hinic_add_vf_vlan()
680 static int hinic_kill_vf_vlan(struct hinic_hwdev *hwdev, int vf_id) in hinic_kill_vf_vlan()
810 static int hinic_set_vf_trust(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_trust()
916 static int hinic_set_vf_spoofchk(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_spoofchk()
979 static int hinic_set_vf_link_state(struct hinic_hwdev *hwdev, u16 vf_id, in hinic_set_vf_link_state()
1031 static int nic_pf_mbox_handler(void *hwdev, u16 vf_id, u8 cmd, void *buf_in, in nic_pf_mbox_handler()
1077 static int cfg_mbx_pf_proc_vf_msg(void *hwdev, u16 vf_id, u8 cmd, void *buf_in, in cfg_mbx_pf_proc_vf_msg()
1169 int hinic_vf_func_init(struct hinic_hwdev *hwdev) in hinic_vf_func_init()
1236 void hinic_vf_func_free(struct hinic_hwdev *hwdev) in hinic_vf_func_free()
1258 static int hinic_init_vf_hw(struct hinic_hwdev *hwdev, u16 start_vf_id, in hinic_init_vf_hw()