Home
last modified time | relevance | path

Searched refs:opd (Results 1 – 4 of 4) sorted by relevance

/bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MTP/
A Dusbh_mtp_ptp.c290 opd->DataType = PTP_LE16(&data[PTP_opd_DataType]); in PTP_DecodeObjectPropDesc()
291 opd->GetSet = *(uint8_t *)(&data[PTP_opd_GetSet]); in PTP_DecodeObjectPropDesc()
294 PTP_GetDevicePropValue(phost, &offset, opdlen, &opd->FactoryDefaultValue, opd->DataType); in PTP_DecodeObjectPropDesc()
296 opd->GroupCode = PTP_LE32(&data[offset]); in PTP_DecodeObjectPropDesc()
299 opd->FormFlag = *(uint8_t *)(&data[offset]); in PTP_DecodeObjectPropDesc()
302 switch(opd->FormFlag) in PTP_DecodeObjectPropDesc()
305 … PTP_GetDevicePropValue(phost, &offset, opdlen, &opd->FORM.Range.MinimumValue, opd->DataType); in PTP_DecodeObjectPropDesc()
306 … PTP_GetDevicePropValue(phost, &offset, opdlen, &opd->FORM.Range.MaximumValue, opd->DataType); in PTP_DecodeObjectPropDesc()
307 PTP_GetDevicePropValue(phost, &offset, opdlen, &opd->FORM.Range.StepSize, opd->DataType); in PTP_DecodeObjectPropDesc()
314 for(i = 0U; i < opd->FORM.Enum.NumberOfValues ; i++) in PTP_DecodeObjectPropDesc()
[all …]
A Dusbh_mtp.h135 …H_MTP_GetObjectPropDesc(USBH_Info_t *phost, uint16_t opc, uint16_t ofc, PTP_ObjectPropDesc_t *opd);
A Dusbh_mtp_ptp.h748 void PTP_DecodeObjectPropDesc(USBH_Info_t *phost, PTP_ObjectPropDesc_t *opd, uint32_t opdlen);
A Dusbh_mtp.c1247 …BH_MTP_GetObjectPropDesc(USBH_Info_t *phost, uint16_t opc, uint16_t ofc, PTP_ObjectPropDesc_t *opd) in USBH_MTP_GetObjectPropDesc() argument
1285 PTP_DecodeObjectPropDesc(phost, opd, USBH_MTP_Info.data_len); in USBH_MTP_GetObjectPropDesc()

Completed in 20 milliseconds