Home
last modified time | relevance | path

Searched refs:adapter (Results 1 – 25 of 1063) sorted by relevance

12345678910>>...43

/linux/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c60 struct mwifiex_adapter *adapter; in mwifiex_register() local
63 adapter = kzalloc_obj(struct mwifiex_adapter); in mwifiex_register()
64 if (!adapter) in mwifiex_register()
67 *padapter = adapter; in mwifiex_register()
68 adapter->dev = dev; in mwifiex_register()
69 adapter->card = card; in mwifiex_register()
72 memmove(&adapter->if_ops, if_ops, sizeof(struct mwifiex_if_ops)); in mwifiex_register()
73 adapter->debug_mask = debug_mask; in mwifiex_register()
76 if (adapter->if_ops.init_if) in mwifiex_register()
77 if (adapter->if_ops.init_if(adapter)) in mwifiex_register()
[all …]
H A Dcmdevt.c17 static void mwifiex_cancel_pending_ioctl(struct mwifiex_adapter *adapter);
49 mwifiex_get_cmd_node(struct mwifiex_adapter *adapter) in mwifiex_get_cmd_node() argument
53 spin_lock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node()
54 if (list_empty(&adapter->cmd_free_q)) { in mwifiex_get_cmd_node()
55 mwifiex_dbg(adapter, ERROR, in mwifiex_get_cmd_node()
57 spin_unlock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node()
60 cmd_node = list_first_entry(&adapter->cmd_free_q, in mwifiex_get_cmd_node()
63 spin_unlock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node()
80 mwifiex_clean_cmd_node(struct mwifiex_adapter *adapter, in mwifiex_clean_cmd_node() argument
92 adapter in mwifiex_clean_cmd_node()
104 mwifiex_insert_cmd_to_free_q(struct mwifiex_adapter * adapter,struct cmd_ctrl_node * cmd_node) mwifiex_insert_cmd_to_free_q() argument
122 mwifiex_recycle_cmd_node(struct mwifiex_adapter * adapter,struct cmd_ctrl_node * cmd_node) mwifiex_recycle_cmd_node() argument
162 mwifiex_dnld_cmd_to_fw(struct mwifiex_adapter * adapter,struct cmd_ctrl_node * cmd_node) mwifiex_dnld_cmd_to_fw() argument
298 mwifiex_dnld_sleep_confirm_cmd(struct mwifiex_adapter * adapter) mwifiex_dnld_sleep_confirm_cmd() argument
386 mwifiex_alloc_cmd_buffer(struct mwifiex_adapter * adapter) mwifiex_alloc_cmd_buffer() argument
421 mwifiex_free_cmd_buffer(struct mwifiex_adapter * adapter) mwifiex_free_cmd_buffer() argument
470 mwifiex_process_event(struct mwifiex_adapter * adapter) mwifiex_process_event() argument
546 struct mwifiex_adapter *adapter = priv->adapter; mwifiex_send_cmd() local
682 mwifiex_insert_cmd_to_pending_q(struct mwifiex_adapter * adapter,struct cmd_ctrl_node * cmd_node) mwifiex_insert_cmd_to_pending_q() argument
741 mwifiex_exec_next_cmd(struct mwifiex_adapter * adapter) mwifiex_exec_next_cmd() argument
803 mwifiex_process_cmdresp(struct mwifiex_adapter * adapter) mwifiex_process_cmdresp() argument
909 mwifiex_process_assoc_resp(struct mwifiex_adapter * adapter) mwifiex_process_assoc_resp() argument
937 struct mwifiex_adapter *adapter = timer_container_of(adapter, t, mwifiex_cmd_timeout_func() local
1023 mwifiex_cancel_pending_scan_cmd(struct mwifiex_adapter * adapter) mwifiex_cancel_pending_scan_cmd() argument
1046 mwifiex_cancel_all_pending_cmd(struct mwifiex_adapter * adapter) mwifiex_cancel_all_pending_cmd() argument
1085 mwifiex_cancel_pending_ioctl(struct mwifiex_adapter * adapter) mwifiex_cancel_pending_ioctl() argument
1120 mwifiex_check_ps_cond(struct mwifiex_adapter * adapter) mwifiex_check_ps_cond() argument
1140 mwifiex_hs_activated_event(struct mwifiex_adapter * adapter,u8 activated) mwifiex_hs_activated_event() argument
1177 struct mwifiex_adapter *adapter = priv->adapter; mwifiex_ret_802_11_hs_cfg() local
1212 mwifiex_process_hs_config(struct mwifiex_adapter * adapter) mwifiex_process_hs_config() argument
1240 mwifiex_process_sleep_confirm_resp(struct mwifiex_adapter * adapter,u8 * pbuf,u32 upld_len) mwifiex_process_sleep_confirm_resp() argument
1327 struct mwifiex_adapter *adapter = priv->adapter; mwifiex_cmd_enh_power_mode() local
1387 struct mwifiex_adapter *adapter = priv->adapter; mwifiex_ret_enh_power_mode() local
1491 struct mwifiex_adapter *adapter = priv->adapter; mwifiex_ret_get_hw_spec() local
[all...]
H A Dsta_event.c33 mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:", in mwifiex_check_ibss_peer_capabilities()
49 mwifiex_dbg(priv->adapter, MSG, in mwifiex_check_ibss_peer_capabilities()
69 mwifiex_dbg(priv->adapter, INFO, in mwifiex_check_ibss_peer_capabilities()
95 mwifiex_dbg(priv->adapter, INFO, in mwifiex_check_ibss_peer_capabilities()
128 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_reset_connect_state() local
133 mwifiex_dbg(adapter, INFO, in mwifiex_reset_connect_state()
145 ISSUPP_TDLS_ENABLED(priv->adapter->fw_cap_info)) { in mwifiex_reset_connect_state()
148 if (priv->adapter->auto_tdls) in mwifiex_reset_connect_state()
194 mwifiex_dbg(adapter, INFO, in mwifiex_reset_connect_state()
198 mwifiex_dbg(adapter, INFO, in mwifiex_reset_connect_state()
[all …]
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dmain.c28 /* Register device; init adapter/privs/if_ops/locks; cleanup on fail. */ in nxpwifi_register()
32 struct nxpwifi_adapter *adapter; in nxpwifi_register()
36 adapter = kzalloc_obj(*adapter); in nxpwifi_register()
37 if (!adapter) in nxpwifi_register()
40 adapter->dev = dev; in nxpwifi_register()
41 adapter->card = card; in nxpwifi_register()
43 /* Save interface specific operations in adapter */ in nxpwifi_register()
44 memmove(&adapter->if_ops, if_ops, sizeof(struct nxpwifi_if_ops)); in nxpwifi_register()
45 adapter in nxpwifi_register()
31 struct nxpwifi_adapter *adapter; nxpwifi_register() local
89 nxpwifi_unregister(struct nxpwifi_adapter * adapter) nxpwifi_unregister() argument
116 nxpwifi_queue_rx_work(struct nxpwifi_adapter * adapter) nxpwifi_queue_rx_work() argument
121 nxpwifi_process_rx(struct nxpwifi_adapter * adapter) nxpwifi_process_rx() argument
149 maybe_quirk_fw_disable_ds(struct nxpwifi_adapter * adapter) maybe_quirk_fw_disable_ds() argument
166 nxpwifi_handle_irq_status(struct nxpwifi_adapter * adapter,u8 istat) nxpwifi_handle_irq_status() argument
174 nxpwifi_drain_tx(struct nxpwifi_adapter * adapter) nxpwifi_drain_tx() argument
243 nxpwifi_handle_rx(struct nxpwifi_adapter * adapter) nxpwifi_handle_rx() argument
253 nxpwifi_handle_cmd_response(struct nxpwifi_adapter * adapter) nxpwifi_handle_cmd_response() argument
265 nxpwifi_handle_events(struct nxpwifi_adapter * adapter) nxpwifi_handle_events() argument
276 nxpwifi_tx_has_pending(struct nxpwifi_adapter * adapter) nxpwifi_tx_has_pending() argument
283 nxpwifi_cmd_has_pending(struct nxpwifi_adapter * adapter) nxpwifi_cmd_has_pending() argument
288 nxpwifi_events_has_pending(struct nxpwifi_adapter * adapter) nxpwifi_events_has_pending() argument
293 nxpwifi_should_wakeup_card(struct nxpwifi_adapter * adapter) nxpwifi_should_wakeup_card() argument
304 nxpwifi_should_exit_main_loop(struct nxpwifi_adapter * adapter) nxpwifi_should_exit_main_loop() argument
328 nxpwifi_wakeup_card(struct nxpwifi_adapter * adapter) nxpwifi_wakeup_card() argument
335 nxpwifi_handle_vdll_download(struct nxpwifi_adapter * adapter) nxpwifi_handle_vdll_download() argument
346 nxpwifi_finish_delayed_null_pkt(struct nxpwifi_adapter * adapter) nxpwifi_finish_delayed_null_pkt() argument
365 nxpwifi_pump_command(struct nxpwifi_adapter * adapter) nxpwifi_pump_command() argument
376 nxpwifi_main_process(struct nxpwifi_adapter * adapter) nxpwifi_main_process() argument
526 nxpwifi_free_adapter(struct nxpwifi_adapter * adapter) nxpwifi_free_adapter() argument
538 nxpwifi_terminate_workqueue(struct nxpwifi_adapter * adapter) nxpwifi_terminate_workqueue() argument
556 struct nxpwifi_adapter *adapter = context; _nxpwifi_fw_dpc() local
694 nxpwifi_init_hw_fw(struct nxpwifi_adapter * adapter,bool req_fw_nowait) nxpwifi_init_hw_fw() argument
777 struct nxpwifi_adapter *adapter = priv->adapter; nxpwifi_queue_tx_pkt() local
1017 nxpwifi_upload_device_dump(struct nxpwifi_adapter * adapter) nxpwifi_upload_device_dump() argument
1040 nxpwifi_drv_info_dump(struct nxpwifi_adapter * adapter) nxpwifi_drv_info_dump() argument
1128 nxpwifi_prepare_fw_dump_info(struct nxpwifi_adapter * adapter) nxpwifi_prepare_fw_dump_info() argument
1252 nxpwifi_is_command_pending(struct nxpwifi_adapter * adapter) nxpwifi_is_command_pending() argument
1266 struct nxpwifi_adapter *adapter = nxpwifi_host_mlme_work() local
1304 struct nxpwifi_adapter *adapter = nxpwifi_rx_work() local
1315 struct nxpwifi_adapter *adapter = nxpwifi_main_work() local
1324 nxpwifi_uninit_sw(struct nxpwifi_adapter * adapter) nxpwifi_uninit_sw() argument
1392 nxpwifi_shutdown_sw(struct nxpwifi_adapter * adapter) nxpwifi_shutdown_sw() argument
1415 nxpwifi_reinit_sw(struct nxpwifi_adapter * adapter) nxpwifi_reinit_sw() argument
1512 struct nxpwifi_adapter *adapter; nxpwifi_add_card() local
1605 nxpwifi_remove_card(struct nxpwifi_adapter * adapter) nxpwifi_remove_card() argument
1625 _nxpwifi_dbg(const struct nxpwifi_adapter * adapter,int mask,const char * fmt,...) _nxpwifi_dbg() argument
[all...]
H A Dinit.c19 struct nxpwifi_adapter *adapter = priv->adapter; in nxpwifi_add_bss_prio_tbl() local
21 struct nxpwifi_bss_prio_tbl *tbl = adapter->bss_prio_tbl; in nxpwifi_add_bss_prio_tbl()
39 struct nxpwifi_adapter *adapter = timer_container_of(adapter, t, wakeup_timer); in wakeup_timer_fn() local
41 nxpwifi_dbg(adapter, ERROR, "Firmware wakeup failed\n"); in wakeup_timer_fn()
42 adapter->hw_status = NXPWIFI_HW_STATUS_RESET; in wakeup_timer_fn()
43 nxpwifi_cancel_all_pending_cmd(adapter); in wakeup_timer_fn()
45 if (adapter->if_ops.card_reset) in wakeup_timer_fn()
46 adapter->if_ops.card_reset(adapter); in wakeup_timer_fn()
141 static int nxpwifi_allocate_adapter(struct nxpwifi_adapter *adapter) in nxpwifi_allocate_adapter() argument
146 ret = nxpwifi_alloc_cmd_buffer(adapter); in nxpwifi_allocate_adapter()
[all …]
H A Dcmdevt.c16 static void nxpwifi_cancel_pending_ioctl(struct nxpwifi_adapter *adapter);
39 nxpwifi_get_cmd_node(struct nxpwifi_adapter *adapter) in nxpwifi_get_cmd_node() argument
43 spin_lock_bh(&adapter->cmd_free_q_lock); in nxpwifi_get_cmd_node()
44 if (list_empty(&adapter->cmd_free_q)) { in nxpwifi_get_cmd_node()
45 nxpwifi_dbg(adapter, ERROR, in nxpwifi_get_cmd_node()
47 spin_unlock_bh(&adapter->cmd_free_q_lock); in nxpwifi_get_cmd_node()
50 cmd_node = list_first_entry(&adapter->cmd_free_q, in nxpwifi_get_cmd_node()
53 spin_unlock_bh(&adapter->cmd_free_q_lock); in nxpwifi_get_cmd_node()
60 nxpwifi_clean_cmd_node(struct nxpwifi_adapter *adapter, in nxpwifi_clean_cmd_node() argument
72 adapter->if_ops.cmdrsp_complete(adapter, cmd_node->resp_skb); in nxpwifi_clean_cmd_node()
[all …]
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c61 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
62 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
73 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter);
88 static u32 qlcnic_vlan_tx_check(struct qlcnic_adapter *adapter) in qlcnic_vlan_tx_check() argument
90 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_vlan_tx_check()
92 if (adapter->pdev->device == PCI_DEVICE_ID_QLOGIC_QLE824X) in qlcnic_vlan_tx_check()
294 int qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr() argument
296 struct net_device *netdev = adapter->netdev; in qlcnic_read_mac_addr()
297 struct pci_dev *pdev = adapter->pdev; in qlcnic_read_mac_addr()
301 ret = qlcnic_get_mac_address(adapter, mac_add in qlcnic_read_mac_addr()
318 qlcnic_delete_adapter_mac(struct qlcnic_adapter * adapter) qlcnic_delete_adapter_mac() argument
335 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_set_mac() local
373 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_fdb_del() local
399 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_fdb_add() local
432 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_fdb_dump() local
445 qlcnic_82xx_cancel_idc_work(struct qlcnic_adapter * adapter) qlcnic_82xx_cancel_idc_work() argument
459 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_get_phys_port_id() local
473 struct qlcnic_adapter *adapter = netdev_priv(dev); qlcnic_udp_tunnel_sync() local
609 qlcnic_check_multi_tx_capability(struct qlcnic_adapter * adapter) qlcnic_check_multi_tx_capability() argument
622 qlcnic_max_rings(struct qlcnic_adapter * adapter,u8 ring_cnt,int queue_type) qlcnic_max_rings() argument
641 qlcnic_set_tx_ring_count(struct qlcnic_adapter * adapter,u8 tx_cnt) qlcnic_set_tx_ring_count() argument
651 qlcnic_set_sds_ring_count(struct qlcnic_adapter * adapter,u8 rx_cnt) qlcnic_set_sds_ring_count() argument
661 qlcnic_setup_tss_rss_intr(struct qlcnic_adapter * adapter) qlcnic_setup_tss_rss_intr() argument
730 qlcnic_enable_msix(struct qlcnic_adapter * adapter,u32 num_msix) qlcnic_enable_msix() argument
802 qlcnic_82xx_calculate_msix_vector(struct qlcnic_adapter * adapter) qlcnic_82xx_calculate_msix_vector() argument
816 qlcnic_enable_msi_legacy(struct qlcnic_adapter * adapter) qlcnic_enable_msi_legacy() argument
850 qlcnic_82xx_setup_intr(struct qlcnic_adapter * adapter) qlcnic_82xx_setup_intr() argument
879 qlcnic_82xx_mq_intrpt(struct qlcnic_adapter * adapter,int op_type) qlcnic_82xx_mq_intrpt() argument
910 qlcnic_teardown_intr(struct qlcnic_adapter * adapter) qlcnic_teardown_intr() argument
932 qlcnic_get_act_pci_func(struct qlcnic_adapter * adapter) qlcnic_get_act_pci_func() argument
962 qlcnic_port_eswitch_cfg_capability(struct qlcnic_adapter * adapter) qlcnic_port_eswitch_cfg_capability() argument
979 qlcnic_init_pci_info(struct qlcnic_adapter * adapter) qlcnic_init_pci_info() argument
1069 qlcnic_set_function_modes(struct qlcnic_adapter * adapter) qlcnic_set_function_modes() argument
1090 qlcnic_check_vf(struct qlcnic_adapter * adapter,const struct pci_device_id * ent) qlcnic_check_vf() argument
1173 qlcnic_validate_subsystem_id(struct qlcnic_adapter * adapter,int index) qlcnic_validate_subsystem_id() argument
1194 qlcnic_get_board_name(struct qlcnic_adapter * adapter,char * name) qlcnic_get_board_name() argument
1216 qlcnic_check_options(struct qlcnic_adapter * adapter) qlcnic_check_options() argument
1277 qlcnic_initialize_nic(struct qlcnic_adapter * adapter) qlcnic_initialize_nic() argument
1323 qlcnic_set_vlan_config(struct qlcnic_adapter * adapter,struct qlcnic_esw_func_cfg * esw_cfg) qlcnic_set_vlan_config() argument
1343 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_vlan_rx_add() local
1363 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_vlan_rx_del() local
1381 qlcnic_set_eswitch_port_features(struct qlcnic_adapter * adapter,struct qlcnic_esw_func_cfg * esw_cfg) qlcnic_set_eswitch_port_features() argument
1397 qlcnic_set_eswitch_port_config(struct qlcnic_adapter * adapter) qlcnic_set_eswitch_port_config() argument
1414 qlcnic_set_netdev_features(struct qlcnic_adapter * adapter,struct qlcnic_esw_func_cfg * esw_cfg) qlcnic_set_netdev_features() argument
1429 qlcnic_check_eswitch_mode(struct qlcnic_adapter * adapter) qlcnic_check_eswitch_mode() argument
1475 qlcnic_set_default_offload_settings(struct qlcnic_adapter * adapter) qlcnic_set_default_offload_settings() argument
1513 qlcnic_reset_eswitch_config(struct qlcnic_adapter * adapter,struct qlcnic_npar_info * npar,int pci_func) qlcnic_reset_eswitch_config() argument
1535 qlcnic_reset_npar_config(struct qlcnic_adapter * adapter) qlcnic_reset_npar_config() argument
1577 qlcnic_check_npar_opertional(struct qlcnic_adapter * adapter) qlcnic_check_npar_opertional() argument
1601 qlcnic_set_mgmt_operations(struct qlcnic_adapter * adapter) qlcnic_set_mgmt_operations() argument
1622 qlcnic_82xx_start_firmware(struct qlcnic_adapter * adapter) qlcnic_82xx_start_firmware() argument
1689 qlcnic_request_irq(struct qlcnic_adapter * adapter) qlcnic_request_irq() argument
1777 qlcnic_free_irq(struct qlcnic_adapter * adapter) qlcnic_free_irq() argument
1808 qlcnic_get_lro_mss_capability(struct qlcnic_adapter * adapter) qlcnic_get_lro_mss_capability() argument
1823 qlcnic_config_def_intr_coalesce(struct qlcnic_adapter * adapter) qlcnic_config_def_intr_coalesce() argument
1850 __qlcnic_up(struct qlcnic_adapter * adapter,struct net_device * netdev) __qlcnic_up() argument
1897 qlcnic_up(struct qlcnic_adapter * adapter,struct net_device * netdev) qlcnic_up() argument
1909 __qlcnic_down(struct qlcnic_adapter * adapter,struct net_device * netdev) __qlcnic_down() argument
1946 qlcnic_down(struct qlcnic_adapter * adapter,struct net_device * netdev) qlcnic_down() argument
1956 qlcnic_attach(struct qlcnic_adapter * adapter) qlcnic_attach() argument
2004 qlcnic_detach(struct qlcnic_adapter * adapter) qlcnic_detach() argument
2022 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_diag_free_res() local
2052 qlcnic_alloc_adapter_resources(struct qlcnic_adapter * adapter) qlcnic_alloc_adapter_resources() argument
2081 qlcnic_free_adapter_resources(struct qlcnic_adapter * adapter) qlcnic_free_adapter_resources() argument
2105 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_diag_alloc_res() local
2159 qlcnic_reset_hw_context(struct qlcnic_adapter * adapter) qlcnic_reset_hw_context() argument
2180 qlcnic_reset_context(struct qlcnic_adapter * adapter) qlcnic_reset_context() argument
2212 qlcnic_82xx_set_mac_filter_count(struct qlcnic_adapter * adapter) qlcnic_82xx_set_mac_filter_count() argument
2228 qlcnic_set_real_num_queues(struct qlcnic_adapter * adapter,u8 tx_queues,u8 rx_queues) qlcnic_set_real_num_queues() argument
2254 qlcnic_setup_netdev(struct qlcnic_adapter * adapter,struct net_device * netdev) qlcnic_setup_netdev() argument
2331 qlcnic_free_tx_rings(struct qlcnic_adapter * adapter) qlcnic_free_tx_rings() argument
2346 qlcnic_alloc_tx_rings(struct qlcnic_adapter * adapter,struct net_device * netdev) qlcnic_alloc_tx_rings() argument
2389 qlcnic_set_drv_version(struct qlcnic_adapter * adapter) qlcnic_set_drv_version() argument
2404 qlcnic_reset_api_lock(struct qlcnic_adapter * adapter) qlcnic_reset_api_lock() argument
2415 struct qlcnic_adapter *adapter = NULL; qlcnic_probe() local
2702 struct qlcnic_adapter *adapter; qlcnic_remove() local
2778 struct qlcnic_adapter *adapter = dev_get_drvdata(dev_d); qlcnic_resume() local
2785 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_open() local
2813 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_close() local
2822 qlcnic_alloc_lb_filters_mem(struct qlcnic_adapter * adapter) qlcnic_alloc_lb_filters_mem() argument
2878 qlcnic_free_lb_filters_mem(struct qlcnic_adapter * adapter) qlcnic_free_lb_filters_mem() argument
2893 qlcnic_check_temp(struct qlcnic_adapter * adapter) qlcnic_check_temp() argument
2945 qlcnic_dump_rings(struct qlcnic_adapter * adapter) qlcnic_dump_rings() argument
3012 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_tx_timeout() local
3035 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_get_stats() local
3051 qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter * adapter) qlcnic_82xx_clear_legacy_intr() argument
3076 struct qlcnic_adapter *adapter = sds_ring->adapter; qlcnic_tmp_intr() local
3097 struct qlcnic_adapter *adapter = sds_ring->adapter; qlcnic_intr() local
3110 struct qlcnic_adapter *adapter = sds_ring->adapter; qlcnic_msi_intr() local
3136 qlcnic_idc_debug_info(struct qlcnic_adapter * adapter,u8 encoding) qlcnic_idc_debug_info() argument
3149 qlcnic_set_drv_state(struct qlcnic_adapter * adapter,u8 state) qlcnic_set_drv_state() argument
3174 qlcnic_clr_drv_state(struct qlcnic_adapter * adapter) qlcnic_clr_drv_state() argument
3190 qlcnic_clr_all_drv_state(struct qlcnic_adapter * adapter,u8 failed) qlcnic_clr_all_drv_state() argument
3224 qlcnic_check_drv_state(struct qlcnic_adapter * adapter) qlcnic_check_drv_state() argument
3244 qlcnic_check_idc_ver(struct qlcnic_adapter * adapter) qlcnic_check_idc_ver() argument
3257 qlcnic_can_start_firmware(struct qlcnic_adapter * adapter) qlcnic_can_start_firmware() argument
3345 struct qlcnic_adapter *adapter = container_of(work, qlcnic_fwinit_work() local
3449 struct qlcnic_adapter *adapter = container_of(work, qlcnic_detach_work() local
3510 qlcnic_set_npar_non_operational(struct qlcnic_adapter * adapter) qlcnic_set_npar_non_operational() argument
3525 qlcnic_82xx_dev_request_reset(struct qlcnic_adapter * adapter,u32 key) qlcnic_82xx_dev_request_reset() argument
3570 qlcnic_dev_set_npar_ready(struct qlcnic_adapter * adapter) qlcnic_dev_set_npar_ready() argument
3582 qlcnic_schedule_work(struct qlcnic_adapter * adapter,work_func_t func,int delay) qlcnic_schedule_work() argument
3596 struct qlcnic_adapter *adapter = container_of(work, qlcnic_attach_work() local
3638 qlcnic_check_health(struct qlcnic_adapter * adapter) qlcnic_check_health() argument
3719 struct qlcnic_adapter *adapter = container_of(work, qlcnic_fw_poll_work() local
3760 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_attach_func() local
3822 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_82xx_io_error_detected() local
3865 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_82xx_io_resume() local
3877 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_io_error_detected() local
3890 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_io_slot_reset() local
3903 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_io_resume() local
3914 qlcnicvf_start_firmware(struct qlcnic_adapter * adapter) qlcnicvf_start_firmware() argument
3941 qlcnic_validate_rings(struct qlcnic_adapter * adapter,__u32 ring_cnt,int queue_type) qlcnic_validate_rings() argument
3974 qlcnic_setup_rings(struct qlcnic_adapter * adapter) qlcnic_setup_rings() argument
4054 qlcnic_config_indev_addr(struct qlcnic_adapter * adapter,struct net_device * dev,unsigned long event) qlcnic_config_indev_addr() argument
4084 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_restore_indev_addr() local
4103 struct qlcnic_adapter *adapter; qlcnic_netdev_event() local
4135 struct qlcnic_adapter *adapter; qlcnic_inetaddr_event() local
[all...]
H A Dqlcnic_83xx_init.c38 static int qlcnic_83xx_init_default_driver(struct qlcnic_adapter *adapter);
40 static int qlcnic_83xx_restart_hw(struct qlcnic_adapter *adapter);
132 qlcnic_83xx_idc_check_driver_presence_reg(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_check_driver_presence_reg() argument
136 val = QLCRDX(adapter->ahw, QLC_83XX_IDC_DRV_PRESENCE); in qlcnic_83xx_idc_check_driver_presence_reg()
143 static void qlcnic_83xx_idc_log_state_history(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_log_state_history() argument
146 cur = adapter->ahw->idc.curr_state; in qlcnic_83xx_idc_log_state_history()
147 prev = adapter->ahw->idc.prev_state; in qlcnic_83xx_idc_log_state_history()
149 dev_info(&adapter->pdev->dev, in qlcnic_83xx_idc_log_state_history()
151 adapter->ahw->idc.name[cur], in qlcnic_83xx_idc_log_state_history()
152 adapter in qlcnic_83xx_idc_log_state_history()
155 qlcnic_83xx_idc_update_audit_reg(struct qlcnic_adapter * adapter,u8 mode,int lock) qlcnic_83xx_idc_update_audit_reg() argument
184 qlcnic_83xx_idc_update_minor_version(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_update_minor_version() argument
194 qlcnic_83xx_idc_update_major_version(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_update_major_version() argument
216 qlcnic_83xx_idc_update_drv_presence_reg(struct qlcnic_adapter * adapter,int status,int lock) qlcnic_83xx_idc_update_drv_presence_reg() argument
242 qlcnic_83xx_idc_check_major_version(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_check_major_version() argument
260 qlcnic_83xx_idc_clear_registers(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_clear_registers() argument
282 qlcnic_83xx_idc_update_drv_ack_reg(struct qlcnic_adapter * adapter,int flag,int lock) qlcnic_83xx_idc_update_drv_ack_reg() argument
305 qlcnic_83xx_idc_check_timeout(struct qlcnic_adapter * adapter,int time_limit) qlcnic_83xx_idc_check_timeout() argument
326 qlcnic_83xx_idc_check_reset_ack_reg(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_check_reset_ack_reg() argument
373 qlcnic_83xx_idc_tx_soft_reset(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_tx_soft_reset() argument
398 qlcnic_83xx_idc_detach_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_detach_driver() argument
428 qlcnic_83xx_idc_attach_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_attach_driver() argument
441 qlcnic_83xx_idc_enter_failed_state(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_enter_failed_state() argument
460 qlcnic_83xx_idc_enter_init_state(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_enter_init_state() argument
476 qlcnic_83xx_idc_enter_need_quiesce(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_enter_need_quiesce() argument
494 qlcnic_83xx_idc_enter_need_reset_state(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_enter_need_reset_state() argument
510 qlcnic_83xx_idc_enter_ready_state(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_enter_ready_state() argument
536 qlcnic_83xx_idc_find_reset_owner_id(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_find_reset_owner_id() argument
574 qlcnic_83xx_idc_restart_hw(struct qlcnic_adapter * adapter,int lock) qlcnic_83xx_idc_restart_hw() argument
590 qlcnic_83xx_idc_check_fan_failure(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_check_fan_failure() argument
612 qlcnic_83xx_idc_reattach_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_reattach_driver() argument
646 qlcnic_83xx_idc_update_idc_params(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_update_idc_params() argument
676 qlcnic_83xx_idc_ready_state_entry(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_ready_state_entry() argument
705 qlcnic_83xx_idc_vnic_pf_entry(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_vnic_pf_entry() argument
739 qlcnic_83xx_idc_unknown_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_unknown_state() argument
760 qlcnic_83xx_idc_cold_state_handler(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_cold_state_handler() argument
790 qlcnic_83xx_idc_init_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_init_state() argument
818 qlcnic_83xx_idc_ready_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_ready_state() argument
897 qlcnic_83xx_idc_need_reset_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_need_reset_state() argument
946 qlcnic_83xx_idc_need_quiesce_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_need_quiesce_state() argument
952 qlcnic_83xx_idc_failed_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_failed_state() argument
974 qlcnic_83xx_idc_quiesce_state(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_quiesce_state() argument
980 qlcnic_83xx_idc_check_state_validity(struct qlcnic_adapter * adapter,u32 state) qlcnic_83xx_idc_check_state_validity() argument
1030 qlcnic_set_vxlan_port(struct qlcnic_adapter * adapter,u16 port) qlcnic_set_vxlan_port() argument
1058 qlcnic_set_vxlan_parsing(struct qlcnic_adapter * adapter,u16 port) qlcnic_set_vxlan_parsing() argument
1088 qlcnic_83xx_periodic_tasks(struct qlcnic_adapter * adapter) qlcnic_83xx_periodic_tasks() argument
1107 struct qlcnic_adapter *adapter; qlcnic_83xx_idc_poll_dev_state() local
1152 qlcnic_83xx_setup_idc_parameters(struct qlcnic_adapter * adapter) qlcnic_83xx_setup_idc_parameters() argument
1187 qlcnic_83xx_idc_first_to_load_function_handler(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_first_to_load_function_handler() argument
1230 qlcnic_83xx_idc_init(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_init() argument
1252 qlcnic_83xx_idc_exit(struct qlcnic_adapter * adapter) qlcnic_83xx_idc_exit() argument
1281 qlcnic_83xx_idc_request_reset(struct qlcnic_adapter * adapter,u32 key) qlcnic_83xx_idc_request_reset() argument
1315 qlcnic_83xx_copy_bootloader(struct qlcnic_adapter * adapter) qlcnic_83xx_copy_bootloader() argument
1352 qlcnic_83xx_copy_fw_file(struct qlcnic_adapter * adapter) qlcnic_83xx_copy_fw_file() argument
1414 qlcnic_83xx_dump_pause_control_regs(struct qlcnic_adapter * adapter) qlcnic_83xx_dump_pause_control_regs() argument
1499 qlcnic_83xx_disable_pause_frames(struct qlcnic_adapter * adapter) qlcnic_83xx_disable_pause_frames() argument
1539 qlcnic_83xx_take_eport_out_of_reset(struct qlcnic_adapter * adapter) qlcnic_83xx_take_eport_out_of_reset() argument
2069 qlcnic_83xx_run_post(struct qlcnic_adapter * adapter) qlcnic_83xx_run_post() argument
2165 qlcnic_83xx_load_fw_image_from_host(struct qlcnic_adapter * adapter) qlcnic_83xx_load_fw_image_from_host() argument
2186 qlcnic_83xx_restart_hw(struct qlcnic_adapter * adapter) qlcnic_83xx_restart_hw() argument
2245 qlcnic_83xx_get_nic_configuration(struct qlcnic_adapter * adapter) qlcnic_83xx_get_nic_configuration() argument
2281 qlcnic_83xx_configure_opmode(struct qlcnic_adapter * adapter) qlcnic_83xx_configure_opmode() argument
2317 qlcnic_83xx_config_buff_descriptors(struct qlcnic_adapter * adapter) qlcnic_83xx_config_buff_descriptors() argument
2337 qlcnic_83xx_init_default_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_init_default_driver() argument
2356 qlcnic_83xx_clear_function_resources(struct qlcnic_adapter * adapter) qlcnic_83xx_clear_function_resources() argument
2380 qlcnic_83xx_get_fw_info(struct qlcnic_adapter * adapter) qlcnic_83xx_get_fw_info() argument
2413 qlcnic_83xx_init_rings(struct qlcnic_adapter * adapter) qlcnic_83xx_init_rings() argument
2431 qlcnic_83xx_init(struct qlcnic_adapter * adapter) qlcnic_83xx_init() argument
2543 qlcnic_83xx_aer_stop_poll_work(struct qlcnic_adapter * adapter) qlcnic_83xx_aer_stop_poll_work() argument
2560 qlcnic_83xx_aer_reset(struct qlcnic_adapter * adapter) qlcnic_83xx_aer_reset() argument
2584 qlcnic_83xx_aer_start_poll_work(struct qlcnic_adapter * adapter) qlcnic_83xx_aer_start_poll_work() argument
[all...]
H A Dqlcnic_83xx_hw.c267 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_get_fw_version() argument
270 struct pci_dev *pdev = adapter->pdev; in qlcnic_83xx_get_fw_version()
272 fw_major = QLC_SHARED_REG_RD32(adapter, QLCNIC_FW_VERSION_MAJOR); in qlcnic_83xx_get_fw_version()
273 fw_minor = QLC_SHARED_REG_RD32(adapter, QLCNIC_FW_VERSION_MINOR); in qlcnic_83xx_get_fw_version()
274 fw_build = QLC_SHARED_REG_RD32(adapter, QLCNIC_FW_VERSION_SUB); in qlcnic_83xx_get_fw_version()
275 adapter->fw_version = QLCNIC_VERSION_CODE(fw_major, fw_minor, fw_build); in qlcnic_83xx_get_fw_version()
280 return adapter->fw_version; in qlcnic_83xx_get_fw_version()
283 static int __qlcnic_set_win_base(struct qlcnic_adapter *adapter, u32 addr) in __qlcnic_set_win_base() argument
288 base = adapter->ahw->pci_base0 + in __qlcnic_set_win_base()
289 QLC_83XX_CRB_WIN_FUNC(adapter in __qlcnic_set_win_base()
298 qlcnic_83xx_rd_reg_indirect(struct qlcnic_adapter * adapter,ulong addr,int * err) qlcnic_83xx_rd_reg_indirect() argument
313 qlcnic_83xx_wrt_reg_indirect(struct qlcnic_adapter * adapter,ulong addr,u32 data) qlcnic_83xx_wrt_reg_indirect() argument
331 qlcnic_83xx_enable_legacy(struct qlcnic_adapter * adapter) qlcnic_83xx_enable_legacy() argument
343 qlcnic_83xx_calculate_msix_vector(struct qlcnic_adapter * adapter) qlcnic_83xx_calculate_msix_vector() argument
358 qlcnic_83xx_setup_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_setup_intr() argument
415 qlcnic_83xx_clear_legacy_intr_mask(struct qlcnic_adapter * adapter) qlcnic_83xx_clear_legacy_intr_mask() argument
420 qlcnic_83xx_set_legacy_intr_mask(struct qlcnic_adapter * adapter) qlcnic_83xx_set_legacy_intr_mask() argument
426 qlcnic_83xx_enable_legacy_msix_mbx_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_enable_legacy_msix_mbx_intr() argument
440 qlcnic_83xx_disable_mbx_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_disable_mbx_intr() argument
449 qlcnic_83xx_get_mbx_data(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_get_mbx_data() argument
461 qlcnic_83xx_clear_legacy_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_clear_legacy_intr() argument
499 qlcnic_83xx_poll_process_aen(struct qlcnic_adapter * adapter) qlcnic_83xx_poll_process_aen() argument
524 struct qlcnic_adapter *adapter = data; qlcnic_83xx_intr() local
553 struct qlcnic_adapter *adapter = sds_ring->adapter; qlcnic_83xx_tmp_intr() local
568 qlcnic_83xx_free_mbx_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_free_mbx_intr() argument
590 qlcnic_83xx_setup_mbx_intr(struct qlcnic_adapter * adapter) qlcnic_83xx_setup_mbx_intr() argument
628 qlcnic_83xx_get_func_no(struct qlcnic_adapter * adapter) qlcnic_83xx_get_func_no() argument
634 qlcnic_83xx_cam_lock(struct qlcnic_adapter * adapter) qlcnic_83xx_cam_lock() argument
656 qlcnic_83xx_cam_unlock(struct qlcnic_adapter * adapter) qlcnic_83xx_cam_unlock() argument
665 qlcnic_83xx_read_crb(struct qlcnic_adapter * adapter,char * buf,loff_t offset,size_t size) qlcnic_83xx_read_crb() argument
690 qlcnic_83xx_write_crb(struct qlcnic_adapter * adapter,char * buf,loff_t offset,size_t size) qlcnic_83xx_write_crb() argument
699 qlcnic_83xx_get_port_info(struct qlcnic_adapter * adapter) qlcnic_83xx_get_port_info() argument
727 qlcnic_83xx_set_mac_filter_count(struct qlcnic_adapter * adapter) qlcnic_83xx_set_mac_filter_count() argument
743 qlcnic_83xx_enable_mbx_interrupt(struct qlcnic_adapter * adapter) qlcnic_83xx_enable_mbx_interrupt() argument
756 qlcnic_83xx_check_vf(struct qlcnic_adapter * adapter,const struct pci_device_id * ent) qlcnic_83xx_check_vf() argument
797 qlcnic_dump_mbx(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_dump_mbx() argument
823 qlcnic_83xx_poll_for_mbx_completion(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_poll_for_mbx_completion() argument
847 qlcnic_83xx_issue_cmd(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_issue_cmd() argument
896 qlcnic_83xx_alloc_mbx_args(struct qlcnic_cmd_args * mbx,struct qlcnic_adapter * adapter,u32 type) qlcnic_83xx_alloc_mbx_args() argument
935 struct qlcnic_adapter *adapter; qlcnic_83xx_idc_aen_work() local
954 qlcnic_83xx_handle_idc_comp_aen(struct qlcnic_adapter * adapter,u32 data[]) qlcnic_83xx_handle_idc_comp_aen() argument
963 __qlcnic_83xx_process_aen(struct qlcnic_adapter * adapter) __qlcnic_83xx_process_aen() argument
1012 qlcnic_83xx_process_aen(struct qlcnic_adapter * adapter) qlcnic_83xx_process_aen() argument
1035 struct qlcnic_adapter *adapter; qlcnic_83xx_mbx_poll_work() local
1047 qlcnic_83xx_enable_mbx_poll(struct qlcnic_adapter * adapter) qlcnic_83xx_enable_mbx_poll() argument
1056 qlcnic_83xx_disable_mbx_poll(struct qlcnic_adapter * adapter) qlcnic_83xx_disable_mbx_poll() argument
1063 qlcnic_83xx_add_rings(struct qlcnic_adapter * adapter) qlcnic_83xx_add_rings() argument
1143 qlcnic_83xx_del_rx_ctx(struct qlcnic_adapter * adapter) qlcnic_83xx_del_rx_ctx() argument
1169 qlcnic_83xx_create_rx_ctx(struct qlcnic_adapter * adapter) qlcnic_83xx_create_rx_ctx() argument
1295 qlcnic_83xx_del_tx_ctx(struct qlcnic_adapter * adapter,struct qlcnic_host_tx_ring * tx_ring) qlcnic_83xx_del_tx_ctx() argument
1317 qlcnic_83xx_create_tx_ctx(struct qlcnic_adapter * adapter,struct qlcnic_host_tx_ring * tx,int ring) qlcnic_83xx_create_tx_ctx() argument
1399 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_83xx_diag_alloc_res() local
1458 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_83xx_diag_free_res() local
1487 qlcnic_83xx_get_beacon_state(struct qlcnic_adapter * adapter) qlcnic_83xx_get_beacon_state() argument
1514 qlcnic_83xx_config_led(struct qlcnic_adapter * adapter,u32 state,u32 beacon) qlcnic_83xx_config_led() argument
1584 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_83xx_set_led() local
1626 qlcnic_83xx_initialize_nic(struct qlcnic_adapter * adapter,int enable) qlcnic_83xx_initialize_nic() argument
1658 qlcnic_83xx_set_port_config(struct qlcnic_adapter * adapter) qlcnic_83xx_set_port_config() argument
1675 qlcnic_83xx_get_port_config(struct qlcnic_adapter * adapter) qlcnic_83xx_get_port_config() argument
1693 qlcnic_83xx_setup_link_event(struct qlcnic_adapter * adapter,int enable) qlcnic_83xx_setup_link_event() argument
1713 qlcnic_83xx_set_interface_id_promisc(struct qlcnic_adapter * adapter,u32 * interface_id) qlcnic_83xx_set_interface_id_promisc() argument
1726 qlcnic_83xx_nic_set_promisc(struct qlcnic_adapter * adapter,u32 mode) qlcnic_83xx_nic_set_promisc() argument
1764 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_83xx_loopback_test() local
1831 qlcnic_extend_lb_idc_cmpltn_wait(struct qlcnic_adapter * adapter,u32 * max_wait_count) qlcnic_extend_lb_idc_cmpltn_wait() argument
1844 qlcnic_83xx_set_lb_mode(struct qlcnic_adapter * adapter,u8 mode) qlcnic_83xx_set_lb_mode() argument
1913 qlcnic_83xx_clear_lb_mode(struct qlcnic_adapter * adapter,u8 mode) qlcnic_83xx_clear_lb_mode() argument
1966 qlcnic_83xx_set_interface_id_ipaddr(struct qlcnic_adapter * adapter,u32 * interface_id) qlcnic_83xx_set_interface_id_ipaddr() argument
1977 qlcnic_83xx_config_ipaddr(struct qlcnic_adapter * adapter,__be32 ip,int mode) qlcnic_83xx_config_ipaddr() argument
2015 qlcnic_83xx_config_hw_lro(struct qlcnic_adapter * adapter,int mode) qlcnic_83xx_config_hw_lro() argument
2043 qlcnic_83xx_config_rss(struct qlcnic_adapter * adapter,int enable) qlcnic_83xx_config_rss() argument
2084 qlcnic_83xx_set_interface_id_macaddr(struct qlcnic_adapter * adapter,u32 * interface_id) qlcnic_83xx_set_interface_id_macaddr() argument
2095 qlcnic_83xx_sre_macaddr_change(struct qlcnic_adapter * adapter,u8 * addr,u16 vlan_id,u8 op) qlcnic_83xx_sre_macaddr_change() argument
2142 qlcnic_83xx_change_l2_filter(struct qlcnic_adapter * adapter,u64 * addr,u16 vlan_id,struct qlcnic_host_tx_ring * tx_ring) qlcnic_83xx_change_l2_filter() argument
2151 qlcnic_83xx_configure_mac(struct qlcnic_adapter * adapter,u8 * mac,u8 type,struct qlcnic_cmd_args * cmd) qlcnic_83xx_configure_mac() argument
2164 qlcnic_83xx_get_mac_address(struct qlcnic_adapter * adapter,u8 * mac,u8 function) qlcnic_83xx_get_mac_address() argument
2195 qlcnic_83xx_set_rx_intr_coal(struct qlcnic_adapter * adapter) qlcnic_83xx_set_rx_intr_coal() argument
2222 qlcnic_83xx_set_tx_intr_coal(struct qlcnic_adapter * adapter) qlcnic_83xx_set_tx_intr_coal() argument
2249 qlcnic_83xx_set_rx_tx_intr_coal(struct qlcnic_adapter * adapter) qlcnic_83xx_set_rx_tx_intr_coal() argument
2266 qlcnic_83xx_config_intr_coal(struct qlcnic_adapter * adapter,struct ethtool_coalesce * ethcoal) qlcnic_83xx_config_intr_coal() argument
2321 qlcnic_83xx_handle_link_aen(struct qlcnic_adapter * adapter,u32 data[]) qlcnic_83xx_handle_link_aen() argument
2350 struct qlcnic_adapter *adapter = data; qlcnic_83xx_handle_aen() local
2377 qlcnic_83xx_set_nic_info(struct qlcnic_adapter * adapter,struct qlcnic_info * nic) qlcnic_83xx_set_nic_info() argument
2417 qlcnic_83xx_get_nic_info(struct qlcnic_adapter * adapter,struct qlcnic_info * npar_info,u8 func_id) qlcnic_83xx_get_nic_info() argument
2470 qlcnic_get_pci_func_type(struct qlcnic_adapter * adapter,u16 type,u16 * nic,u16 * fcoe,u16 * iscsi) qlcnic_get_pci_func_type() argument
2495 qlcnic_83xx_get_pci_info(struct qlcnic_adapter * adapter,struct qlcnic_pci_info * pci_info) qlcnic_83xx_get_pci_info() argument
2554 qlcnic_83xx_config_intrpt(struct qlcnic_adapter * adapter,bool op_type) qlcnic_83xx_config_intrpt() argument
2610 qlcnic_83xx_lock_flash(struct qlcnic_adapter * adapter) qlcnic_83xx_lock_flash() argument
2634 qlcnic_83xx_unlock_flash(struct qlcnic_adapter * adapter) qlcnic_83xx_unlock_flash() argument
2640 qlcnic_83xx_lockless_flash_read32(struct qlcnic_adapter * adapter,u32 flash_addr,u8 * p_data,int count) qlcnic_83xx_lockless_flash_read32() argument
2701 qlcnic_83xx_poll_flash_status_reg(struct qlcnic_adapter * adapter) qlcnic_83xx_poll_flash_status_reg() argument
2725 qlcnic_83xx_enable_flash_write(struct qlcnic_adapter * adapter) qlcnic_83xx_enable_flash_write() argument
2743 qlcnic_83xx_disable_flash_write(struct qlcnic_adapter * adapter) qlcnic_83xx_disable_flash_write() argument
2761 qlcnic_83xx_read_flash_mfg_id(struct qlcnic_adapter * adapter) qlcnic_83xx_read_flash_mfg_id() argument
2791 qlcnic_83xx_read_flash_descriptor_table(struct qlcnic_adapter * adapter) qlcnic_83xx_read_flash_descriptor_table() argument
2810 qlcnic_83xx_erase_flash_sector(struct qlcnic_adapter * adapter,u32 sector_start_addr) qlcnic_83xx_erase_flash_sector() argument
2876 qlcnic_83xx_flash_write32(struct qlcnic_adapter * adapter,u32 addr,u32 * p_data) qlcnic_83xx_flash_write32() argument
2896 qlcnic_83xx_flash_bulk_write(struct qlcnic_adapter * adapter,u32 addr,u32 * p_data,int count) qlcnic_83xx_flash_bulk_write() argument
2981 qlcnic_83xx_recover_driver_lock(struct qlcnic_adapter * adapter) qlcnic_83xx_recover_driver_lock() argument
3021 qlcnic_83xx_lock_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_lock_driver() argument
3071 qlcnic_83xx_unlock_driver(struct qlcnic_adapter * adapter) qlcnic_83xx_unlock_driver() argument
3089 qlcnic_ms_mem_write128(struct qlcnic_adapter * adapter,u64 addr,u32 * data,u32 count) qlcnic_ms_mem_write128() argument
3140 qlcnic_83xx_flash_read32(struct qlcnic_adapter * adapter,u32 flash_addr,u8 * p_data,int count) qlcnic_83xx_flash_read32() argument
3182 qlcnic_83xx_get_port_type(struct qlcnic_adapter * adapter) qlcnic_83xx_get_port_type() argument
3216 qlcnic_83xx_test_link(struct qlcnic_adapter * adapter) qlcnic_83xx_test_link() argument
3300 qlcnic_83xx_get_link_ksettings(struct qlcnic_adapter * adapter,struct ethtool_link_ksettings * ecmd) qlcnic_83xx_get_link_ksettings() argument
3401 qlcnic_83xx_set_link_ksettings(struct qlcnic_adapter * adapter,const struct ethtool_link_ksettings * ecmd) qlcnic_83xx_set_link_ksettings() argument
3474 qlcnic_83xx_fill_stats(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd,u64 * data,int type,int * ret) qlcnic_83xx_fill_stats() argument
3530 qlcnic_83xx_get_stats(struct qlcnic_adapter * adapter,u64 * data) qlcnic_83xx_get_stats() argument
3573 qlcnic_83xx_extend_md_capab(struct qlcnic_adapter * adapter) qlcnic_83xx_extend_md_capab() argument
3595 qlcnic_83xx_reg_test(struct qlcnic_adapter * adapter) qlcnic_83xx_reg_test() argument
3611 qlcnic_83xx_get_regs_len(struct qlcnic_adapter * adapter) qlcnic_83xx_get_regs_len() argument
3619 qlcnic_83xx_get_registers(struct qlcnic_adapter * adapter,u32 * regs_buff) qlcnic_83xx_get_registers() argument
3634 struct qlcnic_adapter *adapter = netdev_priv(netdev); qlcnic_83xx_interrupt_test() local
3702 qlcnic_83xx_get_pauseparam(struct qlcnic_adapter * adapter,struct ethtool_pauseparam * pause) qlcnic_83xx_get_pauseparam() argument
3738 qlcnic_83xx_set_pauseparam(struct qlcnic_adapter * adapter,struct ethtool_pauseparam * pause) qlcnic_83xx_set_pauseparam() argument
3786 qlcnic_83xx_read_flash_status_reg(struct qlcnic_adapter * adapter) qlcnic_83xx_read_flash_status_reg() argument
3806 qlcnic_83xx_flash_test(struct qlcnic_adapter * adapter) qlcnic_83xx_flash_test() argument
3821 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_83xx_shutdown() local
3836 qlcnic_83xx_resume(struct qlcnic_adapter * adapter) qlcnic_83xx_resume() argument
3881 qlcnic_83xx_notify_cmd_completion(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_notify_cmd_completion() argument
3894 qlcnic_83xx_flush_mbx_queue(struct qlcnic_adapter * adapter) qlcnic_83xx_flush_mbx_queue() argument
3914 qlcnic_83xx_check_mbx_status(struct qlcnic_adapter * adapter) qlcnic_83xx_check_mbx_status() argument
3933 qlcnic_83xx_signal_mbx_cmd(struct qlcnic_adapter * adapter,u8 issue_cmd) qlcnic_83xx_signal_mbx_cmd() argument
3942 qlcnic_83xx_dequeue_mbx_cmd(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_dequeue_mbx_cmd() argument
3957 qlcnic_83xx_encode_mbx_cmd(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_encode_mbx_cmd() argument
3992 qlcnic_83xx_detach_mailbox_work(struct qlcnic_adapter * adapter) qlcnic_83xx_detach_mailbox_work() argument
4006 qlcnic_83xx_enqueue_mbx_cmd(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd,unsigned long * timeout) qlcnic_83xx_enqueue_mbx_cmd() argument
4033 qlcnic_83xx_check_mac_rcode(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_check_mac_rcode() argument
4053 qlcnic_83xx_decode_mbx_rsp(struct qlcnic_adapter * adapter,struct qlcnic_cmd_args * cmd) qlcnic_83xx_decode_mbx_rsp() argument
4084 qlcnic_dump_mailbox_registers(struct qlcnic_adapter * adapter) qlcnic_dump_mailbox_registers() argument
4101 struct qlcnic_adapter *adapter = mbx->adapter; qlcnic_83xx_mailbox_worker() local
4162 qlcnic_83xx_init_mailbox_work(struct qlcnic_adapter * adapter) qlcnic_83xx_init_mailbox_work() argument
4194 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_83xx_io_error_detected() local
4215 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_83xx_io_slot_reset() local
4237 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); qlcnic_83xx_io_resume() local
[all...]
H A Dqlcnic_83xx_vnic.c10 static int qlcnic_83xx_enable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_enable_vnic_mode() argument
13 if (qlcnic_83xx_lock_driver(adapter)) in qlcnic_83xx_enable_vnic_mode()
16 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_OPER); in qlcnic_83xx_enable_vnic_mode()
18 qlcnic_83xx_unlock_driver(adapter); in qlcnic_83xx_enable_vnic_mode()
23 int qlcnic_83xx_disable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_disable_vnic_mode() argument
25 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_83xx_disable_vnic_mode()
28 if (qlcnic_83xx_lock_driver(adapter)) in qlcnic_83xx_disable_vnic_mode()
32 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_NON_OPER); in qlcnic_83xx_disable_vnic_mode()
36 qlcnic_83xx_unlock_driver(adapter); in qlcnic_83xx_disable_vnic_mode()
41 int qlcnic_83xx_set_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_set_vnic_opmode() argument
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c20 static int iavf_send_pf_msg(struct iavf_adapter *adapter, in iavf_send_pf_msg() argument
23 struct iavf_hw *hw = &adapter->hw; in iavf_send_pf_msg()
26 if (adapter->flags & IAVF_FLAG_PF_COMMS_FAILED) in iavf_send_pf_msg()
31 dev_dbg(&adapter->pdev->dev, "Unable to send opcode %d to PF, status %s, aq_err %s\n", in iavf_send_pf_msg()
45 int iavf_send_api_ver(struct iavf_adapter *adapter) in iavf_send_api_ver() argument
52 return iavf_send_pf_msg(adapter, VIRTCHNL_OP_VERSION, (u8 *)&vvi, in iavf_send_api_ver()
85 struct iavf_adapter *adapter = hw->back; in iavf_poll_virtchnl_msg() local
92 dev_info(&adapter->pdev->dev, "Reset indication received from the PF\n"); in iavf_poll_virtchnl_msg()
93 if (!(adapter->flags & IAVF_FLAG_RESET_PENDING)) in iavf_poll_virtchnl_msg()
94 iavf_schedule_reset(adapter, in iavf_poll_virtchnl_msg()
[all …]
H A Diavf_main.c17 static int iavf_setup_all_tx_resources(struct iavf_adapter *adapter);
18 static int iavf_setup_all_rx_resources(struct iavf_adapter *adapter);
20 static void iavf_init_get_resources(struct iavf_adapter *adapter);
166 * iavf_pdev_to_adapter - go from pci_dev to adapter
176 * @adapter: board private structure
178 static bool iavf_is_reset_in_progress(struct iavf_adapter *adapter) in iavf_is_reset_in_progress() argument
180 if (adapter->state == __IAVF_RESETTING || in iavf_is_reset_in_progress()
181 adapter->flags & (IAVF_FLAG_RESET_PENDING | in iavf_is_reset_in_progress()
199 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; in iavf_allocate_dma_mem_d() local
205 mem->va = dma_alloc_coherent(&adapter in iavf_allocate_dma_mem_d()
220 struct iavf_adapter *adapter = (struct iavf_adapter *)hw->back; iavf_free_dma_mem() local
265 iavf_schedule_reset(struct iavf_adapter * adapter,u64 flags) iavf_schedule_reset() argument
280 iavf_schedule_aq_request(struct iavf_adapter * adapter,u64 flags) iavf_schedule_aq_request() argument
293 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_tx_timeout() local
303 iavf_misc_irq_disable(struct iavf_adapter * adapter) iavf_misc_irq_disable() argument
321 iavf_misc_irq_enable(struct iavf_adapter * adapter) iavf_misc_irq_enable() argument
336 iavf_irq_disable(struct iavf_adapter * adapter) iavf_irq_disable() argument
355 iavf_irq_enable_queues(struct iavf_adapter * adapter) iavf_irq_enable_queues() argument
372 iavf_irq_enable(struct iavf_adapter * adapter,bool flush) iavf_irq_enable() argument
391 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_msix_aq() local
429 iavf_map_vector_to_rxq(struct iavf_adapter * adapter,int v_idx,int r_idx) iavf_map_vector_to_rxq() argument
455 iavf_map_vector_to_txq(struct iavf_adapter * adapter,int v_idx,int t_idx) iavf_map_vector_to_txq() argument
484 iavf_map_rings_to_vectors(struct iavf_adapter * adapter) iavf_map_rings_to_vectors() argument
515 iavf_request_traffic_irqs(struct iavf_adapter * adapter,char * basename) iavf_request_traffic_irqs() argument
575 iavf_request_misc_irq(struct iavf_adapter * adapter) iavf_request_misc_irq() argument
601 iavf_free_traffic_irqs(struct iavf_adapter * adapter) iavf_free_traffic_irqs() argument
625 iavf_free_misc_irq(struct iavf_adapter * adapter) iavf_free_misc_irq() argument
641 iavf_configure_tx(struct iavf_adapter * adapter) iavf_configure_tx() argument
660 iavf_select_rx_desc_format(const struct iavf_adapter * adapter) iavf_select_rx_desc_format() argument
697 iavf_configure_rx(struct iavf_adapter * adapter) iavf_configure_rx() argument
718 iavf_find_vlan(struct iavf_adapter * adapter,struct iavf_vlan vlan) iavf_find_vlan() argument
740 iavf_add_vlan(struct iavf_adapter * adapter,struct iavf_vlan vlan) iavf_add_vlan() argument
779 iavf_del_vlan(struct iavf_adapter * adapter,struct iavf_vlan vlan) iavf_del_vlan() argument
812 iavf_get_num_vlans_added(struct iavf_adapter * adapter) iavf_get_num_vlans_added() argument
825 iavf_get_max_vlans_allowed(struct iavf_adapter * adapter) iavf_get_max_vlans_allowed() argument
842 iavf_max_vlans_added(struct iavf_adapter * adapter) iavf_max_vlans_added() argument
860 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_vlan_rx_add_vid() local
890 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_vlan_rx_kill_vid() local
909 iavf_find_filter(struct iavf_adapter * adapter,const u8 * macaddr) iavf_find_filter() argument
931 iavf_add_filter(struct iavf_adapter * adapter,const u8 * macaddr) iavf_add_filter() argument
971 iavf_replace_primary_mac(struct iavf_adapter * adapter,const u8 * new_mac) iavf_replace_primary_mac() argument
1016 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_is_mac_set_handled() local
1042 iavf_mac_change_done(struct iavf_adapter * adapter,const void * data,enum virtchnl_ops v_op) iavf_mac_change_done() argument
1062 iavf_set_mac_sync(struct iavf_adapter * adapter,const u8 * addr) iavf_set_mac_sync() argument
1095 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_set_mac() local
1137 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_addr_sync() local
1155 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_addr_unsync() local
1178 iavf_promiscuous_mode_changed(struct iavf_adapter * adapter) iavf_promiscuous_mode_changed() argument
1196 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_set_rx_mode() local
1215 iavf_napi_enable_all(struct iavf_adapter * adapter) iavf_napi_enable_all() argument
1234 iavf_napi_disable_all(struct iavf_adapter * adapter) iavf_napi_disable_all() argument
1250 iavf_configure(struct iavf_adapter * adapter) iavf_configure() argument
1274 iavf_up_complete(struct iavf_adapter * adapter) iavf_up_complete() argument
1291 iavf_clear_mac_filters(struct iavf_adapter * adapter) iavf_clear_mac_filters() argument
1319 iavf_clear_cloud_filters(struct iavf_adapter * adapter) iavf_clear_cloud_filters() argument
1343 iavf_clear_fdir_filters(struct iavf_adapter * adapter) iavf_clear_fdir_filters() argument
1369 iavf_clear_adv_rss_conf(struct iavf_adapter * adapter) iavf_clear_adv_rss_conf() argument
1391 iavf_down(struct iavf_adapter * adapter) iavf_down() argument
1444 iavf_acquire_msix_vectors(struct iavf_adapter * adapter,int vectors) iavf_acquire_msix_vectors() argument
1483 iavf_free_queues(struct iavf_adapter * adapter) iavf_free_queues() argument
1503 iavf_set_queue_vlan_tag_loc(struct iavf_adapter * adapter) iavf_set_queue_vlan_tag_loc() argument
1582 iavf_alloc_queues(struct iavf_adapter * adapter) iavf_alloc_queues() argument
1648 iavf_set_interrupt_capability(struct iavf_adapter * adapter) iavf_set_interrupt_capability() argument
1691 iavf_config_rss_aq(struct iavf_adapter * adapter) iavf_config_rss_aq() argument
1733 iavf_config_rss_reg(struct iavf_adapter * adapter) iavf_config_rss_reg() argument
1758 iavf_config_rss(struct iavf_adapter * adapter) iavf_config_rss() argument
1776 iavf_fill_rss_lut(struct iavf_adapter * adapter) iavf_fill_rss_lut() argument
1790 iavf_init_rss(struct iavf_adapter * adapter) iavf_init_rss() argument
1820 iavf_alloc_q_vectors(struct iavf_adapter * adapter) iavf_alloc_q_vectors() argument
1853 iavf_free_q_vectors(struct iavf_adapter * adapter) iavf_free_q_vectors() argument
1876 iavf_reset_interrupt_capability(struct iavf_adapter * adapter) iavf_reset_interrupt_capability() argument
1891 iavf_init_interrupt_scheme(struct iavf_adapter * adapter) iavf_init_interrupt_scheme() argument
1943 iavf_free_interrupt_scheme(struct iavf_adapter * adapter) iavf_free_interrupt_scheme() argument
1954 iavf_free_rss(struct iavf_adapter * adapter) iavf_free_rss() argument
1970 iavf_reinit_interrupt_scheme(struct iavf_adapter * adapter,bool running) iavf_reinit_interrupt_scheme() argument
2005 struct iavf_adapter *adapter; iavf_finish_config() local
2073 iavf_schedule_finish_config(struct iavf_adapter * adapter) iavf_schedule_finish_config() argument
2088 iavf_process_aq_command(struct iavf_adapter * adapter) iavf_process_aq_command() argument
2286 iavf_set_vlan_offload_features(struct iavf_adapter * adapter,netdev_features_t prev_features,netdev_features_t features) iavf_set_vlan_offload_features() argument
2365 iavf_startup(struct iavf_adapter * adapter) iavf_startup() argument
2415 iavf_init_version_check(struct iavf_adapter * adapter) iavf_init_version_check() argument
2459 iavf_parse_vf_resource_msg(struct iavf_adapter * adapter) iavf_parse_vf_resource_msg() argument
2516 iavf_init_get_resources(struct iavf_adapter * adapter) iavf_init_get_resources() argument
2580 iavf_init_send_offload_vlan_v2_caps(struct iavf_adapter * adapter) iavf_init_send_offload_vlan_v2_caps() argument
2606 iavf_init_recv_offload_vlan_v2_caps(struct iavf_adapter * adapter) iavf_init_recv_offload_vlan_v2_caps() argument
2638 iavf_init_send_supported_rxdids(struct iavf_adapter * adapter) iavf_init_send_supported_rxdids() argument
2662 iavf_init_recv_supported_rxdids(struct iavf_adapter * adapter) iavf_init_recv_supported_rxdids() argument
2694 iavf_init_send_ptp_caps(struct iavf_adapter * adapter) iavf_init_send_ptp_caps() argument
2714 iavf_init_recv_ptp_caps(struct iavf_adapter * adapter) iavf_init_recv_ptp_caps() argument
2746 iavf_init_process_extended_caps(struct iavf_adapter * adapter) iavf_init_process_extended_caps() argument
2790 iavf_init_config_adapter(struct iavf_adapter * adapter) iavf_init_config_adapter() argument
2901 iavf_watchdog_step(struct iavf_adapter * adapter) iavf_watchdog_step() argument
3019 struct iavf_adapter *adapter = container_of(work, iavf_watchdog_task() local
3043 iavf_disable_vf(struct iavf_adapter * adapter) iavf_disable_vf() argument
3114 iavf_reconfig_qs_bw(struct iavf_adapter * adapter) iavf_reconfig_qs_bw() argument
3138 iavf_reset_step(struct iavf_adapter * adapter) iavf_reset_step() argument
3361 struct iavf_adapter *adapter = container_of(work, iavf_reset_task() local
3377 struct iavf_adapter *adapter = iavf_adminq_task() local
3465 iavf_free_all_tx_resources(struct iavf_adapter * adapter) iavf_free_all_tx_resources() argument
3487 iavf_setup_all_tx_resources(struct iavf_adapter * adapter) iavf_setup_all_tx_resources() argument
3514 iavf_setup_all_rx_resources(struct iavf_adapter * adapter) iavf_setup_all_rx_resources() argument
3536 iavf_free_all_rx_resources(struct iavf_adapter * adapter) iavf_free_all_rx_resources() argument
3553 iavf_validate_tx_bandwidth(struct iavf_adapter * adapter,u64 max_tx_rate) iavf_validate_tx_bandwidth() argument
3616 iavf_validate_ch_config(struct iavf_adapter * adapter,struct tc_mqprio_qopt_offload * mqprio_qopt) iavf_validate_ch_config() argument
3678 iavf_del_all_cloud_filters(struct iavf_adapter * adapter) iavf_del_all_cloud_filters() argument
3703 iavf_is_tc_config_same(struct iavf_adapter * adapter,struct tc_mqprio_qopt * mqprio_qopt) iavf_is_tc_config_same() argument
3734 struct iavf_adapter *adapter = netdev_priv(netdev); __iavf_setup_tc() local
3845 iavf_parse_cls_flower(struct iavf_adapter * adapter,struct flow_cls_offload * f,struct iavf_cloud_filter * filter) iavf_parse_cls_flower() argument
4097 iavf_handle_tclass(struct iavf_adapter * adapter,u32 tc,struct iavf_cloud_filter * filter) iavf_handle_tclass() argument
4123 iavf_find_cf(struct iavf_adapter * adapter,unsigned long * cookie) iavf_find_cf() argument
4143 iavf_configure_clsflower(struct iavf_adapter * adapter,struct flow_cls_offload * cls_flower) iavf_configure_clsflower() argument
4204 iavf_delete_clsflower(struct iavf_adapter * adapter,struct flow_cls_offload * cls_flower) iavf_delete_clsflower() argument
4228 iavf_setup_tc_cls_flower(struct iavf_adapter * adapter,struct flow_cls_offload * cls_flower) iavf_setup_tc_cls_flower() argument
4250 iavf_add_cls_u32(struct iavf_adapter * adapter,struct tc_cls_u32_offload * cls_u32) iavf_add_cls_u32() argument
4361 iavf_del_cls_u32(struct iavf_adapter * adapter,struct tc_cls_u32_offload * cls_u32) iavf_del_cls_u32() argument
4374 iavf_setup_tc_cls_u32(struct iavf_adapter * adapter,struct tc_cls_u32_offload * cls_u32) iavf_setup_tc_cls_u32() argument
4402 struct iavf_adapter *adapter = cb_priv; iavf_setup_tc_block_cb() local
4433 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_setup_tc() local
4454 iavf_restore_fdir_filters(struct iavf_adapter * adapter) iavf_restore_fdir_filters() argument
4489 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_open() local
4561 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_close() local
4633 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_change_mtu() local
4651 iavf_disable_fdir(struct iavf_adapter * adapter) iavf_disable_fdir() argument
4704 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_set_features() local
4791 iavf_get_netdev_vlan_hw_features(struct iavf_adapter * adapter) iavf_get_netdev_vlan_hw_features() argument
4856 iavf_get_netdev_vlan_features(struct iavf_adapter * adapter) iavf_get_netdev_vlan_features() argument
4957 iavf_fix_netdev_vlan_features(struct iavf_adapter * adapter,netdev_features_t requested_features) iavf_fix_netdev_vlan_features() argument
5016 iavf_fix_strip_features(struct iavf_adapter * adapter,netdev_features_t requested_features) iavf_fix_strip_features() argument
5067 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_fix_features() local
5080 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_hwstamp_get() local
5091 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_hwstamp_set() local
5101 struct iavf_adapter *adapter = netdev_priv(binding->netdev); iavf_verify_shaper() local
5121 struct iavf_adapter *adapter = netdev_priv(binding->netdev); iavf_shaper_set() local
5150 struct iavf_adapter *adapter = netdev_priv(binding->netdev); iavf_shaper_del() local
5235 iavf_process_config(struct iavf_adapter * adapter) iavf_process_config() argument
5348 struct iavf_adapter *adapter = NULL; iavf_probe() local
5481 struct iavf_adapter *adapter = netdev_priv(netdev); iavf_suspend() local
5513 struct iavf_adapter *adapter; iavf_resume() local
5557 struct iavf_adapter *adapter; iavf_remove() local
[all...]
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c100 static int reset_sub_crq_queues(struct ibmvnic_adapter *adapter);
101 static inline void reinit_init_done(struct ibmvnic_adapter *adapter);
102 static void send_query_map(struct ibmvnic_adapter *adapter);
105 static int send_login(struct ibmvnic_adapter *adapter);
106 static void send_query_cap(struct ibmvnic_adapter *adapter);
108 static int init_sub_crq_irqs(struct ibmvnic_adapter *adapter);
112 static int init_crq_queue(struct ibmvnic_adapter *adapter);
113 static int send_query_phys_parms(struct ibmvnic_adapter *adapter);
114 static void ibmvnic_tx_scrq_clean_buffer(struct ibmvnic_adapter *adapter,
116 static void free_long_term_buff(struct ibmvnic_adapter *adapter,
[all …]
/linux/drivers/net/ethernet/qlogic/netxen/
H A Dnetxen_nic_main.c54 static void netxen_schedule_work(struct netxen_adapter *adapter,
56 static void netxen_cancel_fw_work(struct netxen_adapter *adapter);
59 static void netxen_create_sysfs_entries(struct netxen_adapter *adapter);
60 static void netxen_remove_sysfs_entries(struct netxen_adapter *adapter);
61 static void netxen_create_diag_entries(struct netxen_adapter *adapter);
62 static void netxen_remove_diag_entries(struct netxen_adapter *adapter);
63 static int nx_dev_request_aer(struct netxen_adapter *adapter);
64 static int nx_decr_dev_ref_cnt(struct netxen_adapter *adapter);
65 static int netxen_can_start_firmware(struct netxen_adapter *adapter);
102 netxen_nic_update_cmd_producer(struct netxen_adapter *adapter, in netxen_nic_update_cmd_producer() argument
[all …]
/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c64 /* Workqueue used by all functions for deferring cmd calls to the adapter */
144 static void be_queue_free(struct be_adapter *adapter, struct be_queue_info *q) in be_queue_free() argument
149 dma_free_coherent(&adapter->pdev->dev, mem->size, mem->va, in be_queue_free()
155 static int be_queue_alloc(struct be_adapter *adapter, struct be_queue_info *q, in be_queue_alloc() argument
164 mem->va = dma_alloc_coherent(&adapter->pdev->dev, mem->size, in be_queue_alloc()
171 static void be_reg_intr_set(struct be_adapter *adapter, bool enable) in be_reg_intr_set() argument
175 pci_read_config_dword(adapter->pdev, PCICFG_MEMBAR_CTRL_INT_CTRL_OFFSET, in be_reg_intr_set()
186 pci_write_config_dword(adapter->pdev, in be_reg_intr_set()
190 static void be_intr_set(struct be_adapter *adapter, bool enable) in be_intr_set() argument
195 if (lancer_chip(adapter)) in be_intr_set()
206 be_rxq_notify(struct be_adapter * adapter,u16 qid,u16 posted) be_rxq_notify() argument
220 be_txq_notify(struct be_adapter * adapter,struct be_tx_obj * txo,u16 posted) be_txq_notify() argument
235 be_eq_notify(struct be_adapter * adapter,u16 qid,bool arm,bool clear_int,u16 num_popped,u32 eq_delay_mult_enc) be_eq_notify() argument
257 be_cq_notify(struct be_adapter * adapter,u16 qid,bool arm,u16 num_popped) be_cq_notify() argument
274 be_dev_mac_add(struct be_adapter * adapter,const u8 * mac) be_dev_mac_add() argument
291 be_dev_mac_del(struct be_adapter * adapter,int pmac_id) be_dev_mac_del() argument
307 struct be_adapter *adapter = netdev_priv(netdev); be_mac_addr_set() local
380 hw_stats_from_cmd(struct be_adapter * adapter) hw_stats_from_cmd() argument
398 be_erx_stats_from_cmd(struct be_adapter * adapter) be_erx_stats_from_cmd() argument
415 populate_be_v0_stats(struct be_adapter * adapter) populate_be_v0_stats() argument
464 populate_be_v1_stats(struct be_adapter * adapter) populate_be_v1_stats() argument
510 populate_be_v2_stats(struct be_adapter * adapter) populate_be_v2_stats() argument
564 populate_lancer_stats(struct be_adapter * adapter) populate_lancer_stats() argument
613 populate_erx_stats(struct be_adapter * adapter,struct be_rx_obj * rxo,u32 erx_stat) populate_erx_stats() argument
626 be_parse_stats(struct be_adapter * adapter) be_parse_stats() argument
655 struct be_adapter *adapter = netdev_priv(netdev); be_get_stats64() local
719 be_link_status_update(struct be_adapter * adapter,u8 link_status) be_link_status_update() argument
786 be_get_tx_vlan_tag(struct be_adapter * adapter,struct sk_buff * skb) be_get_tx_vlan_tag() argument
830 be_get_wrb_params_from_skb(struct be_adapter * adapter,struct sk_buff * skb,struct be_wrb_params * wrb_params) be_get_wrb_params_from_skb() argument
862 wrb_fill_hdr(struct be_adapter * adapter,struct be_eth_hdr_wrb * hdr,struct be_wrb_params * wrb_params,struct sk_buff * skb) wrb_fill_hdr() argument
926 be_tx_setup_wrb_hdr(struct be_adapter * adapter,struct be_tx_obj * txo,struct be_wrb_params * wrb_params,struct sk_buff * skb,u16 head) be_tx_setup_wrb_hdr() argument
962 be_xmit_restore(struct be_adapter * adapter,struct be_tx_obj * txo,u32 head,bool map_single,u32 copied) be_xmit_restore() argument
990 be_xmit_enqueue(struct be_adapter * adapter,struct be_tx_obj * txo,struct sk_buff * skb,struct be_wrb_params * wrb_params) be_xmit_enqueue() argument
1036 qnq_async_evt_rcvd(struct be_adapter * adapter) qnq_async_evt_rcvd() argument
1041 be_insert_vlan_in_pkt(struct be_adapter * adapter,struct sk_buff * skb,struct be_wrb_params * wrb_params) be_insert_vlan_in_pkt() argument
1112 be_vlan_tag_tx_chk(struct be_adapter * adapter,struct sk_buff * skb) be_vlan_tag_tx_chk() argument
1117 be_ipv6_tx_stall_chk(struct be_adapter * adapter,struct sk_buff * skb) be_ipv6_tx_stall_chk() argument
1122 be_lancer_xmit_workarounds(struct be_adapter * adapter,struct sk_buff * skb,struct be_wrb_params * wrb_params) be_lancer_xmit_workarounds() argument
1192 be_xmit_workarounds(struct be_adapter * adapter,struct sk_buff * skb,struct be_wrb_params * wrb_params) be_xmit_workarounds() argument
1224 be_xmit_flush(struct be_adapter * adapter,struct be_tx_obj * txo) be_xmit_flush() argument
1256 is_mc_allowed_on_bmc(adapter,eh) global() argument
1261 is_bc_allowed_on_bmc(adapter,eh) global() argument
1265 is_arp_allowed_on_bmc(adapter,skb) global() argument
1270 is_arp_filt_enabled(adapter) global() argument
1273 is_dhcp_client_filt_enabled(adapter) global() argument
1276 is_dhcp_srvr_filt_enabled(adapter) global() argument
1279 is_nbios_filt_enabled(adapter) global() argument
1282 is_ipv6_na_filt_enabled(adapter) global() argument
1286 is_ipv6_ra_filt_enabled(adapter) global() argument
1289 is_ipv6_ras_filt_enabled(adapter) global() argument
1292 is_broadcast_filt_enabled(adapter) global() argument
1295 is_multicast_filt_enabled(adapter) global() argument
1298 be_send_pkt_to_bmc(struct be_adapter * adapter,struct sk_buff ** skb,struct be_wrb_params * wrb_params) be_send_pkt_to_bmc() argument
1371 struct be_adapter *adapter = netdev_priv(netdev); be_xmit() local
1422 struct be_adapter *adapter = netdev_priv(netdev); be_tx_timeout() local
1497 be_in_all_promisc(struct be_adapter * adapter) be_in_all_promisc() argument
1503 be_set_vlan_promisc(struct be_adapter * adapter) be_set_vlan_promisc() argument
1521 be_clear_vlan_promisc(struct be_adapter * adapter) be_clear_vlan_promisc() argument
1538 be_vid_config(struct be_adapter * adapter) be_vid_config() argument
1575 struct be_adapter *adapter = netdev_priv(netdev); be_vlan_add_vid() local
1598 struct be_adapter *adapter = netdev_priv(netdev); be_vlan_rem_vid() local
1619 be_set_all_promisc(struct be_adapter * adapter) be_set_all_promisc() argument
1625 be_set_mc_promisc(struct be_adapter * adapter) be_set_mc_promisc() argument
1637 be_set_uc_promisc(struct be_adapter * adapter) be_set_uc_promisc() argument
1649 be_clear_uc_promisc(struct be_adapter * adapter) be_clear_uc_promisc() argument
1669 struct be_adapter *adapter = netdev_priv(netdev); be_uc_list_update() local
1678 struct be_adapter *adapter = netdev_priv(netdev); be_mc_list_update() local
1684 be_set_mc_list(struct be_adapter * adapter) be_set_mc_list() argument
1735 be_clear_mc_list(struct be_adapter * adapter) be_clear_mc_list() argument
1744 be_uc_mac_add(struct be_adapter * adapter,int uc_idx) be_uc_mac_add() argument
1756 be_uc_mac_del(struct be_adapter * adapter,int pmac_id) be_uc_mac_del() argument
1764 be_set_uc_list(struct be_adapter * adapter) be_set_uc_list() argument
1812 be_clear_uc_list(struct be_adapter * adapter) be_clear_uc_list() argument
1824 __be_set_rx_mode(struct be_adapter * adapter) __be_set_rx_mode() argument
1858 struct be_adapter *adapter = netdev_priv(netdev); be_set_vf_mac() local
1899 struct be_adapter *adapter = netdev_priv(netdev); be_get_vf_config() local
1920 be_set_vf_tvt(struct be_adapter * adapter,int vf,u16 vlan) be_set_vf_tvt() argument
1949 be_clear_vf_tvt(struct be_adapter * adapter,int vf) be_clear_vf_tvt() argument
1979 struct be_adapter *adapter = netdev_priv(netdev); be_set_vf_vlan() local
2013 struct be_adapter *adapter = netdev_priv(netdev); be_set_vf_tx_rate() local
2075 struct be_adapter *adapter = netdev_priv(netdev); be_set_vf_link_state() local
2098 struct be_adapter *adapter = netdev_priv(netdev); be_set_vf_spoofchk() local
2139 struct be_adapter *adapter = eqo->adapter; be_get_new_eqd() local
2203 struct be_adapter *adapter = eqo->adapter; be_get_eq_delay_mult_enc() local
2231 be_eqd_update(struct be_adapter * adapter,bool force_update) be_eqd_update() argument
2282 struct be_adapter *adapter = rxo->adapter; get_rx_page_info() local
2399 struct be_adapter *adapter = rxo->adapter; be_rx_compl_process() local
2436 struct be_adapter *adapter = rxo->adapter; be_rx_compl_process_gro() local
2539 struct be_adapter *adapter = rxo->adapter; be_rx_compl_get() local
2595 struct be_adapter *adapter = rxo->adapter; be_post_rx_frags() local
2712 be_tx_compl_get(struct be_adapter * adapter,struct be_tx_obj * txo) be_tx_compl_get() argument
2752 be_tx_compl_process(struct be_adapter * adapter,struct be_tx_obj * txo,u16 last_index) be_tx_compl_process() argument
2835 struct be_adapter *adapter = rxo->adapter; be_rx_cq_clean() local
2871 be_tx_compl_clean(struct be_adapter * adapter) be_tx_compl_clean() argument
2938 be_evt_queues_destroy(struct be_adapter * adapter) be_evt_queues_destroy() argument
2954 be_evt_queues_create(struct be_adapter * adapter) be_evt_queues_create() argument
2995 be_mcc_queues_destroy(struct be_adapter * adapter) be_mcc_queues_destroy() argument
3011 be_mcc_queues_create(struct be_adapter * adapter) be_mcc_queues_create() argument
3043 be_tx_queues_destroy(struct be_adapter * adapter) be_tx_queues_destroy() argument
3062 be_tx_qs_create(struct be_adapter * adapter) be_tx_qs_create() argument
3107 be_rx_cqs_destroy(struct be_adapter * adapter) be_rx_cqs_destroy() argument
3121 be_rx_cqs_create(struct be_adapter * adapter) be_rx_cqs_create() argument
3166 struct be_adapter *adapter = eqo->adapter; be_intx() local
3212 struct be_adapter *adapter = rxo->adapter; be_process_rx() local
3269 be_process_tx(struct be_adapter * adapter,struct be_tx_obj * txo,int idx) be_process_tx() argument
3300 struct be_adapter *adapter = eqo->adapter; be_poll() local
3341 be_detect_error(struct be_adapter * adapter) be_detect_error() argument
3421 be_msix_disable(struct be_adapter * adapter) be_msix_disable() argument
3430 be_msix_enable(struct be_adapter * adapter) be_msix_enable() argument
3479 be_msix_vec_get(struct be_adapter * adapter,struct be_eq_obj * eqo) be_msix_vec_get() argument
3485 be_msix_register(struct be_adapter * adapter) be_msix_register() argument
3513 be_irq_register(struct be_adapter * adapter) be_irq_register() argument
3541 be_irq_unregister(struct be_adapter * adapter) be_irq_unregister() argument
3567 be_rx_qs_destroy(struct be_adapter * adapter) be_rx_qs_destroy() argument
3604 be_disable_if_filters(struct be_adapter * adapter) be_disable_if_filters() argument
3638 struct be_adapter *adapter = netdev_priv(netdev); be_close() local
3685 be_rx_qs_create(struct be_adapter * adapter) be_rx_qs_create() argument
3756 be_enable_if_filters(struct be_adapter * adapter) be_enable_if_filters() argument
3798 struct be_adapter *adapter = netdev_priv(netdev); be_open() local
3845 be_vf_eth_addr_generate(struct be_adapter * adapter,u8 * mac) be_vf_eth_addr_generate() argument
3864 be_vf_eth_addr_config(struct be_adapter * adapter) be_vf_eth_addr_config() argument
3894 be_vfs_mac_query(struct be_adapter * adapter) be_vfs_mac_query() argument
3911 be_vf_clear(struct be_adapter * adapter) be_vf_clear() argument
3945 be_clear_queues(struct be_adapter * adapter) be_clear_queues() argument
3953 be_cancel_worker(struct be_adapter * adapter) be_cancel_worker() argument
3961 be_cancel_err_detection(struct be_adapter * adapter) be_cancel_err_detection() argument
3987 struct be_adapter *adapter = netdev_priv(netdev); be_vxlan_set_port() local
4018 struct be_adapter *adapter = netdev_priv(netdev); be_vxlan_unset_port() local
4043 be_calculate_vf_res(struct be_adapter * adapter,u16 num_vfs,struct be_resources * vft_res) be_calculate_vf_res() argument
4119 be_if_destroy(struct be_adapter * adapter) be_if_destroy() argument
4133 be_clear(struct be_adapter * adapter) be_clear() argument
4169 be_vfs_if_create(struct be_adapter * adapter) be_vfs_if_create() argument
4205 be_vf_setup_init(struct be_adapter * adapter) be_vf_setup_init() argument
4221 be_vf_setup(struct be_adapter * adapter) be_vf_setup() argument
4331 BEx_get_resources(struct be_adapter * adapter,struct be_resources * res) BEx_get_resources() argument
4402 be_setup_init(struct be_adapter * adapter) be_setup_init() argument
4423 be_calculate_pf_pool_rss_tables(struct be_adapter * adapter) be_calculate_pf_pool_rss_tables() argument
4441 be_get_sriov_config(struct be_adapter * adapter) be_get_sriov_config() argument
4480 be_alloc_sriov_res(struct be_adapter * adapter) be_alloc_sriov_res() argument
4506 be_get_resources(struct be_adapter * adapter) be_get_resources() argument
4556 be_get_config(struct be_adapter * adapter) be_get_config() argument
4594 be_mac_setup(struct be_adapter * adapter) be_mac_setup() argument
4615 be_schedule_worker(struct be_adapter * adapter) be_schedule_worker() argument
4630 be_schedule_err_detection(struct be_adapter * adapter,u32 delay) be_schedule_err_detection() argument
4642 be_setup_queues(struct be_adapter * adapter) be_setup_queues() argument
4677 be_if_create(struct be_adapter * adapter) be_if_create() argument
4705 be_update_queues(struct be_adapter * adapter) be_update_queues() argument
4779 be_reset_required(struct be_adapter * adapter) be_reset_required() argument
4788 be_func_init(struct be_adapter * adapter) be_func_init() argument
4819 be_setup(struct be_adapter * adapter) be_setup() argument
4927 struct be_adapter *adapter = netdev_priv(netdev); be_netpoll() local
4938 be_load_fw(struct be_adapter * adapter,u8 * fw_file) be_load_fw() argument
4971 struct be_adapter *adapter = netdev_priv(dev); be_ndo_bridge_setlink() local
5016 struct be_adapter *adapter = netdev_priv(dev); be_ndo_bridge_getlink() local
5043 be_alloc_work(struct be_adapter * adapter,void (* func)(struct work_struct *)) be_alloc_work() argument
5064 struct be_adapter *adapter = netdev_priv(dev); be_features_check() local
5126 struct be_adapter *adapter = netdev_priv(dev); be_get_phys_port_id() local
5145 struct be_adapter *adapter = netdev_priv(dev); be_set_rx_mode() local
5181 struct be_adapter *adapter = netdev_priv(netdev); be_netdev_init() local
5215 be_cleanup(struct be_adapter * adapter) be_cleanup() argument
5228 be_resume(struct be_adapter * adapter) be_resume() argument
5250 be_soft_reset(struct be_adapter * adapter) be_soft_reset() argument
5260 be_err_is_recoverable(struct be_adapter * adapter) be_err_is_recoverable() argument
5306 be_tpe_recover(struct be_adapter * adapter) be_tpe_recover() argument
5377 be_err_recover(struct be_adapter * adapter) be_err_recover() argument
5416 struct be_adapter *adapter = be_err_detection_task() local
5467 be_log_sfp_info(struct be_adapter * adapter) be_log_sfp_info() argument
5485 struct be_adapter *adapter = be_worker() local
5532 be_unmap_pci_bars(struct be_adapter * adapter) be_unmap_pci_bars() argument
5542 db_bar(struct be_adapter * adapter) db_bar() argument
5550 be_roce_map_pci_bars(struct be_adapter * adapter) be_roce_map_pci_bars() argument
5562 be_map_pci_bars(struct be_adapter * adapter) be_map_pci_bars() argument
5607 be_drv_cleanup(struct be_adapter * adapter) be_drv_cleanup() argument
5625 be_drv_init(struct be_adapter * adapter) be_drv_init() argument
5701 struct be_adapter *adapter = pci_get_drvdata(pdev); be_remove() local
5734 struct be_adapter *adapter = dev_get_drvdata(dev); be_hwmon_show_temp() local
5754 mc_name(struct be_adapter * adapter) mc_name() argument
5784 func_name(struct be_adapter * adapter) func_name() argument
5811 struct be_adapter *adapter; be_probe() local
5897 struct be_adapter *adapter = dev_get_drvdata(dev_d); be_suspend() local
5909 struct be_adapter *adapter = dev_get_drvdata(dev_d); be_pci_resume() local
5926 struct be_adapter *adapter = pci_get_drvdata(pdev); be_shutdown() local
5945 struct be_adapter *adapter = pci_get_drvdata(pdev); be_eeh_err_detected() local
5978 struct be_adapter *adapter = pci_get_drvdata(pdev); be_eeh_reset() local
6004 struct be_adapter *adapter = pci_get_drvdata(pdev); be_eeh_resume() local
6024 struct be_adapter *adapter = pci_get_drvdata(pdev); be_pci_sriov_configure() local
[all...]
/linux/drivers/scsi/leapraid/
H A Dleapraid_func.c20 static void leapraid_remove_device(struct leapraid_adapter *adapter,
22 static void leapraid_set_led(struct leapraid_adapter *adapter,
24 static void leapraid_ublk_io_dev(struct leapraid_adapter *adapter,
27 static void leapraid_clear_cached_boot_dev(struct leapraid_adapter *adapter,
29 static int leapraid_make_adapter_available(struct leapraid_adapter *adapter);
30 static void leapraid_sync_irqs_for_cleanup(struct leapraid_adapter *adapter);
31 static int leapraid_fw_log_init(struct leapraid_adapter *adapter);
32 static bool leapraid_should_skip_poll_work(struct leapraid_adapter *adapter);
33 static int leapraid_make_adapter_ready(struct leapraid_adapter *adapter,
55 bool leapraid_pci_removed(struct leapraid_adapter *adapter) in leapraid_pci_removed() argument
70 leapraid_pci_active(struct leapraid_adapter * adapter) leapraid_pci_active() argument
76 leapraid_get_reply_vaddr(struct leapraid_adapter * adapter,u32 rep_paddr) leapraid_get_reply_vaddr() argument
85 leapraid_get_task_desc(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_task_desc() argument
91 leapraid_get_sense_buffer(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_sense_buffer() argument
97 leapraid_get_sense_buffer_dma(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_sense_buffer_dma() argument
104 leapraid_mask_int(struct leapraid_adapter * adapter) leapraid_mask_int() argument
116 leapraid_unmask_int(struct leapraid_adapter * adapter) leapraid_unmask_int() argument
126 leapraid_overheat_suspend(struct leapraid_adapter * adapter) leapraid_overheat_suspend() argument
153 leapraid_stop_adapter_on_fault(struct leapraid_adapter * adapter,u32 db) leapraid_stop_adapter_on_fault() argument
177 leapraid_get_adapter_state(struct leapraid_adapter * adapter) leapraid_get_adapter_state() argument
188 leapraid_wait_adapter_ready(struct leapraid_adapter * adapter) leapraid_wait_adapter_ready() argument
207 leapraid_db_wait_int_host(struct leapraid_adapter * adapter) leapraid_db_wait_int_host() argument
222 leapraid_db_wait_ack_and_clear_int(struct leapraid_adapter * adapter) leapraid_db_wait_ack_and_clear_int() argument
251 leapraid_handshake_func(struct leapraid_adapter * adapter,int req_bytes,u32 * req,int rep_bytes,u16 * rep) leapraid_handshake_func() argument
320 leapraid_check_adapter_is_op(struct leapraid_adapter * adapter,int wait,const char * caller) leapraid_check_adapter_is_op() argument
357 leapraid_get_io_tracker_from_taskid(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_io_tracker_from_taskid() argument
374 leapraid_get_cb_idx(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_cb_idx() argument
394 leapraid_get_scmd_from_taskid(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_scmd_from_taskid() argument
421 leapraid_alloc_scsiio_taskid(struct leapraid_adapter * adapter,struct scsi_cmnd * scmd) leapraid_alloc_scsiio_taskid() argument
441 leapraid_check_pending_io(struct leapraid_adapter * adapter) leapraid_check_pending_io() argument
452 leapraid_clear_io_tracker(struct leapraid_adapter * adapter,struct leapraid_io_req_tracker * io_tracker) leapraid_clear_io_tracker() argument
464 leapraid_is_fixed_taskid(struct leapraid_adapter * adapter,u16 taskid) leapraid_is_fixed_taskid() argument
479 leapraid_free_taskid(struct leapraid_adapter * adapter,u16 taskid) leapraid_free_taskid() argument
503 leapraid_get_msix_idx(struct leapraid_adapter * adapter,struct scsi_cmnd * scmd) leapraid_get_msix_idx() argument
515 leapraid_get_and_set_msix_idx_from_taskid(struct leapraid_adapter * adapter,u16 taskid) leapraid_get_and_set_msix_idx_from_taskid() argument
531 leapraid_fire_scsi_io(struct leapraid_adapter * adapter,u16 taskid,u16 handle) leapraid_fire_scsi_io() argument
544 leapraid_fire_hpr_task(struct leapraid_adapter * adapter,u16 taskid,u16 msix_task) leapraid_fire_hpr_task() argument
556 leapraid_fire_task(struct leapraid_adapter * adapter,u16 taskid) leapraid_fire_task() argument
568 leapraid_clean_active_scsi_cmds(struct leapraid_adapter * adapter) leapraid_clean_active_scsi_cmds() argument
609 leapraid_clean_active_driver_cmds(struct leapraid_adapter * adapter) leapraid_clean_active_driver_cmds() argument
634 leapraid_clean_active_cmds(struct leapraid_adapter * adapter) leapraid_clean_active_cmds() argument
641 leapraid_tgt_not_responding(struct leapraid_adapter * adapter,u16 hdl) leapraid_tgt_not_responding() argument
675 leapraid_tgt_rst_send(struct leapraid_adapter * adapter,u16 hdl) leapraid_tgt_rst_send() argument
714 leapraid_single_mpi_sg_append(struct leapraid_adapter * adapter,void * sge,u32 flag_and_len,dma_addr_t dma_addr) leapraid_single_mpi_sg_append() argument
753 leapraid_build_nodata_mpi_sg(struct leapraid_adapter * adapter,void * sge) leapraid_build_nodata_mpi_sg() argument
766 leapraid_build_mpi_sg(struct leapraid_adapter * adapter,void * sge,dma_addr_t h2c_dma_addr,size_t h2c_size,dma_addr_t c2h_dma_addr,size_t c2h_size) leapraid_build_mpi_sg() argument
818 leapraid_build_ieee_nodata_sg(struct leapraid_adapter * adapter,void * sge) leapraid_build_ieee_nodata_sg() argument
829 leapraid_build_scmd_ieee_sg(struct leapraid_adapter * adapter,struct scsi_cmnd * scmd,u16 taskid) leapraid_build_scmd_ieee_sg() argument
927 leapraid_build_ieee_sg(struct leapraid_adapter * adapter,void * sge,dma_addr_t h2c_dma_addr,size_t h2c_size,dma_addr_t c2h_dma_addr,size_t c2h_size) leapraid_build_ieee_sg() argument
973 leapraid_hold_lock_get_sas_dev_from_tgt(struct leapraid_adapter * adapter,struct leapraid_starget_priv * tgt_priv) leapraid_hold_lock_get_sas_dev_from_tgt() argument
984 leapraid_get_sas_dev_from_tgt(struct leapraid_adapter * adapter,struct leapraid_starget_priv * tgt_priv) leapraid_get_sas_dev_from_tgt() argument
997 leapraid_get_port_by_id(struct leapraid_adapter * adapter,u8 port_id,bool skip_dirty) leapraid_get_port_by_id() argument
1053 leapraid_hold_lock_get_sas_dev_by_addr_and_rphy(struct leapraid_adapter * adapter,u64 sas_address,struct sas_rphy * rphy) leapraid_hold_lock_get_sas_dev_by_addr_and_rphy() argument
1079 leapraid_hold_lock_get_sas_dev_by_addr(struct leapraid_adapter * adapter,u64 sas_address,struct leapraid_card_port * port) leapraid_hold_lock_get_sas_dev_by_addr() argument
1109 leapraid_get_sas_dev_by_addr(struct leapraid_adapter * adapter,u64 sas_address,struct leapraid_card_port * port) leapraid_get_sas_dev_by_addr() argument
1128 leapraid_hold_lock_get_sas_dev_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_hold_lock_get_sas_dev_by_hdl() argument
1150 leapraid_get_sas_dev_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_get_sas_dev_by_hdl() argument
1161 leapraid_sas_dev_remove(struct leapraid_adapter * adapter,struct leapraid_sas_dev * sas_dev) leapraid_sas_dev_remove() argument
1187 leapraid_sas_dev_remove_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_sas_dev_remove_by_hdl() argument
1213 leapraid_sas_dev_remove_by_sas_address(struct leapraid_adapter * adapter,u64 sas_address,struct leapraid_card_port * port) leapraid_sas_dev_remove_by_sas_address() argument
1242 leapraid_raid_volume_find_by_id(struct leapraid_adapter * adapter,uint id,uint channel) leapraid_raid_volume_find_by_id() argument
1263 leapraid_raid_volume_find_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_raid_volume_find_by_hdl() argument
1284 leapraid_raid_volume_find_by_wwid(struct leapraid_adapter * adapter,u64 wwid) leapraid_raid_volume_find_by_wwid() argument
1304 leapraid_raid_volume_add(struct leapraid_adapter * adapter,struct leapraid_raid_volume * raid_volume) leapraid_raid_volume_add() argument
1315 leapraid_raid_volume_remove(struct leapraid_adapter * adapter,struct leapraid_raid_volume * raid_volume) leapraid_raid_volume_remove() argument
1340 leapraid_enc_find_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_enc_find_by_hdl() argument
1352 leapraid_exp_find_by_sas_address(struct leapraid_adapter * adapter,u64 sas_address,struct leapraid_card_port * port) leapraid_exp_find_by_sas_address() argument
1373 leapraid_scmd_find_by_tgt(struct leapraid_adapter * adapter,uint id,uint channel) leapraid_scmd_find_by_tgt() argument
1391 leapraid_scmd_find_by_lun(struct leapraid_adapter * adapter,uint id,unsigned int lun,uint channel) leapraid_scmd_find_by_lun() argument
1412 leapraid_exp_find_by_hdl(struct leapraid_adapter * adapter,u16 hdl) leapraid_exp_find_by_hdl() argument
1482 leapraid_check_card_port(struct leapraid_adapter * adapter,struct leapraid_card_port * card_port,struct leapraid_card_port ** expected_card_port,int * count) leapraid_check_card_port() argument
1514 leapraid_del_phy_part_of_anther_port(struct leapraid_adapter * adapter,struct leapraid_card_port * card_port_table,int index,u8 port_count,int offset) leapraid_del_phy_part_of_anther_port() argument
1542 leapraid_add_or_del_phys_from_existing_port(struct leapraid_adapter * adapter,struct leapraid_card_port * card_port,struct leapraid_card_port * card_port_table,int index,u8 port_count) leapraid_add_or_del_phys_from_existing_port() argument
1582 leapraid_get_next_sas_dev_from_init_list(struct leapraid_adapter * adapter) leapraid_get_next_sas_dev_from_init_list() argument
1683 leapraid_clear_boot_dev(struct leapraid_adapter * adapter,struct leapraid_boot_dev * boot_dev,void * dev,u32 chnl) leapraid_clear_boot_dev() argument
1707 leapraid_clear_cached_boot_dev(struct leapraid_adapter * adapter,void * dev,u32 chnl) leapraid_clear_cached_boot_dev() argument
1721 leapraid_check_boot_dev(struct leapraid_adapter * adapter,void * dev,u32 chnl) leapraid_check_boot_dev() argument
1907 leapraid_log_req_context(struct leapraid_adapter * adapter,u16 smid,const void * req_data) leapraid_log_req_context() argument
2005 leapraid_build_and_fire_cfg_req(struct leapraid_adapter * adapter,struct leapraid_cfg_req * leap_mpi_cfgp_req,struct leapraid_cfg_rep * leap_mpi_cfgp_rep) leapraid_build_and_fire_cfg_req() argument
2026 leapraid_req_cfg_func(struct leapraid_adapter * adapter,struct leapraid_cfg_req * leap_mpi_cfgp_req,struct leapraid_cfg_rep * leap_mpi_cfgp_rep,void * target_cfg_pg,void * real_cfg_pg_addr,u16 target_real_cfg_pg_sz) leapraid_req_cfg_func() argument
2140 leapraid_request_cfg_pg_header(struct leapraid_adapter * adapter,struct leapraid_cfg_req * leap_mpi_cfgp_req,struct leapraid_cfg_rep * leap_mpi_cfgp_rep) leapraid_request_cfg_pg_header() argument
2148 leapraid_request_cfg_pg(struct leapraid_adapter * adapter,struct leapraid_cfg_req * leap_mpi_cfgp_req,struct leapraid_cfg_rep * leap_mpi_cfgp_rep,void * target_cfg_pg,void * real_cfg_pg_addr,u16 target_real_cfg_pg_sz) leapraid_request_cfg_pg() argument
2159 leapraid_op_config_page(struct leapraid_adapter * adapter,void * target_cfg_pg,union cfg_param_1 cfgp1,union cfg_param_2 cfgp2,enum config_page_action cfg_op) leapraid_op_config_page() argument
2416 leapraid_cfg_get_volume_hdl_dispatch(struct leapraid_adapter * adapter,struct leapraid_cfg_req * cfg_req,struct leapraid_cfg_rep * cfg_rep,struct leapraid_raid_cfg_p0 * raid_cfg_p0,void * real_cfg_pg_addr,u16 real_cfg_pg_sz,u16 raid_cfg_p0_sz,u16 pd_hdl,u16 * vol_hdl) leapraid_cfg_get_volume_hdl_dispatch() argument
2463 leapraid_cfg_get_volume_hdl(struct leapraid_adapter * adapter,u16 pd_hdl,u16 * vol_hdl) leapraid_cfg_get_volume_hdl() argument
2536 leapraid_get_adapter_phys(struct leapraid_adapter * adapter,u8 * nr_phys) leapraid_get_adapter_phys() argument
2556 leapraid_cfg_get_number_pds(struct leapraid_adapter * adapter,u16 hdl,u8 * num_pds) leapraid_cfg_get_number_pds() argument
2575 leapraid_cfg_get_volume_wwid(struct leapraid_adapter * adapter,u16 vol_hdl,u64 * wwid) leapraid_cfg_get_volume_wwid() argument
2595 leapraid_get_sas_io_unit_page0(struct leapraid_adapter * adapter,struct leapraid_sas_io_unit_p0 * sas_io_unit_p0,u16 sas_iou_pg0_sz) leapraid_get_sas_io_unit_page0() argument
2607 leapraid_get_sas_address(struct leapraid_adapter * adapter,u16 hdl,u64 * sas_address) leapraid_get_sas_address() argument
2630 leapraid_get_volume_cap(struct leapraid_adapter * adapter,struct leapraid_raid_volume * raid_volume) leapraid_get_volume_cap() argument
2679 leapraid_should_skip_poll_work(struct leapraid_adapter * adapter) leapraid_should_skip_poll_work() argument
2695 struct leapraid_adapter *adapter = container_of(work, leapraid_fw_log_work() local
2731 leapraid_fw_log_stop(struct leapraid_adapter * adapter) leapraid_fw_log_stop() argument
2751 leapraid_fw_log_start(struct leapraid_adapter * adapter) leapraid_fw_log_start() argument
2784 struct leapraid_adapter *adapter; leapraid_check_scheduled_fault_work() local
2819 leapraid_check_scheduled_fault_start(struct leapraid_adapter * adapter) leapraid_check_scheduled_fault_start() argument
2850 leapraid_check_scheduled_fault_stop(struct leapraid_adapter * adapter) leapraid_check_scheduled_fault_stop() argument
2871 struct leapraid_adapter *adapter; leapraid_overheat_work() local
2926 leapraid_overheat_init(struct leapraid_adapter * adapter) leapraid_overheat_init() argument
2950 leapraid_overheat_cleanup(struct leapraid_adapter * adapter) leapraid_overheat_cleanup() argument
3003 leapraid_fw_evt_add(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_fw_evt_add() argument
3025 leapraid_del_fw_evt_from_list(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_del_fw_evt_from_list() argument
3039 leapraid_next_fw_evt(struct leapraid_adapter * adapter) leapraid_next_fw_evt() argument
3054 leapraid_clean_active_fw_evt(struct leapraid_adapter * adapter) leapraid_clean_active_fw_evt() argument
3123 leapraid_ublk_io_dev(struct leapraid_adapter * adapter,u64 sas_addr,struct leapraid_card_port * card_port) leapraid_ublk_io_dev() argument
3148 leapraid_ublk_io_all_dev(struct leapraid_adapter * adapter) leapraid_ublk_io_all_dev() argument
3190 leapraid_imm_blkio_to_end_dev(struct leapraid_adapter * adapter,struct leapraid_sas_port * sas_port) leapraid_imm_blkio_to_end_dev() argument
3235 leapraid_imm_blkio_set_end_dev_blk_hdls(struct leapraid_adapter * adapter,struct leapraid_topo_node * topo_node_exp) leapraid_imm_blkio_set_end_dev_blk_hdls() argument
3252 leapraid_imm_blkio_to_sib_exp(struct leapraid_adapter * adapter,struct leapraid_topo_node * topo_node_exp) leapraid_imm_blkio_to_sib_exp() argument
3277 leapraid_imm_blkio_to_kids_attchd_to_ex(struct leapraid_adapter * adapter,struct leapraid_topo_node * topo_node_exp) leapraid_imm_blkio_to_kids_attchd_to_ex() argument
3288 leapraid_report_sdev_directly(struct leapraid_adapter * adapter,struct leapraid_sas_dev * sas_dev) leapraid_report_sdev_directly() argument
3316 leapraid_init_sas_dev(struct leapraid_adapter * adapter,struct leapraid_sas_dev_p0 * sas_dev_pg0,struct leapraid_card_port * card_port,u16 hdl,u64 parent_sas_addr,u64 sas_addr,u32 dev_info) leapraid_init_sas_dev() argument
3366 leapraid_add_dev(struct leapraid_adapter * adapter,u16 hdl) leapraid_add_dev() argument
3433 leapraid_remove_device(struct leapraid_adapter * adapter,struct leapraid_sas_dev * sas_dev) leapraid_remove_device() argument
3463 leapraid_alloc_vphy(struct leapraid_adapter * adapter,u8 port_id,u8 phy_num) leapraid_alloc_vphy() argument
3490 leapraid_add_port_to_card_port_list(struct leapraid_adapter * adapter,u8 port_id,bool refresh) leapraid_add_port_to_card_port_list() argument
3513 leapraid_add_card_phy(struct leapraid_adapter * adapter,struct leapraid_sas_io_unit_p0 * iou,int i) leapraid_add_card_phy() argument
3558 leapraid_refresh_card_phy(struct leapraid_adapter * adapter,struct leapraid_sas_io_unit_p0 * iou,int i) leapraid_refresh_card_phy() argument
3628 leapraid_sas_host_add(struct leapraid_adapter * adapter,bool refresh) leapraid_sas_host_add() argument
3711 leapraid_internal_exp_add(struct leapraid_adapter * adapter,struct leapraid_exp_p0 * exp_pg0,union cfg_param_1 * cfgp1,union cfg_param_2 * cfgp2,u16 hdl) leapraid_internal_exp_add() argument
3836 leapraid_exp_add(struct leapraid_adapter * adapter,u16 hdl) leapraid_exp_add() argument
3907 leapraid_exp_node_rm(struct leapraid_adapter * adapter,struct leapraid_topo_node * topo_node_exp) leapraid_exp_node_rm() argument
3954 leapraid_exp_rm(struct leapraid_adapter * adapter,u64 sas_addr,struct leapraid_card_port * port) leapraid_exp_rm() argument
3977 leapraid_internal_sas_topo_chg_evt(struct leapraid_adapter * adapter,struct leapraid_card_port * card_port,struct leapraid_topo_node * topo_node_exp,struct leapraid_fw_evt_work * fw_evt,u64 sas_addr,u8 max_phys) leapraid_internal_sas_topo_chg_evt() argument
4037 leapraid_sas_topo_chg_evt(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_sas_topo_chg_evt() argument
4098 leapraid_sas_pd_add(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_pd_add() argument
4145 leapraid_sas_pd_delete(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_pd_delete() argument
4155 leapraid_sas_pd_hide(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_pd_hide() argument
4204 leapraid_sas_pd_expose(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_pd_expose() argument
4251 leapraid_sas_vol_visibility(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_vol_visibility() argument
4323 leapraid_sas_volume_add(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_sas_volume_add() argument
4379 leapraid_sas_volume_delete_by_ptr(struct leapraid_adapter * adapter,struct leapraid_raid_volume * raid_volume) leapraid_sas_volume_delete_by_ptr() argument
4412 leapraid_sas_volume_delete(struct leapraid_adapter * adapter,u16 hdl) leapraid_sas_volume_delete() argument
4429 leapraid_sas_ir_chg_evt(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_sas_ir_chg_evt() argument
4466 leapraid_sas_enc_dev_stat_add_node(struct leapraid_adapter * adapter,u16 hdl) leapraid_sas_enc_dev_stat_add_node() argument
4500 leapraid_sas_enc_dev_stat_del_node(struct leapraid_adapter * adapter,u16 hdl) leapraid_sas_enc_dev_stat_del_node() argument
4518 leapraid_sas_enc_dev_stat_chg_evt(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_sas_enc_dev_stat_chg_evt() argument
4543 leapraid_remove_unresp_sas_end_dev(struct leapraid_adapter * adapter) leapraid_remove_unresp_sas_end_dev() argument
4579 leapraid_remove_unresp_raid_volumes(struct leapraid_adapter * adapter) leapraid_remove_unresp_raid_volumes() argument
4603 leapraid_remove_unresp_sas_exp(struct leapraid_adapter * adapter) leapraid_remove_unresp_sas_exp() argument
4627 leapraid_remove_unresp_dev(struct leapraid_adapter * adapter) leapraid_remove_unresp_dev() argument
4636 leapraid_del_dirty_vphy(struct leapraid_adapter * adapter) leapraid_del_dirty_vphy() argument
4661 leapraid_del_dirty_card_port(struct leapraid_adapter * adapter) leapraid_del_dirty_card_port() argument
4676 leapraid_update_dev_qdepth(struct leapraid_adapter * adapter) leapraid_update_dev_qdepth() argument
4704 leapraid_update_exp_links(struct leapraid_adapter * adapter,struct leapraid_topo_node * topo_node_exp,u16 hdl) leapraid_update_exp_links() argument
4731 leapraid_scan_exp_after_reset(struct leapraid_adapter * adapter) leapraid_scan_exp_after_reset() argument
4774 leapraid_scan_phy_disks_after_reset(struct leapraid_adapter * adapter) leapraid_scan_phy_disks_after_reset() argument
4837 leapraid_scan_vol_after_reset(struct leapraid_adapter * adapter) leapraid_scan_vol_after_reset() argument
4897 leapraid_scan_sas_dev_after_reset(struct leapraid_adapter * adapter) leapraid_scan_sas_dev_after_reset() argument
4958 leapraid_scan_all_dev_after_reset(struct leapraid_adapter * adapter) leapraid_scan_all_dev_after_reset() argument
4969 leapraid_hardreset_async_logic(struct leapraid_adapter * adapter) leapraid_hardreset_async_logic() argument
4987 leapraid_send_enc_cmd(struct leapraid_adapter * adapter,struct leapraid_sep_rep * sep_rep,struct leapraid_sep_req * sep_req) leapraid_send_enc_cmd() argument
5039 leapraid_set_led(struct leapraid_adapter * adapter,struct leapraid_sas_dev * sas_dev,bool on) leapraid_set_led() argument
5075 leapraid_wait_adapter_recovery(struct leapraid_adapter * adapter) leapraid_wait_adapter_recovery() argument
5112 leapraid_fw_work(struct leapraid_adapter * adapter,struct leapraid_fw_evt_work * fw_evt) leapraid_fw_work() argument
5168 leapraid_sas_dev_stat_chg_evt(struct leapraid_adapter * adapter,struct leapraid_evt_data_sas_dev_status_change * event_data) leapraid_sas_dev_stat_chg_evt() argument
5214 leapraid_set_volume_delete_flag(struct leapraid_adapter * adapter,u16 handle) leapraid_set_volume_delete_flag() argument
5236 leapraid_check_ir_change_evt(struct leapraid_adapter * adapter,struct leapraid_evt_data_ir_change * evt_data) leapraid_check_ir_change_evt() argument
5265 leapraid_topo_del_evts_process_exp_status(struct leapraid_adapter * adapter,struct leapraid_evt_data_sas_topo_change_list * evt_data) leapraid_topo_del_evts_process_exp_status() argument
5301 leapraid_check_topo_del_evts(struct leapraid_adapter * adapter,struct leapraid_evt_data_sas_topo_change_list * evt_data) leapraid_check_topo_del_evts() argument
5323 leapraid_async_evt_validate(struct leapraid_adapter * adapter,struct leapraid_evt_notify_rep * event_notify_rep) leapraid_async_evt_validate() argument
5397 leapraid_async_process_evt(struct leapraid_adapter * adapter,struct leapraid_evt_notify_rep * event_notify_rep) leapraid_async_process_evt() argument
5441 leapraid_async_evt_cb_enqueue(struct leapraid_adapter * adapter,struct leapraid_evt_notify_rep * evt_notify_rep) leapraid_async_evt_cb_enqueue() argument
5464 leapraid_async_evt_cb(struct leapraid_adapter * adapter,u8 msix_index,u32 rep_paddr) leapraid_async_evt_cb() argument
5486 leapraid_handle_async_event(struct leapraid_adapter * adapter,u8 msix_index,u32 reply) leapraid_handle_async_event() argument
5501 leapraid_async_turn_on_led(struct leapraid_adapter * adapter,u16 handle) leapraid_async_turn_on_led() argument
5516 leapraid_hardreset_barrier(struct leapraid_adapter * adapter) leapraid_hardreset_barrier() argument
5530 leapraid_scan_dev_complete(struct leapraid_adapter * adapter) leapraid_scan_dev_complete() argument
5544 leapraid_handle_scan_cb(struct leapraid_adapter * adapter,struct leapraid_driver_cmd * cmd,struct leapraid_rep * rep) leapraid_handle_scan_cb() argument
5568 leapraid_handle_ctl_cb(struct leapraid_adapter * adapter,struct leapraid_rep * rep,u16 taskid) leapraid_handle_ctl_cb() argument
5589 leapraid_driver_cmds_done(struct leapraid_adapter * adapter,u16 taskid,u8 msix_index,u32 rep_paddr,u8 cb_idx) leapraid_driver_cmds_done() argument
5637 leapraid_complete_task(struct leapraid_adapter * adapter,u16 taskid,u8 msix_idx,u32 rep) leapraid_complete_task() argument
5654 leapraid_request_descript_handler(struct leapraid_adapter * adapter,union leapraid_rep_desc_union * rpf,u8 req_desc_type,u8 msix_idx) leapraid_request_descript_handler() argument
5702 struct leapraid_adapter *adapter = rq->adapter; leapraid_rep_queue_handler() local
5764 struct leapraid_adapter *adapter = rq->adapter; leapraid_irq_handler() local
5777 leapraid_sync_irqs(struct leapraid_adapter * adapter,bool poll) leapraid_sync_irqs() argument
5822 leapraid_sync_irqs_for_cleanup(struct leapraid_adapter * adapter) leapraid_sync_irqs_for_cleanup() argument
5838 leapraid_mq_polling_pause(struct leapraid_adapter * adapter) leapraid_mq_polling_pause() argument
5858 leapraid_mq_polling_resume(struct leapraid_adapter * adapter) leapraid_mq_polling_resume() argument
5871 leapraid_unlock_host_diag(struct leapraid_adapter * adapter,u32 * host_diag) leapraid_unlock_host_diag() argument
5904 leapraid_host_diag_reset(struct leapraid_adapter * adapter) leapraid_host_diag_reset() argument
5956 leapraid_fill_card_port_table(struct leapraid_adapter * adapter,struct leapraid_sas_io_unit_p0 * sas_iounit_p0,struct leapraid_card_port * new_card_port_table) leapraid_fill_card_port_table() argument
5999 leapraid_set_new_card_port_table_after_reset(struct leapraid_adapter * adapter,struct leapraid_card_port * new_card_port_table) leapraid_set_new_card_port_table_after_reset() argument
6028 leapraid_update_existing_port(struct leapraid_adapter * adapter,struct leapraid_card_port * new_table,int entry_idx,int port_entry_num) leapraid_update_existing_port() argument
6077 leapraid_update_card_port_after_reset(struct leapraid_adapter * adapter) leapraid_update_card_port_after_reset() argument
6123 leapraid_is_valid_vphy(struct leapraid_adapter * adapter,struct leapraid_sas_io_unit_p0 * sas_io_unit_p0,int phy_index) leapraid_is_valid_vphy() argument
6153 leapraid_update_vphy_binding(struct leapraid_adapter * adapter,struct leapraid_card_port * card_port,struct leapraid_vphy * vphy,int phy_index,u8 may_new_port_id,u64 attached_sas_addr) leapraid_update_vphy_binding() argument
6201 leapraid_update_vphys_after_reset(struct leapraid_adapter * adapter) leapraid_update_vphys_after_reset() argument
6289 leapraid_mark_all_dev_deleted(struct leapraid_adapter * adapter) leapraid_mark_all_dev_deleted() argument
6301 leapraid_free_enc_list(struct leapraid_adapter * adapter) leapraid_free_enc_list() argument
6318 leapraid_rebuild_enc_list_after_reset(struct leapraid_adapter * adapter) leapraid_rebuild_enc_list_after_reset() argument
6349 leapraid_mark_resp_sas_dev(struct leapraid_adapter * adapter,struct leapraid_sas_dev_p0 * sas_dev_p0) leapraid_mark_resp_sas_dev() argument
6442 leapraid_search_resp_sas_dev(struct leapraid_adapter * adapter) leapraid_search_resp_sas_dev() argument
6465 leapraid_mark_resp_raid_volume(struct leapraid_adapter * adapter,u64 wwid,u16 hdl) leapraid_mark_resp_raid_volume() argument
6514 leapraid_search_resp_raid_volume(struct leapraid_adapter * adapter) leapraid_search_resp_raid_volume() argument
6575 leapraid_mark_resp_exp(struct leapraid_adapter * adapter,struct leapraid_exp_p0 * exp_pg0) leapraid_mark_resp_exp() argument
6624 leapraid_search_resp_exp(struct leapraid_adapter * adapter) leapraid_search_resp_exp() argument
6654 leapraid_wait_cmds_done(struct leapraid_adapter * adapter) leapraid_wait_cmds_done() argument
6689 leapraid_hard_reset_handler(struct leapraid_adapter * adapter,enum reset_type type) leapraid_hard_reset_handler() argument
6794 leapraid_get_adapter_features(struct leapraid_adapter * adapter) leapraid_get_adapter_features() argument
6920 leapraid_disable_pcie(struct leapraid_adapter * adapter) leapraid_disable_pcie() argument
6934 leapraid_enable_pcie(struct leapraid_adapter * adapter) leapraid_enable_pcie() argument
6979 leapraid_cpus_on_irq(struct leapraid_adapter * adapter) leapraid_cpus_on_irq() argument
7014 leapraid_map_msix_to_cpu(struct leapraid_adapter * adapter) leapraid_map_msix_to_cpu() argument
7048 leapraid_alloc_msix_cpu_map(struct leapraid_adapter * adapter) leapraid_alloc_msix_cpu_map() argument
7061 leapraid_configure_reply_queue_affinity(struct leapraid_adapter * adapter) leapraid_configure_reply_queue_affinity() argument
7069 leapraid_free_irq(struct leapraid_adapter * adapter) leapraid_free_irq() argument
7107 leapraid_setup_irqs(struct leapraid_adapter * adapter) leapraid_setup_irqs() argument
7161 leapraid_setup_legacy_int(struct leapraid_adapter * adapter) leapraid_setup_legacy_int() argument
7204 leapraid_set_legacy_int(struct leapraid_adapter * adapter) leapraid_set_legacy_int() argument
7230 leapraid_set_msix(struct leapraid_adapter * adapter) leapraid_set_msix() argument
7325 leapraid_set_msi(struct leapraid_adapter * adapter) leapraid_set_msi() argument
7441 leapraid_set_notification_auto(struct leapraid_adapter * adapter) leapraid_set_notification_auto() argument
7469 leapraid_set_pcie_and_notification(struct leapraid_adapter * adapter) leapraid_set_pcie_and_notification() argument
7505 leapraid_disable_controller(struct leapraid_adapter * adapter) leapraid_disable_controller() argument
7521 leapraid_adapter_unit_reset(struct leapraid_adapter * adapter) leapraid_adapter_unit_reset() argument
7538 leapraid_make_adapter_ready(struct leapraid_adapter * adapter,enum reset_type type) leapraid_make_adapter_ready() argument
7583 leapraid_fw_log_exit(struct leapraid_adapter * adapter) leapraid_fw_log_exit() argument
7600 leapraid_fw_log_init(struct leapraid_adapter * adapter) leapraid_fw_log_init() argument
7654 leapraid_free_host_memory(struct leapraid_adapter * adapter) leapraid_free_host_memory() argument
7745 leapraid_internal_init_cmd_priv(struct leapraid_adapter * adapter,struct leapraid_io_req_tracker * io_tracker) leapraid_internal_init_cmd_priv() argument
7759 leapraid_internal_exit_cmd_priv(struct leapraid_adapter * adapter,struct leapraid_io_req_tracker * io_tracker) leapraid_internal_exit_cmd_priv() argument
7768 leapraid_request_host_memory(struct leapraid_adapter * adapter) leapraid_request_host_memory() argument
8036 leapraid_alloc_dev_topo_bitmaps(struct leapraid_adapter * adapter) leapraid_alloc_dev_topo_bitmaps() argument
8059 leapraid_free_dev_topo_bitmaps(struct leapraid_adapter * adapter) leapraid_free_dev_topo_bitmaps() argument
8065 leapraid_init_driver_cmds(struct leapraid_adapter * adapter) leapraid_init_driver_cmds() argument
8114 leapraid_unmask_evts(struct leapraid_adapter * adapter,u16 evt) leapraid_unmask_evts() argument
8122 leapraid_init_event_mask(struct leapraid_adapter * adapter) leapraid_init_event_mask() argument
8137 leapraid_prepare_adapter_init_req(struct leapraid_adapter * adapter,struct leapraid_adapter_init_req * init_req) leapraid_prepare_adapter_init_req() argument
8201 leapraid_send_adapter_init(struct leapraid_adapter * adapter) leapraid_send_adapter_init() argument
8232 leapraid_cfg_pages(struct leapraid_adapter * adapter) leapraid_cfg_pages() argument
8285 leapraid_evt_notify(struct leapraid_adapter * adapter) leapraid_evt_notify() argument
8336 leapraid_scan_dev(struct leapraid_adapter * adapter,bool async_scan_dev) leapraid_scan_dev() argument
8393 leapraid_init_task_tracker(struct leapraid_adapter * adapter) leapraid_init_task_tracker() argument
8402 leapraid_init_rep_msg_addr(struct leapraid_adapter * adapter) leapraid_init_rep_msg_addr() argument
8418 struct leapraid_adapter *adapter = rq->adapter; init_rep_desc() local
8437 leapraid_init_rep_desc(struct leapraid_adapter * adapter) leapraid_init_rep_desc() argument
8473 leapraid_init_bar_idx_regs(struct leapraid_adapter * adapter) leapraid_init_bar_idx_regs() argument
8501 leapraid_make_adapter_available(struct leapraid_adapter * adapter) leapraid_make_adapter_available() argument
8534 leapraid_ctrl_init(struct leapraid_adapter * adapter) leapraid_ctrl_init() argument
8605 leapraid_remove_ctrl(struct leapraid_adapter * adapter) leapraid_remove_ctrl() argument
[all...]
/linux/drivers/s390/scsi/
H A Dzfcp_aux.c60 struct zfcp_adapter *adapter; in zfcp_init_device_configure() local
70 adapter = zfcp_ccw_adapter_by_cdev(cdev); in zfcp_init_device_configure()
71 if (!adapter) in zfcp_init_device_configure()
74 port = zfcp_get_port_by_wwpn(adapter, wwpn); in zfcp_init_device_configure()
83 zfcp_ccw_adapter_put(adapter); in zfcp_init_device_configure()
188 struct zfcp_port *zfcp_get_port_by_wwpn(struct zfcp_adapter *adapter, in zfcp_get_port_by_wwpn() argument
194 read_lock_irqsave(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
195 list_for_each_entry(port, &adapter->port_list, list) in zfcp_get_port_by_wwpn()
199 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
202 read_unlock_irqrestore(&adapter->port_list_lock, flags); in zfcp_get_port_by_wwpn()
[all …]
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_main.c58 static int idpf_dev_init(struct idpf_adapter *adapter, in idpf_dev_init() argument
61 struct libie_mmio_info *mmio_info = &adapter->ctlq_ctx.mmio_info; in idpf_dev_init()
64 ret = libie_pci_init_dev(adapter->pdev); in idpf_dev_init()
68 mmio_info->pdev = adapter->pdev; in idpf_dev_init()
72 ret = idpf_get_device_type(adapter->pdev); in idpf_dev_init()
75 idpf_vf_dev_ops_init(adapter); in idpf_dev_init()
76 adapter->crc_enable = true; in idpf_dev_init()
79 idpf_dev_ops_init(adapter); in idpf_dev_init()
90 idpf_dev_ops_init(adapter); in idpf_dev_init()
93 idpf_vf_dev_ops_init(adapter); in idpf_dev_init()
[all …]
/linux/drivers/scsi/
H A Dvmw_pvscsi.c149 pvscsi_dev(const struct pvscsi_adapter *adapter) in pvscsi_dev() argument
151 return &(adapter->dev->dev); in pvscsi_dev()
155 pvscsi_find_context(const struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_find_context() argument
159 end = &adapter->cmd_map[adapter->req_depth]; in pvscsi_find_context()
160 for (ctx = adapter->cmd_map; ctx < end; ctx++) in pvscsi_find_context()
168 pvscsi_acquire_context(struct pvscsi_adapter *adapter, struct scsi_cmnd *cmd) in pvscsi_acquire_context() argument
172 if (list_empty(&adapter->cmd_pool)) in pvscsi_acquire_context()
175 ctx = list_first_entry(&adapter->cmd_pool, struct pvscsi_ctx, list); in pvscsi_acquire_context()
182 static void pvscsi_release_context(struct pvscsi_adapter *adapter, in pvscsi_release_context() argument
187 list_add(&ctx->list, &adapter->cmd_pool); in pvscsi_release_context()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c161 static void ixgbe_ptp_setup_sdp_X540(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X540() argument
163 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X540()
164 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_ptp_setup_sdp_X540()
173 if (!(adapter->flags2 & IXGBE_FLAG2_PTP_PPS_ENABLED)) in ixgbe_ptp_setup_sdp_X540()
199 spin_lock_irqsave(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
200 ns = timecounter_read(&adapter->hw_tc); in ixgbe_ptp_setup_sdp_X540()
201 clock_edge = adapter->hw_tc.cycle_last; in ixgbe_ptp_setup_sdp_X540()
202 spin_unlock_irqrestore(&adapter->tmreg_lock, flags); in ixgbe_ptp_setup_sdp_X540()
240 static void ixgbe_ptp_setup_sdp_X550(struct ixgbe_adapter *adapter) in ixgbe_ptp_setup_sdp_X550() argument
243 struct cyclecounter *cc = &adapter->hw_cc; in ixgbe_ptp_setup_sdp_X550()
[all …]
H A Dixgbe_sriov.c25 static inline void ixgbe_alloc_vf_macvlans(struct ixgbe_adapter *adapter, in ixgbe_alloc_vf_macvlans() argument
28 struct ixgbe_hw *hw = &adapter->hw; in ixgbe_alloc_vf_macvlans()
33 INIT_LIST_HEAD(&adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans()
45 list_add(&mv_list[i].l, &adapter->vf_mvs.l); in ixgbe_alloc_vf_macvlans()
47 adapter->mv_list = mv_list; in ixgbe_alloc_vf_macvlans()
51 static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter, in __ixgbe_enable_sriov() argument
54 struct ixgbe_hw *hw = &adapter->hw; in __ixgbe_enable_sriov()
57 if (adapter->xdp_prog) { in __ixgbe_enable_sriov()
63 adapter->flags |= IXGBE_FLAG_SRIOV_ENABLED | in __ixgbe_enable_sriov()
67 adapter->vfinfo = kzalloc_objs(struct vf_data_storage, num_vfs); in __ixgbe_enable_sriov()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Despi.c35 adapter_t *adapter; member
51 static int tricn_write(adapter_t *adapter, int bundle_addr, int module_addr, in tricn_write() argument
61 adapter->regs + A_ESPI_CMD_ADDR); in tricn_write()
62 writel(0, adapter->regs + A_ESPI_GOSTAT); in tricn_write()
65 busy = readl(adapter->regs + A_ESPI_GOSTAT) & F_ESPI_CMD_BUSY; in tricn_write()
69 pr_err("%s: TRICN write timed out\n", adapter->name); in tricn_write()
74 static int tricn_init(adapter_t *adapter) in tricn_init() argument
78 if (!(readl(adapter->regs + A_ESPI_RX_RESET) & F_RX_CLK_STATUS)) { in tricn_init()
79 pr_err("%s: ESPI clock not ready\n", adapter->name); in tricn_init()
83 writel(F_ESPI_RX_CORE_RST, adapter->regs + A_ESPI_RX_RESET); in tricn_init()
[all …]
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c31 static bool pci11x1x_is_a0(struct lan743x_adapter *adapter) in pci11x1x_is_a0() argument
33 u32 dev_rev = adapter->csr.id_rev & ID_REV_CHIP_REV_MASK_; in pci11x1x_is_a0()
37 static void pci11x1x_strap_get_status(struct lan743x_adapter *adapter) in pci11x1x_strap_get_status() argument
45 adapter->is_rmii_en = false; in pci11x1x_strap_get_status()
47 ret = lan743x_hs_syslock_acquire(adapter, 100); in pci11x1x_strap_get_status()
49 netif_err(adapter, drv, adapter->netdev, in pci11x1x_strap_get_status()
54 cfg_load = lan743x_csr_read(adapter, ETH_SYS_CONFIG_LOAD_STARTED_REG); in pci11x1x_strap_get_status()
55 lan743x_hs_syslock_release(adapter); in pci11x1x_strap_get_status()
56 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status()
57 strap = lan743x_csr_read(adapter, STRAP_READ); in pci11x1x_strap_get_status()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dt3_hw.c38 static void t3_port_intr_clear(struct adapter *adapter, int idx);
56 int t3_wait_op_done_val(struct adapter *adapter, int reg, u32 mask, in t3_wait_op_done_val() argument
60 u32 val = t3_read_reg(adapter, reg); in t3_wait_op_done_val()
85 void t3_write_regs(struct adapter *adapter, const struct addr_val_pair *p, in t3_write_regs() argument
89 t3_write_reg(adapter, p->reg_addr + offset, p->val); in t3_write_regs()
104 void t3_set_reg_field(struct adapter *adapter, unsigned int addr, u32 mask, in t3_set_reg_field() argument
107 u32 v = t3_read_reg(adapter, addr) & ~mask; in t3_set_reg_field()
109 t3_write_reg(adapter, addr, v | val); in t3_set_reg_field()
110 t3_read_reg(adapter, addr); /* flush */ in t3_set_reg_field()
125 static void t3_read_indirect(struct adapter *adap, unsigned int addr_reg, in t3_read_indirect()
[all …]
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c54 vmxnet3_write_mac_addr(struct vmxnet3_adapter *adapter, const u8 *mac);
60 vmxnet3_enable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_enable_intr() argument
62 VMXNET3_WRITE_BAR0_REG(adapter, VMXNET3_REG_IMR + intr_idx * 8, 0); in vmxnet3_enable_intr()
67 vmxnet3_disable_intr(struct vmxnet3_adapter *adapter, unsigned intr_idx) in vmxnet3_disable_intr() argument
69 VMXNET3_WRITE_BAR0_REG(adapter, VMXNET3_REG_IMR + intr_idx * 8, 1); in vmxnet3_disable_intr()
77 vmxnet3_enable_all_intrs(struct vmxnet3_adapter *adapter) in vmxnet3_enable_all_intrs() argument
81 for (i = 0; i < adapter->intr.num_intrs; i++) in vmxnet3_enable_all_intrs()
82 vmxnet3_enable_intr(adapter, i); in vmxnet3_enable_all_intrs()
83 if (!VMXNET3_VERSION_GE_6(adapter) || in vmxnet3_enable_all_intrs()
84 !adapter->queuesExtEnabled) { in vmxnet3_enable_all_intrs()
[all …]

12345678910>>...43