/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_hw.h | 304 struct qlcnic_adapter; 306 int (*state_entry) (struct qlcnic_adapter *); 496 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *); 497 int qlcnic_83xx_mbx_op(struct qlcnic_adapter *, struct qlcnic_cmd_args *); 498 int qlcnic_83xx_setup_intr(struct qlcnic_adapter *, u8); 499 void qlcnic_83xx_get_func_no(struct qlcnic_adapter *); 500 int qlcnic_83xx_cam_lock(struct qlcnic_adapter *); 501 void qlcnic_83xx_cam_unlock(struct qlcnic_adapter *); 502 int qlcnic_send_ctrl_op(struct qlcnic_adapter *, struct qlcnic_cmd_args *, u32); 503 void qlcnic_83xx_add_sysfs(struct qlcnic_adapter *); [all …]
|
D | qlcnic_hw.h | 152 struct qlcnic_adapter; 154 int qlcnic_82xx_start_firmware(struct qlcnic_adapter *); 155 int qlcnic_82xx_hw_read_wx_2M(struct qlcnic_adapter *adapter, ulong); 156 int qlcnic_82xx_hw_write_wx_2M(struct qlcnic_adapter *, ulong, u32); 157 int qlcnic_82xx_config_hw_lro(struct qlcnic_adapter *adapter, int); 158 int qlcnic_82xx_nic_set_promisc(struct qlcnic_adapter *adapter, u32); 159 int qlcnic_82xx_napi_add(struct qlcnic_adapter *adapter, 161 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, 163 void qlcnic_82xx_config_intr_coalesce(struct qlcnic_adapter *adapter); 164 int qlcnic_82xx_config_rss(struct qlcnic_adapter *adapter, int); [all …]
|
D | qlcnic.h | 515 struct qlcnic_adapter *adapter; 536 struct qlcnic_adapter *adapter; 966 struct qlcnic_adapter { struct 1384 int qlcnic_fw_cmd_get_minidump_temp(struct qlcnic_adapter *adapter); 1385 int qlcnic_fw_cmd_set_port(struct qlcnic_adapter *adapter, u32 config); 1386 int qlcnic_pci_mem_write_2M(struct qlcnic_adapter *, u64 off, u64 data); 1387 int qlcnic_pci_mem_read_2M(struct qlcnic_adapter *, u64 off, u64 *data); 1388 void qlcnic_pci_camqm_read_2M(struct qlcnic_adapter *, u64, u64 *); 1389 void qlcnic_pci_camqm_write_2M(struct qlcnic_adapter *, u64, u64); 1400 int qlcnic_pcie_sem_lock(struct qlcnic_adapter *, int, u32); [all …]
|
D | qlcnic_sriov.h | 149 struct qlcnic_adapter *adapter; 180 int qlcnic_sriov_init(struct qlcnic_adapter *, int); 181 void qlcnic_sriov_cleanup(struct qlcnic_adapter *); 182 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *); 184 int qlcnic_sriov_vf_init(struct qlcnic_adapter *, int); 185 void qlcnic_sriov_vf_set_ops(struct qlcnic_adapter *); 186 int qlcnic_sriov_func_to_index(struct qlcnic_adapter *, u8); 187 int qlcnic_sriov_channel_cfg_cmd(struct qlcnic_adapter *, u8); 188 void qlcnic_sriov_handle_bc_event(struct qlcnic_adapter *, u32); 189 int qlcnic_sriov_cfg_bc_intr(struct qlcnic_adapter *, u8); [all …]
|
D | qlcnic_83xx_init.c | 39 static int qlcnic_83xx_init_default_driver(struct qlcnic_adapter *adapter); 40 static int qlcnic_83xx_check_heartbeat(struct qlcnic_adapter *p_dev); 41 static int qlcnic_83xx_restart_hw(struct qlcnic_adapter *adapter); 130 qlcnic_83xx_idc_check_driver_presence_reg(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_check_driver_presence_reg() 141 static void qlcnic_83xx_idc_log_state_history(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_log_state_history() 153 static int qlcnic_83xx_idc_update_audit_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_audit_reg() 182 static void qlcnic_83xx_idc_update_minor_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_update_minor_version() 192 static int qlcnic_83xx_idc_update_major_version(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_major_version() 214 qlcnic_83xx_idc_update_drv_presence_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_drv_presence_reg() 240 static int qlcnic_83xx_idc_check_major_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_check_major_version() [all …]
|
D | qlcnic_sriov_pf.c | 16 static int qlcnic_sriov_pf_get_vport_handle(struct qlcnic_adapter *, u8); 27 static int qlcnic_sriov_pf_set_vport_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_info() 62 static int qlcnic_sriov_pf_cal_res_limit(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_cal_res_limit() 116 static void qlcnic_sriov_pf_set_ff_max_res(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_ff_max_res() 135 static int qlcnic_sriov_get_pf_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_get_pf_info() 192 static void qlcnic_sriov_pf_reset_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_reset_vport_handle() 210 static void qlcnic_sriov_pf_set_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_handle() 228 static int qlcnic_sriov_pf_get_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_get_vport_handle() 248 static int qlcnic_sriov_pf_config_vport(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_config_vport() 289 static int qlcnic_sriov_pf_cfg_vlan_filtering(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_cfg_vlan_filtering() [all …]
|
D | qlcnic_83xx_hw.c | 196 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_get_fw_version() 212 static int __qlcnic_set_win_base(struct qlcnic_adapter *adapter, u32 addr) in __qlcnic_set_win_base() 227 int qlcnic_83xx_rd_reg_indirect(struct qlcnic_adapter *adapter, ulong addr) in qlcnic_83xx_rd_reg_indirect() 242 int qlcnic_83xx_wrt_reg_indirect(struct qlcnic_adapter *adapter, ulong addr, in qlcnic_83xx_wrt_reg_indirect() 260 int qlcnic_83xx_setup_intr(struct qlcnic_adapter *adapter, u8 num_intr) in qlcnic_83xx_setup_intr() 310 inline void qlcnic_83xx_clear_legacy_intr_mask(struct qlcnic_adapter *adapter) in qlcnic_83xx_clear_legacy_intr_mask() 316 void qlcnic_83xx_enable_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_enable_intr() 323 void qlcnic_83xx_disable_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_disable_intr() 329 inline void qlcnic_83xx_enable_legacy_msix_mbx_intr(struct qlcnic_adapter in qlcnic_83xx_enable_legacy_msix_mbx_intr() 343 void qlcnic_83xx_disable_mbx_intr(struct qlcnic_adapter *adapter) in qlcnic_83xx_disable_mbx_intr() [all …]
|
D | qlcnic_main.c | 71 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding); 72 static void qlcnic_clr_all_drv_state(struct qlcnic_adapter *adapter, u8); 73 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter); 82 static int qlcnic_start_firmware(struct qlcnic_adapter *); 84 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter); 85 static void qlcnic_dev_set_npar_ready(struct qlcnic_adapter *); 86 static int qlcnicvf_start_firmware(struct qlcnic_adapter *); 90 static u32 qlcnic_vlan_tx_check(struct qlcnic_adapter *adapter) in qlcnic_vlan_tx_check() 285 int qlcnic_read_mac_addr(struct qlcnic_adapter *adapter) in qlcnic_read_mac_addr() 306 static void qlcnic_delete_adapter_mac(struct qlcnic_adapter *adapter) in qlcnic_delete_adapter_mac() [all …]
|
D | qlcnic_hw.c | 318 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock() 342 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock() 347 int qlcnic_ind_rd(struct qlcnic_adapter *adapter, u32 addr) in qlcnic_ind_rd() 361 void qlcnic_ind_wr(struct qlcnic_adapter *adapter, u32 addr, u32 data) in qlcnic_ind_wr() 370 qlcnic_send_cmd_descs(struct qlcnic_adapter *adapter, in qlcnic_send_cmd_descs() 425 int qlcnic_82xx_sre_macaddr_change(struct qlcnic_adapter *adapter, u8 *addr, in qlcnic_82xx_sre_macaddr_change() 449 int qlcnic_nic_del_mac(struct qlcnic_adapter *adapter, const u8 *addr) in qlcnic_nic_del_mac() 471 int qlcnic_nic_add_mac(struct qlcnic_adapter *adapter, const u8 *addr, u16 vlan) in qlcnic_nic_add_mac() 501 struct qlcnic_adapter *adapter = netdev_priv(netdev); in __qlcnic_set_multi() 552 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_set_multi() [all …]
|
D | qlcnic_init.c | 26 qlcnic_check_fw_hearbeat(struct qlcnic_adapter *adapter); 83 void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_rx_buffers() 108 void qlcnic_reset_rx_buffers_list(struct qlcnic_adapter *adapter) in qlcnic_reset_rx_buffers_list() 130 void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_tx_buffers() 162 void qlcnic_free_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_free_sw_resources() 181 int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_sw_resources() 285 static int qlcnic_wait_rom_done(struct qlcnic_adapter *adapter) in qlcnic_wait_rom_done() 304 static int do_rom_fast_read(struct qlcnic_adapter *adapter, in do_rom_fast_read() 324 static int do_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in do_rom_fast_read_words() 343 qlcnic_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in qlcnic_rom_fast_read_words() [all …]
|
D | qlcnic_sysfs.c | 26 int qlcnicvf_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable) in qlcnicvf_config_bridged_mode() 31 int qlcnicvf_config_led(struct qlcnic_adapter *adapter, u32 state, u32 rate) in qlcnicvf_config_led() 40 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_bridged_mode() 64 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_bridged_mode() 77 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_diag_mode() 92 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_diag_mode() 96 static int qlcnic_validate_beacon(struct qlcnic_adapter *adapter, u16 beacon, in qlcnic_validate_beacon() 121 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_beacon() 220 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_beacon() 225 static int qlcnic_sysfs_validate_crb(struct qlcnic_adapter *adapter, in qlcnic_sysfs_validate_crb() [all …]
|
D | qlcnic_sriov_common.c | 31 static void qlcnic_sriov_vf_free_mac_list(struct qlcnic_adapter *); 34 static void qlcnic_sriov_vf_cancel_fw_work(struct qlcnic_adapter *); 36 static int qlcnic_sriov_vf_mbx_op(struct qlcnic_adapter *, 109 static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) in qlcnic_sriov_virtid_fn() 125 int qlcnic_sriov_init(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_init() 235 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in __qlcnic_sriov_cleanup() 264 static void qlcnic_sriov_vf_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cleanup() 271 void qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_cleanup() 280 static int qlcnic_sriov_post_bc_msg(struct qlcnic_adapter *adapter, u32 *hdr, in qlcnic_sriov_post_bc_msg() 375 static void qlcnic_sriov_vf_cfg_buff_desc(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cfg_buff_desc() [all …]
|
D | qlcnic_83xx_vnic.c | 11 int qlcnic_83xx_enable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_enable_vnic_mode() 24 int qlcnic_83xx_disable_vnic_mode(struct qlcnic_adapter *adapter, int lock) in qlcnic_83xx_disable_vnic_mode() 42 static int qlcnic_83xx_set_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_set_vnic_opmode() 74 qlcnic_83xx_config_vnic_buff_descriptors(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_buff_descriptors() 104 static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_mgmt_vnic() 137 static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_privileged_vnic() 155 static int qlcnic_83xx_init_non_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_non_privileged_vnic() 185 int qlcnic_83xx_config_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_opmode()
|
D | qlcnic_ethtool.c | 23 #define QLC_SIZEOF(m) FIELD_SIZEOF(struct qlcnic_adapter, m) 24 #define QLC_OFF(m) offsetof(struct qlcnic_adapter, m) 171 static int qlcnic_dev_statistics_len(struct qlcnic_adapter *adapter) in qlcnic_dev_statistics_len() 217 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_regs_len() 236 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_drvinfo() 254 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_settings() 264 int qlcnic_82xx_get_settings(struct qlcnic_adapter *adapter, in qlcnic_82xx_get_settings() 402 static int qlcnic_set_port_config(struct qlcnic_adapter *adapter, in qlcnic_set_port_config() 439 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_set_settings() 463 static int qlcnic_82xx_get_registers(struct qlcnic_adapter *adapter, in qlcnic_82xx_get_registers() [all …]
|
D | qlcnic_io.c | 127 struct sk_buff *qlcnic_process_rxbuf(struct qlcnic_adapter *, 130 inline void qlcnic_83xx_enable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_enable_tx_intr() 136 inline void qlcnic_83xx_disable_tx_intr(struct qlcnic_adapter *adapter, in qlcnic_83xx_disable_tx_intr() 147 static inline u32 qlcnic_get_ref_handle(struct qlcnic_adapter *adapter, in qlcnic_get_ref_handle() 164 void qlcnic_add_lb_filter(struct qlcnic_adapter *adapter, struct sk_buff *skb, in qlcnic_add_lb_filter() 242 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, u64 *uaddr, in qlcnic_82xx_change_filter() 274 static void qlcnic_send_filter(struct qlcnic_adapter *adapter, in qlcnic_send_filter() 326 static int qlcnic_tx_pkt(struct qlcnic_adapter *adapter, in qlcnic_tx_pkt() 516 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_xmit_frame() 634 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change() [all …]
|
D | qlcnic_ctx.c | 50 struct qlcnic_adapter *adapter, u32 type) in qlcnic_82xx_alloc_mbx_args() 90 static int qlcnic_is_valid_nic_func(struct qlcnic_adapter *adapter, u8 pci_func) in qlcnic_is_valid_nic_func() 103 qlcnic_poll_rsp(struct qlcnic_adapter *adapter) in qlcnic_poll_rsp() 121 int qlcnic_82xx_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_82xx_issue_cmd() 184 int qlcnic_fw_cmd_set_drv_version(struct qlcnic_adapter *adapter) in qlcnic_fw_cmd_set_drv_version() 216 qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu) in qlcnic_fw_cmd_set_mtu() 237 int qlcnic_82xx_fw_cmd_create_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_create_rx_ctx() 385 void qlcnic_82xx_fw_cmd_del_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_del_rx_ctx() 402 int qlcnic_82xx_fw_cmd_create_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_create_tx_ctx() 486 void qlcnic_82xx_fw_cmd_del_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_del_tx_ctx() [all …]
|
D | qlcnic_minidump.c | 202 u32 (*handler)(struct qlcnic_adapter *, struct qlcnic_dump_entry *, 206 static u32 qlcnic_dump_crb(struct qlcnic_adapter *adapter, in qlcnic_dump_crb() 224 static u32 qlcnic_dump_ctrl(struct qlcnic_adapter *adapter, in qlcnic_dump_ctrl() 309 static u32 qlcnic_dump_mux(struct qlcnic_adapter *adapter, in qlcnic_dump_mux() 327 static u32 qlcnic_dump_que(struct qlcnic_adapter *adapter, in qlcnic_dump_que() 350 static u32 qlcnic_dump_ocm(struct qlcnic_adapter *adapter, in qlcnic_dump_ocm() 367 static u32 qlcnic_read_rom(struct qlcnic_adapter *adapter, in qlcnic_read_rom() 397 static u32 qlcnic_dump_l1_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l1_cache() 422 static u32 qlcnic_dump_l2_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l2_cache() 469 static u32 qlcnic_read_memory(struct qlcnic_adapter *adapter, in qlcnic_read_memory() [all …]
|