Home
last modified time | relevance | path

Searched refs:qlcnic_adapter (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic.h466 struct qlcnic_adapter *adapter;
967 struct qlcnic_adapter { struct
1220 int qlcnic_fw_cmd_query_phy(struct qlcnic_adapter *adapter, u32 reg, u32 *val);
1221 int qlcnic_fw_cmd_set_phy(struct qlcnic_adapter *adapter, u32 reg, u32 val);
1223 u32 qlcnic_hw_read_wx_2M(struct qlcnic_adapter *adapter, ulong off);
1224 int qlcnic_hw_write_wx_2M(struct qlcnic_adapter *, ulong off, u32 data);
1225 int qlcnic_pci_mem_write_2M(struct qlcnic_adapter *, u64 off, u64 data);
1226 int qlcnic_pci_mem_read_2M(struct qlcnic_adapter *, u64 off, u64 *data);
1227 void qlcnic_pci_camqm_read_2M(struct qlcnic_adapter *, u64, u64 *);
1228 void qlcnic_pci_camqm_write_2M(struct qlcnic_adapter *, u64, u64);
[all …]
Dqlcnic_main.c66 static void qlcnic_schedule_work(struct qlcnic_adapter *adapter,
68 static void qlcnic_cancel_fw_work(struct qlcnic_adapter *adapter);
75 static void qlcnic_create_sysfs_entries(struct qlcnic_adapter *adapter);
76 static void qlcnic_remove_sysfs_entries(struct qlcnic_adapter *adapter);
77 static void qlcnic_create_diag_entries(struct qlcnic_adapter *adapter);
78 static void qlcnic_remove_diag_entries(struct qlcnic_adapter *adapter);
80 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
81 static void qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8);
82 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
91 static int qlcnic_start_firmware(struct qlcnic_adapter *);
[all …]
Dqlcnic_hw.c273 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock()
297 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock()
303 qlcnic_send_cmd_descs(struct qlcnic_adapter *adapter, in qlcnic_send_cmd_descs()
360 qlcnic_sre_macaddr_change(struct qlcnic_adapter *adapter, u8 *addr, in qlcnic_sre_macaddr_change()
384 static int qlcnic_nic_add_mac(struct qlcnic_adapter *adapter, const u8 *addr) in qlcnic_nic_add_mac()
416 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_multi()
451 int qlcnic_nic_set_promisc(struct qlcnic_adapter *adapter, u32 mode) in qlcnic_nic_set_promisc()
470 void qlcnic_free_mac_list(struct qlcnic_adapter *adapter) in qlcnic_free_mac_list()
484 void qlcnic_prune_lb_filters(struct qlcnic_adapter *adapter) in qlcnic_prune_lb_filters()
512 void qlcnic_delete_lb_filters(struct qlcnic_adapter *adapter) in qlcnic_delete_lb_filters()
[all …]
Dqlcnic_init.c29 qlcnic_post_rx_buffers_nodb(struct qlcnic_adapter *adapter,
33 qlcnic_check_fw_hearbeat(struct qlcnic_adapter *adapter);
90 void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_rx_buffers()
115 void qlcnic_reset_rx_buffers_list(struct qlcnic_adapter *adapter) in qlcnic_reset_rx_buffers_list()
137 void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_tx_buffers()
169 void qlcnic_free_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_free_sw_resources()
199 int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_sw_resources()
327 static int qlcnic_wait_rom_done(struct qlcnic_adapter *adapter) in qlcnic_wait_rom_done()
347 static int do_rom_fast_read(struct qlcnic_adapter *adapter, in do_rom_fast_read()
367 static int do_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in do_rom_fast_read_words()
[all …]
Dqlcnic_ethtool.c23 #define QLC_SIZEOF(m) FIELD_SIZEOF(struct qlcnic_adapter, m)
24 #define QLC_OFF(m) offsetof(struct qlcnic_adapter, m)
135 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_drvinfo()
151 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_settings()
287 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_set_settings()
342 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_regs()
381 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_test_link()
393 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_eeprom()
416 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_ringparam()
450 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_set_ringparam()
[all …]
Dqlcnic_ctx.c11 qlcnic_poll_rsp(struct qlcnic_adapter *adapter) in qlcnic_poll_rsp()
30 qlcnic_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_issue_cmd()
68 qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu) in qlcnic_fw_cmd_set_mtu()
90 qlcnic_fw_cmd_create_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_create_rx_ctx()
238 qlcnic_fw_cmd_destroy_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_destroy_rx_ctx()
258 qlcnic_fw_cmd_create_tx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_create_tx_ctx()
344 qlcnic_fw_cmd_destroy_tx_ctx(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_destroy_tx_ctx()
360 qlcnic_fw_cmd_query_phy(struct qlcnic_adapter *adapter, u32 reg, u32 *val) in qlcnic_fw_cmd_query_phy()
378 qlcnic_fw_cmd_set_phy(struct qlcnic_adapter *adapter, u32 reg, u32 val) in qlcnic_fw_cmd_set_phy()
389 int qlcnic_alloc_hw_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_hw_resources()
[all …]