_MTP_Process::ptp is only used within STM32_USB_Host_Library.
 
Symbols
loading...
Files
loading...

_MTP_Process::ptp field

References

LocationReferrerText
usbh_mtp.h:132
usbh_mtp_ptp.c:129USBH_PTP_Init()
MTP_Handle->ptp.state = PTP_IDLE;
usbh_mtp_ptp.c:130USBH_PTP_Init()
MTP_Handle->ptp.req_state = PTP_REQ_SEND;
usbh_mtp_ptp.c:150USBH_PTP_Process()
switch (MTP_Handle->ptp.state)
usbh_mtp_ptp.c:158USBH_PTP_Process()
(uint8_t *)(void *) & (MTP_Handle->ptp.op_container),
usbh_mtp_ptp.c:159USBH_PTP_Process()
(uint16_t)MTP_Handle->ptp.op_container.length,
usbh_mtp_ptp.c:162USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_OP_REQUEST_WAIT_STATE;
usbh_mtp_ptp.c:170USBH_PTP_Process()
if (MTP_Handle->ptp.flags == PTP_DP_NODATA)
usbh_mtp_ptp.c:172USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_RESPONSE_STATE;
usbh_mtp_ptp.c:174USBH_PTP_Process()
else if (MTP_Handle->ptp.flags == PTP_DP_SENDDATA)
usbh_mtp_ptp.c:176USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_DATA_OUT_PHASE_STATE;
usbh_mtp_ptp.c:178USBH_PTP_Process()
else if (MTP_Handle->ptp.flags == PTP_DP_GETDATA)
usbh_mtp_ptp.c:180USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_DATA_IN_PHASE_STATE;
usbh_mtp_ptp.c:198USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:211USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_ERROR;
usbh_mtp_ptp.c:230USBH_PTP_Process()
MTP_Handle->ptp.data_ptr,
usbh_mtp_ptp.c:236USBH_PTP_Process()
usbh_mtp_ptp.c:245USBH_PTP_Process()
if (MTP_Handle->ptp.data_length > MTP_Handle->DataOutEpSize)
usbh_mtp_ptp.c:247USBH_PTP_Process()
MTP_Handle->ptp.data_ptr += MTP_Handle->DataOutEpSize;
usbh_mtp_ptp.c:248USBH_PTP_Process()
MTP_Handle->ptp.data_length -= MTP_Handle->DataOutEpSize;
usbh_mtp_ptp.c:249USBH_PTP_Process()
MTP_Handle->ptp.data_packet += MTP_Handle->DataOutEpSize;
usbh_mtp_ptp.c:251USBH_PTP_Process()
usbh_mtp_ptp.c:254USBH_PTP_Process()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:255USBH_PTP_Process()
MTP_Handle->ptp.iteration++;
usbh_mtp_ptp.c:260USBH_PTP_Process()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:264USBH_PTP_Process()
if (MTP_Handle->ptp.data_length > 0U)
usbh_mtp_ptp.c:267USBH_PTP_Process()
MTP_Handle->ptp.data_ptr,
usbh_mtp_ptp.c:275USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_RESPONSE_STATE;
usbh_mtp_ptp.c:290USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_DATA_OUT_PHASE_STATE;
usbh_mtp_ptp.c:303USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_ERROR;
usbh_mtp_ptp.c:323USBH_PTP_Process()
MTP_Handle->ptp.data_ptr,
usbh_mtp_ptp.c:327USBH_PTP_Process()
usbh_mtp_ptp.c:337USBH_PTP_Process()
if (MTP_Handle->ptp.data_packet_counter++ == 0U)
usbh_mtp_ptp.c:340USBH_PTP_Process()
MTP_Handle->ptp.data_length = *(uint32_t *)(void *)(MTP_Handle->ptp.data_ptr);
usbh_mtp_ptp.c:341USBH_PTP_Process()
MTP_Handle->ptp.iteration = 0U;
usbh_mtp_ptp.c:344USBH_PTP_Process()
if ((len >= MTP_Handle->DataInEpSize) && (MTP_Handle->ptp.data_length > 0U))
usbh_mtp_ptp.c:346USBH_PTP_Process()
MTP_Handle->ptp.data_ptr += len;
usbh_mtp_ptp.c:347USBH_PTP_Process()
MTP_Handle->ptp.data_length -= len;
usbh_mtp_ptp.c:348USBH_PTP_Process()
MTP_Handle->ptp.data_packet += len;
usbh_mtp_ptp.c:350USBH_PTP_Process()
usbh_mtp_ptp.c:353USBH_PTP_Process()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:354USBH_PTP_Process()
MTP_Handle->ptp.iteration++;
usbh_mtp_ptp.c:359USBH_PTP_Process()
MTP_Handle->ptp.data_ptr,
usbh_mtp_ptp.c:365USBH_PTP_Process()
MTP_Handle->ptp.data_length -= len;
usbh_mtp_ptp.c:366USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_RESPONSE_STATE;
usbh_mtp_ptp.c:380USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_ERROR;
usbh_mtp_ptp.c:399USBH_PTP_Process()
(uint8_t *)(void *) & (MTP_Handle->ptp.resp_container),
usbh_mtp_ptp.c:403USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_RESPONSE_WAIT_STATE;
usbh_mtp_ptp.c:421USBH_PTP_Process()
MTP_Handle->ptp.req_state = PTP_REQ_SEND;
usbh_mtp_ptp.c:425USBH_PTP_Process()
MTP_Handle->ptp.state = PTP_ERROR;
usbh_mtp_ptp.c:443USBH_PTP_Process()
MTP_Handle->ptp.req_state = PTP_REQ_SEND;
usbh_mtp_ptp.c:464USBH_PTP_SendRequest()
(void)USBH_memset(&(MTP_Handle->ptp.op_container), 0, sizeof(PTP_OpContainerTypedef));
usbh_mtp_ptp.c:467USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.length = PTP_USB_BULK_REQ_LEN - ((sizeof(uint32_t) * (5U - (uint32_t)req->Nparam)));
usbh_mtp_ptp.c:468USBH_PTP_SendRequest()
usbh_mtp_ptp.c:469USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.code = req->Code;
usbh_mtp_ptp.c:470USBH_PTP_SendRequest()
usbh_mtp_ptp.c:471USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.param1 = req->Param1;
usbh_mtp_ptp.c:472USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.param2 = req->Param2;
usbh_mtp_ptp.c:473USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.param3 = req->Param3;
usbh_mtp_ptp.c:474USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.param4 = req->Param4;
usbh_mtp_ptp.c:475USBH_PTP_SendRequest()
MTP_Handle->ptp.op_container.param5 = req->Param5;
usbh_mtp_ptp.c:492USBH_PTP_GetResponse()
resp->Code = MTP_Handle->ptp.resp_container.code;
usbh_mtp_ptp.c:493USBH_PTP_GetResponse()
resp->SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:494USBH_PTP_GetResponse()
usbh_mtp_ptp.c:495USBH_PTP_GetResponse()
resp->Param1 = MTP_Handle->ptp.resp_container.param1;
usbh_mtp_ptp.c:496USBH_PTP_GetResponse()
resp->Param2 = MTP_Handle->ptp.resp_container.param2;
usbh_mtp_ptp.c:497USBH_PTP_GetResponse()
resp->Param3 = MTP_Handle->ptp.resp_container.param3;
usbh_mtp_ptp.c:498USBH_PTP_GetResponse()
resp->Param4 = MTP_Handle->ptp.resp_container.param4;
usbh_mtp_ptp.c:499USBH_PTP_GetResponse()
resp->Param5 = MTP_Handle->ptp.resp_container.param5;
usbh_mtp_ptp.c:513PTP_BufferFullCallback()
switch (MTP_Handle->ptp.data_container.code)
usbh_mtp_ptp.c:523PTP_BufferFullCallback()
if (MTP_Handle->ptp.iteration == 0U)
usbh_mtp_ptp.c:526PTP_BufferFullCallback()
(void)USBH_memcpy(MTP_Handle->ptp.object_ptr, MTP_Handle->ptp.data_container.payload.data,
usbh_mtp_ptp.c:530PTP_BufferFullCallback()
MTP_Handle->ptp.data_ptr = (MTP_Handle->ptp.object_ptr + PTP_USB_BULK_PAYLOAD_LEN_READ);
usbh_mtp_ptp.c:536PTP_BufferFullCallback()
if (MTP_Handle->ptp.iteration == 0U)
usbh_mtp_ptp.c:539PTP_BufferFullCallback()
MTP_Handle->ptp.data_ptr = (MTP_Handle->ptp.object_ptr + PTP_USB_BULK_PAYLOAD_LEN_READ);
usbh_mtp_ptp.c:560PTP_DecodeDeviceInfo()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:568PTP_DecodeDeviceInfo()
if (MTP_Handle->ptp.iteration == 0U)
usbh_mtp_ptp.c:621PTP_GetStorageIDs()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:640PTP_GetStorageInfo()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:664PTP_GetObjectInfo()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:702PTP_GetObjectPropDesc()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:758PTP_GetDevicePropValue()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:825PTP_GetObjectPropList()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:954USBH_PTP_OpenSession()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:958USBH_PTP_OpenSession()
MTP_Handle->ptp.transaction_id = 0x00000000U;
usbh_mtp_ptp.c:959USBH_PTP_OpenSession()
MTP_Handle->ptp.session_id = session;
usbh_mtp_ptp.c:960USBH_PTP_OpenSession()
MTP_Handle->ptp.flags = PTP_DP_NODATA;
usbh_mtp_ptp.c:965USBH_PTP_OpenSession()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id ++;
usbh_mtp_ptp.c:973USBH_PTP_OpenSession()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:974USBH_PTP_OpenSession()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1011USBH_PTP_GetDevicePropDesc()
uint8_t *data = MTP_Handle->ptp.data_container.payload.data;
usbh_mtp_ptp.c:1013USBH_PTP_GetDevicePropDesc()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1017USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1018USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1019USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1020USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1021USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1025USBH_PTP_GetDevicePropDesc()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1026USBH_PTP_GetDevicePropDesc()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id ++;
usbh_mtp_ptp.c:1034USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1035USBH_PTP_GetDevicePropDesc()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1078USBH_PTP_GetDeviceInfo()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1082USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1083USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1084USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1085USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1086USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1090USBH_PTP_GetDeviceInfo()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1091USBH_PTP_GetDeviceInfo()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1098USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1099USBH_PTP_GetDeviceInfo()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1140USBH_PTP_GetStorageIds()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1144USBH_PTP_GetStorageIds()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1145USBH_PTP_GetStorageIds()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1146USBH_PTP_GetStorageIds()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1147USBH_PTP_GetStorageIds()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1148USBH_PTP_GetStorageIds()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1152USBH_PTP_GetStorageIds()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1153USBH_PTP_GetStorageIds()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1160USBH_PTP_GetStorageIds()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1161USBH_PTP_GetStorageIds()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1204USBH_PTP_GetStorageInfo()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1208USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1209USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1210USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1211USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1212USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1216USBH_PTP_GetStorageInfo()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1217USBH_PTP_GetStorageInfo()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1225USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1226USBH_PTP_GetStorageInfo()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1271USBH_PTP_GetNumObjects()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1275USBH_PTP_GetNumObjects()
MTP_Handle->ptp.flags = PTP_DP_NODATA;
usbh_mtp_ptp.c:1279USBH_PTP_GetNumObjects()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1280USBH_PTP_GetNumObjects()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1290USBH_PTP_GetNumObjects()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1291USBH_PTP_GetNumObjects()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1309USBH_PTP_GetNumObjects()
*numobs = MTP_Handle->ptp.resp_container.param1;
usbh_mtp_ptp.c:1336USBH_PTP_GetObjectHandles()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1340USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1341USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1342USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1343USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1344USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1348USBH_PTP_GetObjectHandles()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1349USBH_PTP_GetObjectHandles()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1359USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1360USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1379USBH_PTP_GetObjectHandles()
MTP_Handle->ptp.data_container.payload.data,
usbh_mtp_ptp.c:1405USBH_PTP_GetObjectInfo()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1409USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1410USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1411USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1412USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1413USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1417USBH_PTP_GetObjectInfo()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1418USBH_PTP_GetObjectInfo()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1426USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1427USBH_PTP_GetObjectInfo()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1470USBH_PTP_DeleteObject()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1474USBH_PTP_DeleteObject()
MTP_Handle->ptp.flags = PTP_DP_NODATA;
usbh_mtp_ptp.c:1478USBH_PTP_DeleteObject()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1479USBH_PTP_DeleteObject()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1488USBH_PTP_DeleteObject()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1489USBH_PTP_DeleteObject()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1527USBH_PTP_GetObject()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1532USBH_PTP_GetObject()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1533USBH_PTP_GetObject()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1534USBH_PTP_GetObject()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1535USBH_PTP_GetObject()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1536USBH_PTP_GetObject()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1539USBH_PTP_GetObject()
MTP_Handle->ptp.object_ptr = object;
usbh_mtp_ptp.c:1543USBH_PTP_GetObject()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1544USBH_PTP_GetObject()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1553USBH_PTP_GetObject()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1554USBH_PTP_GetObject()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1573USBH_PTP_GetObject()
if (MTP_Handle->ptp.iteration == 0U)
usbh_mtp_ptp.c:1576USBH_PTP_GetObject()
(void)USBH_memcpy(MTP_Handle->ptp.object_ptr,
usbh_mtp_ptp.c:1577USBH_PTP_GetObject()
MTP_Handle->ptp.data_container.payload.data,
usbh_mtp_ptp.c:1607USBH_PTP_GetPartialObject()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1611USBH_PTP_GetPartialObject()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1612USBH_PTP_GetPartialObject()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1613USBH_PTP_GetPartialObject()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1614USBH_PTP_GetPartialObject()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1615USBH_PTP_GetPartialObject()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1618USBH_PTP_GetPartialObject()
MTP_Handle->ptp.object_ptr = object;
usbh_mtp_ptp.c:1622USBH_PTP_GetPartialObject()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1623USBH_PTP_GetPartialObject()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1633USBH_PTP_GetPartialObject()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1634USBH_PTP_GetPartialObject()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1652USBH_PTP_GetPartialObject()
*len = MTP_Handle->ptp.resp_container.param1;
usbh_mtp_ptp.c:1654USBH_PTP_GetPartialObject()
if (MTP_Handle->ptp.iteration == 0U)
usbh_mtp_ptp.c:1657USBH_PTP_GetPartialObject()
(void)USBH_memcpy(MTP_Handle->ptp.object_ptr,
usbh_mtp_ptp.c:1658USBH_PTP_GetPartialObject()
MTP_Handle->ptp.data_container.payload.data, *len);
usbh_mtp_ptp.c:1685USBH_PTP_GetObjectPropsSupported()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1689USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1690USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1691USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1692USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1693USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1697USBH_PTP_GetObjectPropsSupported()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1698USBH_PTP_GetObjectPropsSupported()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1706USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1707USBH_PTP_GetObjectPropsSupported()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1725USBH_PTP_GetObjectPropsSupported()
usbh_mtp_ptp.c:1751USBH_PTP_GetObjectPropDesc()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1756USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1757USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1758USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1759USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1760USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1764USBH_PTP_GetObjectPropDesc()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1765USBH_PTP_GetObjectPropDesc()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1774USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1775USBH_PTP_GetObjectPropDesc()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1793USBH_PTP_GetObjectPropDesc()
usbh_mtp_ptp.c:1822USBH_PTP_GetObjectPropList()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1827USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.flags = PTP_DP_GETDATA;
usbh_mtp_ptp.c:1828USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1829USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.data_length = 0U;
usbh_mtp_ptp.c:1830USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1831USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1834USBH_PTP_GetObjectPropList()
(void)USBH_memcpy(MTP_Handle->ptp.data_container.payload.data,
usbh_mtp_ptp.c:1835USBH_PTP_GetObjectPropList()
usbh_mtp_ptp.c:1839USBH_PTP_GetObjectPropList()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1840USBH_PTP_GetObjectPropList()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id++;
usbh_mtp_ptp.c:1852USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1853USBH_PTP_GetObjectPropList()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;
usbh_mtp_ptp.c:1871USBH_PTP_GetObjectPropList()
(void)PTP_GetObjectPropList(phost, pprops, MTP_Handle->ptp.data_length);
usbh_mtp_ptp.c:1900USBH_PTP_SendObject()
switch (MTP_Handle->ptp.req_state)
usbh_mtp_ptp.c:1904USBH_PTP_SendObject()
MTP_Handle->ptp.flags = PTP_DP_SENDDATA;
usbh_mtp_ptp.c:1905USBH_PTP_SendObject()
MTP_Handle->ptp.data_ptr = (uint8_t *)(void *) & (MTP_Handle->ptp.data_container);
usbh_mtp_ptp.c:1906USBH_PTP_SendObject()
MTP_Handle->ptp.data_packet_counter = 0U;
usbh_mtp_ptp.c:1907USBH_PTP_SendObject()
MTP_Handle->ptp.data_packet = 0U;
usbh_mtp_ptp.c:1908USBH_PTP_SendObject()
MTP_Handle->ptp.iteration = 0U;
usbh_mtp_ptp.c:1911USBH_PTP_SendObject()
MTP_Handle->ptp.object_ptr = object;
usbh_mtp_ptp.c:1912USBH_PTP_SendObject()
MTP_Handle->ptp.data_length = size;
usbh_mtp_ptp.c:1916USBH_PTP_SendObject()
ptp_container.SessionID = MTP_Handle->ptp.session_id;
usbh_mtp_ptp.c:1917USBH_PTP_SendObject()
ptp_container.Transaction_ID = MTP_Handle->ptp.transaction_id ++;
usbh_mtp_ptp.c:1924USBH_PTP_SendObject()
MTP_Handle->ptp.state = PTP_OP_REQUEST_STATE;
usbh_mtp_ptp.c:1925USBH_PTP_SendObject()
MTP_Handle->ptp.req_state = PTP_REQ_WAIT;