Lines Matching refs:p_ptt
1626 struct qed_ptt *p_ptt, in __qed_get_vport_pstats() argument
1637 qed_memcpy_from(p_hwfn, p_ptt, &pstats, pstats_addr, pstats_len); in __qed_get_vport_pstats()
1656 struct qed_ptt *p_ptt, in __qed_get_vport_tstats() argument
1676 qed_memcpy_from(p_hwfn, p_ptt, &tstats, tstats_addr, tstats_len); in __qed_get_vport_tstats()
1704 struct qed_ptt *p_ptt, in __qed_get_vport_ustats() argument
1715 qed_memcpy_from(p_hwfn, p_ptt, &ustats, ustats_addr, ustats_len); in __qed_get_vport_ustats()
1746 struct qed_ptt *p_ptt, in __qed_get_vport_mstats() argument
1757 qed_memcpy_from(p_hwfn, p_ptt, &mstats, mstats_addr, mstats_len); in __qed_get_vport_mstats()
1775 struct qed_ptt *p_ptt, in __qed_get_vport_port_stats() argument
1784 qed_memcpy_from(p_hwfn, p_ptt, &port_stats, in __qed_get_vport_port_stats()
1860 p_common->link_change_count = qed_rd(p_hwfn, p_ptt, in __qed_get_vport_port_stats()
1867 struct qed_ptt *p_ptt, in __qed_get_vport_stats() argument
1871 __qed_get_vport_mstats(p_hwfn, p_ptt, stats, statistics_bin); in __qed_get_vport_stats()
1872 __qed_get_vport_ustats(p_hwfn, p_ptt, stats, statistics_bin); in __qed_get_vport_stats()
1873 __qed_get_vport_tstats(p_hwfn, p_ptt, stats, statistics_bin); in __qed_get_vport_stats()
1874 __qed_get_vport_pstats(p_hwfn, p_ptt, stats, statistics_bin); in __qed_get_vport_stats()
1877 __qed_get_vport_port_stats(p_hwfn, p_ptt, stats); in __qed_get_vport_stats()
1890 struct qed_ptt *p_ptt = IS_PF(cdev) ? qed_ptt_acquire(p_hwfn) in _qed_get_vport_stats() local
1901 if (IS_PF(cdev) && !p_ptt) { in _qed_get_vport_stats()
1906 __qed_get_vport_stats(p_hwfn, p_ptt, stats, fw_vport, in _qed_get_vport_stats()
1910 if (IS_PF(cdev) && p_ptt) in _qed_get_vport_stats()
1911 qed_ptt_release(p_hwfn, p_ptt); in _qed_get_vport_stats()
1944 struct qed_ptt *p_ptt = IS_PF(cdev) ? qed_ptt_acquire(p_hwfn) in qed_reset_vport_stats() local
1948 if (IS_PF(cdev) && !p_ptt) { in qed_reset_vport_stats()
1955 qed_memcpy_to(p_hwfn, p_ptt, addr, &mstats, len); in qed_reset_vport_stats()
1959 qed_memcpy_to(p_hwfn, p_ptt, addr, &ustats, len); in qed_reset_vport_stats()
1963 qed_memcpy_to(p_hwfn, p_ptt, addr, &pstats, len); in qed_reset_vport_stats()
1966 qed_ptt_release(p_hwfn, p_ptt); in qed_reset_vport_stats()
1994 struct qed_ptt *p_ptt, in qed_arfs_mode_configure() argument
1998 qed_gft_config(p_hwfn, p_ptt, p_hwfn->rel_pf_id, in qed_arfs_mode_configure()
2014 qed_gft_disable(p_hwfn, p_ptt, p_hwfn->rel_pf_id); in qed_arfs_mode_configure()
2089 struct qed_ptt *p_ptt, in qed_get_rxq_coalesce() argument
2097 rc = qed_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY + in qed_get_rxq_coalesce()
2109 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_rxq_coalesce()
2122 struct qed_ptt *p_ptt, in qed_get_txq_coalesce() argument
2130 rc = qed_dmae_grc2host(p_hwfn, p_ptt, CAU_REG_SB_VAR_MEMORY + in qed_get_txq_coalesce()
2142 coalesce = qed_rd(p_hwfn, p_ptt, address); in qed_get_txq_coalesce()
2157 struct qed_ptt *p_ptt; in qed_get_queue_coalesce() local
2168 p_ptt = qed_ptt_acquire(p_hwfn); in qed_get_queue_coalesce()
2169 if (!p_ptt) in qed_get_queue_coalesce()
2173 rc = qed_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, p_coal); in qed_get_queue_coalesce()
2177 rc = qed_get_txq_coalesce(p_hwfn, p_ptt, p_cid, p_coal); in qed_get_queue_coalesce()
2183 qed_ptt_release(p_hwfn, p_ptt); in qed_get_queue_coalesce()
2626 struct qed_ptt *p_ptt; in qed_tunn_configure() local
2631 p_ptt = qed_ptt_acquire(hwfn); in qed_tunn_configure()
2632 if (!p_ptt) in qed_tunn_configure()
2635 p_ptt = NULL; in qed_tunn_configure()
2638 rc = qed_sp_pf_update_tunn_cfg(hwfn, p_ptt, &tunn_info, in qed_tunn_configure()
2642 qed_ptt_release(hwfn, p_ptt); in qed_tunn_configure()
2662 qed_ptt_release(hwfn, p_ptt); in qed_tunn_configure()