| /components/drivers/usb/cherryusb/class/dfu/ |
| A D | usbd_dfu.c | 49 g_usbd_dfu.alt_setting = 0U; in dfu_reset() 51 g_usbd_dfu.wblock_num = 0U; in dfu_reset() 52 g_usbd_dfu.wlength = 0U; in dfu_reset() 58 g_usbd_dfu.dev_status[1] = 0U; in dfu_reset() 59 g_usbd_dfu.dev_status[2] = 0U; in dfu_reset() 60 g_usbd_dfu.dev_status[3] = 0U; in dfu_reset() 62 g_usbd_dfu.dev_status[5] = 0U; in dfu_reset() 101 g_usbd_dfu.wlength = 0U; in dfu_request_detach() 111 if (req->wLength > 0U) { in dfu_request_upload() 188 if (req->wLength > 0U) { in dfu_request_dnload() [all …]
|
| A D | usb_dfu.h | 67 #define DFU_STATE_APP_IDLE 0U 80 #define DFU_MANIFEST_COMPLETE 0U 84 #define DFU_CMD_GETCOMMANDS 0U
|
| /components/drivers/usb/cherryusb/port/nxp/ |
| A D | usb_glue_mcx.c | 32 kUSB_ControllerKhci0 = 0U, /*!< KHCI 0U */ 74 #if ((defined FSL_FEATURE_SOC_USBPHY_COUNT) && (FSL_FEATURE_SOC_USBPHY_COUNT > 0U)) in USB_EhciPhyGetBase() 120 #if ((defined FSL_FEATURE_SOC_USBPHY_COUNT) && (FSL_FEATURE_SOC_USBPHY_COUNT > 0U)) in USB_EhciPhyInit() 128 #if ((defined FSL_FEATURE_SOC_ANATOP_COUNT) && (FSL_FEATURE_SOC_ANATOP_COUNT > 0U)) in USB_EhciPhyInit() 149 usbPhyBase->PWD = 0U; in USB_EhciPhyInit() 203 usbPhyBase->PWD = 0U; in USB_EhciLowPowerPhyInit() 214 while (0U == (usbPhyBase->ANACTRL & USBPHY_ANACTRL_PFD_STABLE_MASK)) { in USB_EhciLowPowerPhyInit() 273 if (0U != enable) { in USB_EhcihostPhyDisconnectDetectCmd() 292 if (0U != enable) { in USB_PhyDeviceForceEnterFSMode() 295 …while ((0U != (usbPhyBase->USB1_VBUS_DET_STAT & USBPHY_USB1_VBUS_DET_STAT_VBUS_VALID_3V_MASK)) && … in USB_PhyDeviceForceEnterFSMode() [all …]
|
| /components/drivers/usb/cherryusb/port/dwc2/ |
| A D | usb_dwc2_reg.h | 152 #define USB_OTG_GOTGCTL_SRQSCS_Pos (0U) 209 #define USB_OTG_HCFG_FSLSPCS_Pos (0U) 221 #define USB_OTG_DCFG_DSPD_Pos (0U) 1602 #define USB_OTG_MODE_DEVICE 0U 1612 #define USB_OTG_SPEED_HIGH 0U 1655 #define DCFG_FRAME_INTERVAL_80 0U 1666 #define EP_MPS_64 0U 1693 #define HCFG_30_60_MHZ 0U 1703 #define HPRT0_PRTSPD_HIGH_SPEED 0U 1710 #define HCCHAR_CTRL 0U [all …]
|
| A D | usb_dc_dwc2.c | 88 volatile uint32_t count = 0U; in dwc2_reset() 98 count = 0U; in dwc2_reset() 297 if (fifo == 0U) { in dwc2_set_txfifo() 331 USB_OTG_OUTEP(0U)->DOEPTSIZ = 0U; in dwc2_ep0_start_read_setup() 546 USB_OTG_PCGCCTL = 0U; in usb_dc_init() 563 USB_OTG_DEV->DIEPMSK = 0U; in usb_dc_init() 564 USB_OTG_DEV->DOEPMSK = 0U; in usb_dc_init() 568 USB_OTG_GLB->GINTMSK = 0U; in usb_dc_init() 628 USB_OTG_DEV->DIEPMSK = 0U; in usb_dc_deinit() 902 if (data_len > 0U) { in usbd_ep_start_write() [all …]
|
| A D | usb_dwc2_param.h | 57 #define GHWCFG2_OP_MODE_MASK (0x07UL << 0U) 58 #define GHWCFG2_OP_MODE_SHIFT (0U) 82 #define GHWCFG3_XFER_SIZE_CNTR_WIDTH_MASK (0x000FUL << 0U) 83 #define GHWCFG3_XFER_SIZE_CNTR_WIDTH_SHIFT (0U) 111 #define GHWCFG4_NUM_DEV_PERIO_IN_EP_MASK (0xFUL << 0U) 112 #define GHWCFG4_NUM_DEV_PERIO_IN_EP_SHIFT (0U)
|
| A D | usb_hc_dwc2.c | 50 volatile uint32_t count = 0U; in dwc2_reset() 60 count = 0U; in dwc2_reset() 148 volatile uint32_t count = 0U; in dwc2_flush_rxfifo() 194 __IO uint32_t hprt0 = 0U; in dwc2_drivebus() 211 __IO uint32_t hprt0 = 0U; in usbh_get_port_speed() 322 is_oddframe = (((uint32_t)USB_OTG_HOST->HFNUM & 0x01U) != 0U) ? 0U : 1U; in dwc2_chan_transfer() 347 is_oddframe = (((uint32_t)USB_OTG_HOST->HFNUM & 0x01U) != 0U) ? 0U : 1U; in dwc2_chan_reenable() 365 (ChannelEna == 0U)) { in dwc2_halt() 386 __IO uint32_t hprt0 = 0U; in usbh_reset_port() 741 USB_OTG_PCGCCTL = 0U; in usb_hc_init() [all …]
|
| /components/drivers/usb/cherryusb/port/fsdev/ |
| A D | usb_fsdev_reg.h | 1181 if ((bDir) == 0U) \ 1206 if ((USB_EPTX_DTOG1 & (wState))!= 0U) \ 1211 if ((USB_EPTX_DTOG2 & (wState))!= 0U) \ 1231 if ((USB_EPRX_DTOG1 & (wState))!= 0U) \ 1236 if ((USB_EPRX_DTOG2 & (wState))!= 0U) \ 1409 if ((_wRegVal & USB_EP_DTOG_RX) != 0U)\ 1500 if (((wCount) & 0x1fU) == 0U) \ 1510 if (((wCount) & 0x1U) != 0U) \ 1520 if ((wCount) == 0U) \ 1632 if ((bDir) == 0U) \ [all …]
|
| A D | usb_dc_fsdev.c | 72 USB->CNTR = 0U; in usb_dc_init() 75 USB->ISTR = 0U; in usb_dc_init() 106 USB->ISTR = 0U; in usb_dc_deinit() 117 if (addr == 0U) { in usbd_set_address() 344 if (ep_idx == 0U) { in USBD_IRQHandler() 364 if ((g_fsdev_udc.dev_addr > 0U) && (write_count == 0U)) { in USBD_IRQHandler() 462 for (uint8_t i = 0U; i < 8U; i++) { in USBD_IRQHandler() 479 for (uint8_t i = 0U; i < 8U; i++) { in USBD_IRQHandler() 512 for (i = n; i != 0U; i--) { in fsdev_write_pma() 545 for (i = n; i != 0U; i--) { in fsdev_read_pma() [all …]
|
| /components/drivers/usb/cherryusb/port/kinetis/ |
| A D | usb_kinetis_reg.h | 86 #define USB_PERID_ID_SHIFT (0U) 95 #define USB_IDCOMP_NID_SHIFT (0U) 104 #define USB_REV_REV_SHIFT (0U) 113 #define USB_ADDINFO_IEHOST_SHIFT (0U) 223 #define USB_ISTAT_USBRST_SHIFT (0U) 307 #define USB_INTEN_USBRSTEN_SHIFT (0U) 605 #define USB_ADDR_ADDR_SHIFT (0U) 628 #define USB_FRMNUML_FRM_SHIFT (0U) 637 #define USB_FRMNUMH_FRM_SHIFT (0U) 664 #define USB_SOFTHLD_CNT_SHIFT (0U) [all …]
|
| /components/drivers/usb/cherryusb/class/cdc/ |
| A D | usbd_cdc_ecm.c | 46 notify->wLength = 0U; in usbd_cdc_ecm_send_notify() 48 for (uint8_t i = 0U; i < 8U; i++) { in usbd_cdc_ecm_send_notify() 49 notify->data[i] = 0U; in usbd_cdc_ecm_send_notify() 54 notify->wValue = 0U; in usbd_cdc_ecm_send_notify() 56 notify->wLength = 0U; in usbd_cdc_ecm_send_notify() 57 for (uint8_t i = 0U; i < 8U; i++) { in usbd_cdc_ecm_send_notify() 58 notify->data[i] = 0U; in usbd_cdc_ecm_send_notify() 63 notify->wValue = 0U; in usbd_cdc_ecm_send_notify()
|
| /components/drivers/usb/cherryusb/port/aic/ |
| A D | usb_dc_aic.c | 196 uint32_t count = 0U; in aic_reset() 208 count = 0U; in aic_reset() 273 uint32_t count = 0U; in aic_flush_txfifo() 365 if (fifo == 0U) { 428 for (i = 0U; i < count32b; i++) { in aic_ep_write() 576 if (i == 0U) { in usb_dc_rst() 1134 if (((tmpreg & DEPCTL_EPENA) == 0U) && (ep_idx != 0U)) { in usbd_ep_set_stall() 1141 if (((tmpreg & DEPCTL_EPENA) == 0U) && (ep_idx != 0U)) { in usbd_ep_set_stall() 1458 while (ep_intr != 0U) { in USBD_IRQHandler() 1541 ep_idx = 0U; in USBD_IRQHandler() [all …]
|
| /components/drivers/usb/cherryusb/platform/daplink/ |
| A D | dap_main.c | 235 USB_RequestIdle = 0U; in usbd_event_handler() 259 USB_RequestIndexI = 0U; in dap_out_callback() 280 USB_ResponseIndexO = 0U; in dap_in_callback() 378 n = 0U; in chry_dap_handle() 395 USB_RequestIndexO = 0U; in chry_dap_handle() 401 USB_RequestIdle = 0U; in chry_dap_handle() 409 USB_ResponseIndexI = 0U; in chry_dap_handle() 418 USB_ResponseIndexO = 0U; in chry_dap_handle() 421 USB_ResponseIdle = 0U; in chry_dap_handle()
|
| /components/drivers/usb/cherryusb/port/chipidea/ |
| A D | usb_chipidea_reg.h | 69 #define USB_GPTIMER0LD_GPTLD_SHIFT (0U) 141 #define USB_GPTIMER1LD_GPTLD_SHIFT (0U) 218 #define USB_SBUSCFG_AHBBRST_SHIFT (0U) 429 #define USB_USBCMD_RS_SHIFT (0U) 688 #define USB_USBSTS_UI_SHIFT (0U) 863 #define USB_USBINTR_UE_SHIFT (0U) 1076 #define USB_ENDPTNAK_EPRN_SHIFT (0U) 1479 #define USB_PORTSC1_CCS_SHIFT (0U) 1624 #define USB_OTGSC_VD_SHIFT (0U) 1694 #define USB_USBMODE_CM_SHIFT (0U) [all …]
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | init.h | 55 #define LWIP_VERSION_MINOR 0U 66 #define LWIP_RC_DEVELOPMENT 0U
|
| /components/drivers/usb/cherryusb/class/msc/ |
| A D | usbd_msc.c | 204 if (g_usbd_msc[busid].cbw.dDataLength != 0U) { in SCSI_testUnitReady() 216 if (g_usbd_msc[busid].cbw.dDataLength == 0U) { in SCSI_requestSense() 322 if (g_usbd_msc[busid].cbw.dDataLength == 0U) { in SCSI_inquiry() 327 if ((g_usbd_msc[busid].cbw.CB[1] & 0x01U) != 0U) { /* Evpd is set */ in SCSI_inquiry() 351 if (g_usbd_msc[busid].cbw.dDataLength != 0U) { in SCSI_startStopUnit() 376 if (g_usbd_msc[busid].cbw.dDataLength != 0U) { in SCSI_preventAllowMediaRemoval() 380 if (g_usbd_msc[busid].cbw.CB[4] == 0U) { in SCSI_preventAllowMediaRemoval() 393 if (g_usbd_msc[busid].cbw.dDataLength == 0U) { in SCSI_modeSense6() 414 if (g_usbd_msc[busid].cbw.dDataLength == 0U) { in SCSI_modeSense10() 460 if (g_usbd_msc[busid].cbw.dDataLength == 0U) { in SCSI_readFormatCapacity() [all …]
|
| /components/drivers/usb/cherryusb/port/pusb2/ |
| A D | README.md | 10 - - 1. [FreeRTOS 上作为主机使用键盘/鼠标/U盘](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/mas… 11 - - 5. [RT-Thread 上作为主机识别键盘/鼠标/U盘](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/d… 17 - - 1. [裸机上模拟为一个 U 盘](https://gitee.com/phytium_embedded/phytium-standalone-sdk/tree/master/example… 19 - - 3. [FreeRTOS 上模拟为一个 U 盘](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/master/e… 21 - - 5. [RT-Thread 上模拟为一个 U 盘](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/us…
|
| /components/mprotect/ |
| A D | mprotect.c | 26 for (i = 0U; i < NUM_DYNAMIC_REGIONS; i++) in rt_mprotect_find_free_region() 45 for (i = 0U; i < NUM_DYNAMIC_REGIONS; i++) in rt_mprotect_find_region() 92 rt_memset(thread->mem_regions, 0U, sizeof(rt_mem_region_t ) * NUM_DYNAMIC_REGIONS); in rt_mprotect_add_region()
|
| /components/drivers/usb/cherryusb/port/xhci/phytium/ |
| A D | README.md | 10 - - 1. [XHCI 平台控制器使用鼠标/键盘/U盘功能](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/maste… 11 - - 2. [XHCI PCIe控制器使用鼠标/键盘/U盘功能](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/tree/mas… 12 - - 3. [LVGL 中使用 XHCI 平台控制器连接的鼠标/键盘/U盘](https://gitee.com/phytium_embedded/phytium-free-rtos-sdk/bl… 18 - - 1. [XHCI 平台控制器识别鼠标/键盘/U盘](https://github.com/RT-Thread/rt-thread/blob/master/bsp/phytium/doc/us…
|
| /components/drivers/include/drivers/ |
| A D | phy.h | 177 #define PHY_SPEED_10M 0U /* PHY 10M speed. */ 182 #define PHY_HALF_DUPLEX 0U /* PHY half duplex. */ 186 #define PHY_LOCAL_LOOP 0U /* PHY local loopback. */ 189 #define PHY_STATUS_OK 0U
|
| /components/finsh/ |
| A D | msh_file.c | 960 int U = 1, G = 2, O = 4, ALL = 7; in cmd_chmod() local 974 user[num] |= U; in cmd_chmod() 1047 if (user[i] & U) in cmd_chmod() 1049 attr.st_mode |= mode[i] << off[user[i] & U]; in cmd_chmod() 1064 if (user[i] & U) in cmd_chmod() 1066 attr.st_mode &= ~(mode[i] << off[user[i] & U]); in cmd_chmod() 1081 if (user[i] & U) in cmd_chmod() 1083 attr.st_mode &= ~(7 << off[user[i] & U]); in cmd_chmod() 1084 attr.st_mode |= mode[i] << off[user[i] & U]; in cmd_chmod()
|
| /components/drivers/usb/cherryusb/port/ehci/ |
| A D | usb_glue_bouffalo.c | 22 #define PDS_REG_USB_SW_RST_N (1 << 0U) 30 #define PDS_REG_USB_PHY_PONRST (1 << 0U)
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | init.h | 55 #define LWIP_RC_DEVELOPMENT 0U
|
| /components/utilities/libadt/uthash/ |
| A D | uthash.h | 212 #define HASH_BLOOM_BYTELEN 0U 591 while (_hb_keylen-- != 0U) { \ 712 for (;_sfh_len > 0U; _sfh_len--) { \ 851 ((((tbl)->num_items & (((tbl)->num_buckets*2U)-1U)) != 0U) ? 1U : 0U); \ 879 ((tbl)->ineff_expands+1U) : 0U; \ 902 while (_hs_looping != 0U) { \ 920 while ((_hs_psize != 0U) || ((_hs_qsize != 0U) && (_hs_q != NULL))) { \ 921 if (_hs_psize == 0U) { \ 926 } else if ((_hs_qsize == 0U) || (_hs_q == NULL)) { \ 1056 (HASH_BLOOM_BYTELEN))) : 0U) [all …]
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | init.h | 66 #define LWIP_RC_DEVELOPMENT 0U
|