Home
last modified time | relevance | path

Searched refs:qed_hwfn (Results 1 – 20 of 20) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/qlogic/qed/
Dqed_int.h62 void qed_int_cau_conf_pi(struct qed_hwfn *p_hwfn,
76 void qed_int_igu_enable_int(struct qed_hwfn *p_hwfn,
86 void qed_int_igu_disable_int(struct qed_hwfn *p_hwfn,
97 u64 qed_int_igu_read_sisr_reg(struct qed_hwfn *p_hwfn);
116 int qed_int_sb_init(struct qed_hwfn *p_hwfn,
129 void qed_int_sb_setup(struct qed_hwfn *p_hwfn,
146 int qed_int_sb_release(struct qed_hwfn *p_hwfn,
168 int qed_int_get_num_sbs(struct qed_hwfn *p_hwfn,
216 void qed_int_igu_init_pure_rt(struct qed_hwfn *p_hwfn,
221 void qed_int_igu_init_rt(struct qed_hwfn *p_hwfn);
[all …]
Dqed_sp.h28 void (*function)(struct qed_hwfn *,
44 int qed_eth_cqe_completion(struct qed_hwfn *p_hwfn,
153 int qed_spq_post(struct qed_hwfn *p_hwfn,
164 int qed_spq_alloc(struct qed_hwfn *p_hwfn);
171 void qed_spq_setup(struct qed_hwfn *p_hwfn);
178 void qed_spq_free(struct qed_hwfn *p_hwfn);
192 qed_spq_get_entry(struct qed_hwfn *p_hwfn,
202 void qed_spq_return_entry(struct qed_hwfn *p_hwfn,
212 struct qed_eq *qed_eq_alloc(struct qed_hwfn *p_hwfn,
221 void qed_eq_setup(struct qed_hwfn *p_hwfn,
[all …]
Dqed_hw.h62 void qed_gtt_init(struct qed_hwfn *p_hwfn);
69 void qed_ptt_invalidate(struct qed_hwfn *p_hwfn);
78 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn);
85 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn);
95 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn,
115 void qed_ptt_set_win(struct qed_hwfn *p_hwfn,
127 struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn,
138 void qed_wr(struct qed_hwfn *p_hwfn,
151 u32 qed_rd(struct qed_hwfn *p_hwfn,
165 void qed_memcpy_from(struct qed_hwfn *p_hwfn,
[all …]
Dqed_cxt.h33 int qed_cxt_acquire_cid(struct qed_hwfn *p_hwfn,
46 int qed_cxt_get_cid_info(struct qed_hwfn *p_hwfn,
61 int qed_cxt_set_pf_params(struct qed_hwfn *p_hwfn);
70 int qed_cxt_cfg_ilt_compute(struct qed_hwfn *p_hwfn);
79 int qed_cxt_mngr_alloc(struct qed_hwfn *p_hwfn);
86 void qed_cxt_mngr_free(struct qed_hwfn *p_hwfn);
95 int qed_cxt_tables_alloc(struct qed_hwfn *p_hwfn);
102 void qed_cxt_mngr_setup(struct qed_hwfn *p_hwfn);
111 void qed_cxt_hw_init_common(struct qed_hwfn *p_hwfn);
120 void qed_cxt_hw_init_pf(struct qed_hwfn *p_hwfn);
[all …]
Dqed_mcp.h107 struct qed_mcp_link_params *qed_mcp_get_link_params(struct qed_hwfn *);
116 struct qed_mcp_link_state *qed_mcp_get_link_state(struct qed_hwfn *);
126 *qed_mcp_get_link_capabilities(struct qed_hwfn *p_hwfn);
137 int qed_mcp_set_link(struct qed_hwfn *p_hwfn,
182 int qed_mcp_cmd(struct qed_hwfn *p_hwfn,
196 int qed_mcp_drain(struct qed_hwfn *p_hwfn,
208 int qed_mcp_get_flash_size(struct qed_hwfn *p_hwfn,
223 qed_mcp_send_drv_version(struct qed_hwfn *p_hwfn,
270 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn,
280 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn,
[all …]
Dqed_init_ops.h35 int qed_init_run(struct qed_hwfn *p_hwfn,
49 int qed_init_alloc(struct qed_hwfn *p_hwfn);
57 void qed_init_free(struct qed_hwfn *p_hwfn);
65 void qed_init_clear_rt_data(struct qed_hwfn *p_hwfn);
75 void qed_init_store_rt_reg(struct qed_hwfn *p_hwfn,
94 void qed_init_store_rt_agg(struct qed_hwfn *p_hwfn,
109 void qed_gtt_init(struct qed_hwfn *p_hwfn);
Dqed_dev_api.h106 void qed_hw_start_fastpath(struct qed_hwfn *p_hwfn);
145 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn);
157 void qed_ptt_release(struct qed_hwfn *p_hwfn,
195 qed_dmae_host2grc(struct qed_hwfn *p_hwfn,
240 int qed_fw_l2_queue(struct qed_hwfn *p_hwfn,
253 int qed_fw_vport(struct qed_hwfn *p_hwfn,
266 int qed_fw_rss_eng(struct qed_hwfn *p_hwfn,
279 int qed_final_cleanup(struct qed_hwfn *p_hwfn,
Dqed_int.c62 static inline u16 qed_attn_update_idx(struct qed_hwfn *p_hwfn, in qed_attn_update_idx()
90 static int qed_int_assertion(struct qed_hwfn *p_hwfn, in qed_int_assertion()
138 static int qed_int_deassertion(struct qed_hwfn *p_hwfn, in qed_int_deassertion()
166 static int qed_int_attentions(struct qed_hwfn *p_hwfn) in qed_int_attentions()
223 static void qed_sb_ack_attn(struct qed_hwfn *p_hwfn, in qed_sb_ack_attn()
247 struct qed_hwfn *p_hwfn = (struct qed_hwfn *)hwfn_cookie; in qed_int_sp_dpc()
344 static void qed_int_sb_attn_free(struct qed_hwfn *p_hwfn) in qed_int_sb_attn_free()
359 static void qed_int_sb_attn_setup(struct qed_hwfn *p_hwfn, in qed_int_sb_attn_setup()
376 static void qed_int_sb_attn_init(struct qed_hwfn *p_hwfn, in qed_int_sb_attn_init()
393 static int qed_int_sb_attn_alloc(struct qed_hwfn *p_hwfn, in qed_int_sb_attn_alloc()
[all …]
Dqed_spq.c41 static void qed_spq_blocking_cb(struct qed_hwfn *p_hwfn, in qed_spq_blocking_cb()
57 static int qed_spq_block(struct qed_hwfn *p_hwfn, in qed_spq_block()
112 qed_spq_fill_entry(struct qed_hwfn *p_hwfn, in qed_spq_fill_entry()
147 static void qed_spq_hw_initialize(struct qed_hwfn *p_hwfn, in qed_spq_hw_initialize()
192 static int qed_spq_hw_post(struct qed_hwfn *p_hwfn, in qed_spq_hw_post()
244 qed_async_event_completion(struct qed_hwfn *p_hwfn, in qed_async_event_completion()
256 void qed_eq_prod_update(struct qed_hwfn *p_hwfn, in qed_eq_prod_update()
268 int qed_eq_completion(struct qed_hwfn *p_hwfn, in qed_eq_completion()
324 struct qed_eq *qed_eq_alloc(struct qed_hwfn *p_hwfn, in qed_eq_alloc()
361 void qed_eq_setup(struct qed_hwfn *p_hwfn, in qed_eq_setup()
[all …]
Dqed_hw.c44 int qed_ptt_pool_alloc(struct qed_hwfn *p_hwfn) in qed_ptt_pool_alloc()
69 void qed_ptt_invalidate(struct qed_hwfn *p_hwfn) in qed_ptt_invalidate()
80 void qed_ptt_pool_free(struct qed_hwfn *p_hwfn) in qed_ptt_pool_free()
86 struct qed_ptt *qed_ptt_acquire(struct qed_hwfn *p_hwfn) in qed_ptt_acquire()
115 void qed_ptt_release(struct qed_hwfn *p_hwfn, in qed_ptt_release()
123 u32 qed_ptt_get_hw_addr(struct qed_hwfn *p_hwfn, in qed_ptt_get_hw_addr()
142 void qed_ptt_set_win(struct qed_hwfn *p_hwfn, in qed_ptt_set_win()
167 static u32 qed_set_ptt(struct qed_hwfn *p_hwfn, in qed_set_ptt()
186 struct qed_ptt *qed_get_reserved_ptt(struct qed_hwfn *p_hwfn, in qed_get_reserved_ptt()
198 void qed_wr(struct qed_hwfn *p_hwfn, in qed_wr()
[all …]
Dqed_init_ops.c53 void qed_init_clear_rt_data(struct qed_hwfn *p_hwfn) in qed_init_clear_rt_data()
61 void qed_init_store_rt_reg(struct qed_hwfn *p_hwfn, in qed_init_store_rt_reg()
69 void qed_init_store_rt_agg(struct qed_hwfn *p_hwfn, in qed_init_store_rt_agg()
82 static void qed_init_rt(struct qed_hwfn *p_hwfn, in qed_init_rt()
98 int qed_init_alloc(struct qed_hwfn *p_hwfn) in qed_init_alloc()
111 void qed_init_free(struct qed_hwfn *p_hwfn) in qed_init_free()
117 static int qed_init_array_dmae(struct qed_hwfn *p_hwfn, in qed_init_array_dmae()
144 static int qed_init_fill_dmae(struct qed_hwfn *p_hwfn, in qed_init_fill_dmae()
167 static void qed_init_fill(struct qed_hwfn *p_hwfn, in qed_init_fill()
179 static int qed_init_cmd_array(struct qed_hwfn *p_hwfn, in qed_init_cmd_array()
[all …]
Dqed_mcp.c47 bool qed_mcp_is_init(struct qed_hwfn *p_hwfn) in qed_mcp_is_init()
54 void qed_mcp_cmd_port_init(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_port_init()
68 void qed_mcp_read_mb(struct qed_hwfn *p_hwfn, in qed_mcp_read_mb()
88 int qed_mcp_free(struct qed_hwfn *p_hwfn) in qed_mcp_free()
99 static int qed_load_mcp_offsets(struct qed_hwfn *p_hwfn, in qed_load_mcp_offsets()
143 int qed_mcp_cmd_init(struct qed_hwfn *p_hwfn, in qed_mcp_cmd_init()
182 int qed_mcp_reset(struct qed_hwfn *p_hwfn, in qed_mcp_reset()
215 static int qed_do_mcp_cmd(struct qed_hwfn *p_hwfn, in qed_do_mcp_cmd()
278 int qed_mcp_cmd(struct qed_hwfn *p_hwfn, in qed_mcp_cmd()
306 struct qed_hwfn *p_hwfn, in qed_mcp_set_drv_ver()
[all …]
Dqed_cxt.c144 static void qed_cxt_qm_iids(struct qed_hwfn *p_hwfn, in qed_cxt_qm_iids()
157 static void qed_cxt_set_proto_cid_count(struct qed_hwfn *p_hwfn, in qed_cxt_set_proto_cid_count()
185 static void qed_ilt_cli_adv_line(struct qed_hwfn *p_hwfn, in qed_ilt_cli_adv_line()
208 int qed_cxt_cfg_ilt_compute(struct qed_hwfn *p_hwfn) in qed_cxt_cfg_ilt_compute()
290 static void qed_ilt_shadow_free(struct qed_hwfn *p_hwfn) in qed_ilt_shadow_free()
310 static int qed_ilt_blk_alloc(struct qed_hwfn *p_hwfn, in qed_ilt_blk_alloc()
356 static int qed_ilt_shadow_alloc(struct qed_hwfn *p_hwfn) in qed_ilt_shadow_alloc()
395 static void qed_cid_map_free(struct qed_hwfn *p_hwfn) in qed_cid_map_free()
407 static int qed_cid_map_alloc(struct qed_hwfn *p_hwfn) in qed_cid_map_alloc()
446 int qed_cxt_mngr_alloc(struct qed_hwfn *p_hwfn) in qed_cxt_mngr_alloc()
[all …]
Dqed_init_fw_funcs.c123 static void qed_enable_pf_rl(struct qed_hwfn *p_hwfn, in qed_enable_pf_rl()
147 static void qed_enable_pf_wfq(struct qed_hwfn *p_hwfn, in qed_enable_pf_wfq()
159 static void qed_enable_vport_rl(struct qed_hwfn *p_hwfn, in qed_enable_vport_rl()
181 static void qed_enable_vport_wfq(struct qed_hwfn *p_hwfn, in qed_enable_vport_wfq()
196 static void qed_cmdq_lines_voq_rt_init(struct qed_hwfn *p_hwfn, in qed_cmdq_lines_voq_rt_init()
219 struct qed_hwfn *p_hwfn, in qed_cmdq_lines_rt_init()
256 struct qed_hwfn *p_hwfn, in qed_btb_blocks_rt_init()
303 struct qed_hwfn *p_hwfn, in qed_tx_pq_map_rt_init()
417 static void qed_other_pq_map_rt_init(struct qed_hwfn *p_hwfn, in qed_other_pq_map_rt_init()
453 static int qed_pf_wfq_rt_init(struct qed_hwfn *p_hwfn, in qed_pf_wfq_rt_init()
[all …]
Dqed_dev.c43 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_dp()
55 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_init_struct()
71 static void qed_qm_info_free(struct qed_hwfn *p_hwfn) in qed_qm_info_free()
93 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free()
102 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_free()
114 static int qed_init_qm_info(struct qed_hwfn *p_hwfn) in qed_init_qm_info()
216 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc()
240 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_alloc()
327 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_resc_setup()
351 int qed_final_cleanup(struct qed_hwfn *p_hwfn, in qed_final_cleanup()
[all …]
Dqed_l2.c135 static int qed_sp_vport_start(struct qed_hwfn *p_hwfn, in qed_sp_vport_start()
191 qed_sp_vport_update_rss(struct qed_hwfn *p_hwfn, in qed_sp_vport_update_rss()
268 qed_sp_update_accept_mode(struct qed_hwfn *p_hwfn, in qed_sp_update_accept_mode()
335 qed_sp_update_mcast_bin(struct qed_hwfn *p_hwfn, in qed_sp_update_mcast_bin()
356 qed_sp_vport_update(struct qed_hwfn *p_hwfn, in qed_sp_vport_update()
411 static int qed_sp_vport_stop(struct qed_hwfn *p_hwfn, in qed_sp_vport_stop()
459 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_filter_accept_cmd()
480 struct qed_hwfn *p_hwfn, in qed_sp_release_queue_cid()
494 qed_sp_eth_rxq_start_ramrod(struct qed_hwfn *p_hwfn, in qed_sp_eth_rxq_start_ramrod()
567 qed_sp_eth_rx_queue_start(struct qed_hwfn *p_hwfn, in qed_sp_eth_rx_queue_start()
[all …]
Dqed_main.c415 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_config()
424 struct qed_hwfn *hwfn = &cdev->hwfns[index % cdev->num_hwfns]; in qed_simd_handler_clean()
440 struct qed_hwfn *hwfn; in qed_single_int()
479 int qed_slowpath_irq_req(struct qed_hwfn *hwfn) in qed_slowpath_irq_req()
538 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_nic_stop()
650 u32 qed_unzip_data(struct qed_hwfn *p_hwfn, u32 input_len, in qed_unzip_data()
686 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_alloc_stream_mem()
706 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_free_stream_mem()
722 struct qed_hwfn *p_hwfn = &cdev->hwfns[i]; in qed_update_pf_params()
733 struct qed_hwfn *hwfn; in qed_slowpath_start()
[all …]
Dqed_sp_commands.c24 int qed_sp_init_request(struct qed_hwfn *p_hwfn, in qed_sp_init_request()
92 int qed_sp_pf_start(struct qed_hwfn *p_hwfn, in qed_sp_pf_start()
153 int qed_sp_pf_stop(struct qed_hwfn *p_hwfn) in qed_sp_pf_stop()
Dqed.h240 struct qed_hwfn { struct
413 struct qed_hwfn hwfns[MAX_HWFNS_PER_DEVICE];
490 void qed_link_update(struct qed_hwfn *hwfn);
491 u32 qed_unzip_data(struct qed_hwfn *p_hwfn,
495 int qed_slowpath_irq_req(struct qed_hwfn *hwfn);
Dqed_hsi.h22 struct qed_hwfn;
1602 struct qed_hwfn *p_hwfn,
1624 int qed_qm_pf_rt_init(struct qed_hwfn *p_hwfn,
1638 int qed_init_pf_rl(struct qed_hwfn *p_hwfn,
1654 int qed_init_vport_rl(struct qed_hwfn *p_hwfn,
1672 bool qed_send_qm_stop_cmd(struct qed_hwfn *p_hwfn,