| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MTP/ |
| A D | usbh_mtp.h | 114 USBH_Status USBH_MTP_GetDeviceInfo(USBH_Info_t *phost, PTP_DeviceInfo_t *dev_info); 116 USBH_Status USBH_MTP_OpenSession(USBH_Info_t *phost, uint32_t session); 118 USBH_Status USBH_MTP_GetStorageIds(USBH_Info_t *phost, PTP_StorageIDs_t *storage_ids); 119 USBH_Status USBH_MTP_GetStorageInfo(USBH_Info_t *phost, uint32_t storage_id, PTP_StorageInfo_t *sto… 124 USBH_Status USBH_MTP_GetObjectInfo(USBH_Info_t *phost, uint32_t handle, PTP_ObjectInfo_t *object_in… 126 USBH_Status USBH_MTP_GetObject(USBH_Info_t *phost, uint32_t handle, uint8_t *object); 129 USBH_Status USBH_MTP_DeleteObject(USBH_Info_t *phost, uint32_t handle, uint32_t format); 130 USBH_Status USBH_MTP_SendObject(USBH_Info_t *phost, uint32_t handle, uint8_t *object, uint32_t size… 134 USBH_Status USBH_MTP_GetObjectPropsSupported(USBH_Info_t *phost, uint16_t ofc, uint32_t *propnum, u… 135 USBH_Status USBH_MTP_GetObjectPropDesc(USBH_Info_t *phost, uint16_t opc, uint16_t ofc, PTP_ObjectPr… [all …]
|
| A D | usbh_mtp.c | 28 static USBH_Status USBH_MTP_Init(USBH_Info_t *phost); 29 static void USBH_MTP_DeInit(USBH_Info_t *phost); 30 static USBH_Status USBH_MTP_Request(USBH_Info_t *phost); 31 static USBH_Status USBH_MTP_Process(USBH_Info_t *phost); 52 static USBH_Status USBH_MTP_Init(USBH_Info_t *phost) in USBH_MTP_Init() 141 static void USBH_MTP_DeInit(USBH_Info_t *phost) in USBH_MTP_DeInit() 166 static USBH_Status USBH_MTP_Request(USBH_Info_t *phost) in USBH_MTP_Request() 172 void USBH_MTP_XferProcess(USBH_Info_t *phost); 180 static USBH_Status USBH_MTP_Process(USBH_Info_t *phost) in USBH_MTP_Process() 331 void USBH_MTP_XferProcess(USBH_Info_t *phost) in USBH_MTP_XferProcess() [all …]
|
| A D | usbh_mtp_ptp.c | 34 void PTP_GetDevicePropValue(USBH_Info_t *phost, uint32_t *offset, uint32_t total, PTP_PropertyValue… in PTP_GetDevicePropValue() 174 void PTP_DecodeDeviceInfo(USBH_Info_t *phost, PTP_DeviceInfo_t *dev_info) in PTP_DecodeDeviceInfo() 223 void PTP_DecodeStorageInfo(USBH_Info_t *phost, PTP_StorageInfo_t *storage_info) in PTP_DecodeStorageInfo() 247 void PTP_DecodeObjectInfo(USBH_Info_t *phost, PTP_ObjectInfo_t *object_info) in PTP_DecodeObjectInfo() 284 void PTP_DecodeObjectPropDesc(USBH_Info_t *phost, PTP_ObjectPropDesc_t *opd, uint32_t opdlen) in PTP_DecodeObjectPropDesc() 333 uint32_t PTP_DecodeObjectPropList(USBH_Info_t *phost, MTP_Properties_t *props, uint32_t len) in PTP_DecodeObjectPropList()
|
| A D | usbh_mtp_ptp.h | 735 void PTP_GetDevicePropValue(USBH_Info_t *phost, uint32_t *offset, uint32_t total, PTP_PropertyValue… 742 void PTP_DecodeDeviceInfo(USBH_Info_t *phost, PTP_DeviceInfo_t *dev_info); 744 void PTP_DecodeStorageInfo(USBH_Info_t *phost, PTP_StorageInfo_t *storage_info); 746 void PTP_DecodeObjectInfo(USBH_Info_t *phost, PTP_ObjectInfo_t *object_info); 748 void PTP_DecodeObjectPropDesc(USBH_Info_t *phost, PTP_ObjectPropDesc_t *opd, uint32_t opdlen); 750 uint32_t PTP_DecodeObjectPropList(USBH_Info_t *phost, MTP_Properties_t *props, uint32_t len);
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/ |
| A D | usbh_stdreq.h | 8 USBH_Status USBH_GetDescriptor(USBH_Info_t *phost, uint8_t type, uint8_t index, uint8_t *buff, int … 9 USBH_Status USBH_GetDescriptorEx(USBH_Info_t *phost, uint8_t reqType, uint8_t reqTarget, uint8_t ty… 11 USBH_Status USBH_SetAddress(USBH_Info_t *phost, uint8_t addr); 12 USBH_Status USBH_SetConfiguration(USBH_Info_t *phost, uint8_t cfg); 13 USBH_Status USBH_SetInterface(USBH_Info_t *phost, uint8_t intf, uint8_t altSetting); 14 USBH_Status USBH_ClrFeature(USBH_Info_t *phost, uint8_t ep); 16 USBH_Status USBH_ParseCfgDesc(USBH_Info_t *phost, uint8_t *buff, uint16_t size);
|
| A D | usbh_stdreq.c | 34 USBH_Status USBH_GetDescriptor(USBH_Info_t *phost, uint8_t type, uint8_t index, uint8_t *buff, int … in USBH_GetDescriptor() 57 USBH_Status USBH_GetDescriptorEx(USBH_Info_t *phost, uint8_t reqType, uint8_t reqTarget, uint8_t ty… in USBH_GetDescriptorEx() 76 USBH_Status USBH_SetAddress(USBH_Info_t *phost, uint8_t addr) in USBH_SetAddress() 95 USBH_Status USBH_SetConfiguration(USBH_Info_t *phost, uint8_t cfg) in USBH_SetConfiguration() 114 USBH_Status USBH_SetInterface(USBH_Info_t *phost, uint8_t intf, uint8_t altSetting) in USBH_SetInterface() 133 USBH_Status USBH_ClrFeature(USBH_Info_t *phost, uint8_t ep) in USBH_ClrFeature() 151 USBH_Status USBH_ParseCfgDesc(USBH_Info_t *phost, uint8_t *buff, uint16_t size) in USBH_ParseCfgDesc()
|
| A D | usbh_core.h | 136 } USBH_Info_t; typedef 143 USBH_Status USBH_HandleEnum(USBH_Info_t *phost); 144 void USBH_HandleControl(USBH_Info_t *phost); 145 USBH_Status USBH_CtrlTransfer(USBH_Info_t *phost, uint8_t *buff, uint16_t size); 147 void USBH_ErrorHandle(USBH_Info_t *phost, USBH_Status errType);
|
| A D | usbh_core.c | 28 USBH_Info_t USBH_Info; 216 USBH_Status USBH_HandleEnum(USBH_Info_t *phost) in USBH_HandleEnum() 372 void USBH_HandleControl(USBH_Info_t *phost) in USBH_HandleControl() 592 USBH_Status USBH_CtrlTransfer(USBH_Info_t *phost, uint8_t *buff, uint16_t size) in USBH_CtrlTransfer() 640 void USBH_ErrorHandle(USBH_Info_t *phost, USBH_Status errType) in USBH_ErrorHandle()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/HID/ |
| A D | usbh_hid_core.h | 61 USBH_Status USBH_HID_Init(USBH_Info_t *phost); 62 void USBH_HID_DeInit(USBH_Info_t *phost); 63 USBH_Status USBH_HID_Request(USBH_Info_t *phost); 64 USBH_Status USBH_HID_Process(USBH_Info_t *phost); 67 USBH_Status USBH_Set_Idle(USBH_Info_t *phost, uint8_t interface, uint8_t reportId, uint8_t duration… 68 USBH_Status USBH_Set_Report(USBH_Info_t *phost, uint8_t interface, uint8_t reportId, uint8_t report… 69 USBH_Status USBH_Set_Protocol(USBH_Info_t *phost, uint8_t interface, uint8_t protocol);
|
| A D | usbh_hid_core.c | 49 USBH_Status USBH_HID_Init(USBH_Info_t *phost) in USBH_HID_Init() 101 void USBH_HID_DeInit(USBH_Info_t *phost) in USBH_HID_DeInit() 120 USBH_Status USBH_HID_Request(USBH_Info_t *phost) in USBH_HID_Request() 158 USBH_Status USBH_HID_Process(USBH_Info_t *phost) in USBH_HID_Process() 243 USBH_Status USBH_Set_Idle(USBH_Info_t *phost, uint8_t interface, uint8_t reportId, uint8_t duration) in USBH_Set_Idle() 264 USBH_Status USBH_Set_Report(USBH_Info_t *phost, uint8_t interface, uint8_t reportId, uint8_t report… in USBH_Set_Report() 284 USBH_Status USBH_Set_Protocol(USBH_Info_t *phost, uint8_t interface, uint8_t protocol) in USBH_Set_Protocol()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/CDC/ |
| A D | usbh_cdc_funct.h | 16 USBH_Status USBH_CDC_GetLineCoding(USBH_Info_t *phost); 17 USBH_Status USBH_CDC_SetLineCoding(USBH_Info_t *phost); 18 USBH_Status USBH_CDC_SetControlLine(USBH_Info_t *phost); 19 void USBH_CDC_IssueSetLineCoding(USBH_Info_t *phost); 20 void USBH_CDC_IssueGetLineCoding(USBH_Info_t *phost);
|
| A D | usbh_cdc_funct.c | 45 USBH_Status USBH_CDC_GetLineCoding(USBH_Info_t *phost) in USBH_CDC_GetLineCoding() 64 USBH_Status USBH_CDC_SetLineCoding(USBH_Info_t *phost) in USBH_CDC_SetLineCoding() 83 USBH_Status USBH_CDC_SetControlLine(USBH_Info_t *phost) in USBH_CDC_SetControlLine() 102 void USBH_CDC_IssueSetLineCoding(USBH_Info_t *phost) in USBH_CDC_IssueSetLineCoding() 118 void USBH_CDC_IssueGetLineCoding(USBH_Info_t *phost) in USBH_CDC_IssueGetLineCoding()
|
| A D | usbh_cdc_core.h | 64 USBH_Status USBH_CDC_Init(USBH_Info_t *phost); 65 void USBH_CDC_DeInit(USBH_Info_t *phost); 66 USBH_Status USBH_CDC_Request(USBH_Info_t *phost); 67 USBH_Status USBH_CDC_Process(USBH_Info_t *phost);
|
| A D | usbh_cdc_core.c | 49 USBH_Status USBH_CDC_Init(USBH_Info_t *phost) in USBH_CDC_Init() 98 void USBH_CDC_DeInit(USBH_Info_t *phost) in USBH_CDC_DeInit() 121 USBH_Status USBH_CDC_Request(USBH_Info_t *phost) in USBH_CDC_Request() 178 USBH_Status USBH_CDC_Process(USBH_Info_t *phost) in USBH_CDC_Process()
|
| /bsp/synwit/libraries/SWM341_CSL/SWM341_UsbHost_Lib/MSC/ |
| A D | usbh_msc_core.h | 56 USBH_Status USBH_MSC_Init(USBH_Info_t *phost); 57 void USBH_MSC_DeInit(USBH_Info_t *phost); 58 USBH_Status USBH_MSC_Request(USBH_Info_t *phost); 59 USBH_Status USBH_MSC_Process(USBH_Info_t *phost); 61 USBH_Status USBH_MSC_getMaxLUN(USBH_Info_t *phost);
|
| A D | usbh_msc_core.c | 52 USBH_Status USBH_MSC_Init(USBH_Info_t *phost) in USBH_MSC_Init() 94 void USBH_MSC_DeInit(USBH_Info_t *phost) in USBH_MSC_DeInit() 111 USBH_Status USBH_MSC_Request(USBH_Info_t *phost) in USBH_MSC_Request() 126 USBH_Status USBH_MSC_Process(USBH_Info_t *phost) in USBH_MSC_Process() 255 USBH_Status USBH_MSC_getMaxLUN(USBH_Info_t *phost) in USBH_MSC_getMaxLUN()
|
| A D | usbh_msc_bot.h | 46 void USBH_MSC_BOT_Process(USBH_Info_t *phost); 47 uint8_t USBH_MSC_BOT_DecodeCSW(USBH_Info_t *phost);
|
| A D | usbh_msc_bot.c | 69 void USBH_MSC_BOT_Process(USBH_Info_t *phost) in USBH_MSC_BOT_Process() 301 uint8_t USBH_MSC_BOT_DecodeCSW(USBH_Info_t *phost) in USBH_MSC_BOT_DecodeCSW()
|