Lines Matching refs:dcfg
86 uint32_t dcfg; member
874 backup->dcfg = sys_read32((mem_addr_t)&base->dcfg); in dwc2_backup_registers()
929 sys_write32(backup->dcfg, (mem_addr_t)&base->dcfg); in dwc2_restore_essential_registers()
932 sys_write32(backup->dcfg, (mem_addr_t)&base->dcfg); in dwc2_restore_essential_registers()
1098 sys_write32(priv->backup.dcfg, (mem_addr_t)&base->dcfg); in dwc2_exit_hibernation()
1633 mem_addr_t dcfg_reg = (mem_addr_t)&base->dcfg; in udc_dwc2_set_address()
1634 uint32_t dcfg; in udc_dwc2_set_address() local
1640 dcfg = sys_read32(dcfg_reg); in udc_dwc2_set_address()
1641 dcfg &= ~USB_DWC2_DCFG_DEVADDR_MASK; in udc_dwc2_set_address()
1642 dcfg |= usb_dwc2_set_dcfg_devaddr(addr); in udc_dwc2_set_address()
1643 sys_write32(dcfg, dcfg_reg); in udc_dwc2_set_address()
1754 mem_addr_t dcfg_reg = (mem_addr_t)&base->dcfg; in udc_dwc2_init_controller()
1755 uint32_t dcfg; in udc_dwc2_init_controller() local
1862 dcfg = sys_read32(dcfg_reg); in udc_dwc2_init_controller()
1864 dcfg &= ~USB_DWC2_DCFG_DESCDMA; in udc_dwc2_init_controller()
1867 dcfg &= ~USB_DWC2_DCFG_DEVSPD_MASK; in udc_dwc2_init_controller()
1874 dcfg |= USB_DWC2_DCFG_DEVSPD_USBHS20 in udc_dwc2_init_controller()
1881 dcfg |= USB_DWC2_DCFG_DEVSPD_USBHS20 in udc_dwc2_init_controller()
1893 dcfg |= USB_DWC2_DCFG_DEVSPD_USBFS1148 in udc_dwc2_init_controller()
1904 sys_write32(dcfg, dcfg_reg); in udc_dwc2_init_controller()
2254 sys_clear_bits((mem_addr_t)&base->dcfg, USB_DWC2_DCFG_DEVADDR_MASK); in dwc2_on_bus_reset()