Lines Matching refs:p_tlv
2036 struct pfvf_start_queue_resp_tlv *p_tlv; in qed_iov_vf_mbx_start_rxq_resp() local
2047 length = sizeof(*p_tlv); in qed_iov_vf_mbx_start_rxq_resp()
2051 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_RXQ, in qed_iov_vf_mbx_start_rxq_resp()
2059 p_tlv->offset = PXP_VF_BAR0_START_MSDM_ZONE_B + in qed_iov_vf_mbx_start_rxq_resp()
2406 struct pfvf_start_queue_resp_tlv *p_tlv; in qed_iov_vf_mbx_start_txq_resp() local
2421 length = sizeof(*p_tlv); in qed_iov_vf_mbx_start_txq_resp()
2425 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_TXQ, in qed_iov_vf_mbx_start_txq_resp()
2432 p_tlv->offset = qed_db_addr_vf(cid, DQ_DEMS_LEGACY); in qed_iov_vf_mbx_start_txq_resp()
2731 struct channel_tlv *p_tlv = (struct channel_tlv *)p_tlvs_list; in qed_iov_search_list_tlvs() local
2735 if (!p_tlv->length) { in qed_iov_search_list_tlvs()
2740 if (p_tlv->type == req_type) { in qed_iov_search_list_tlvs()
2743 p_tlv->type, p_tlv->length); in qed_iov_search_list_tlvs()
2744 return p_tlv; in qed_iov_search_list_tlvs()
2747 len += p_tlv->length; in qed_iov_search_list_tlvs()
2748 p_tlv = (struct channel_tlv *)((u8 *)p_tlv + p_tlv->length); in qed_iov_search_list_tlvs()
2750 if ((len + p_tlv->length) > TLV_BUFFER_SIZE) { in qed_iov_search_list_tlvs()
2754 } while (p_tlv->type != CHANNEL_TLV_LIST_END); in qed_iov_search_list_tlvs()