Lines Matching refs:qlcnic_adapter
62 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
63 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
72 static int qlcnic_start_firmware(struct qlcnic_adapter *);
74 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter);
75 static void qlcnic_dev_set_npar_ready(struct qlcnic_adapter *);
76 static int qlcnicvf_start_firmware(struct qlcnic_adapter *);
80 static int qlcnic_82xx_setup_intr(struct qlcnic_adapter *);
81 static void qlcnic_82xx_dev_request_reset(struct qlcnic_adapter *, u32);
82 static irqreturn_t qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter *);
84 static int qlcnic_82xx_start_firmware(struct qlcnic_adapter *);
86 static void qlcnic_82xx_set_mac_filter_count(struct qlcnic_adapter *);
89 static u32 qlcnic_vlan_tx_check(struct qlcnic_adapter *adapter) in qlcnic_vlan_tx_check()
295 int qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr()
319 static void qlcnic_delete_adapter_mac(struct qlcnic_adapter *adapter) in qlcnic_delete_adapter_mac()
336 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_mac()
374 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_del()
400 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_add()
433 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_dump()
446 static void qlcnic_82xx_cancel_idc_work(struct qlcnic_adapter *adapter) in qlcnic_82xx_cancel_idc_work()
460 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_phys_port_id()
474 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_udp_tunnel_sync()
611 static int qlcnic_check_multi_tx_capability(struct qlcnic_adapter *adapter) in qlcnic_check_multi_tx_capability()
624 static int qlcnic_max_rings(struct qlcnic_adapter *adapter, u8 ring_cnt, in qlcnic_max_rings()
643 void qlcnic_set_tx_ring_count(struct qlcnic_adapter *adapter, u8 tx_cnt) in qlcnic_set_tx_ring_count()
653 void qlcnic_set_sds_ring_count(struct qlcnic_adapter *adapter, u8 rx_cnt) in qlcnic_set_sds_ring_count()
663 int qlcnic_setup_tss_rss_intr(struct qlcnic_adapter *adapter) in qlcnic_setup_tss_rss_intr()
733 int qlcnic_enable_msix(struct qlcnic_adapter *adapter, u32 num_msix) in qlcnic_enable_msix()
806 static int qlcnic_82xx_calculate_msix_vector(struct qlcnic_adapter *adapter) in qlcnic_82xx_calculate_msix_vector()
820 static int qlcnic_enable_msi_legacy(struct qlcnic_adapter *adapter) in qlcnic_enable_msi_legacy()
854 static int qlcnic_82xx_setup_intr(struct qlcnic_adapter *adapter) in qlcnic_82xx_setup_intr()
883 int qlcnic_82xx_mq_intrpt(struct qlcnic_adapter *adapter, int op_type) in qlcnic_82xx_mq_intrpt()
914 void qlcnic_teardown_intr(struct qlcnic_adapter *adapter) in qlcnic_teardown_intr()
936 static int qlcnic_get_act_pci_func(struct qlcnic_adapter *adapter) in qlcnic_get_act_pci_func()
966 static bool qlcnic_port_eswitch_cfg_capability(struct qlcnic_adapter *adapter) in qlcnic_port_eswitch_cfg_capability()
983 int qlcnic_init_pci_info(struct qlcnic_adapter *adapter) in qlcnic_init_pci_info()
1076 qlcnic_set_function_modes(struct qlcnic_adapter *adapter) in qlcnic_set_function_modes()
1097 static void qlcnic_check_vf(struct qlcnic_adapter *adapter, in qlcnic_check_vf()
1180 static bool qlcnic_validate_subsystem_id(struct qlcnic_adapter *adapter, in qlcnic_validate_subsystem_id()
1201 static void qlcnic_get_board_name(struct qlcnic_adapter *adapter, char *name) in qlcnic_get_board_name()
1223 qlcnic_check_options(struct qlcnic_adapter *adapter) in qlcnic_check_options()
1284 qlcnic_initialize_nic(struct qlcnic_adapter *adapter) in qlcnic_initialize_nic()
1330 void qlcnic_set_vlan_config(struct qlcnic_adapter *adapter, in qlcnic_set_vlan_config()
1350 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vlan_rx_add()
1370 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vlan_rx_del()
1388 void qlcnic_set_eswitch_port_features(struct qlcnic_adapter *adapter, in qlcnic_set_eswitch_port_features()
1404 int qlcnic_set_eswitch_port_config(struct qlcnic_adapter *adapter) in qlcnic_set_eswitch_port_config()
1421 void qlcnic_set_netdev_features(struct qlcnic_adapter *adapter, in qlcnic_set_netdev_features()
1436 qlcnic_check_eswitch_mode(struct qlcnic_adapter *adapter) in qlcnic_check_eswitch_mode()
1482 int qlcnic_set_default_offload_settings(struct qlcnic_adapter *adapter) in qlcnic_set_default_offload_settings()
1520 qlcnic_reset_eswitch_config(struct qlcnic_adapter *adapter, in qlcnic_reset_eswitch_config()
1542 int qlcnic_reset_npar_config(struct qlcnic_adapter *adapter) in qlcnic_reset_npar_config()
1584 static int qlcnic_check_npar_opertional(struct qlcnic_adapter *adapter) in qlcnic_check_npar_opertional()
1608 qlcnic_set_mgmt_operations(struct qlcnic_adapter *adapter) in qlcnic_set_mgmt_operations()
1629 static int qlcnic_82xx_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_82xx_start_firmware()
1696 qlcnic_request_irq(struct qlcnic_adapter *adapter) in qlcnic_request_irq()
1784 qlcnic_free_irq(struct qlcnic_adapter *adapter) in qlcnic_free_irq()
1815 static void qlcnic_get_lro_mss_capability(struct qlcnic_adapter *adapter) in qlcnic_get_lro_mss_capability()
1830 static int qlcnic_config_def_intr_coalesce(struct qlcnic_adapter *adapter) in qlcnic_config_def_intr_coalesce()
1857 int __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_up()
1904 int qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_up()
1916 void __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_down()
1953 void qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_down()
1963 qlcnic_attach(struct qlcnic_adapter *adapter) in qlcnic_attach()
2011 void qlcnic_detach(struct qlcnic_adapter *adapter) in qlcnic_detach()
2029 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_free_res()
2059 static int qlcnic_alloc_adapter_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_adapter_resources()
2089 static void qlcnic_free_adapter_resources(struct qlcnic_adapter *adapter) in qlcnic_free_adapter_resources()
2113 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_alloc_res()
2167 qlcnic_reset_hw_context(struct qlcnic_adapter *adapter) in qlcnic_reset_hw_context()
2188 qlcnic_reset_context(struct qlcnic_adapter *adapter) in qlcnic_reset_context()
2220 static void qlcnic_82xx_set_mac_filter_count(struct qlcnic_adapter *adapter) in qlcnic_82xx_set_mac_filter_count()
2236 static int qlcnic_set_real_num_queues(struct qlcnic_adapter *adapter, in qlcnic_set_real_num_queues()
2262 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_setup_netdev()
2339 void qlcnic_free_tx_rings(struct qlcnic_adapter *adapter) in qlcnic_free_tx_rings()
2354 int qlcnic_alloc_tx_rings(struct qlcnic_adapter *adapter, in qlcnic_alloc_tx_rings()
2397 void qlcnic_set_drv_version(struct qlcnic_adapter *adapter) in qlcnic_set_drv_version()
2412 static void qlcnic_reset_api_lock(struct qlcnic_adapter *adapter) in qlcnic_reset_api_lock()
2423 struct qlcnic_adapter *adapter = NULL; in qlcnic_probe()
2480 netdev = alloc_etherdev_mq(sizeof(struct qlcnic_adapter), in qlcnic_probe()
2712 struct qlcnic_adapter *adapter; in qlcnic_remove()
2789 struct qlcnic_adapter *adapter = dev_get_drvdata(dev_d); in qlcnic_resume()
2796 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_open()
2824 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_close()
2833 void qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_alloc_lb_filters_mem()
2889 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_free_lb_filters_mem()
2904 int qlcnic_check_temp(struct qlcnic_adapter *adapter) in qlcnic_check_temp()
2956 static void qlcnic_dump_rings(struct qlcnic_adapter *adapter) in qlcnic_dump_rings()
3023 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_tx_timeout()
3046 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_stats()
3062 static irqreturn_t qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter *adapter) in qlcnic_82xx_clear_legacy_intr()
3087 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_tmp_intr()
3108 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_intr()
3121 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_msi_intr()
3147 qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding) in qlcnic_idc_debug_info()
3160 qlcnic_set_drv_state(struct qlcnic_adapter *adapter, u8 state) in qlcnic_set_drv_state()
3185 qlcnic_clr_drv_state(struct qlcnic_adapter *adapter) in qlcnic_clr_drv_state()
3201 void qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8 failed) in qlcnic_clr_all_drv_state()
3235 qlcnic_check_drv_state(struct qlcnic_adapter *adapter) in qlcnic_check_drv_state()
3255 static int qlcnic_check_idc_ver(struct qlcnic_adapter *adapter) in qlcnic_check_idc_ver()
3268 qlcnic_can_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_can_start_firmware()
3356 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fwinit_work()
3357 struct qlcnic_adapter, fw_work.work); in qlcnic_fwinit_work()
3460 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_detach_work()
3461 struct qlcnic_adapter, fw_work.work); in qlcnic_detach_work()
3521 qlcnic_set_npar_non_operational(struct qlcnic_adapter *adapter) in qlcnic_set_npar_non_operational()
3536 static void qlcnic_82xx_dev_request_reset(struct qlcnic_adapter *adapter, in qlcnic_82xx_dev_request_reset()
3581 qlcnic_dev_set_npar_ready(struct qlcnic_adapter *adapter) in qlcnic_dev_set_npar_ready()
3593 void qlcnic_schedule_work(struct qlcnic_adapter *adapter, in qlcnic_schedule_work()
3607 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_attach_work()
3608 struct qlcnic_adapter, fw_work.work); in qlcnic_attach_work()
3649 qlcnic_check_health(struct qlcnic_adapter *adapter) in qlcnic_check_health()
3730 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fw_poll_work()
3731 struct qlcnic_adapter, fw_work.work); in qlcnic_fw_poll_work()
3771 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_attach_func()
3835 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_82xx_io_error_detected()
3878 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_82xx_io_resume()
3890 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_error_detected()
3903 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_slot_reset()
3916 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_resume()
3927 qlcnicvf_start_firmware(struct qlcnic_adapter *adapter) in qlcnicvf_start_firmware()
3954 int qlcnic_validate_rings(struct qlcnic_adapter *adapter, __u32 ring_cnt, in qlcnic_validate_rings()
3987 int qlcnic_setup_rings(struct qlcnic_adapter *adapter) in qlcnic_setup_rings()
4067 qlcnic_config_indev_addr(struct qlcnic_adapter *adapter, in qlcnic_config_indev_addr()
4097 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_restore_indev_addr()
4116 struct qlcnic_adapter *adapter; in qlcnic_netdev_event()
4148 struct qlcnic_adapter *adapter; in qlcnic_inetaddr_event()