Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.h311 struct qlcnic_adapter;
315 int (*state_entry) (struct qlcnic_adapter *);
536 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *);
537 int qlcnic_83xx_issue_cmd(struct qlcnic_adapter *, struct qlcnic_cmd_args *);
538 int qlcnic_83xx_setup_intr(struct qlcnic_adapter *);
539 void qlcnic_83xx_get_func_no(struct qlcnic_adapter *);
540 int qlcnic_83xx_cam_lock(struct qlcnic_adapter *);
541 void qlcnic_83xx_cam_unlock(struct qlcnic_adapter *);
542 int qlcnic_send_ctrl_op(struct qlcnic_adapter *, struct qlcnic_cmd_args *, u32);
543 void qlcnic_83xx_add_sysfs(struct qlcnic_adapter *);
[all …]
Dqlcnic_hw.h164 struct qlcnic_adapter;
167 int qlcnic_82xx_hw_read_wx_2M(struct qlcnic_adapter *adapter, ulong, int *);
168 int qlcnic_82xx_hw_write_wx_2M(struct qlcnic_adapter *, ulong, u32);
169 int qlcnic_82xx_config_hw_lro(struct qlcnic_adapter *adapter, int);
170 int qlcnic_82xx_nic_set_promisc(struct qlcnic_adapter *adapter, u32);
171 int qlcnic_82xx_napi_add(struct qlcnic_adapter *adapter,
173 void qlcnic_82xx_get_beacon_state(struct qlcnic_adapter *);
174 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter,
177 int qlcnic_82xx_config_intr_coalesce(struct qlcnic_adapter *,
179 int qlcnic_82xx_set_rx_coalesce(struct qlcnic_adapter *);
[all …]
Dqlcnic.h594 struct qlcnic_adapter *adapter;
628 struct qlcnic_adapter *adapter;
1087 struct qlcnic_adapter *adapter;
1099 struct qlcnic_adapter { struct
1536 int qlcnic_fw_cmd_get_minidump_temp(struct qlcnic_adapter *adapter);
1537 int qlcnic_fw_cmd_set_port(struct qlcnic_adapter *adapter, u32 config);
1538 int qlcnic_pci_mem_write_2M(struct qlcnic_adapter *, u64 off, u64 data);
1539 int qlcnic_pci_mem_read_2M(struct qlcnic_adapter *, u64 off, u64 *data);
1550 int qlcnic_pcie_sem_lock(struct qlcnic_adapter *, int, u32);
1551 void qlcnic_pcie_sem_unlock(struct qlcnic_adapter *, int);
[all …]
Dqlcnic_sriov.h153 struct qlcnic_adapter *adapter;
168 struct qlcnic_adapter *adapter;
187 int qlcnic_sriov_init(struct qlcnic_adapter *, int);
188 void qlcnic_sriov_cleanup(struct qlcnic_adapter *);
189 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *);
191 int qlcnic_sriov_vf_init(struct qlcnic_adapter *);
192 void qlcnic_sriov_vf_set_ops(struct qlcnic_adapter *);
193 int qlcnic_sriov_func_to_index(struct qlcnic_adapter *, u8);
194 void qlcnic_sriov_handle_bc_event(struct qlcnic_adapter *, u32);
195 int qlcnic_sriov_cfg_bc_intr(struct qlcnic_adapter *, u8);
[all …]
Dqlcnic_83xx_init.c38 static int qlcnic_83xx_init_default_driver(struct qlcnic_adapter *adapter);
39 static int qlcnic_83xx_check_heartbeat(struct qlcnic_adapter *p_dev);
40 static int qlcnic_83xx_restart_hw(struct qlcnic_adapter *adapter);
41 static int qlcnic_83xx_check_hw_status(struct qlcnic_adapter *p_dev);
42 static int qlcnic_83xx_get_reset_instruction_template(struct qlcnic_adapter *);
43 static void qlcnic_83xx_stop_hw(struct qlcnic_adapter *);
132 qlcnic_83xx_idc_check_driver_presence_reg(struct qlcnic_adapter *adapter) 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()
155 static int qlcnic_83xx_idc_update_audit_reg(struct qlcnic_adapter *adapter, in qlcnic_83xx_idc_update_audit_reg()
184 static void qlcnic_83xx_idc_update_minor_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_idc_update_minor_version()
[all …]
Dqlcnic_hw.c310 qlcnic_pcie_sem_lock(struct qlcnic_adapter *adapter, int sem, u32 id_reg) in qlcnic_pcie_sem_lock()
346 qlcnic_pcie_sem_unlock(struct qlcnic_adapter *adapter, int sem) in qlcnic_pcie_sem_unlock()
353 int qlcnic_ind_rd(struct qlcnic_adapter *adapter, u32 addr) in qlcnic_ind_rd()
368 int qlcnic_ind_wr(struct qlcnic_adapter *adapter, u32 addr, u32 data) in qlcnic_ind_wr()
381 qlcnic_send_cmd_descs(struct qlcnic_adapter *adapter, in qlcnic_send_cmd_descs()
436 int qlcnic_82xx_sre_macaddr_change(struct qlcnic_adapter *adapter, u8 *addr, in qlcnic_82xx_sre_macaddr_change()
460 int qlcnic_nic_del_mac(struct qlcnic_adapter *adapter, const u8 *addr) in qlcnic_nic_del_mac()
480 int qlcnic_nic_add_mac(struct qlcnic_adapter *adapter, const u8 *addr, u16 vlan, in qlcnic_nic_add_mac()
511 void qlcnic_flush_mcast_mac(struct qlcnic_adapter *adapter) in qlcnic_flush_mcast_mac()
530 struct qlcnic_adapter *adapter = netdev_priv(netdev); in __qlcnic_set_multi()
[all …]
Dqlcnic_sriov_pf.c21 static int qlcnic_sriov_pf_get_vport_handle(struct qlcnic_adapter *, u8);
32 static int qlcnic_sriov_pf_set_vport_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_info()
67 static int qlcnic_sriov_pf_cal_res_limit(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_cal_res_limit()
136 static void qlcnic_sriov_pf_set_ff_max_res(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_ff_max_res()
155 static void qlcnic_sriov_set_vf_max_vlan(struct qlcnic_adapter *adapter, in qlcnic_sriov_set_vf_max_vlan()
174 static int qlcnic_sriov_get_pf_info(struct qlcnic_adapter *adapter, in qlcnic_sriov_get_pf_info()
232 static void qlcnic_sriov_pf_reset_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_reset_vport_handle()
250 static void qlcnic_sriov_pf_set_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_set_vport_handle()
268 static int qlcnic_sriov_pf_get_vport_handle(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_get_vport_handle()
288 static int qlcnic_sriov_pf_config_vport(struct qlcnic_adapter *adapter, in qlcnic_sriov_pf_config_vport()
[all …]
Dqlcnic_83xx_hw.c16 static void __qlcnic_83xx_process_aen(struct qlcnic_adapter *);
17 static int qlcnic_83xx_clear_lb_mode(struct qlcnic_adapter *, u8);
18 static void qlcnic_83xx_configure_mac(struct qlcnic_adapter *, u8 *, u8,
20 static int qlcnic_83xx_get_port_config(struct qlcnic_adapter *);
24 static int qlcnic_83xx_set_port_config(struct qlcnic_adapter *);
27 static int qlcnic_83xx_set_lb_mode(struct qlcnic_adapter *, u8);
28 static void qlcnic_83xx_set_mac_filter_count(struct qlcnic_adapter *);
29 static int qlcnic_83xx_resume(struct qlcnic_adapter *);
31 static void qlcnic_83xx_get_beacon_state(struct qlcnic_adapter *);
268 int qlcnic_83xx_get_fw_version(struct qlcnic_adapter *adapter) in qlcnic_83xx_get_fw_version()
[all …]
Dqlcnic_sysfs.c25 int qlcnicvf_config_bridged_mode(struct qlcnic_adapter *adapter, u32 enable) in qlcnicvf_config_bridged_mode()
30 int qlcnicvf_config_led(struct qlcnic_adapter *adapter, u32 state, u32 rate) in qlcnicvf_config_led()
39 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_bridged_mode()
63 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_bridged_mode()
76 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_diag_mode()
91 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_show_diag_mode()
95 static int qlcnic_validate_beacon(struct qlcnic_adapter *adapter, u16 beacon, in qlcnic_validate_beacon()
116 static int qlcnic_83xx_store_beacon(struct qlcnic_adapter *adapter, in qlcnic_83xx_store_beacon()
156 static int qlcnic_82xx_store_beacon(struct qlcnic_adapter *adapter, in qlcnic_82xx_store_beacon()
218 struct qlcnic_adapter *adapter = dev_get_drvdata(dev); in qlcnic_store_beacon()
[all …]
Dqlcnic_main.c62 static void qlcnic_idc_debug_info(struct qlcnic_adapter *adapter, u8 encoding);
63 static int qlcnic_can_start_firmware(struct qlcnic_adapter *adapter);
72 static int qlcnic_start_firmware(struct qlcnic_adapter *);
74 static void qlcnic_free_lb_filters_mem(struct qlcnic_adapter *adapter);
75 static void qlcnic_dev_set_npar_ready(struct qlcnic_adapter *);
76 static int qlcnicvf_start_firmware(struct qlcnic_adapter *);
80 static int qlcnic_82xx_setup_intr(struct qlcnic_adapter *);
81 static void qlcnic_82xx_dev_request_reset(struct qlcnic_adapter *, u32);
82 static irqreturn_t qlcnic_82xx_clear_legacy_intr(struct qlcnic_adapter *);
84 static int qlcnic_82xx_start_firmware(struct qlcnic_adapter *);
[all …]
Dqlcnic_init.c25 qlcnic_check_fw_hearbeat(struct qlcnic_adapter *adapter);
82 void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter) in qlcnic_release_rx_buffers()
105 void qlcnic_reset_rx_buffers_list(struct qlcnic_adapter *adapter) in qlcnic_reset_rx_buffers_list()
127 void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter, in qlcnic_release_tx_buffers()
163 void qlcnic_free_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_free_sw_resources()
182 int qlcnic_alloc_sw_resources(struct qlcnic_adapter *adapter) in qlcnic_alloc_sw_resources()
292 static int qlcnic_wait_rom_done(struct qlcnic_adapter *adapter) in qlcnic_wait_rom_done()
312 static int do_rom_fast_read(struct qlcnic_adapter *adapter, in do_rom_fast_read()
336 static int do_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in do_rom_fast_read_words()
355 qlcnic_rom_fast_read_words(struct qlcnic_adapter *adapter, int addr, in qlcnic_rom_fast_read_words()
[all …]
Dqlcnic_83xx_vnic.c10 static int qlcnic_83xx_enable_vnic_mode(struct qlcnic_adapter *adapter, int lock) 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()
41 int qlcnic_83xx_set_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_set_vnic_opmode()
64 qlcnic_83xx_config_vnic_buff_descriptors(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_buff_descriptors()
94 static int qlcnic_83xx_init_mgmt_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_mgmt_vnic()
143 static int qlcnic_83xx_init_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_privileged_vnic()
161 static int qlcnic_83xx_init_non_privileged_vnic(struct qlcnic_adapter *adapter) in qlcnic_83xx_init_non_privileged_vnic()
191 int qlcnic_83xx_config_vnic_opmode(struct qlcnic_adapter *adapter) in qlcnic_83xx_config_vnic_opmode()
241 int qlcnic_83xx_check_vnic_state(struct qlcnic_adapter *adapter) in qlcnic_83xx_check_vnic_state()
263 int qlcnic_83xx_set_port_eswitch_status(struct qlcnic_adapter *adapter, in qlcnic_83xx_set_port_eswitch_status()
Dqlcnic_sriov_common.c32 static void qlcnic_sriov_vf_free_mac_list(struct qlcnic_adapter *);
35 static void qlcnic_sriov_vf_cancel_fw_work(struct qlcnic_adapter *);
37 static int qlcnic_sriov_issue_cmd(struct qlcnic_adapter *,
39 static int qlcnic_sriov_channel_cfg_cmd(struct qlcnic_adapter *, u8);
42 static int qlcnic_sriov_vf_resume(struct qlcnic_adapter *);
43 static int qlcnic_sriov_async_issue_cmd(struct qlcnic_adapter *,
122 static int qlcnic_sriov_virtid_fn(struct qlcnic_adapter *adapter, int vf_id) in qlcnic_sriov_virtid_fn()
140 int qlcnic_sriov_init(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_init()
261 void __qlcnic_sriov_cleanup(struct qlcnic_adapter *adapter) in __qlcnic_sriov_cleanup()
290 static void qlcnic_sriov_vf_cleanup(struct qlcnic_adapter *adapter) in qlcnic_sriov_vf_cleanup()
[all …]
Dqlcnic_ethtool.c22 #define QLC_SIZEOF(m) sizeof_field(struct qlcnic_adapter, m)
23 #define QLC_OFF(m) offsetof(struct qlcnic_adapter, m)
176 static inline int qlcnic_82xx_statistics(struct qlcnic_adapter *adapter) in qlcnic_82xx_statistics()
183 static inline int qlcnic_83xx_statistics(struct qlcnic_adapter *adapter) in qlcnic_83xx_statistics()
192 static int qlcnic_dev_statistics_len(struct qlcnic_adapter *adapter) in qlcnic_dev_statistics_len()
241 static inline int qlcnic_get_ring_regs_len(struct qlcnic_adapter *adapter) in qlcnic_get_ring_regs_len()
251 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_regs_len()
272 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_drvinfo()
287 static int qlcnic_82xx_get_link_ksettings(struct qlcnic_adapter *adapter, in qlcnic_82xx_get_link_ksettings()
438 struct qlcnic_adapter *adapter = netdev_priv(dev); in qlcnic_get_link_ksettings()
[all …]
Dqlcnic_dcb.c56 static void qlcnic_dcb_data_cee_param_map(struct qlcnic_adapter *);
195 static u8 qlcnic_dcb_get_num_app(struct qlcnic_adapter *adapter, u32 val) in qlcnic_dcb_get_num_app()
203 static inline u8 qlcnic_dcb_pfc_hdr_valid(struct qlcnic_adapter *adapter, in qlcnic_dcb_pfc_hdr_valid()
212 static inline u8 qlcnic_dcb_tsa_hdr_valid(struct qlcnic_adapter *adapter, in qlcnic_dcb_tsa_hdr_valid()
221 static inline u8 qlcnic_dcb_get_prio_map_app(struct qlcnic_adapter *adapter, in qlcnic_dcb_get_prio_map_app()
247 static void qlcnic_set_dcb_ops(struct qlcnic_adapter *adapter) in qlcnic_set_dcb_ops()
255 int qlcnic_register_dcb(struct qlcnic_adapter *adapter) in qlcnic_register_dcb()
276 struct qlcnic_adapter *adapter; in __qlcnic_dcb_free()
346 struct qlcnic_adapter *adapter = dcb->adapter; in __qlcnic_dcb_query_hw_capability()
427 struct qlcnic_adapter *adapter = dcb->adapter; in qlcnic_82xx_dcb_query_cee_param()
[all …]
Dqlcnic_io.c133 static struct sk_buff *qlcnic_process_rxbuf(struct qlcnic_adapter *,
142 static inline u32 qlcnic_get_ref_handle(struct qlcnic_adapter *adapter, in qlcnic_get_ref_handle()
156 static void qlcnic_delete_rx_list_mac(struct qlcnic_adapter *adapter, in qlcnic_delete_rx_list_mac()
191 static void qlcnic_add_lb_filter(struct qlcnic_adapter *adapter, in qlcnic_add_lb_filter()
270 void qlcnic_82xx_change_filter(struct qlcnic_adapter *adapter, u64 *uaddr, in qlcnic_82xx_change_filter()
301 static void qlcnic_send_filter(struct qlcnic_adapter *adapter, in qlcnic_send_filter()
370 static int qlcnic_tx_encap_pkt(struct qlcnic_adapter *adapter, in qlcnic_tx_encap_pkt()
458 static int qlcnic_tx_pkt(struct qlcnic_adapter *adapter, in qlcnic_tx_pkt()
651 struct qlcnic_adapter *adapter = netdev_priv(netdev); in qlcnic_xmit_frame()
790 void qlcnic_advert_link_change(struct qlcnic_adapter *adapter, int linkup) in qlcnic_advert_link_change()
[all …]
Dqlcnic_minidump.c380 u32 (*handler)(struct qlcnic_adapter *, struct qlcnic_dump_entry *,
384 static u32 qlcnic_dump_crb(struct qlcnic_adapter *adapter, in qlcnic_dump_crb()
402 static u32 qlcnic_dump_ctrl(struct qlcnic_adapter *adapter, in qlcnic_dump_ctrl()
500 static u32 qlcnic_dump_mux(struct qlcnic_adapter *adapter, in qlcnic_dump_mux()
518 static u32 qlcnic_dump_que(struct qlcnic_adapter *adapter, in qlcnic_dump_que()
541 static u32 qlcnic_dump_ocm(struct qlcnic_adapter *adapter, in qlcnic_dump_ocm()
558 static u32 qlcnic_read_rom(struct qlcnic_adapter *adapter, in qlcnic_read_rom()
588 static u32 qlcnic_dump_l1_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l1_cache()
613 static u32 qlcnic_dump_l2_cache(struct qlcnic_adapter *adapter, in qlcnic_dump_l2_cache()
660 static u32 qlcnic_read_memory_test_agent(struct qlcnic_adapter *adapter, in qlcnic_read_memory_test_agent()
[all …]
Dqlcnic_ctx.c53 struct qlcnic_adapter *adapter, u32 type) in qlcnic_82xx_alloc_mbx_args()
92 qlcnic_poll_rsp(struct qlcnic_adapter *adapter) in qlcnic_poll_rsp()
110 int qlcnic_82xx_issue_cmd(struct qlcnic_adapter *adapter, in qlcnic_82xx_issue_cmd()
174 int qlcnic_fw_cmd_set_drv_version(struct qlcnic_adapter *adapter, u32 fw_cmd) in qlcnic_fw_cmd_set_drv_version()
209 qlcnic_fw_cmd_set_mtu(struct qlcnic_adapter *adapter, int mtu) in qlcnic_fw_cmd_set_mtu()
233 int qlcnic_82xx_fw_cmd_create_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_create_rx_ctx()
392 void qlcnic_82xx_fw_cmd_del_rx_ctx(struct qlcnic_adapter *adapter) in qlcnic_82xx_fw_cmd_del_rx_ctx()
412 int qlcnic_82xx_fw_cmd_create_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_create_tx_ctx()
523 void qlcnic_82xx_fw_cmd_del_tx_ctx(struct qlcnic_adapter *adapter, in qlcnic_82xx_fw_cmd_del_tx_ctx()
541 qlcnic_fw_cmd_set_port(struct qlcnic_adapter *adapter, u32 config) in qlcnic_fw_cmd_set_port()
[all …]
Dqlcnic_dcb.h14 int qlcnic_register_dcb(struct qlcnic_adapter *);
16 static inline int qlcnic_register_dcb(struct qlcnic_adapter *adapter) in qlcnic_register_dcb()
36 struct qlcnic_adapter *adapter;