Lines Matching refs:hw_ops
521 struct qlcnic_hardware_ops *hw_ops; member
1545 (adapter->ahw->hw_ops->read_reg)(adapter, off, err)
1548 adapter->ahw->hw_ops->write_reg(adapter, off, val)
1854 return adapter->ahw->hw_ops->encap_rx_offload(adapter); in qlcnic_encap_rx_offload()
1859 return adapter->ahw->hw_ops->encap_tx_offload(adapter); in qlcnic_encap_tx_offload()
1870 adapter->ahw->hw_ops->read_crb(adapter, buf, offset, size); in qlcnic_read_crb()
1876 adapter->ahw->hw_ops->write_crb(adapter, buf, offset, size); in qlcnic_write_crb()
1882 return adapter->ahw->hw_ops->get_mac_address(adapter, mac, function); in qlcnic_get_mac_address()
1887 return adapter->ahw->hw_ops->setup_intr(adapter); in qlcnic_setup_intr()
1893 return adapter->ahw->hw_ops->alloc_mbx_args(mbx, adapter, arg); in qlcnic_alloc_mbx_args()
1899 if (adapter->ahw->hw_ops->mbx_cmd) in qlcnic_issue_cmd()
1900 return adapter->ahw->hw_ops->mbx_cmd(adapter, cmd); in qlcnic_issue_cmd()
1907 adapter->ahw->hw_ops->get_func_no(adapter); in qlcnic_get_func_no()
1912 return adapter->ahw->hw_ops->api_lock(adapter); in qlcnic_api_lock()
1917 adapter->ahw->hw_ops->api_unlock(adapter); in qlcnic_api_unlock()
1922 if (adapter->ahw->hw_ops->add_sysfs) in qlcnic_add_sysfs()
1923 adapter->ahw->hw_ops->add_sysfs(adapter); in qlcnic_add_sysfs()
1928 if (adapter->ahw->hw_ops->remove_sysfs) in qlcnic_remove_sysfs()
1929 adapter->ahw->hw_ops->remove_sysfs(adapter); in qlcnic_remove_sysfs()
1935 sds_ring->adapter->ahw->hw_ops->process_lb_rcv_ring_diag(sds_ring); in qlcnic_process_rcv_ring_diag()
1940 return adapter->ahw->hw_ops->create_rx_ctx(adapter); in qlcnic_fw_cmd_create_rx_ctx()
1947 return adapter->ahw->hw_ops->create_tx_ctx(adapter, ptr, ring); in qlcnic_fw_cmd_create_tx_ctx()
1952 return adapter->ahw->hw_ops->del_rx_ctx(adapter); in qlcnic_fw_cmd_del_rx_ctx()
1958 return adapter->ahw->hw_ops->del_tx_ctx(adapter, ptr); in qlcnic_fw_cmd_del_tx_ctx()
1964 return adapter->ahw->hw_ops->setup_link_event(adapter, enable); in qlcnic_linkevent_request()
1970 return adapter->ahw->hw_ops->get_nic_info(adapter, info, id); in qlcnic_get_nic_info()
1976 return adapter->ahw->hw_ops->get_pci_info(adapter, info); in qlcnic_get_pci_info()
1982 return adapter->ahw->hw_ops->set_nic_info(adapter, info); in qlcnic_set_nic_info()
1988 return adapter->ahw->hw_ops->change_macvlan(adapter, addr, id, cmd); in qlcnic_sre_macaddr_change()
2004 adapter->ahw->hw_ops->napi_enable(adapter); in qlcnic_napi_enable()
2021 adapter->ahw->hw_ops->napi_disable(adapter); in qlcnic_napi_disable()
2027 return adapter->ahw->hw_ops->config_intr_coal(adapter, ethcoal); in qlcnic_config_intr_coalesce()
2032 return adapter->ahw->hw_ops->config_rss(adapter, enable); in qlcnic_config_rss()
2038 return adapter->ahw->hw_ops->config_hw_lro(adapter, enable); in qlcnic_config_hw_lro()
2043 return adapter->ahw->hw_ops->config_loopback(adapter, mode); in qlcnic_set_lb_mode()
2048 return adapter->ahw->hw_ops->clear_loopback(adapter, mode); in qlcnic_clear_lb_mode()
2054 return adapter->ahw->hw_ops->config_promisc_mode(adapter, mode); in qlcnic_nic_set_promisc()
2061 adapter->ahw->hw_ops->change_l2_filter(adapter, addr, vlan, tx_ring); in qlcnic_change_filter()
2066 return adapter->ahw->hw_ops->get_board_info(adapter); in qlcnic_get_board_info()
2071 return adapter->ahw->hw_ops->free_mac_list(adapter); in qlcnic_free_mac_list()
2076 if (adapter->ahw->hw_ops->set_mac_filter_count) in qlcnic_set_mac_filter_count()
2077 adapter->ahw->hw_ops->set_mac_filter_count(adapter); in qlcnic_set_mac_filter_count()
2082 adapter->ahw->hw_ops->get_beacon_state(adapter); in qlcnic_get_beacon_state()
2087 if (adapter->ahw->hw_ops->read_phys_port_id) in qlcnic_read_phys_port_id()
2088 adapter->ahw->hw_ops->read_phys_port_id(adapter); in qlcnic_read_phys_port_id()
2094 return adapter->ahw->hw_ops->get_saved_state(t_hdr, index); in qlcnic_get_saved_state()
2100 adapter->ahw->hw_ops->set_saved_state(t_hdr, index, value); in qlcnic_set_saved_state()
2106 adapter->ahw->hw_ops->cache_tmpl_hdr_values(fw_dump); in qlcnic_cache_tmpl_hdr_values()
2112 return adapter->ahw->hw_ops->get_cap_size(tmpl_hdr, index); in qlcnic_get_cap_size()
2118 adapter->ahw->hw_ops->set_sys_info(tmpl_hdr, idx, value); in qlcnic_set_sys_info()
2124 adapter->ahw->hw_ops->store_cap_mask(tmpl_hdr, mask); in qlcnic_store_cap_mask()
2235 if (adapter->ahw->hw_ops->enable_sds_intr) in qlcnic_enable_sds_intr()
2236 adapter->ahw->hw_ops->enable_sds_intr(adapter, sds_ring); in qlcnic_enable_sds_intr()
2243 if (adapter->ahw->hw_ops->disable_sds_intr) in qlcnic_disable_sds_intr()
2244 adapter->ahw->hw_ops->disable_sds_intr(adapter, sds_ring); in qlcnic_disable_sds_intr()
2250 if (adapter->ahw->hw_ops->enable_tx_intr) in qlcnic_enable_tx_intr()
2251 adapter->ahw->hw_ops->enable_tx_intr(adapter, tx_ring); in qlcnic_enable_tx_intr()
2257 if (adapter->ahw->hw_ops->disable_tx_intr) in qlcnic_disable_tx_intr()
2258 adapter->ahw->hw_ops->disable_tx_intr(adapter, tx_ring); in qlcnic_disable_tx_intr()