| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/startup/d0/ |
| A D | interrupt.c | 49 …printf("ra = 0x%16llx ", regs[REG_RA]); printf("sp = 0x%16llx ", regs[REG_SP]); printf("gp = 0x%… in exception_handler_default() 52 …printf("t0 = 0x%16llx ", regs[REG_T0]); printf("t1 = 0x%16llx ", regs[REG_T1]); printf("t2 = 0x%… in exception_handler_default() 54 …printf("t4 = 0x%16llx ", regs[REG_T4]); printf("t5 = 0x%16llx ", regs[REG_T5]); printf("t6 = 0x%… in exception_handler_default() 57 …printf("a0 = 0x%16llx ", regs[REG_A0]); printf("a1 = 0x%16llx ", regs[REG_A1]); printf("a2 = 0x%… in exception_handler_default() 59 …printf("a4 = 0x%16llx ", regs[REG_A4]); printf("a5 = 0x%16llx ", regs[REG_A5]); printf("a6 = 0x%… in exception_handler_default() 62 …printf("s0 = 0x%16llx ", regs[REG_S0]); printf("s1 = 0x%16llx ", regs[REG_S1]); printf("s2 = 0x%… in exception_handler_default() 64 …printf("s4 = 0x%16llx ", regs[REG_S4]); printf("s5 = 0x%16llx ", regs[REG_S5]); printf("s6 = 0x%… in exception_handler_default() 66 …printf("s8 = 0x%16llx ", regs[REG_S8]); printf("s9 = 0x%16llx ", regs[REG_S9]); printf("s10 = 0x… in exception_handler_default() 78 regs[REG_EPC_NDX] += 4; in exception_handler_ECALL_M() 121 riscv_savefpu(regs); in trap_c() [all …]
|
| /bsp/nxp/imx/imx6sx/cortex-a9/cpu/ |
| A D | trap.c | 32 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 33 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 34 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 35 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 36 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 37 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 51 rt_hw_show_register(regs); in rt_hw_trap_undef() 70 rt_hw_show_register(regs); in rt_hw_trap_swi() 88 rt_hw_show_register(regs); in rt_hw_trap_pabt() 106 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /bsp/allwinner_tina/libcpu/ |
| A D | trap.c | 58 regs->r0, regs->r1, regs->r2, regs->r3); in rt_hw_show_register() 60 regs->r4, regs->r5, regs->r6, regs->r7); in rt_hw_show_register() 62 regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 64 regs->fp, regs->ip); in rt_hw_show_register() 66 regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 84 result = rt_exception_hook(regs); in rt_hw_trap_udef() 87 rt_hw_show_register(regs); in rt_hw_trap_udef() 116 rt_hw_show_register(regs); in rt_hw_trap_swi() 139 rt_hw_show_register(regs); in rt_hw_trap_pabt() 167 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /bsp/raspberry-pi/raspi2/cpu/ |
| A D | trap.c | 30 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 31 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 32 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 33 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 34 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 35 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 49 rt_hw_show_register(regs); in rt_hw_trap_undef() 68 rt_hw_show_register(regs); in rt_hw_trap_swi() 86 rt_hw_show_register(regs); in rt_hw_trap_pabt() 104 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /bsp/dm365/platform/ |
| A D | trap.c | 36 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 37 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 38 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 39 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 40 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 41 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 54 rt_hw_show_register(regs); in rt_hw_trap_udef() 76 rt_hw_show_register(regs); in rt_hw_trap_swi() 92 rt_hw_show_register(regs); in rt_hw_trap_pabt() 128 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/driver/Source/ |
| A D | drv_usb_dev.c | 71 *udev->regs.PWRCLKCTL = 0U; in usb_devcore_init() 74 udev->regs.dr->DCFG &= ~DCFG_EOPFT; in usb_devcore_init() 77 udev->regs.dr->DCFG &= ~DCFG_DS; in usb_devcore_init() 100 (void)usb_rxfifo_flush (&udev->regs); in usb_devcore_init() 103 udev->regs.dr->DIEPINTEN = 0U; in usb_devcore_init() 104 udev->regs.dr->DOEPINTEN = 0U; in usb_devcore_init() 106 udev->regs.dr->DAEPINTEN = 0U; in usb_devcore_init() 154 udev->regs.gr->GINTF = 0xBFFFFFFFU; in usb_devint_enable() 604 udev->regs.dr->DIEPINTEN = 0U; in usb_dev_stop() 605 udev->regs.dr->DOEPINTEN = 0U; in usb_dev_stop() [all …]
|
| A D | drv_usb_host.c | 58 *pudev->regs.PWRCLKCTL = 0U; in usb_host_init() 61 pudev->regs.hr->HCTL &= ~HCTL_SPDFSLS; in usb_host_init() 94 usb_rxfifo_flush (&pudev->regs); in usb_host_init() 97 pudev->regs.gr->GINTEN = 0U; in usb_host_init() 103 pudev->regs.gr->GINTF = 0xBFFFFFFFU; in usb_host_init() 108 pudev->regs.pr[i]->HCHINTEN = 0U; in usb_host_init() 124 pudev->regs.gr->GINTEN |= inten; in usb_host_init() 128 pudev->regs.gr->GINTEN &= ~inten; in usb_host_init() 158 *pudev->regs.HPCS = port; in usb_portvbus_switch() 436 pudev->regs.hr->HACHINTEN = 0x0U; in usb_host_stop() [all …]
|
| A D | drv_usbd_int.c | 65 uint32_t intr = udev->regs.gr->GINTF & udev->regs.gr->GINTEN; in usbd_isr() 271 devrxstat = udev->regs.gr->GRSTATP; in usbd_int_rxfifo() 331 udev->regs.dr->DCTL &= ~DCTL_RWKUP; in usbd_int_reset() 342 udev->regs.dr->DAEPINT = 0xFFFFFFFFU; in usbd_int_reset() 354 udev->regs.dr->DCFG &= ~DCFG_DAR; in usbd_int_reset() 360 udev->regs.gr->GINTF = GINTF_RST; in usbd_int_reset() 389 udev->regs.dr->DCTL &= ~DCTL_CGINAK; in usbd_int_enumfinish() 390 udev->regs.dr->DCTL |= DCTL_CGINAK; in usbd_int_enumfinish() 392 udev->regs.gr->GUSBCS &= ~GUSBCS_UTT; in usbd_int_enumfinish() 406 udev->regs.gr->GINTF = GINTF_ENUMFIF; in usbd_int_enumfinish() [all …]
|
| A D | drv_usbh_int.c | 70 intr = usb_coreintr_get(&pudev->regs); in usbh_isr() 80 pudev->regs.gr->GINTF = GINTF_SOF; in usbh_isr() 150 pudev->regs.pr[pp_num]->HCHINTF = pp_int; in usb_pp_halt() 177 if (*pudev->regs.HPCS & HPCS_PCD) { in usbh_int_port() 186 if (*pudev->regs.HPCS & HPCS_PEDC) { in usbh_int_port() 189 if (*pudev->regs.HPCS & HPCS_PE) { in usbh_int_port() 196 pudev->regs.hr->HFT = 6000U; in usbh_int_port() 206 pudev->regs.hr->HFT = 48000U; in usbh_int_port() 231 *pudev->regs.HPCS = port_state; in usbh_int_port() 272 usb_pr *pp_reg = pudev->regs.pr[pp_num]; in usbh_int_pipe_in() [all …]
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/startup/lp/ |
| A D | interrupt.c | 118 void exception_entry(uintptr_t *regs) in exception_entry() argument 157 …printf("ra = 0x%08x ", regs[REG_RA]); printf("sp = 0x%08x ", regs[REG_SP]); printf("gp = 0x%08x … in exception_entry() 158 printf("tp = 0x%08x ", regs[REG_TP]); printf("\n\r"); in exception_entry() 160 …printf("t0 = 0x%08x ", regs[REG_T0]); printf("t1 = 0x%08x ", regs[REG_T1]); printf("t2 = 0x%08x … in exception_entry() 161 printf("t3 = 0x%08x ", regs[REG_T3]); printf("\n\r"); in exception_entry() 162 …printf("t4 = 0x%08x ", regs[REG_T4]); printf("t5 = 0x%08x ", regs[REG_T5]); printf("t6 = 0x%08x … in exception_entry() 165 …printf("a0 = 0x%08x ", regs[REG_A0]); printf("a1 = 0x%08x ", regs[REG_A1]); printf("a2 = 0x%08x … in exception_entry() 167 …printf("a4 = 0x%08x ", regs[REG_A4]); printf("a5 = 0x%08x ", regs[REG_A5]); printf("a6 = 0x%08x … in exception_entry() 170 …printf("s0 = 0x%08x ", regs[REG_S0]); printf("s1 = 0x%08x ", regs[REG_S1]); printf("s2 = 0x%08x … in exception_entry() 172 …printf("s4 = 0x%08x ", regs[REG_S4]); printf("s5 = 0x%08x ", regs[REG_S5]); printf("s6 = 0x%08x … in exception_entry() [all …]
|
| /bsp/raspberry-pi/raspi3-32/cpu/ |
| A D | trap.c | 34 …rt_kprintf("r00:0x%08x r01:0x%08x r02:0x%08x r03:0x%08x\n", regs->r0, regs->r1, regs->r2, regs->r3… in rt_hw_show_register() 35 …rt_kprintf("r04:0x%08x r05:0x%08x r06:0x%08x r07:0x%08x\n", regs->r4, regs->r5, regs->r6, regs->r7… in rt_hw_show_register() 36 rt_kprintf("r08:0x%08x r09:0x%08x r10:0x%08x\n", regs->r8, regs->r9, regs->r10); in rt_hw_show_register() 37 rt_kprintf("fp :0x%08x ip :0x%08x\n", regs->fp, regs->ip); in rt_hw_show_register() 38 rt_kprintf("sp :0x%08x lr :0x%08x pc :0x%08x\n", regs->sp, regs->lr, regs->pc); in rt_hw_show_register() 39 rt_kprintf("cpsr:0x%08x\n", regs->cpsr); in rt_hw_show_register() 54 rt_hw_show_register(regs); in rt_hw_trap_undef() 73 rt_hw_show_register(regs); in rt_hw_trap_swi() 91 rt_hw_show_register(regs); in rt_hw_trap_pabt() 109 rt_hw_show_register(regs); in rt_hw_trap_dabt() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/usb/host/ |
| A D | ehci-sunxi.c | 371 uint32_t regs) in ehci_disable_periodic_schedule() argument 381 uint32_t regs) in ehci_disable_async_schedule() argument 391 uint32_t regs) in ehci_set_config_flag() argument 397 uint32_t regs) in ehci_test_stop() argument 407 uint32_t regs) in ehci_test_reset() argument 417 uint32_t regs) in ehci_test_reset_complete() argument 438 uint32_t regs) in ehci_is_halt() argument 454 uint32_t regs) in ehci_put_port_suspend() argument 484 ehci_test_stop(ehci, regs); in __ehci_ed_test() 495 ehci_start(ehci, regs); in __ehci_ed_test() [all …]
|
| A D | ohci-hub.c | 61 (void) ohci_readl (ohci, &ohci->regs->control); 118 &ohci->regs->intrdisable); 128 (void) ohci_readl (ohci, &ohci->regs->control); 216 temp = ohci_readl (ohci, &ohci->regs->control); 248 (void) ohci_readl (ohci, &ohci->regs->control); 256 ohci_writel (ohci, temp, &ohci->regs->control); 257 (void) ohci_readl (ohci, &ohci->regs->control); 276 &ohci->regs->ed_controlhead); 282 &ohci->regs->ed_bulkhead); 420 &ohci->regs->intrenable); [all …]
|
| A D | ehci-hcd.c | 109 uf = ehci_readl(ehci, &ehci->regs->frame_index); in ehci_moschip_read_frame_index() 166 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_in_host_mode() 182 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in ehci_halt() 194 temp = ehci_readl(ehci, &ehci->regs->command); in ehci_halt() 196 ehci_writel(ehci, temp, &ehci->regs->command); in ehci_halt() 210 tmp = ehci_readl(ehci, &ehci->regs->usbmode); in tdi_reset() 218 ehci_writel(ehci, tmp, &ehci->regs->usbmode); in tdi_reset() 240 &ehci->regs->usbmode_ex); in ehci_reset() 322 &ehci->regs->port_status[port]); in ehci_turn_off_all_ports() 678 ehci->regs = (void *)ehci->caps + in ehci_setup() [all …]
|
| A D | ohci-hcd.c | 467 ohci->regs = hcd->regs; 587 (void) ohci_readl (ohci, &ohci->regs->control); 626 ohci_writel (ohci, 0, &ohci->regs->ed_bulkhead); 686 &ohci->regs->roothub.b); 688 (void) ohci_readl (ohci, &ohci->regs->control); 855 &ohci->regs->donehead); 871 struct ohci_regs __iomem *regs = ohci->regs; 878 ints = ohci_readl(ohci, ®s->intrstatus); 902 ints &= ohci_readl(ohci, ®s->intrenable); 933 ®s->intrstatus); [all …]
|
| A D | ehci-timer.c | 23 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_set_command_bit() 26 ehci_readl(ehci, &ehci->regs->command); in ehci_set_command_bit() 33 ehci_writel(ehci, ehci->command, &ehci->regs->command); in ehci_clear_command_bit() 36 ehci_readl(ehci, &ehci->regs->command); in ehci_clear_command_bit() 136 actual = ehci_readl(ehci, &ehci->regs->status) & STS_ASS; in ehci_poll_ASS() 158 ehci_writel(ehci, cmd, &ehci->regs->command); in ehci_poll_ASS() 246 ehci_writel(ehci, 0, &ehci->regs->configured_flag); in ehci_handle_controller_death() 247 ehci_writel(ehci, 0, &ehci->regs->intr_enable); in ehci_handle_controller_death() 385 cmd = ehci_readl(ehci, &ehci->regs->command); in ehci_iaa_watchdog() 394 status = ehci_readl(ehci, &ehci->regs->status); in ehci_iaa_watchdog() [all …]
|
| /bsp/ultrarisc/drivers/ |
| A D | drv_dw_spi.c | 64 writel(0, ®s->ssienr); in _dw_drv_spi_configure() 65 writel(0, ®s->ser); in _dw_drv_spi_configure() 66 writel(0, ®s->imr); in _dw_drv_spi_configure() 67 writel(0, ®s->dmacr); in _dw_drv_spi_configure() 96 writel(div, ®s->baudr); in _dw_drv_spi_configure() 99 writel(0, ®s->txflr); in _dw_drv_spi_configure() 101 writel(0, ®s->rxflr); in _dw_drv_spi_configure() 103 writel(1, ®s->ssienr); in _dw_drv_spi_configure() 305 writel(0, ®s->imr); in dw_spi_hw_init() 307 readl(®s->icr); in dw_spi_hw_init() [all …]
|
| /bsp/hpmicro/libraries/hpm_sdk/components/usb/device/ |
| A D | hpm_usb_device.c | 75 usb_dcd_init(handle->regs); in usb_device_init() 81 usb_clear_status_flags(handle->regs, usb_get_status_flags(handle->regs)); in usb_device_init() 87 usb_dcd_connect(handle->regs); in usb_device_init() 97 usb_dcd_deinit(handle->regs); in usb_device_deinit() 117 return usb_get_interrupts(handle->regs); in usb_device_interrupts() 122 return usb_get_port_speed(handle->regs); in usb_device_get_port_speed() 145 usb_dcd_remote_wakeup(handle->regs); in usb_device_remote_wakeup() 150 usb_dcd_connect(handle->regs); in usb_device_connect() 155 usb_dcd_disconnect(handle->regs); in usb_device_disconnect() 160 return usb_get_port_ccs(handle->regs); in usb_device_get_port_ccs() [all …]
|
| /bsp/maxim/libraries/MAX32660PeriphDriver/Source/ |
| A D | dma.c | 90 dma_resource[i].regs->cfg = 0; in DMA_Init() 91 dma_resource[i].regs->st = dma_resource[i].regs->st; in DMA_Init() 125 dma_resource[i].regs->cfg = 0; in DMA_Shutdown() 167 dma_resource[i].regs->cfg = 0; in DMA_AcquireChannel() 187 dma_resource[ch].regs->cfg = 0; in DMA_ReleaseChannel() 188 dma_resource[ch].regs->st = dma_resource[ch].regs->st; in DMA_ReleaseChannel() 209 dma_resource[ch].regs->cfg = in DMA_ConfigChannel() 238 dma_resource[ch].regs->cnt = count; in DMA_SetSrcDstCnt() 308 *fl = dma_resource[ch].regs->st; in DMA_GetFlags() 319 dma_resource[ch].regs->st = dma_resource[ch].regs->st; in DMA_ClearFlags() [all …]
|
| /bsp/hc32/libraries/hc32_drivers/ |
| A D | drv_usbd.c | 121 usb_epactive(&pdev->regs, ep); in usb_opendevep() 141 usb_epdeactive(&pdev->regs, ep); in usb_shutdevep() 227 usb_setepstall(&pdev->regs, ep); in usb_stalldevep() 257 usb_clearepstall(&pdev->regs, ep); in usb_clrstall() 451 u32EpIntr = usb_getalliepintr(&pdev->regs); in usb_inep_isr() 617 usb_txfifoflush(&pdev->regs, 0UL); in usb_reset_isr() 648 usb_ep0activate(&pdev->regs); in usb_enumfinish_isr() 669 if (0U == usb_getcurmod(&pdev->regs)) in usb_isr_handler() 863 usb_gintdis(&pdev->regs); in _usbd_init() 867 usb_modeset(&pdev->regs, DEVICE_MODE); in _usbd_init() [all …]
|
| A D | drv_usbh.c | 125 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 132 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 140 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 147 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 154 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 163 usb_hchstop(&pdev->regs, chnum); in usb_host_chx_out_isr() 422 usb_rxfifoflush(&pdev->regs); in usb_host_disconn_isr() 866 usb_hprtrst(&_hc32_usbh.regs); in _usbh_reset_port() 1075 usb_gintdis(&pdev->regs); in _usbh_driver_init() 1083 usb_vbusctrl(&pdev->regs, 1U); in _usbh_driver_init() [all …]
|
| /bsp/rockchip/rk3500/driver/clk/ |
| A D | softrst.c | 13 void *regs; member 30 HWREG32(softrst->regs + (bank * 4)) = RT_BIT(offset) | (RT_BIT(offset) << 16); in rockchip_softrst_assert() 39 reg = HWREG32(softrst->regs + (bank * 4)); in rockchip_softrst_assert() 40 HWREG32(softrst->regs + (bank * 4)) = reg | RT_BIT(offset); in rockchip_softrst_assert() 58 HWREG32(softrst->regs + (bank * 4)) = (RT_BIT(offset) << 16); in rockchip_softrst_deassert() 67 reg = HWREG32(softrst->regs + (bank * 4)); in rockchip_softrst_deassert() 68 HWREG32(softrst->regs + (bank * 4)) = reg & ~RT_BIT(offset); in rockchip_softrst_deassert() 83 struct rt_ofw_node *np, void *regs, rt_uint8_t flags) in rk_register_softrst() argument 97 softrst->regs = regs; in rk_register_softrst()
|
| /bsp/bm3803/applications/ |
| A D | board.c | 29 volatile struct lregs *regs = (struct lregs *)PREGS; in rt_hw_timer_init() local 31 regs->scalercnt = CPU_FREQ / 1000000 - 1; in rt_hw_timer_init() 32 regs->scalerload = CPU_FREQ / 1000000 - 1; in rt_hw_timer_init() 33 regs->timercnt2 = counter - 1; in rt_hw_timer_init() 34 regs->timerload2 = counter - 1; in rt_hw_timer_init() 40 regs->timerctrl2 = 0x7; in rt_hw_timer_init()
|
| /bsp/gd32/risc-v/libraries/GD32VF103_Firmware_Library/GD32VF103_usbfs_library/driver/Include/ |
| A D | drv_usb_dev.h | 167 udev->regs.dr->DCTL |= DCTL_SD; in usb_dev_disconnect() 178 udev->regs.dr->DCTL &= ~DCTL_SD; in usb_dev_connect() 190 udev->regs.dr->DCFG &= ~DCFG_DAR; in usb_devaddr_set() 191 udev->regs.dr->DCFG |= (uint32_t)dev_addr << 4; in usb_devaddr_set() 202 uint32_t value = udev->regs.dr->DAEPINT; in usb_oepintnum_read() 204 value &= udev->regs.dr->DAEPINTEN; in usb_oepintnum_read() 220 value &= udev->regs.dr->DOEPINTEN; in usb_oepintr_read() 233 uint32_t value = udev->regs.dr->DAEPINT; in usb_iepintnum_read() 235 value &= udev->regs.dr->DAEPINTEN; in usb_iepintnum_read() 250 udev->regs.dr->DCTL |= DCTL_RWKUP; in usb_rwkup_set() [all …]
|
| /bsp/raspberry-pi/raspi4-32/driver/touch/ |
| A D | drv_dsi_touch.c | 63 struct touch_regs *regs = (struct touch_regs *)touchbuf; in dsi_touch_thread_entry() local 64 if ((regs->num_points > 0) && (regs->num_points < MAXIMUM_SUPPORTED_POINTS)) in dsi_touch_thread_entry() 67 touch_x = (((int)regs->point[0].xh & 0xf) << 8) + regs->point[0].xl; in dsi_touch_thread_entry() 68 touch_y = (((int)regs->point[0].yh & 0xf) << 8) + regs->point[0].yl; in dsi_touch_thread_entry()
|