Lines Matching refs:p_tlv

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()
700 idx = p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
761 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
774 idx = (p_tlv->tlv_type - DRV_TLV_PLOGI_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
783 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
796 idx = (p_tlv->tlv_type - DRV_TLV_PLOGI_1_ACC_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
823 idx = (p_tlv->tlv_type - DRV_TLV_LOGO_1_RECEIVED_SOURCE_FC_ID) / in qed_mfw_get_fcoe_tlv_value()
836 idx = (p_tlv->tlv_type - DRV_TLV_LOGO_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
887 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
900 idx = (p_tlv->tlv_type - DRV_TLV_ABTS_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
914 idx = p_tlv->tlv_type - DRV_TLV_LAST_RSCN_RECEIVED_N_PORT_1; in qed_mfw_get_fcoe_tlv_value()
1052 idx = (p_tlv->tlv_type - in qed_mfw_get_fcoe_tlv_value()
1065 idx = (p_tlv->tlv_type - DRV_TLV_SCSI_CHECK_1_TIMESTAMP) / 2; in qed_mfw_get_fcoe_tlv_value()
1077 qed_mfw_get_iscsi_tlv_value(struct qed_drv_tlv_hdr *p_tlv, in qed_mfw_get_iscsi_tlv_value() argument
1081 switch (p_tlv->tlv_type) { in qed_mfw_get_iscsi_tlv_value()
1187 u8 *p_tlv; in qed_mfw_update_tlvs() local
1201 p_tlv = &p_mfw_buf[offset]; in qed_mfw_update_tlvs()
1202 tlv.tlv_type = TLV_TYPE(p_tlv); in qed_mfw_update_tlvs()
1203 tlv.tlv_length = TLV_LENGTH(p_tlv); in qed_mfw_update_tlvs()
1204 tlv.tlv_flags = TLV_FLAGS(p_tlv); in qed_mfw_update_tlvs()
1233 TLV_FLAGS(p_tlv) = tlv.tlv_flags; in qed_mfw_update_tlvs()