Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_mcp.h135 struct ecore_ptt *p_ptt);
145 struct ecore_ptt *p_ptt);
170 struct ecore_ptt *p_ptt);
187 struct ecore_ptt *p_ptt);
216 struct ecore_ptt *p_ptt,
228 struct ecore_ptt *p_ptt);
239 struct ecore_ptt *p_ptt);
250 struct ecore_ptt *p_ptt);
261 struct ecore_ptt *p_ptt);
270 struct ecore_ptt *p_ptt);
[all …]
H A Decore_dbg_fw_funcs.h79 struct ecore_ptt *p_ptt,
115 struct ecore_ptt *p_ptt,
138 struct ecore_ptt *p_ptt,
178 struct ecore_ptt *p_ptt,
264 struct ecore_ptt *p_ptt,
345 struct ecore_ptt *p_ptt,
385 struct ecore_ptt *p_ptt,
420 struct ecore_ptt *p_ptt,
471 struct ecore_ptt *p_ptt,
493 struct ecore_ptt *p_ptt);
[all …]
H A Decore_hw.c115 struct ecore_ptt *p_ptt; in ecore_ptt_invalidate() local
119 p_ptt = &p_hwfn->p_ptt_pool->ptts[i]; in ecore_ptt_invalidate()
120 p_ptt->pxp.offset = ECORE_BAR_INVALID_OFFSET; in ecore_ptt_invalidate()
135 struct ecore_ptt *p_ptt; in ecore_ptt_acquire() local
143 p_ptt = OSAL_LIST_FIRST_ENTRY(&p_hwfn->p_ptt_pool->free_list, in ecore_ptt_acquire()
145 OSAL_LIST_REMOVE_ENTRY(&p_ptt->list_entry, in ecore_ptt_acquire()
151 "allocated ptt %d\n", p_ptt->idx); in ecore_ptt_acquire()
153 return p_ptt; in ecore_ptt_acquire()
165 struct ecore_ptt *p_ptt) { in ecore_ptt_release() argument
170 OSAL_LIST_PUSH_HEAD(&p_ptt->list_entry, &p_hwfn->p_ptt_pool->free_list); in ecore_ptt_release()
[all …]
H A Decore_mcp.c95 struct ecore_ptt *p_ptt) in ecore_mcp_cmd_port_init() argument
99 u32 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, addr); in ecore_mcp_cmd_port_init()
109 struct ecore_ptt *p_ptt) in ecore_mcp_read_mb() argument
124 tmp = ecore_rd(p_hwfn, p_ptt, in ecore_mcp_read_mb()
219 struct ecore_ptt *p_ptt) in ecore_load_mcp_offsets() argument
235 p_info->public_base = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR); in ecore_load_mcp_offsets()
242 mfw_mb_offsize = ecore_rd(p_hwfn, p_ptt, in ecore_load_mcp_offsets()
246 p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt, in ecore_load_mcp_offsets()
259 p_info->mfw_mb_length = (u16)ecore_rd(p_hwfn, p_ptt, in ecore_load_mcp_offsets()
271 drv_mb_offsize = ecore_rd(p_hwfn, p_ptt, in ecore_load_mcp_offsets()
[all …]
H A Decore_init_fw_funcs.c383 struct ecore_ptt *p_ptt, in ecore_tx_pq_map_rt_init() argument
473 ecore_wr(p_hwfn, p_ptt, PQ_INFO_RAM_GRC_ADDRESS(pq_id), pq_info); in ecore_tx_pq_map_rt_init()
656 struct ecore_ptt *p_ptt) in ecore_poll_on_qm_cmd_ready() argument
662 reg_val = ecore_rd(p_hwfn, p_ptt, QM_REG_SDMCMDREADY); in ecore_poll_on_qm_cmd_ready()
675 struct ecore_ptt *p_ptt, in ecore_send_qm_cmd() argument
680 if (!ecore_poll_on_qm_cmd_ready(p_hwfn, p_ptt)) in ecore_send_qm_cmd()
683 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDADDR, cmd_addr); in ecore_send_qm_cmd()
684 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATALSB, cmd_data_lsb); in ecore_send_qm_cmd()
685 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDDATAMSB, cmd_data_msb); in ecore_send_qm_cmd()
686 ecore_wr(p_hwfn, p_ptt, QM_REG_SDMCMDGO, 1); in ecore_send_qm_cmd()
[all …]
H A Decore_init_fw_funcs.h115 struct ecore_ptt *p_ptt,
145 struct ecore_ptt *p_ptt,
160 struct ecore_ptt *p_ptt,
177 struct ecore_ptt *p_ptt,
194 struct ecore_ptt *p_ptt,
213 struct ecore_ptt *p_ptt,
234 struct ecore_ptt *p_ptt,
248 struct ecore_ptt *p_ptt,
263 struct ecore_ptt *p_ptt,
278 struct ecore_ptt *p_ptt,
[all …]
H A Decore_dbg_fw_funcs.c1854 struct ecore_ptt *p_ptt) in ecore_dbg_dev_init() argument
1889 if (ecore_rd(p_hwfn, p_ptt, MISCS_REG_ECO_RESERVED) & 0x20000000) { in ecore_dbg_dev_init()
1951 struct ecore_ptt *p_ptt, in ecore_read_fw_info() argument
1974 dest[i] = ecore_rd(p_hwfn, p_ptt, addr); in ecore_read_fw_info()
1981 dest[i] = ecore_rd(p_hwfn, p_ptt, addr); in ecore_read_fw_info()
2079 struct ecore_ptt *p_ptt, in ecore_dump_fw_ver_param() argument
2102 ecore_read_fw_info(p_hwfn, p_ptt, storm_id, &fw_info); in ecore_dump_fw_ver_param()
2130 struct ecore_ptt *p_ptt, in ecore_dump_mfw_ver_param() argument
2143 public_data_addr = ecore_rd(p_hwfn, p_ptt, MISC_REG_SHARED_MEM_ADDR) | MCP_REG_SCRATCH; in ecore_dump_mfw_ver_param()
2147 global_section_offsize = ecore_rd(p_hwfn, p_ptt, global_section_offsize_addr); in ecore_dump_mfw_ver_param()
[all …]
H A Decore_dev.c722 __ecore_llh_set_engine_affin(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in __ecore_llh_set_engine_affin() argument
729 rc = ecore_mcp_get_engine_config(p_hwfn, p_ptt); in __ecore_llh_set_engine_affin()
776 ecore_llh_set_engine_affin(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_llh_set_engine_affin() argument
825 return __ecore_llh_set_engine_affin(p_hwfn, p_ptt); in ecore_llh_set_engine_affin()
829 struct ecore_ptt *p_ptt, in ecore_llh_hw_init_pf() argument
844 ecore_wr(p_hwfn, p_ptt, addr, p_hwfn->rel_pf_id); in ecore_llh_hw_init_pf()
857 rc = ecore_llh_set_engine_affin(p_hwfn, p_ptt, avoid_eng_affin); in ecore_llh_hw_init_pf()
885 struct ecore_ptt *p_ptt = ecore_ptt_acquire(p_hwfn); in ecore_llh_set_ppfid_affinity() local
890 if (p_ptt == OSAL_NULL) in ecore_llh_set_ppfid_affinity()
918 val = ecore_rd(p_hwfn, p_ptt, addr); in ecore_llh_set_ppfid_affinity()
[all …]
H A Decore_mcp_api.h615 struct ecore_ptt *p_ptt,
629 struct ecore_ptt *p_ptt,
643 struct ecore_ptt *p_ptt,
658 struct ecore_ptt *p_ptt,
673 struct ecore_ptt *p_ptt,
689 struct ecore_ptt *p_ptt,
704 struct ecore_ptt *p_ptt,
722 struct ecore_ptt *p_ptt, u32 cmd, u32 param,
733 struct ecore_ptt *p_ptt);
759 struct ecore_ptt *p_ptt,
[all …]
H A Decore_hw.h121 u32 ecore_ptt_get_bar_addr(struct ecore_ptt *p_ptt);
131 struct ecore_ptt *p_ptt,
154 struct ecore_ptt *p_ptt,
166 struct ecore_ptt *p_ptt,
180 struct ecore_ptt *p_ptt,
196 struct ecore_ptt *p_ptt,
212 struct ecore_ptt *p_ptt,
224 struct ecore_ptt *p_ptt,
235 struct ecore_ptt *p_ptt);
269 struct ecore_ptt *p_ptt,
[all …]
H A Dqlnx_ioctl.c107 struct ecore_ptt *p_ptt; in qlnx_grc_dump() local
118 p_ptt = ecore_ptt_acquire(p_hwfn); in qlnx_grc_dump()
120 if (!p_ptt) { in qlnx_grc_dump()
125 if ((rval = ecore_dbg_grc_dump(p_hwfn, p_ptt, in qlnx_grc_dump()
135 ecore_ptt_release(p_hwfn, p_ptt); in qlnx_grc_dump()
195 struct ecore_ptt *p_ptt; in qlnx_idle_chk() local
206 p_ptt = ecore_ptt_acquire(p_hwfn); in qlnx_idle_chk()
208 if (!p_ptt) { in qlnx_idle_chk()
213 if ((rval = ecore_dbg_idle_chk_dump(p_hwfn, p_ptt, in qlnx_idle_chk()
223 ecore_ptt_release(p_hwfn, p_ptt); in qlnx_idle_chk()
[all …]
H A Decore_int.h85 struct ecore_ptt *p_ptt);
94 struct ecore_ptt *p_ptt);
119 struct ecore_ptt *p_ptt,
137 struct ecore_ptt *p_ptt);
200 struct ecore_ptt *p_ptt,
217 struct ecore_ptt *p_ptt,
232 struct ecore_ptt *p_ptt);
248 struct ecore_ptt *p_ptt);
260 struct ecore_ptt *p_ptt,
277 struct ecore_ptt *p_ptt,
[all …]
H A Decore_init_ops.c107 struct ecore_ptt *p_ptt, in ecore_init_rt() argument
129 ecore_wr(p_hwfn, p_ptt, addr + (i << 2), in ecore_init_rt()
139 rc = ecore_dmae_host2grc(p_hwfn, p_ptt, in ecore_init_rt()
185 struct ecore_ptt *p_ptt, argument
203 ecore_wr(p_hwfn, p_ptt, addr + (i << 2), data[i]);
205 rc = ecore_dmae_host2grc(p_hwfn, p_ptt,
216 struct ecore_ptt *p_ptt, argument
226 return ecore_dmae_host2grc(p_hwfn, p_ptt,
232 struct ecore_ptt *p_ptt, argument
238 ecore_wr(p_hwfn, p_ptt, addr, fill);
[all …]
H A Decore_int.c313 struct ecore_ptt *p_ptt) in ecore_pglueb_rbc_attn_handler() argument
317 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS2); in ecore_pglueb_rbc_attn_handler()
321 addr_lo = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
323 addr_hi = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
325 details = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
340 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_RD_DETAILS2); in ecore_pglueb_rbc_attn_handler()
344 addr_lo = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
346 addr_hi = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
348 details = ecore_rd(p_hwfn, p_ptt, in ecore_pglueb_rbc_attn_handler()
363 tmp = ecore_rd(p_hwfn, p_ptt, PGLUE_B_REG_TX_ERR_WR_DETAILS_ICPL); in ecore_pglueb_rbc_attn_handler()
[all …]
H A Decore_sriov.c362 struct ecore_ptt *p_ptt) in ecore_iov_post_vf_bulletin() argument
393 return ecore_dmae_host2host(p_hwfn, p_ptt, p_vf->bulletin.phys, in ecore_iov_post_vf_bulletin()
802 struct ecore_ptt *p_ptt, in ecore_iov_vf_pglue_clear_err() argument
805 ecore_wr(p_hwfn, p_ptt, in ecore_iov_vf_pglue_clear_err()
811 struct ecore_ptt *p_ptt, in ecore_iov_vf_igu_reset() argument
817 ecore_fid_pretend(p_hwfn, p_ptt, (u16)vf->concrete_fid); in ecore_iov_vf_igu_reset()
819 ecore_wr(p_hwfn, p_ptt, IGU_REG_STATISTIC_NUM_VF_MSG_SENT, 0); in ecore_iov_vf_igu_reset()
822 ecore_fid_pretend(p_hwfn, p_ptt, (u16)p_hwfn->hw_info.concrete_fid); in ecore_iov_vf_igu_reset()
826 ecore_int_igu_init_pure_rt_single(p_hwfn, p_ptt, in ecore_iov_vf_igu_reset()
832 struct ecore_ptt *p_ptt, in ecore_iov_vf_igu_set_int() argument
[all …]
H A Decore_dcbx.c212 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_set_params() argument
241 ecore_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); in ecore_dcbx_set_params()
242 ecore_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1); in ecore_dcbx_set_params()
249 struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_update_app_info() argument
265 ecore_dcbx_set_params(p_data, p_hwfn, p_ptt, enable, in ecore_dcbx_update_app_info()
331 ecore_dcbx_process_tlv(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt, in ecore_dcbx_process_tlv() argument
379 ecore_dcbx_update_app_info(p_data, p_hwfn, p_ptt, in ecore_dcbx_process_tlv()
402 ecore_dcbx_update_app_info(p_data, p_hwfn, p_ptt, false, in ecore_dcbx_process_tlv()
413 ecore_dcbx_process_mib_info(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt) in ecore_dcbx_process_mib_info() argument
437 rc = ecore_dcbx_process_tlv(p_hwfn, p_ptt, &data, p_tbl, pri_tc_tbl, in ecore_dcbx_process_mib_info()
[all …]
H A Decore_iov_api.h217 struct ecore_ptt *p_ptt,
229 struct ecore_ptt *p_ptt,
245 struct ecore_ptt *p_ptt,
270 struct ecore_ptt *p_ptt);
283 struct ecore_ptt *p_ptt,
459 struct ecore_ptt *p_ptt);
587 struct ecore_ptt *p_ptt,
601 struct ecore_ptt *p_ptt,
764 …r_vf(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, struct ecore_iov_… in ecore_iov_init_hw_for_vf() argument
765 …_req(struct ecore_hwfn OSAL_UNUSED *p_hwfn, struct ecore_ptt OSAL_UNUSED *p_ptt, int OSAL_UNUSED v… in ecore_iov_process_mbx_req() argument
[all …]
H A Decore_int_api.h203 struct ecore_ptt *p_ptt,
217 struct ecore_ptt *p_ptt,
227 struct ecore_ptt *p_ptt);
258 struct ecore_ptt *p_ptt,
272 struct ecore_ptt *p_ptt,
345 struct ecore_ptt *p_ptt,
361 ecore_int_igu_relocate_sb(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
H A Decore_dcbx_api.h241 struct ecore_ptt *p_ptt,
246 struct ecore_ptt *p_ptt,
251 ecore_lldp_get_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
255 ecore_lldp_set_params(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
259 ecore_lldp_set_system_tlvs(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
269 ecore_dcbx_set_dscp_priority(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
273 ecore_lldp_get_stats(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt,
H A Decore_dev_api.h312 struct ecore_ptt *p_ptt,
324 struct ecore_ptt *p_ptt);
349 struct ecore_ptt *p_ptt);
501 struct ecore_ptt *p_ptt,
521 struct ecore_ptt *p_ptt,
542 struct ecore_ptt *p_ptt,
757 struct ecore_ptt *p_ptt);
770 struct ecore_ptt *p_ptt,
827 struct ecore_ptt *p_ptt,
H A Decore_l2.c1770 struct ecore_ptt *p_ptt, in __ecore_get_vport_pstats() argument
1781 ecore_memcpy_from(p_hwfn, p_ptt, &pstats, in __ecore_get_vport_pstats()
1801 struct ecore_ptt *p_ptt, in __ecore_get_vport_tstats() argument
1820 ecore_memcpy_from(p_hwfn, p_ptt, &tstats, in __ecore_get_vport_tstats()
1847 struct ecore_ptt *p_ptt, in __ecore_get_vport_ustats() argument
1858 ecore_memcpy_from(p_hwfn, p_ptt, &ustats, in __ecore_get_vport_ustats()
1893 struct ecore_ptt *p_ptt, in __ecore_get_vport_mstats() argument
1904 ecore_memcpy_from(p_hwfn, p_ptt, &mstats, in __ecore_get_vport_mstats()
1924 struct ecore_ptt *p_ptt, in __ecore_get_vport_port_stats() argument
1933 ecore_memcpy_from(p_hwfn, p_ptt, &port_stats, in __ecore_get_vport_port_stats()
[all …]
H A Decore_l2.h167 struct ecore_ptt *p_ptt,
172 struct ecore_ptt *p_ptt,
177 struct ecore_ptt *p_ptt,
182 struct ecore_ptt *p_ptt,
H A Decore_rdma.c739 struct ecore_ptt *p_ptt) in ecore_rdma_init_hw() argument
747 return ecore_iwarp_init_hw(p_hwfn, p_ptt); in ecore_rdma_init_hw()
750 p_ptt, in ecore_rdma_init_hw()
761 p_ptt, in ecore_rdma_init_hw()
763 ecore_wr(p_hwfn, p_ptt, PRS_REG_LIGHT_L2_ETHERTYPE_EN, in ecore_rdma_init_hw()
769 p_ptt, in ecore_rdma_init_hw()
773 p_ptt, in ecore_rdma_init_hw()
794 struct ecore_ptt *p_ptt, in ecore_rdma_start_fw() argument
796 struct ecore_ptt OSAL_UNUSED *p_ptt, in ecore_rdma_start_fw()
834 &p_ent->ramrod.roce_init_func, p_ptt); in ecore_rdma_start_fw()
[all …]
H A Decore_roce.h41 ecore_roce_dpm_dcbx(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
44 ecore_rdma_dpm_bar(struct ecore_hwfn *p_hwfn, struct ecore_ptt *p_ptt);
50 struct ecore_ptt *p_ptt);
H A Decore_sp_commands.c248 struct ecore_ptt *p_ptt, in ecore_set_hw_tunn_mode() argument
251 ecore_set_gre_enable(p_hwfn, p_ptt, p_tun->l2_gre.b_mode_enabled, in ecore_set_hw_tunn_mode()
253 ecore_set_vxlan_enable(p_hwfn, p_ptt, p_tun->vxlan.b_mode_enabled); in ecore_set_hw_tunn_mode()
255 ecore_set_geneve_enable(p_hwfn, p_ptt, p_tun->l2_geneve.b_mode_enabled, in ecore_set_hw_tunn_mode()
260 struct ecore_ptt *p_ptt, in ecore_set_hw_tunn_mode_port() argument
270 ecore_set_vxlan_dest_port(p_hwfn, p_ptt, in ecore_set_hw_tunn_mode_port()
274 ecore_set_geneve_dest_port(p_hwfn, p_ptt, in ecore_set_hw_tunn_mode_port()
277 ecore_set_hw_tunn_mode(p_hwfn, p_ptt, p_tunn); in ecore_set_hw_tunn_mode_port()
323 struct ecore_ptt *p_ptt, in ecore_sp_pf_start() argument
449 ecore_set_hw_tunn_mode_port(p_hwfn, p_ptt, in ecore_sp_pf_start()
[all …]

12