Lines Matching refs:qlcnic_adapter
61 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
62 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
71 static int qlcnic_start_firmware(struct qlcnic_adapter *);
73 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter);
74 static void qlcnic_dev_set_npar_ready(struct qlcnic_adapter *);
75 static int qlcnicvf_start_firmware(struct qlcnic_adapter *);
79 static int qlcnic_82xx_setup_intr(struct qlcnic_adapter *);
80 static void qlcnic_82xx_dev_request_reset(struct qlcnic_adapter *, u32);
81 static irqreturn_t qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter *);
83 static int qlcnic_82xx_start_firmware(struct qlcnic_adapter *);
85 static void qlcnic_82xx_set_mac_filter_count(struct qlcnic_adapter *);
88 static u32 qlcnic_vlan_tx_check(struct qlcnic_adapter *adapter) in qlcnic_vlan_tx_check()
294 int qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr()
318 static void qlcnic_delete_adapter_mac(struct qlcnic_adapter *adapter) in qlcnic_delete_adapter_mac()
335 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_mac()
373 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_del()
399 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_add()
432 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_fdb_dump()
445 static void qlcnic_82xx_cancel_idc_work(struct qlcnic_adapter *adapter) in qlcnic_82xx_cancel_idc_work()
459 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_phys_port_id()
473 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_udp_tunnel_sync()
610 static int qlcnic_check_multi_tx_capability(struct qlcnic_adapter *adapter) in qlcnic_check_multi_tx_capability()
623 static int qlcnic_max_rings(struct qlcnic_adapter *adapter, u8 ring_cnt, in qlcnic_max_rings()
642 void qlcnic_set_tx_ring_count(struct qlcnic_adapter *adapter, u8 tx_cnt) in qlcnic_set_tx_ring_count()
652 void qlcnic_set_sds_ring_count(struct qlcnic_adapter *adapter, u8 rx_cnt) in qlcnic_set_sds_ring_count()
662 int qlcnic_setup_tss_rss_intr(struct qlcnic_adapter *adapter) in qlcnic_setup_tss_rss_intr()
732 int qlcnic_enable_msix(struct qlcnic_adapter *adapter, u32 num_msix) in qlcnic_enable_msix()
805 static int qlcnic_82xx_calculate_msix_vector(struct qlcnic_adapter *adapter) in qlcnic_82xx_calculate_msix_vector()
819 static int qlcnic_enable_msi_legacy(struct qlcnic_adapter *adapter) in qlcnic_enable_msi_legacy()
853 static int qlcnic_82xx_setup_intr(struct qlcnic_adapter *adapter) in qlcnic_82xx_setup_intr()
882 int qlcnic_82xx_mq_intrpt(struct qlcnic_adapter *adapter, int op_type) in qlcnic_82xx_mq_intrpt()
913 void qlcnic_teardown_intr(struct qlcnic_adapter *adapter) in qlcnic_teardown_intr()
935 static int qlcnic_get_act_pci_func(struct qlcnic_adapter *adapter) in qlcnic_get_act_pci_func()
965 static bool qlcnic_port_eswitch_cfg_capability(struct qlcnic_adapter *adapter) in qlcnic_port_eswitch_cfg_capability()
982 int qlcnic_init_pci_info(struct qlcnic_adapter *adapter) in qlcnic_init_pci_info()
1075 qlcnic_set_function_modes(struct qlcnic_adapter *adapter) in qlcnic_set_function_modes()
1096 static void qlcnic_check_vf(struct qlcnic_adapter *adapter, in qlcnic_check_vf()
1179 static bool qlcnic_validate_subsystem_id(struct qlcnic_adapter *adapter, in qlcnic_validate_subsystem_id()
1200 static void qlcnic_get_board_name(struct qlcnic_adapter *adapter, char *name) in qlcnic_get_board_name()
1222 qlcnic_check_options(struct qlcnic_adapter *adapter) in qlcnic_check_options()
1283 qlcnic_initialize_nic(struct qlcnic_adapter *adapter) in qlcnic_initialize_nic()
1329 void qlcnic_set_vlan_config(struct qlcnic_adapter *adapter, in qlcnic_set_vlan_config()
1349 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vlan_rx_add()
1369 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vlan_rx_del()
1387 void qlcnic_set_eswitch_port_features(struct qlcnic_adapter *adapter, in qlcnic_set_eswitch_port_features()
1403 int qlcnic_set_eswitch_port_config(struct qlcnic_adapter *adapter) in qlcnic_set_eswitch_port_config()
1420 void qlcnic_set_netdev_features(struct qlcnic_adapter *adapter, in qlcnic_set_netdev_features()
1435 qlcnic_check_eswitch_mode(struct qlcnic_adapter *adapter) in qlcnic_check_eswitch_mode()
1481 int qlcnic_set_default_offload_settings(struct qlcnic_adapter *adapter) in qlcnic_set_default_offload_settings()
1519 qlcnic_reset_eswitch_config(struct qlcnic_adapter *adapter, in qlcnic_reset_eswitch_config()
1541 int qlcnic_reset_npar_config(struct qlcnic_adapter *adapter) in qlcnic_reset_npar_config()
1583 static int qlcnic_check_npar_opertional(struct qlcnic_adapter *adapter) in qlcnic_check_npar_opertional()
1607 qlcnic_set_mgmt_operations(struct qlcnic_adapter *adapter) in qlcnic_set_mgmt_operations()
1628 static int qlcnic_82xx_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_82xx_start_firmware()
1695 qlcnic_request_irq(struct qlcnic_adapter *adapter) in qlcnic_request_irq()
1783 qlcnic_free_irq(struct qlcnic_adapter *adapter) in qlcnic_free_irq()
1814 static void qlcnic_get_lro_mss_capability(struct qlcnic_adapter *adapter) in qlcnic_get_lro_mss_capability()
1829 static int qlcnic_config_def_intr_coalesce(struct qlcnic_adapter *adapter) in qlcnic_config_def_intr_coalesce()
1856 int __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_up()
1903 int qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_up()
1915 void __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_down()
1952 void qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_down()
1962 qlcnic_attach(struct qlcnic_adapter *adapter) in qlcnic_attach()
2010 void qlcnic_detach(struct qlcnic_adapter *adapter) in qlcnic_detach()
2028 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_free_res()
2058 static int qlcnic_alloc_adapter_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_adapter_resources()
2088 static void qlcnic_free_adapter_resources(struct qlcnic_adapter *adapter) in qlcnic_free_adapter_resources()
2112 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_alloc_res()
2166 qlcnic_reset_hw_context(struct qlcnic_adapter *adapter) in qlcnic_reset_hw_context()
2187 qlcnic_reset_context(struct qlcnic_adapter *adapter) in qlcnic_reset_context()
2219 static void qlcnic_82xx_set_mac_filter_count(struct qlcnic_adapter *adapter) in qlcnic_82xx_set_mac_filter_count()
2235 static int qlcnic_set_real_num_queues(struct qlcnic_adapter *adapter, in qlcnic_set_real_num_queues()
2261 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_setup_netdev()
2338 void qlcnic_free_tx_rings(struct qlcnic_adapter *adapter) in qlcnic_free_tx_rings()
2353 int qlcnic_alloc_tx_rings(struct qlcnic_adapter *adapter, in qlcnic_alloc_tx_rings()
2396 void qlcnic_set_drv_version(struct qlcnic_adapter *adapter) in qlcnic_set_drv_version()
2411 static void qlcnic_reset_api_lock(struct qlcnic_adapter *adapter) in qlcnic_reset_api_lock()
2422 struct qlcnic_adapter *adapter = NULL; in qlcnic_probe()
2478 netdev = alloc_etherdev_mq(sizeof(struct qlcnic_adapter), in qlcnic_probe()
2709 struct qlcnic_adapter *adapter; in qlcnic_remove()
2785 struct qlcnic_adapter *adapter = dev_get_drvdata(dev_d); in qlcnic_resume()
2792 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_open()
2820 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_close()
2829 void qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_alloc_lb_filters_mem()
2885 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_free_lb_filters_mem()
2900 int qlcnic_check_temp(struct qlcnic_adapter *adapter) in qlcnic_check_temp()
2952 static void qlcnic_dump_rings(struct qlcnic_adapter *adapter) in qlcnic_dump_rings()
3019 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_tx_timeout()
3042 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_stats()
3058 static irqreturn_t qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter *adapter) in qlcnic_82xx_clear_legacy_intr()
3083 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_tmp_intr()
3104 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_intr()
3117 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_msi_intr()
3143 qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding) in qlcnic_idc_debug_info()
3156 qlcnic_set_drv_state(struct qlcnic_adapter *adapter, u8 state) in qlcnic_set_drv_state()
3181 qlcnic_clr_drv_state(struct qlcnic_adapter *adapter) in qlcnic_clr_drv_state()
3197 void qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8 failed) in qlcnic_clr_all_drv_state()
3231 qlcnic_check_drv_state(struct qlcnic_adapter *adapter) in qlcnic_check_drv_state()
3251 static int qlcnic_check_idc_ver(struct qlcnic_adapter *adapter) in qlcnic_check_idc_ver()
3264 qlcnic_can_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_can_start_firmware()
3352 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fwinit_work()
3353 struct qlcnic_adapter, fw_work.work); in qlcnic_fwinit_work()
3456 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_detach_work()
3457 struct qlcnic_adapter, fw_work.work); in qlcnic_detach_work()
3517 qlcnic_set_npar_non_operational(struct qlcnic_adapter *adapter) in qlcnic_set_npar_non_operational()
3532 static void qlcnic_82xx_dev_request_reset(struct qlcnic_adapter *adapter, in qlcnic_82xx_dev_request_reset()
3577 qlcnic_dev_set_npar_ready(struct qlcnic_adapter *adapter) in qlcnic_dev_set_npar_ready()
3589 void qlcnic_schedule_work(struct qlcnic_adapter *adapter, in qlcnic_schedule_work()
3603 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_attach_work()
3604 struct qlcnic_adapter, fw_work.work); in qlcnic_attach_work()
3645 qlcnic_check_health(struct qlcnic_adapter *adapter) in qlcnic_check_health()
3726 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fw_poll_work()
3727 struct qlcnic_adapter, fw_work.work); in qlcnic_fw_poll_work()
3767 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_attach_func()
3831 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_82xx_io_error_detected()
3874 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_82xx_io_resume()
3886 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_error_detected()
3899 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_slot_reset()
3912 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_resume()
3923 qlcnicvf_start_firmware(struct qlcnic_adapter *adapter) in qlcnicvf_start_firmware()
3950 int qlcnic_validate_rings(struct qlcnic_adapter *adapter, __u32 ring_cnt, in qlcnic_validate_rings()
3983 int qlcnic_setup_rings(struct qlcnic_adapter *adapter) in qlcnic_setup_rings()
4063 qlcnic_config_indev_addr(struct qlcnic_adapter *adapter, in qlcnic_config_indev_addr()
4093 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_restore_indev_addr()
4112 struct qlcnic_adapter *adapter; in qlcnic_netdev_event()
4144 struct qlcnic_adapter *adapter; in qlcnic_inetaddr_event()