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()
560 vfinfo = hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_get_vf_config()
597 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_mac()
647 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_add_vf_vlan()
664 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_kill_vf_vlan()
694 vf_info = nic_dev->hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_update_mac_vlan()
801 nic_io = &hwdev->func_to_io; in hinic_set_vf_trust()
817 nic_io = &adapter->hwdev->func_to_io; in hinic_ndo_set_vf_trust()
909 vf_infos = hwdev->func_to_io.vf_infos; in hinic_set_vf_spoofchk()
941 cur_spoofchk = nic_dev->hwdev->func_to_io.vf_infos[vf].spoofchk; in hinic_ndo_set_vf_spoofchk()
964 struct hinic_func_to_io *nic_io = &hwdev->func_to_io; in hinic_set_vf_link_state()
1036 nic_io = &dev->func_to_io; in nic_pf_mbox_handler()
1114 vf_infos = nic_dev->hwdev->func_to_io.vf_infos + HW_VF_ID_TO_OS(vf_id); in hinic_clear_vf_infos()
1132 hinic_init_vf_infos(&nic_dev->hwdev->func_to_io, HW_VF_ID_TO_OS(vf_id)); in hinic_clear_vf_infos()
1166 nic_io = &hwdev->func_to_io; in hinic_vf_func_init()
1233 if (hwdev->func_to_io.vf_infos) { in hinic_vf_func_free()
1235 kfree(hwdev->func_to_io.vf_infos); in hinic_vf_func_free()