Home
last modified time | relevance | path

Searched refs:p_ptt (Results 1 – 25 of 38) sorted by relevance

12

/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_ptp.c106 struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; in qed_ptp_hw_read_rx_ts() local
132 struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; in qed_ptp_hw_read_tx_ts() local
158 struct qed_ptt *p_ptt = p_hwfn->p_ptp_ptt; in qed_ptp_hw_read_cc() local
342 struct qed_ptt *p_ptt; in qed_ptp_hw_enable() local
345 p_ptt = qed_ptt_acquire(p_hwfn); in qed_ptp_hw_enable()
346 if (!p_ptt) { in qed_ptp_hw_enable()
351 p_hwfn->p_ptp_ptt = p_ptt; in qed_ptp_hw_enable()
353 rc = qed_ptp_res_lock(p_hwfn, p_ptt); in qed_ptp_hw_enable()
357 qed_ptt_release(p_hwfn, p_ptt); in qed_ptp_hw_enable()
406 qed_ptp_res_unlock(p_hwfn, p_ptt); in qed_ptp_hw_disable()
[all …]
A Dqed_mcp.h322 struct qed_ptt *p_ptt,
362 struct qed_ptt *p_ptt,
411 struct qed_ptt *p_ptt,
428 struct qed_ptt *p_ptt);
454 struct qed_ptt *p_ptt,
466 struct qed_ptt *p_ptt);
551 struct qed_ptt *p_ptt,
564 struct qed_ptt *p_ptt,
957 struct qed_ptt *p_ptt);
1067 struct qed_ptt *p_ptt,
[all …]
A Dqed_mcp.c618 struct qed_ptt *p_ptt, in qed_mcp_cmd() argument
1192 qed_wr(p_hwfn, p_ptt, in qed_mcp_ack_vf_flr()
1235 p_ptt, in qed_mcp_read_eee_config()
2060 qed_wr(p_hwfn, p_ptt, in qed_mcp_handle_events()
2162 if (!p_ptt) { in qed_mcp_get_media_type()
2349 if (!p_ptt) { in qed_mcp_get_board_config()
3009 struct qed_ptt *p_ptt; in qed_mcp_nvm_read() local
3013 if (!p_ptt) in qed_mcp_nvm_read()
3056 if (!p_ptt) in qed_mcp_nvm_resp()
3074 if (!p_ptt) in qed_mcp_nvm_write()
[all …]
A Dqed_hw.c71 struct qed_ptt *p_ptt; in qed_ptt_invalidate() local
88 struct qed_ptt *p_ptt; in qed_ptt_acquire() local
104 return p_ptt; in qed_ptt_acquire()
153 p_ptt->idx, new_hw_addr); in qed_ptt_set_win()
175 p_ptt->idx, p_ptt->hwfn_id, p_hwfn->my_id); in qed_set_ptt()
200 struct qed_ptt *p_ptt, in qed_wr() argument
212 struct qed_ptt *p_ptt, in qed_rd() argument
226 struct qed_ptt *p_ptt, in qed_memcpy_hw() argument
447 struct qed_ptt *p_ptt) in qed_dmae_post_command() argument
493 qed_wr(p_hwfn, p_ptt, in qed_dmae_post_command()
[all …]
A Dqed_init_fw_funcs.c540 struct qed_ptt *p_ptt, in qed_tx_pq_map_rt_init() argument
1052 qed_wr(p_hwfn, p_ptt, in qed_init_global_rl()
1055 p_ptt, in qed_init_global_rl()
1064 struct qed_ptt *p_ptt, in qed_send_qm_stop_cmd() argument
1217 struct qed_ptt *p_ptt, in qed_set_gre_enable() argument
1252 p_ptt, in qed_set_gre_enable()
1272 struct qed_ptt *p_ptt, in qed_set_geneve_enable() argument
1307 p_ptt, in qed_set_geneve_enable()
1311 p_ptt, in qed_set_geneve_enable()
1336 p_ptt, in qed_set_vxlan_no_l2_enable()
[all …]
A Dqed_selftest.c43 struct qed_ptt *p_ptt; in qed_selftest_register() local
49 p_ptt = qed_ptt_acquire(p_hwfn); in qed_selftest_register()
50 if (!p_ptt) { in qed_selftest_register()
55 qed_ptt_release(p_hwfn, p_ptt); in qed_selftest_register()
66 struct qed_ptt *p_ptt; in qed_selftest_clock() local
72 p_ptt = qed_ptt_acquire(p_hwfn); in qed_selftest_clock()
73 if (!p_ptt) { in qed_selftest_clock()
78 qed_ptt_release(p_hwfn, p_ptt); in qed_selftest_clock()
96 if (!p_ptt) { in qed_selftest_nvram()
177 qed_ptt_release(p_hwfn, p_ptt); in qed_selftest_nvram()
[all …]
A Dqed_dev.c749 if (!p_ptt) in qed_llh_set_ppfid_affinity()
797 if (!p_ptt) in qed_llh_set_roce_affinity()
964 if (!p_ptt) in qed_llh_add_mac_filter()
1097 if (!p_ptt) in qed_llh_add_protocol_filter()
1164 if (!p_ptt) in qed_llh_remove_mac_filter()
1217 if (!p_ptt) in qed_llh_remove_protocol_filter()
3472 if (!p_ptt) in qed_hw_stop_fastpath()
3505 if (!p_ptt) in qed_hw_start_fastpath()
4921 if (!p_ptt) in qed_set_queue_coalesce()
5224 if (!p_ptt) in qed_configure_vport_wfq()
[all …]
A Dqed_int.h65 struct qed_ptt *p_ptt,
77 struct qed_ptt *p_ptt);
106 struct qed_ptt *p_ptt,
121 struct qed_ptt *p_ptt,
198 int qed_db_rec_handler(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
271 struct qed_ptt *p_ptt,
289 struct qed_ptt *p_ptt);
354 struct qed_ptt *p_ptt,
372 struct qed_ptt *p_ptt,
387 struct qed_ptt *p_ptt);
[all …]
A Dqed_hw.h100 struct qed_ptt *p_ptt);
109 u32 qed_ptt_get_bar_addr(struct qed_ptt *p_ptt);
121 struct qed_ptt *p_ptt,
146 struct qed_ptt *p_ptt,
160 struct qed_ptt *p_ptt,
175 struct qed_ptt *p_ptt,
192 struct qed_ptt *p_ptt,
210 struct qed_ptt *p_ptt,
223 struct qed_ptt *p_ptt,
235 struct qed_ptt *p_ptt);
[all …]
A Dqed_int.c377 struct qed_ptt *p_ptt) in qed_db_rec_flush_queue() argument
521 p_ptt, in qed_dorq_attn_int_sts()
1352 struct qed_ptt *p_ptt) in qed_int_sb_attn_setup() argument
1369 struct qed_ptt *p_ptt, in qed_int_sb_attn_init() argument
1407 struct qed_ptt *p_ptt) in qed_int_sb_attn_alloc() argument
1492 struct qed_ptt *p_ptt, in qed_int_cau_conf_pi() argument
1514 qed_wr(p_hwfn, p_ptt, in qed_int_cau_conf_pi()
1522 struct qed_ptt *p_ptt, in qed_int_cau_conf_sb() argument
1662 struct qed_ptt *p_ptt, in qed_int_sb_init() argument
1995 qed_wr(p_hwfn, p_ptt, in qed_int_igu_init_pure_rt_single()
[all …]
A Dqed_debug.c1843 p_ptt, in qed_find_nvram_image()
2549 p_ptt, in qed_grc_dump_special_regs()
2758 p_ptt, in qed_grc_dump_mem_entries()
2890 p_ptt, in qed_grc_dump_ctx()
2899 p_ptt, in qed_grc_dump_ctx()
2908 p_ptt, in qed_grc_dump_ctx()
2958 p_ptt, in qed_grc_dump_read_from_vfc()
2964 p_ptt, in qed_grc_dump_read_from_vfc()
2992 p_ptt, in qed_grc_dump_read_from_vfc()
3397 p_ptt, in qed_grc_dump_mcp_hw_dump()
[all …]
A Dqed_init_ops.c160 struct qed_ptt *p_ptt, in qed_init_rt() argument
238 struct qed_ptt *p_ptt, in qed_init_array_dmae() argument
265 struct qed_ptt *p_ptt, in qed_init_fill_dmae() argument
286 struct qed_ptt *p_ptt, in qed_init_fill() argument
292 qed_wr(p_hwfn, p_ptt, addr, fill); in qed_init_fill()
296 struct qed_ptt *p_ptt, in qed_init_cmd_array() argument
368 struct qed_ptt *p_ptt, in qed_init_cmd_wr() argument
388 qed_wr(p_hwfn, p_ptt, addr, data); in qed_init_cmd_wr()
402 qed_init_rt(p_hwfn, p_ptt, addr, in qed_init_cmd_wr()
440 val = qed_rd(p_hwfn, p_ptt, addr); in qed_init_cmd_rd()
[all …]
A Dqed_sriov.c708 qed_wr(p_hwfn, p_ptt, in qed_iov_vf_pglue_clear_err()
734 struct qed_ptt *p_ptt, in qed_iov_vf_igu_set_int() argument
895 qed_wr(p_hwfn, p_ptt, in qed_iov_alloc_vf_igu_sbs()
978 struct qed_ptt *p_ptt, in qed_iov_init_hw_for_vf() argument
1044 p_ptt, in qed_iov_init_hw_for_vf()
1196 struct qed_ptt *p_ptt, in qed_iov_send_response() argument
1303 struct qed_ptt *p_ptt, in qed_iov_prepare_resp() argument
1383 struct qed_ptt *p_ptt) in qed_iov_vf_db_bar_size() argument
1394 struct qed_ptt *p_ptt, in qed_iov_vf_mbx_acquire_resc_cids() argument
3013 struct qed_ptt *p_ptt, in qed_iov_vf_mbx_vport_update() argument
[all …]
A Dqed_dbg_hsi.h879 struct qed_ptt *p_ptt,
898 struct qed_ptt *p_ptt,
917 struct qed_ptt *p_ptt,
938 struct qed_ptt *p_ptt,
979 struct qed_ptt *p_ptt,
999 struct qed_ptt *p_ptt,
1018 struct qed_ptt *p_ptt,
1038 struct qed_ptt *p_ptt,
1077 struct qed_ptt *p_ptt,
1112 struct qed_ptt *p_ptt,
[all …]
A Dqed_dev_api.h208 struct qed_ptt *p_ptt);
232 struct qed_ptt *p_ptt,
250 int qed_dmae_grc2host(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt,
269 struct qed_ptt *p_ptt,
437 struct qed_ptt *p_ptt, u16 id, bool is_vf);
478 struct qed_ptt *p_ptt, bool b_enable);
A Dqed_dcbx.c372 struct qed_ptt *p_ptt, in qed_dcbx_copy_mib() argument
390 qed_memcpy_from(p_hwfn, p_ptt, p_data->mib, in qed_dcbx_copy_mib()
757 struct qed_ptt *p_ptt, in qed_dcbx_read_remote_lldp_mib() argument
775 struct qed_ptt *p_ptt, in qed_dcbx_read_operational_mib() argument
870 rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type); in qed_dcbx_mib_update_event()
880 qed_qm_reconf(p_hwfn, p_ptt); in qed_dcbx_mib_update_event()
890 qed_roce_dpm_dcbx(p_hwfn, p_ptt); in qed_dcbx_mib_update_event()
997 struct qed_ptt *p_ptt; in qed_dcbx_query_params() local
1003 p_ptt = qed_ptt_acquire(p_hwfn); in qed_dcbx_query_params()
1004 if (!p_ptt) in qed_dcbx_query_params()
[all …]
A Dqed_l2.c1852 struct qed_ptt *p_ptt, in __qed_get_vport_stats() argument
1887 if (IS_PF(cdev) && !p_ptt) { in _qed_get_vport_stats()
1897 if (IS_PF(cdev) && p_ptt) in _qed_get_vport_stats()
1935 if (IS_PF(cdev) && !p_ptt) { in qed_reset_vport_stats()
2083 struct qed_ptt *p_ptt, in qed_get_rxq_coalesce() argument
2117 struct qed_ptt *p_ptt, in qed_get_txq_coalesce() argument
2153 struct qed_ptt *p_ptt; in qed_get_queue_coalesce() local
2165 if (!p_ptt) in qed_get_queue_coalesce()
2623 struct qed_ptt *p_ptt; in qed_tunn_configure() local
2629 if (!p_ptt) in qed_tunn_configure()
[all …]
A Dqed_sp_commands.c236 struct qed_ptt *p_ptt, in qed_set_hw_tunn_mode() argument
239 qed_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled, in qed_set_hw_tunn_mode()
241 qed_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled); in qed_set_hw_tunn_mode()
248 struct qed_ptt *p_ptt, in qed_set_hw_tunn_mode_port() argument
252 qed_set_vxlan_dest_port(p_hwfn, p_ptt, in qed_set_hw_tunn_mode_port()
256 qed_set_geneve_dest_port(p_hwfn, p_ptt, in qed_set_hw_tunn_mode_port()
259 qed_set_hw_tunn_mode(p_hwfn, p_ptt, p_tunn); in qed_set_hw_tunn_mode_port()
299 struct qed_ptt *p_ptt, in qed_sp_pf_start() argument
421 qed_set_hw_tunn_mode_port(p_hwfn, p_ptt, in qed_sp_pf_start()
486 struct qed_ptt *p_ptt, in qed_sp_pf_update_tunn_cfg() argument
[all …]
A Dqed_roce.h13 void qed_roce_dpm_dcbx(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
16 struct qed_ptt *p_ptt) {} in qed_roce_dpm_dcbx() argument
21 int qed_roce_init_hw(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
A Dqed_rdma.c570 struct qed_ptt *p_ptt) in qed_rdma_start_fw() argument
679 struct qed_ptt *p_ptt, in qed_rdma_setup() argument
717 struct qed_ptt *p_ptt; in qed_rdma_stop() local
723 p_ptt = qed_ptt_acquire(p_hwfn); in qed_rdma_stop()
724 if (!p_ptt) { in qed_rdma_stop()
750 qed_ptt_release(p_hwfn, p_ptt); in qed_rdma_stop()
1605 struct qed_ptt *p_ptt; in qed_rdma_deregister_tid() local
1640 if (!p_ptt) { in qed_rdma_deregister_tid()
1908 struct qed_ptt *p_ptt; in qed_rdma_start() local
1915 if (!p_ptt) in qed_rdma_start()
[all …]
A Dqed_fcoe.c336 struct qed_ptt *p_ptt, in qed_sp_fcoe_func_stop() argument
643 struct qed_ptt *p_ptt, in _qed_fcoe_get_tstats() argument
675 struct qed_ptt *p_ptt, in _qed_fcoe_get_pstats() argument
698 struct qed_ptt *p_ptt; in qed_fcoe_get_stats() local
702 p_ptt = qed_ptt_acquire(p_hwfn); in qed_fcoe_get_stats()
704 if (!p_ptt) { in qed_fcoe_get_stats()
709 _qed_fcoe_get_tstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
710 _qed_fcoe_get_pstats(p_hwfn, p_ptt, p_stats); in qed_fcoe_get_stats()
712 qed_ptt_release(p_hwfn, p_ptt); in qed_fcoe_get_stats()
772 struct qed_ptt *p_ptt; in qed_fcoe_stop() local
[all …]
A Dqed_l2.h269 struct qed_ptt *p_ptt,
415 struct qed_ptt *p_ptt,
419 struct qed_ptt *p_ptt,
423 struct qed_ptt *p_ptt,
427 struct qed_ptt *p_ptt,
A Dqed_iscsi.c884 struct qed_ptt *p_ptt, in _qed_iscsi_get_tstats() argument
910 struct qed_ptt *p_ptt, in _qed_iscsi_get_mstats() argument
926 struct qed_ptt *p_ptt, in _qed_iscsi_get_ustats() argument
946 struct qed_ptt *p_ptt, in _qed_iscsi_get_xstats() argument
964 struct qed_ptt *p_ptt, in _qed_iscsi_get_ystats() argument
984 struct qed_ptt *p_ptt, in _qed_iscsi_get_pstats() argument
1004 struct qed_ptt *p_ptt; in qed_iscsi_get_stats() local
1008 p_ptt = qed_ptt_acquire(p_hwfn); in qed_iscsi_get_stats()
1009 if (!p_ptt) { in qed_iscsi_get_stats()
1014 _qed_iscsi_get_tstats(p_hwfn, p_ptt, stats); in qed_iscsi_get_stats()
[all …]
A Dqed_rdma.h173 void qed_rdma_dpm_bar(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
174 void qed_rdma_dpm_conf(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt);
179 struct qed_ptt *p_ptt) {} in qed_rdma_dpm_conf() argument
181 struct qed_ptt *p_ptt) {} in qed_rdma_dpm_bar() argument
A Dqed_spq.c95 struct qed_ptt *p_ptt; in qed_spq_block() local
112 p_ptt = qed_ptt_acquire(p_hwfn); in qed_spq_block()
113 if (!p_ptt) { in qed_spq_block()
119 rc = qed_mcp_drain(p_hwfn, p_ptt); in qed_spq_block()
120 qed_ptt_release(p_hwfn, p_ptt); in qed_spq_block()
138 p_ptt = qed_ptt_acquire(p_hwfn); in qed_spq_block()
139 if (!p_ptt) in qed_spq_block()
141 qed_hw_err_notify(p_hwfn, p_ptt, QED_HW_ERR_RAMROD_FAIL, in qed_spq_block()
147 qed_ptt_release(p_hwfn, p_ptt); in qed_spq_block()

Completed in 110 milliseconds

12