Lines Matching refs:func_to_io

44 …dev_err(&hwdev->func_to_io.hwif->pdev->dev, "Failed to set MAC, err: %d, status: 0x%x, out size: 0…  in hinic_set_mac()
55 struct vf_data_storage *vf_infos = hwdev->func_to_io.vf_infos; in hinic_notify_vf_link_status()
79 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_notify_all_vfs_link_changed()
91 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_vf_info_vlanprio()
137 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_tx_rate_max_min()
167 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_rate_limit()
218 vf_info = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_init_vf_config()
227 dev_err(&hwdev->func_to_io.hwif->pdev->dev, "Failed to set VF %d MAC\n", in hinic_init_vf_config()
266 nic_io = &hw_dev->func_to_io; in hinic_register_vf_msg_handler()
293 nic_io = &hw_dev->func_to_io; in hinic_unregister_vf_msg_handler()
330 nic_io = &dev->func_to_io; in hinic_get_vf_mac_msg_handler()
351 nic_io = &hw_dev->func_to_io; in hinic_set_vf_mac_msg_handler()
385 nic_io = &hw_dev->func_to_io; in hinic_del_vf_mac_msg_handler()
416 nic_io = &hw_dev->func_to_io; in hinic_get_vf_link_status_msg_handler()
578 vfinfo = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_get_vf_config()
615 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_mac()
665 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_add_vf_vlan()
682 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_kill_vf_vlan()
712 vf_info = nic_dev->hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_update_mac_vlan()
819 nic_io = &hwdev->func_to_io; in hinic_set_vf_trust()
835 nic_io = &adapter->hwdev->func_to_io; in hinic_ndo_set_vf_trust()
927 vf_infos = hwdev->func_to_io.vf_infos; in hinic_set_vf_spoofchk()
959 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk; in hinic_ndo_set_vf_spoofchk()
982 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_link_state()
1054 nic_io = &dev->func_to_io; in nic_pf_mbox_handler()
1132 vf_infos = nic_dev->hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_clear_vf_infos()
1150 hinic_init_vf_infos(&nic_dev->hwdev->func_to_io, HW_VF_ID_TO_OS(vf_id)); in hinic_clear_vf_infos()
1184 nic_io = &hwdev->func_to_io; in hinic_vf_func_init()
1251 if (hwdev->func_to_io.vf_infos) { in hinic_vf_func_free()
1253 kfree(hwdev->func_to_io.vf_infos); in hinic_vf_func_free()