Lines Matching refs:qlcnic_adapter
32 static void qlcnic_sriov_vf_free_mac_list(struct qlcnic_adapter *);
35 static void qlcnic_sriov_vf_cancel_fw_work(struct qlcnic_adapter *);
37 static int qlcnic_sriov_issue_cmd(struct qlcnic_adapter *,
39 static int qlcnic_sriov_channel_cfg_cmd(struct qlcnic_adapter *, u8);
42 static int qlcnic_sriov_vf_resume(struct qlcnic_adapter *);
43 static int qlcnic_sriov_async_issue_cmd(struct qlcnic_adapter *,
122 static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) in qlcnic_sriov_virtid_fn()
140 int qlcnic_sriov_init(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_init()
261 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in __qlcnic_sriov_cleanup()
290 static void qlcnic_sriov_vf_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cleanup()
297 void qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_cleanup()
311 static int qlcnic_sriov_post_bc_msg(struct qlcnic_adapter *adapter, u32 *hdr, in qlcnic_sriov_post_bc_msg()
348 static void qlcnic_sriov_vf_cfg_buff_desc(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cfg_buff_desc()
358 int qlcnic_sriov_get_vf_vport_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_get_vf_vport_info()
425 static int qlcnic_sriov_set_pvid_mode(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_pvid_mode()
433 static int qlcnic_sriov_set_guest_vlan_mode(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_guest_vlan_mode()
467 static int qlcnic_sriov_get_vf_acl(struct qlcnic_adapter *adapter) in qlcnic_sriov_get_vf_acl()
498 static int qlcnic_sriov_vf_init_driver(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_init_driver()
530 static int qlcnic_sriov_setup_vf(struct qlcnic_adapter *adapter) in qlcnic_sriov_setup_vf()
604 static int qlcnic_sriov_check_dev_ready(struct qlcnic_adapter *adapter) in qlcnic_sriov_check_dev_ready()
618 int qlcnic_sriov_vf_init(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_init()
648 void qlcnic_sriov_vf_set_ops(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_set_ops()
682 int qlcnic_sriov_func_to_index(struct qlcnic_adapter *adapter, u8 pci_func) in qlcnic_sriov_func_to_index()
905 static void qlcnic_sriov_pull_bc_msg(struct qlcnic_adapter *adapter, in qlcnic_sriov_pull_bc_msg()
1006 static int qlcnic_sriov_send_bc_cmd(struct qlcnic_adapter *adapter, in qlcnic_sriov_send_bc_cmd()
1035 static void __qlcnic_sriov_process_bc_cmd(struct qlcnic_adapter *adapter, in __qlcnic_sriov_process_bc_cmd()
1054 struct qlcnic_adapter *adapter = vf->adapter; in qlcnic_sriov_process_bc_cmd()
1195 struct qlcnic_adapter *adapter = vf->adapter; in qlcnic_sriov_handle_bc_cmd()
1288 struct qlcnic_adapter *adapter = vf->adapter; in qlcnic_sriov_handle_flr_event()
1297 void qlcnic_sriov_handle_bc_event(struct qlcnic_adapter *adapter, u32 event) in qlcnic_sriov_handle_bc_event()
1326 int qlcnic_sriov_cfg_bc_intr(struct qlcnic_adapter *adapter, u8 enable) in qlcnic_sriov_cfg_bc_intr()
1352 static int qlcnic_sriov_retry_bc_cmd(struct qlcnic_adapter *adapter, in qlcnic_sriov_retry_bc_cmd()
1372 static int __qlcnic_sriov_issue_cmd(struct qlcnic_adapter *adapter, in __qlcnic_sriov_issue_cmd()
1457 static int qlcnic_sriov_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_sriov_issue_cmd()
1466 static int qlcnic_sriov_channel_cfg_cmd(struct qlcnic_adapter *adapter, u8 cmd_op) in qlcnic_sriov_channel_cfg_cmd()
1500 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vf_add_mc_list()
1545 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_sriov_vf_set_multi()
1660 static int qlcnic_sriov_async_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_sriov_async_issue_cmd()
1674 static int qlcnic_sriov_vf_reinit_driver(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_reinit_driver()
1704 static void qlcnic_sriov_vf_attach(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_attach()
1716 static void qlcnic_sriov_vf_detach(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_detach()
1738 static int qlcnic_sriov_vf_handle_dev_ready(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_handle_dev_ready()
1767 static int qlcnic_sriov_vf_handle_context_reset(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_handle_context_reset()
1826 static int qlcnic_sriov_vf_idc_ready_state(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_idc_ready_state()
1840 static int qlcnic_sriov_vf_idc_failed_state(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_idc_failed_state()
1854 qlcnic_sriov_vf_idc_need_quiescent_state(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_idc_need_quiescent_state()
1871 static int qlcnic_sriov_vf_idc_init_reset_state(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_idc_init_reset_state()
1889 static int qlcnic_sriov_vf_idc_unknown_state(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_idc_unknown_state()
1895 static void qlcnic_sriov_vf_periodic_tasks(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_periodic_tasks()
1903 struct qlcnic_adapter *adapter; in qlcnic_sriov_vf_poll_dev_state()
1907 adapter = container_of(work, struct qlcnic_adapter, fw_work.work); in qlcnic_sriov_vf_poll_dev_state()
1939 static void qlcnic_sriov_vf_cancel_fw_work(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cancel_fw_work()
1984 static int qlcnic_sriov_validate_vlan_cfg(struct qlcnic_adapter *adapter, in qlcnic_sriov_validate_vlan_cfg()
2025 struct qlcnic_adapter *adapter = vf->adapter; in qlcnic_sriov_vlan_operation()
2050 int qlcnic_sriov_cfg_vf_guest_vlan(struct qlcnic_adapter *adapter, in qlcnic_sriov_cfg_vf_guest_vlan()
2099 static void qlcnic_sriov_vf_free_mac_list(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_free_mac_list()
2116 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_sriov_vf_shutdown()
2133 static int qlcnic_sriov_vf_resume(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_resume()
2160 int qlcnic_sriov_alloc_vlans(struct qlcnic_adapter *adapter) in qlcnic_sriov_alloc_vlans()
2177 void qlcnic_sriov_free_vlans(struct qlcnic_adapter *adapter) in qlcnic_sriov_free_vlans()