Lines Matching refs:hinic_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()
262 struct hinic_hwdev *hw_dev = hwdev; in hinic_register_vf_msg_handler()
290 struct hinic_hwdev *hw_dev = hwdev; in hinic_unregister_vf_msg_handler()
307 struct hinic_hwdev *hw_dev = hwdev; in hinic_change_vf_mtu_msg_handler()
326 struct hinic_hwdev *dev = hwdev; in hinic_get_vf_mac_msg_handler()
346 struct hinic_hwdev *hw_dev = hwdev; in hinic_set_vf_mac_msg_handler()
380 struct hinic_hwdev *hw_dev = hwdev; in hinic_del_vf_mac_msg_handler()
411 struct hinic_hwdev *hw_dev = hwdev; 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()
1036 struct hinic_hwdev *dev = hwdev; in nic_pf_mbox_handler()
1081 struct hinic_hwdev *dev = hwdev; 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()