Lines Matching refs:qlcnic_adapter

66 static void qlcnic_schedule_work(struct qlcnic_adapter *adapter,
68 static void qlcnic_cancel_fw_work(struct qlcnic_adapter *adapter);
75 static void qlcnic_create_sysfs_entries(struct qlcnic_adapter *adapter);
76 static void qlcnic_remove_sysfs_entries(struct qlcnic_adapter *adapter);
77 static void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter);
78 static void qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter);
80 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
81 static void qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8);
82 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
91 static int qlcnic_start_firmware(struct qlcnic_adapter *);
93 static void qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter *adapter);
94 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter);
95 static void qlcnic_dev_set_npar_ready(struct qlcnic_adapter *);
96 static int qlcnicvf_config_led(struct qlcnic_adapter *, u32, u32);
97 static int qlcnicvf_config_bridged_mode(struct qlcnic_adapter *, u32);
98 static int qlcnicvf_start_firmware(struct qlcnic_adapter *);
99 static void qlcnic_set_netdev_features(struct qlcnic_adapter *,
117 qlcnic_update_cmd_producer(struct qlcnic_adapter *adapter, in qlcnic_update_cmd_producer()
140 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_enable_int()
168 qlcnic_napi_add(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_napi_add()
192 qlcnic_napi_del(struct qlcnic_adapter *adapter) in qlcnic_napi_del()
207 qlcnic_napi_enable(struct qlcnic_adapter *adapter) in qlcnic_napi_enable()
224 qlcnic_napi_disable(struct qlcnic_adapter *adapter) in qlcnic_napi_disable()
241 static void qlcnic_clear_stats(struct qlcnic_adapter *adapter) in qlcnic_clear_stats()
262 static void qlcnic_init_msix_entries(struct qlcnic_adapter *adapter, int count) in qlcnic_init_msix_entries()
271 qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr()
295 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_mac()
323 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_vlan_rx_register()
356 qlcnic_setup_intr(struct qlcnic_adapter *adapter) in qlcnic_setup_intr()
421 qlcnic_teardown_intr(struct qlcnic_adapter *adapter) in qlcnic_teardown_intr()
430 qlcnic_cleanup_pci_map(struct qlcnic_adapter *adapter) in qlcnic_cleanup_pci_map()
437 qlcnic_init_pci_info(struct qlcnic_adapter *adapter) in qlcnic_init_pci_info()
495 qlcnic_set_function_modes(struct qlcnic_adapter *adapter) in qlcnic_set_function_modes()
531 qlcnic_check_vf(struct qlcnic_adapter *adapter) in qlcnic_check_vf()
568 qlcnic_setup_pci_map(struct qlcnic_adapter *adapter) in qlcnic_setup_pci_map()
605 static void get_brd_name(struct qlcnic_adapter *adapter, char *name) in get_brd_name()
629 qlcnic_check_options(struct qlcnic_adapter *adapter) in qlcnic_check_options()
670 qlcnic_initialize_nic(struct qlcnic_adapter *adapter) in qlcnic_initialize_nic()
696 qlcnic_set_vlan_config(struct qlcnic_adapter *adapter, in qlcnic_set_vlan_config()
711 qlcnic_set_eswitch_port_features(struct qlcnic_adapter *adapter, in qlcnic_set_eswitch_port_features()
730 qlcnic_set_eswitch_port_config(struct qlcnic_adapter *adapter) in qlcnic_set_eswitch_port_config()
747 qlcnic_set_netdev_features(struct qlcnic_adapter *adapter, in qlcnic_set_netdev_features()
781 qlcnic_check_eswitch_mode(struct qlcnic_adapter *adapter) in qlcnic_check_eswitch_mode()
828 qlcnic_set_default_offload_settings(struct qlcnic_adapter *adapter) in qlcnic_set_default_offload_settings()
862 qlcnic_reset_eswitch_config(struct qlcnic_adapter *adapter, in qlcnic_reset_eswitch_config()
885 qlcnic_reset_npar_config(struct qlcnic_adapter *adapter) in qlcnic_reset_npar_config()
921 static int qlcnic_check_npar_opertional(struct qlcnic_adapter *adapter) in qlcnic_check_npar_opertional()
943 qlcnic_set_mgmt_operations(struct qlcnic_adapter *adapter) in qlcnic_set_mgmt_operations()
965 qlcnic_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_start_firmware()
1033 qlcnic_request_irq(struct qlcnic_adapter *adapter) in qlcnic_request_irq()
1073 qlcnic_free_irq(struct qlcnic_adapter *adapter) in qlcnic_free_irq()
1087 qlcnic_init_coalesce_defaults(struct qlcnic_adapter *adapter) in qlcnic_init_coalesce_defaults()
1101 __qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_up()
1147 qlcnic_up(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_up()
1160 __qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in __qlcnic_down()
1192 qlcnic_down(struct qlcnic_adapter *adapter, struct net_device *netdev) in qlcnic_down()
1202 qlcnic_attach(struct qlcnic_adapter *adapter) in qlcnic_attach()
1250 qlcnic_detach(struct qlcnic_adapter *adapter) in qlcnic_detach()
1268 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_free_res()
1298 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_diag_alloc_res()
1345 qlcnic_reset_hw_context(struct qlcnic_adapter *adapter) in qlcnic_reset_hw_context()
1365 qlcnic_reset_context(struct qlcnic_adapter *adapter) in qlcnic_reset_context()
1396 qlcnic_setup_netdev(struct qlcnic_adapter *adapter, in qlcnic_setup_netdev()
1466 struct qlcnic_adapter *adapter = NULL; in qlcnic_probe()
1492 netdev = alloc_etherdev(sizeof(struct qlcnic_adapter)); in qlcnic_probe()
1602 struct qlcnic_adapter *adapter; in qlcnic_remove()
1645 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in __qlcnic_shutdown()
1697 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_resume()
1731 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_open()
1756 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_close()
1763 qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_alloc_lb_filters_mem()
1785 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter) in qlcnic_free_lb_filters_mem()
1794 static void qlcnic_change_filter(struct qlcnic_adapter *adapter, in qlcnic_change_filter()
1828 qlcnic_send_filter(struct qlcnic_adapter *adapter, in qlcnic_send_filter()
1894 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_tso_check()
2050 qlcnic_check_tx_tagging(struct qlcnic_adapter *adapter, in qlcnic_check_tx_tagging()
2095 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_xmit_frame()
2223 static int qlcnic_check_temp(struct qlcnic_adapter *adapter) in qlcnic_check_temp()
2259 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change()
2282 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_tx_timeout()
2297 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_get_stats()
2310 static irqreturn_t qlcnic_clear_legacy_intr(struct qlcnic_adapter *adapter) in qlcnic_clear_legacy_intr()
2335 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_tmp_intr()
2356 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_intr()
2369 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_msi_intr()
2386 static int qlcnic_process_cmd_ring(struct qlcnic_adapter *adapter) in qlcnic_process_cmd_ring()
2465 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_poll()
2488 struct qlcnic_adapter *adapter = sds_ring->adapter; in qlcnic_rx_poll()
2507 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_poll_controller()
2520 qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding) in qlcnic_idc_debug_info()
2533 qlcnic_set_drv_state(struct qlcnic_adapter *adapter, u8 state) in qlcnic_set_drv_state()
2558 qlcnic_clr_drv_state(struct qlcnic_adapter *adapter) in qlcnic_clr_drv_state()
2575 qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8 failed) in qlcnic_clr_all_drv_state()
2606 qlcnic_check_drv_state(struct qlcnic_adapter *adapter) in qlcnic_check_drv_state()
2620 static int qlcnic_check_idc_ver(struct qlcnic_adapter *adapter) in qlcnic_check_idc_ver()
2633 qlcnic_can_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_can_start_firmware()
2722 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fwinit_work()
2723 struct qlcnic_adapter, fw_work.work); in qlcnic_fwinit_work()
2802 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_detach_work()
2803 struct qlcnic_adapter, fw_work.work); in qlcnic_detach_work()
2842 qlcnic_set_npar_non_operational(struct qlcnic_adapter *adapter) in qlcnic_set_npar_non_operational()
2858 qlcnic_dev_request_reset(struct qlcnic_adapter *adapter) in qlcnic_dev_request_reset()
2880 qlcnic_dev_set_npar_ready(struct qlcnic_adapter *adapter) in qlcnic_dev_set_npar_ready()
2892 qlcnic_schedule_work(struct qlcnic_adapter *adapter, in qlcnic_schedule_work()
2904 qlcnic_cancel_fw_work(struct qlcnic_adapter *adapter) in qlcnic_cancel_fw_work()
2915 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_attach_work()
2916 struct qlcnic_adapter, fw_work.work); in qlcnic_attach_work()
2951 qlcnic_check_health(struct qlcnic_adapter *adapter) in qlcnic_check_health()
3011 struct qlcnic_adapter *adapter = container_of(work, in qlcnic_fw_poll_work()
3012 struct qlcnic_adapter, fw_work.work); in qlcnic_fw_poll_work()
3052 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_attach_func()
3108 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_error_detected()
3144 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in qlcnic_io_resume()
3155 qlcnicvf_start_firmware(struct qlcnic_adapter *adapter) in qlcnicvf_start_firmware()
3183 qlcnicvf_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable) in qlcnicvf_config_bridged_mode()
3189 qlcnicvf_config_led(struct qlcnic_adapter *adapter, u32 state, u32 rate) in qlcnicvf_config_led()
3198 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_bridged_mode()
3222 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_bridged_mode()
3241 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_diag_mode()
3257 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_diag_mode()
3270 qlcnic_sysfs_validate_crb(struct qlcnic_adapter *adapter, in qlcnic_sysfs_validate_crb()
3298 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_crb()
3323 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_write_crb()
3343 qlcnic_sysfs_validate_mem(struct qlcnic_adapter *adapter, in qlcnic_sysfs_validate_mem()
3361 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_mem()
3383 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_write_mem()
3415 validate_pm_config(struct qlcnic_adapter *adapter, in validate_pm_config()
3452 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_write_pm_config()
3491 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_pm_config()
3511 validate_esw_config(struct qlcnic_adapter *adapter, in validate_esw_config()
3563 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_write_esw_config()
3637 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_esw_config()
3657 validate_npar_config(struct qlcnic_adapter *adapter, in validate_npar_config()
3682 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_write_npar_config()
3721 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_npar_config()
3754 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_get_port_stats()
3784 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_get_esw_stats()
3814 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_clear_esw_stats()
3839 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_clear_port_stats()
3863 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_sysfs_read_pci_config()
3936 qlcnic_create_sysfs_entries(struct qlcnic_adapter *adapter) in qlcnic_create_sysfs_entries()
3947 qlcnic_remove_sysfs_entries(struct qlcnic_adapter *adapter) in qlcnic_remove_sysfs_entries()
3956 qlcnic_create_diag_entries(struct qlcnic_adapter *adapter) in qlcnic_create_diag_entries()
3988 qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter) in qlcnic_remove_diag_entries()
4015 qlcnic_config_indev_addr(struct qlcnic_adapter *adapter, in qlcnic_config_indev_addr()
4045 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_restore_indev_addr()
4066 struct qlcnic_adapter *adapter; in qlcnic_netdev_event()
4098 struct qlcnic_adapter *adapter; in qlcnic_inetaddr_event()