Lines Matching refs:p_ptt
167 struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_set_params() argument
191 qed_wr(p_hwfn, p_ptt, DORQ_REG_TAG1_OVRD_MODE, 1); in qed_dcbx_set_params()
192 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1); in qed_dcbx_set_params()
199 struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_update_app_info() argument
215 qed_dcbx_set_params(p_data, p_hwfn, p_ptt, app_tlv, enable, in qed_dcbx_update_app_info()
250 qed_dcbx_process_tlv(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_process_tlv() argument
294 qed_dcbx_update_app_info(p_data, p_hwfn, p_ptt, true, in qed_dcbx_process_tlv()
316 qed_dcbx_update_app_info(p_data, p_hwfn, p_ptt, false, enable, in qed_dcbx_process_tlv()
327 qed_dcbx_process_mib_info(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_dcbx_process_mib_info() argument
351 rc = qed_dcbx_process_tlv(p_hwfn, p_ptt, &data, p_tbl, pri_tc_tbl, in qed_dcbx_process_mib_info()
372 struct qed_ptt *p_ptt, in qed_dcbx_copy_mib() argument
385 qed_memcpy_from(p_hwfn, p_ptt, p_data->lldp_remote, in qed_dcbx_copy_mib()
390 qed_memcpy_from(p_hwfn, p_ptt, p_data->mib, in qed_dcbx_copy_mib()
741 qed_dcbx_read_local_lldp_mib(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_dcbx_read_local_lldp_mib() argument
750 qed_memcpy_from(p_hwfn, p_ptt, data.lldp_local, data.addr, data.size); in qed_dcbx_read_local_lldp_mib()
757 struct qed_ptt *p_ptt, in qed_dcbx_read_remote_lldp_mib() argument
768 rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); in qed_dcbx_read_remote_lldp_mib()
775 struct qed_ptt *p_ptt, in qed_dcbx_read_operational_mib() argument
786 rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); in qed_dcbx_read_operational_mib()
793 struct qed_ptt *p_ptt, enum qed_mib_read_type type) in qed_dcbx_read_remote_mib() argument
803 rc = qed_dcbx_copy_mib(p_hwfn, p_ptt, &data, type); in qed_dcbx_read_remote_mib()
809 qed_dcbx_read_local_mib(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt) in qed_dcbx_read_local_mib() argument
818 qed_memcpy_from(p_hwfn, p_ptt, data.local_admin, data.addr, data.size); in qed_dcbx_read_local_mib()
824 struct qed_ptt *p_ptt, enum qed_mib_read_type type) in qed_dcbx_read_mib() argument
830 rc = qed_dcbx_read_operational_mib(p_hwfn, p_ptt, type); in qed_dcbx_read_mib()
833 rc = qed_dcbx_read_remote_mib(p_hwfn, p_ptt, type); in qed_dcbx_read_mib()
836 rc = qed_dcbx_read_local_mib(p_hwfn, p_ptt); in qed_dcbx_read_mib()
839 rc = qed_dcbx_read_remote_lldp_mib(p_hwfn, p_ptt, type); in qed_dcbx_read_mib()
842 rc = qed_dcbx_read_local_lldp_mib(p_hwfn, p_ptt); in qed_dcbx_read_mib()
866 struct qed_ptt *p_ptt, enum qed_mib_read_type type) in qed_dcbx_mib_update_event() argument
870 rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type); in qed_dcbx_mib_update_event()
875 rc = qed_dcbx_process_mib_info(p_hwfn, p_ptt); 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()
908 qed_wr(p_hwfn, p_ptt, NIG_REG_TX_EDPM_CTRL, val); 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()
1007 rc = qed_dcbx_read_mib(p_hwfn, p_ptt, type); in qed_dcbx_query_params()
1014 qed_ptt_release(p_hwfn, p_ptt); in qed_dcbx_query_params()
1201 int qed_dcbx_config_params(struct qed_hwfn *p_hwfn, struct qed_ptt *p_ptt, in qed_dcbx_config_params() argument
1225 qed_memcpy_to(p_hwfn, p_ptt, data.addr, data.local_admin, data.size); in qed_dcbx_config_params()
1227 rc = qed_mcp_cmd(p_hwfn, p_ptt, DRV_MSG_CODE_SET_DCBX, in qed_dcbx_config_params()