Searched refs:p_tlv (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_mng_tlv.c | 246 qed_mfw_get_gen_tlv_value(struct qed_drv_tlv_hdr *p_tlv, in qed_mfw_get_gen_tlv_value() argument 250 switch (p_tlv->tlv_type) { in qed_mfw_get_gen_tlv_value() 267 int idx = p_tlv->tlv_type - DRV_TLV_LOCAL_ADMIN_ADDR; in qed_mfw_get_gen_tlv_value() 308 qed_mfw_get_eth_tlv_value(struct qed_drv_tlv_hdr *p_tlv, in qed_mfw_get_eth_tlv_value() argument 312 switch (p_tlv->tlv_type) { in qed_mfw_get_eth_tlv_value() 442 qed_mfw_get_fcoe_tlv_value(struct qed_drv_tlv_hdr *p_tlv, in qed_mfw_get_fcoe_tlv_value() argument 449 switch (p_tlv->tlv_type) { in qed_mfw_get_fcoe_tlv_value() 635 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value() 648 idx = (p_tlv->tlv_type - DRV_TLV_CRC_ERROR_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value() 686 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value() [all …]
|
D | qed_sriov.c | 2018 struct pfvf_start_queue_resp_tlv *p_tlv; in qed_iov_vf_mbx_start_rxq_resp() local 2029 length = sizeof(*p_tlv); in qed_iov_vf_mbx_start_rxq_resp() 2033 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_RXQ, in qed_iov_vf_mbx_start_rxq_resp() 2041 p_tlv->offset = PXP_VF_BAR0_START_MSDM_ZONE_B + in qed_iov_vf_mbx_start_rxq_resp() 2388 struct pfvf_start_queue_resp_tlv *p_tlv; in qed_iov_vf_mbx_start_txq_resp() local 2403 length = sizeof(*p_tlv); in qed_iov_vf_mbx_start_txq_resp() 2407 p_tlv = qed_add_tlv(p_hwfn, &mbx->offset, CHANNEL_TLV_START_TXQ, in qed_iov_vf_mbx_start_txq_resp() 2414 p_tlv->offset = qed_db_addr_vf(cid, DQ_DEMS_LEGACY); in qed_iov_vf_mbx_start_txq_resp() 2713 struct channel_tlv *p_tlv = (struct channel_tlv *)p_tlvs_list; in qed_iov_search_list_tlvs() local 2717 if (!p_tlv->length) { in qed_iov_search_list_tlvs() [all …]
|
D | qed_vf.c | 16 void *p_tlv; in qed_vf_pf_prep() local 38 p_tlv = qed_add_tlv(p_hwfn, &p_iov->offset, type, length); in qed_vf_pf_prep() 41 ((struct vfpf_first_tlv *)p_tlv)->reply_address = in qed_vf_pf_prep() 44 return p_tlv; in qed_vf_pf_prep()
|