Lines Matching refs:dpdlen
857 ptp_unpack_DPD (PTPParams *params, unsigned char* data, PTPDevicePropDesc *dpd, unsigned int dpdlen) in ptp_unpack_DPD() argument
862 if (dpdlen <= 5) in ptp_unpack_DPD()
870 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FactoryDefaultValue, dpd->DataType); in ptp_unpack_DPD()
872 if ((dpd->DataType == PTP_DTC_STR) && (offset == dpdlen)) in ptp_unpack_DPD()
874 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->CurrentValue, dpd->DataType); in ptp_unpack_DPD()
890 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MinimumValue, dpd->DataType); in ptp_unpack_DPD()
892 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MaximumValue, dpd->DataType); in ptp_unpack_DPD()
894 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.StepSize, dpd->DataType); in ptp_unpack_DPD()
908 …ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataT… in ptp_unpack_DPD()
939 …arams *params, unsigned char* data, PTPDevicePropDesc *dpd, unsigned int dpdlen, unsigned int *pof… in ptp_unpack_Sony_DPD() argument
961 ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FactoryDefaultValue, dpd->DataType); in ptp_unpack_Sony_DPD()
963 if ((dpd->DataType == PTP_DTC_STR) && (*poffset == dpdlen)) in ptp_unpack_Sony_DPD()
965 ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->CurrentValue, dpd->DataType); in ptp_unpack_Sony_DPD()
981 …ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FORM.Range.MinimumValue, dpd->DataType); in ptp_unpack_Sony_DPD()
983 …ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FORM.Range.MaximumValue, dpd->DataType); in ptp_unpack_Sony_DPD()
985 ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FORM.Range.StepSize, dpd->DataType); in ptp_unpack_Sony_DPD()
999 …ret = ptp_unpack_DPV (params, data, poffset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataT… in ptp_unpack_Sony_DPD()