Lines Matching defs:adapter

594 	struct qlcnic_adapter *adapter;  member
628 struct qlcnic_adapter *adapter; member
1028 #define QLCNIC_IS_MSI_FAMILY(adapter) \ argument
1030 #define QLCNIC_IS_TSO_CAPABLE(adapter) \ argument
1087 struct qlcnic_adapter *adapter; member
1544 #define QLCRD32(adapter, off, err) \ argument
1547 #define QLCWR32(adapter, off, val) \ argument
1830 static inline bool qlcnic_83xx_encap_tx_offload(struct qlcnic_adapter *adapter) in qlcnic_83xx_encap_tx_offload()
1836 static inline bool qlcnic_83xx_encap_rx_offload(struct qlcnic_adapter *adapter) in qlcnic_83xx_encap_rx_offload()
1842 static inline bool qlcnic_82xx_encap_tx_offload(struct qlcnic_adapter *adapter) in qlcnic_82xx_encap_tx_offload()
1847 static inline bool qlcnic_82xx_encap_rx_offload(struct qlcnic_adapter *adapter) in qlcnic_82xx_encap_rx_offload()
1852 static inline bool qlcnic_encap_rx_offload(struct qlcnic_adapter *adapter) in qlcnic_encap_rx_offload()
1857 static inline bool qlcnic_encap_tx_offload(struct qlcnic_adapter *adapter) in qlcnic_encap_tx_offload()
1862 static inline int qlcnic_start_firmware(struct qlcnic_adapter *adapter) in qlcnic_start_firmware()
1867 static inline void qlcnic_read_crb(struct qlcnic_adapter *adapter, char *buf, in qlcnic_read_crb()
1873 static inline void qlcnic_write_crb(struct qlcnic_adapter *adapter, char *buf, in qlcnic_write_crb()
1879 static inline int qlcnic_get_mac_address(struct qlcnic_adapter *adapter, in qlcnic_get_mac_address()
1885 static inline int qlcnic_setup_intr(struct qlcnic_adapter *adapter) in qlcnic_setup_intr()
1891 struct qlcnic_adapter *adapter, u32 arg) in qlcnic_alloc_mbx_args()
1896 static inline int qlcnic_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_issue_cmd()
1905 static inline void qlcnic_get_func_no(struct qlcnic_adapter *adapter) in qlcnic_get_func_no()
1910 static inline int qlcnic_api_lock(struct qlcnic_adapter *adapter) in qlcnic_api_lock()
1915 static inline void qlcnic_api_unlock(struct qlcnic_adapter *adapter) in qlcnic_api_unlock()
1920 static inline void qlcnic_add_sysfs(struct qlcnic_adapter *adapter) in qlcnic_add_sysfs()
1926 static inline void qlcnic_remove_sysfs(struct qlcnic_adapter *adapter) in qlcnic_remove_sysfs()
1938 static inline int qlcnic_fw_cmd_create_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_create_rx_ctx()
1943 static inline int qlcnic_fw_cmd_create_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_fw_cmd_create_tx_ctx()
1950 static inline void qlcnic_fw_cmd_del_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_del_rx_ctx()
1955 static inline void qlcnic_fw_cmd_del_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_fw_cmd_del_tx_ctx()
1961 static inline int qlcnic_linkevent_request(struct qlcnic_adapter *adapter, in qlcnic_linkevent_request()
1967 static inline int qlcnic_get_nic_info(struct qlcnic_adapter *adapter, in qlcnic_get_nic_info()
1973 static inline int qlcnic_get_pci_info(struct qlcnic_adapter *adapter, in qlcnic_get_pci_info()
1979 static inline int qlcnic_set_nic_info(struct qlcnic_adapter *adapter, in qlcnic_set_nic_info()
1985 static inline int qlcnic_sre_macaddr_change(struct qlcnic_adapter *adapter, in qlcnic_sre_macaddr_change()
1991 static inline int qlcnic_napi_add(struct qlcnic_adapter *adapter, in qlcnic_napi_add()
1997 static inline void qlcnic_napi_del(struct qlcnic_adapter *adapter) in qlcnic_napi_del()
2002 static inline void qlcnic_napi_enable(struct qlcnic_adapter *adapter) in qlcnic_napi_enable()
2009 struct qlcnic_adapter *adapter = pci_get_drvdata(pdev); in __qlcnic_shutdown() local
2014 static inline int __qlcnic_resume(struct qlcnic_adapter *adapter) in __qlcnic_resume()
2019 static inline void qlcnic_napi_disable(struct qlcnic_adapter *adapter) in qlcnic_napi_disable()
2024 static inline int qlcnic_config_intr_coalesce(struct qlcnic_adapter *adapter, in qlcnic_config_intr_coalesce()
2030 static inline int qlcnic_config_rss(struct qlcnic_adapter *adapter, int enable) in qlcnic_config_rss()
2035 static inline int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, in qlcnic_config_hw_lro()
2041 static inline int qlcnic_set_lb_mode(struct qlcnic_adapter *adapter, u8 mode) in qlcnic_set_lb_mode()
2046 static inline int qlcnic_clear_lb_mode(struct qlcnic_adapter *adapter, u8 mode) in qlcnic_clear_lb_mode()
2051 static inline int qlcnic_nic_set_promisc(struct qlcnic_adapter *adapter, in qlcnic_nic_set_promisc()
2057 static inline void qlcnic_change_filter(struct qlcnic_adapter *adapter, in qlcnic_change_filter()
2064 static inline int qlcnic_get_board_info(struct qlcnic_adapter *adapter) in qlcnic_get_board_info()
2069 static inline void qlcnic_free_mac_list(struct qlcnic_adapter *adapter) in qlcnic_free_mac_list()
2074 static inline void qlcnic_set_mac_filter_count(struct qlcnic_adapter *adapter) in qlcnic_set_mac_filter_count()
2080 static inline void qlcnic_get_beacon_state(struct qlcnic_adapter *adapter) in qlcnic_get_beacon_state()
2085 static inline void qlcnic_read_phys_port_id(struct qlcnic_adapter *adapter) in qlcnic_read_phys_port_id()
2091 static inline u32 qlcnic_get_saved_state(struct qlcnic_adapter *adapter, in qlcnic_get_saved_state()
2097 static inline void qlcnic_set_saved_state(struct qlcnic_adapter *adapter, in qlcnic_set_saved_state()
2103 static inline void qlcnic_cache_tmpl_hdr_values(struct qlcnic_adapter *adapter, in qlcnic_cache_tmpl_hdr_values()
2109 static inline u32 qlcnic_get_cap_size(struct qlcnic_adapter *adapter, in qlcnic_get_cap_size()
2115 static inline void qlcnic_set_sys_info(struct qlcnic_adapter *adapter, in qlcnic_set_sys_info()
2121 static inline void qlcnic_store_cap_mask(struct qlcnic_adapter *adapter, in qlcnic_store_cap_mask()
2127 static inline void qlcnic_dev_request_reset(struct qlcnic_adapter *adapter, in qlcnic_dev_request_reset()
2134 static inline void qlcnic_cancel_idc_work(struct qlcnic_adapter *adapter) in qlcnic_cancel_idc_work()
2141 qlcnic_clear_legacy_intr(struct qlcnic_adapter *adapter) in qlcnic_clear_legacy_intr()
2146 static inline int qlcnic_config_led(struct qlcnic_adapter *adapter, u32 state, in qlcnic_config_led()
2152 static inline void qlcnic_config_ipaddr(struct qlcnic_adapter *adapter, in qlcnic_config_ipaddr()
2158 static inline bool qlcnic_check_multi_tx(struct qlcnic_adapter *adapter) in qlcnic_check_multi_tx()
2164 qlcnic_82xx_enable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_82xx_enable_tx_intr()
2173 qlcnic_82xx_disable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_82xx_disable_tx_intr()
2182 qlcnic_83xx_enable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_enable_tx_intr()
2189 qlcnic_83xx_disable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_disable_tx_intr()
2197 qlcnic_83xx_enable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_enable_sds_intr()
2205 qlcnic_83xx_disable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_disable_sds_intr()
2211 static inline void qlcnic_disable_multi_tx(struct qlcnic_adapter *adapter) in qlcnic_disable_multi_tx()
2221 qlcnic_82xx_disable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_82xx_disable_sds_intr()
2232 static inline void qlcnic_enable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_enable_sds_intr()
2240 qlcnic_disable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_disable_sds_intr()
2247 static inline void qlcnic_enable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_enable_tx_intr()
2254 static inline void qlcnic_disable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_disable_tx_intr()
2265 qlcnic_82xx_enable_sds_intr(struct qlcnic_adapter *adapter, in qlcnic_82xx_enable_sds_intr()
2279 static inline int qlcnic_get_diag_lock(struct qlcnic_adapter *adapter) in qlcnic_get_diag_lock()
2284 static inline void qlcnic_release_diag_lock(struct qlcnic_adapter *adapter) in qlcnic_release_diag_lock()
2289 static inline int qlcnic_check_diag_status(struct qlcnic_adapter *adapter) in qlcnic_check_diag_status()
2298 #define QLCDB(adapter, lvl, _fmt, _args...) do { \ argument
2313 static inline bool qlcnic_82xx_check(struct qlcnic_adapter *adapter) in qlcnic_82xx_check()
2319 static inline bool qlcnic_84xx_check(struct qlcnic_adapter *adapter) in qlcnic_84xx_check()
2327 static inline bool qlcnic_83xx_check(struct qlcnic_adapter *adapter) in qlcnic_83xx_check()
2342 static inline bool qlcnic_sriov_pf_check(struct qlcnic_adapter *adapter) in qlcnic_sriov_pf_check()
2347 static inline bool qlcnic_sriov_vf_check(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_check()
2359 static inline bool qlcnic_83xx_pf_check(struct qlcnic_adapter *adapter) in qlcnic_83xx_pf_check()
2366 static inline bool qlcnic_83xx_vf_check(struct qlcnic_adapter *adapter) in qlcnic_83xx_vf_check()
2374 static inline bool qlcnic_sriov_check(struct qlcnic_adapter *adapter) in qlcnic_sriov_check()
2384 static inline u32 qlcnic_get_vnic_func_count(struct qlcnic_adapter *adapter) in qlcnic_get_vnic_func_count()
2409 static inline void qlcnic_register_hwmon_dev(struct qlcnic_adapter *adapter) in qlcnic_register_hwmon_dev()
2413 static inline void qlcnic_unregister_hwmon_dev(struct qlcnic_adapter *adapter) in qlcnic_unregister_hwmon_dev()