Lines Matching refs:wrapper
118 #define USBHS_DT_WRAPPER_REG_ADDR(n) UINT_TO_POINTER(DT_INST_REG_ADDR_BY_NAME(n, wrapper))
185 NRF_USBHS_Type *wrapper = USBHS_DT_WRAPPER_REG_ADDR(0); in usbhs_enable_core() local
201 wrapper->ENABLE = USBHS_ENABLE_PHY_Msk | USBHS_ENABLE_CORE_Msk; in usbhs_enable_core()
202 wrapper->TASKS_START = 1UL; in usbhs_enable_core()
208 wrapper->INTENSET = 1UL; in usbhs_enable_core()
215 NRF_USBHS_Type *wrapper = USBHS_DT_WRAPPER_REG_ADDR(0); in usbhs_disable_core() local
218 wrapper->INTENCLR = 1UL; in usbhs_disable_core()
220 wrapper->ENABLE = 0UL; in usbhs_disable_core()
221 wrapper->TASKS_START = 1UL; in usbhs_disable_core()
243 NRF_USBHS_Type *wrapper = USBHS_DT_WRAPPER_REG_ADDR(0); in usbhs_irq_clear() local
245 wrapper->EVENTS_CORE = 0UL; in usbhs_irq_clear()
269 NRF_USBHS_Type *wrapper = USBHS_DT_WRAPPER_REG_ADDR(0); in usbhs_post_hibernation_entry() local
273 sys_write32(0x87, (mem_addr_t)wrapper + 0xC80); in usbhs_post_hibernation_entry()
274 sys_write32(0x87, (mem_addr_t)wrapper + 0xC84); in usbhs_post_hibernation_entry()
275 sys_write32(1, (mem_addr_t)wrapper + 0x004); in usbhs_post_hibernation_entry()
284 NRF_USBHS_Type *wrapper = USBHS_DT_WRAPPER_REG_ADDR(0); in usbhs_pre_hibernation_exit() local
288 wrapper->TASKS_START = 1; in usbhs_pre_hibernation_exit()
289 sys_write32(0, (mem_addr_t)wrapper + 0xC80); in usbhs_pre_hibernation_exit()
290 sys_write32(0, (mem_addr_t)wrapper + 0xC84); in usbhs_pre_hibernation_exit()