Lines Matching refs:dctl

87 	uint32_t dctl;  member
875 backup->dctl = sys_read32((mem_addr_t)&base->dctl); in dwc2_backup_registers()
965 sys_write32(backup->dctl, (mem_addr_t)&base->dctl); in dwc2_restore_device_registers()
1099 sys_write32(priv->backup.dctl, (mem_addr_t)&base->dctl); in dwc2_exit_hibernation()
1105 sys_set_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_PWRONPRGDONE); in dwc2_exit_hibernation()
1108 sys_write32(USB_DWC2_DCTL_RMTWKUPSIG | priv->backup.dctl, in dwc2_exit_hibernation()
1109 (mem_addr_t)&base->dctl); in dwc2_exit_hibernation()
1420 uint32_t dctl; in udc_dwc2_ep_disable() local
1422 dctl_reg = (mem_addr_t)&base->dctl; in udc_dwc2_ep_disable()
1426 dctl = sys_read32(dctl_reg); in udc_dwc2_ep_disable()
1431 dctl |= USB_DWC2_DCTL_SGOUTNAK; in udc_dwc2_ep_disable()
1432 sys_write32(dctl, dctl_reg); in udc_dwc2_ep_disable()
1433 dctl &= ~USB_DWC2_DCTL_SGOUTNAK; in udc_dwc2_ep_disable()
1458 dctl |= USB_DWC2_DCTL_CGOUTNAK; in udc_dwc2_ep_disable()
1459 sys_write32(dctl, dctl_reg); in udc_dwc2_ep_disable()
1653 mem_addr_t dctl_reg = (mem_addr_t)&base->dctl; in udc_dwc2_test_mode()
1654 uint32_t dctl; in udc_dwc2_test_mode() local
1660 dctl = sys_read32(dctl_reg); in udc_dwc2_test_mode()
1661 if (usb_dwc2_get_dctl_tstctl(dctl) != USB_DWC2_DCTL_TSTCTL_DISABLED) { in udc_dwc2_test_mode()
1670 dctl |= usb_dwc2_set_dctl_tstctl(mode); in udc_dwc2_test_mode()
1671 sys_write32(dctl, dctl_reg); in udc_dwc2_test_mode()
2023 sys_clear_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_SFTDISCON); in udc_dwc2_enable()
2034 mem_addr_t dctl_reg = (mem_addr_t)&base->dctl; in udc_dwc2_disable()
2793 sys_clear_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_RMTWKUPSIG); in dwc2_handle_hibernation_exit()
2927 sys_set_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_RMTWKUPSIG); in dwc2_thread_handler()
2935 sys_clear_bits((mem_addr_t)&base->dctl, USB_DWC2_DCTL_RMTWKUPSIG); in dwc2_thread_handler()