Home
last modified time | relevance | path

Searched refs:usb_regs (Results 1 – 6 of 6) sorted by relevance

/drivers/usb/gadget/udc/
Dfsl_qe_udc.c148 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eprx_stall_change()
155 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eprx_stall_change()
165 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eptx_stall_change()
172 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eptx_stall_change()
193 clrsetbits_be16(&udc->usb_regs->usb_usep[epnum], in qe_eprx_nack()
197 clrbits16(&udc->usb_regs->usb_usbmr, in qe_eprx_nack()
210 clrsetbits_be16(&udc->usb_regs->usb_usep[ep->epnum], in qe_eprx_normal()
214 out_be16(&udc->usb_regs->usb_usber, in qe_eprx_normal()
216 setbits16(&udc->usb_regs->usb_usbmr, in qe_eprx_normal()
258 out_8(&udc->usb_regs->usb_uscom, in qe_ep_flushtxfifo()
[all …]
Dfsl_qe_udc.h354 struct usb_ctlr __iomem *usb_regs; member
/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c208 clear_reg_bit_8(&pdev->usb_regs->usbcs, USBCS_LPMNYET); in cdns2_enable_l1()
209 writeb(LPMCLOCK_SLEEP_ENTRY, &pdev->usb_regs->lpmclock); in cdns2_enable_l1()
211 set_reg_bit_8(&pdev->usb_regs->usbcs, USBCS_LPMNYET); in cdns2_enable_l1()
217 u8 speed = readb(&pdev->usb_regs->speedctrl); in cdns2_get_speed()
1048 set_reg_bit_8(&pdev->usb_regs->usbcs, USBCS_SIGRSUME); in cdns2_wakeup()
1235 u8 reg = readb(&pdev->usb_regs->lpmctrl); in cdns2_thread_usb_irq_handler()
1239 writeb(0, &pdev->usb_regs->sleep_clkgate); in cdns2_thread_usb_irq_handler()
1465 &pdev->usb_regs->fifoctrl); in cdns2_ep_config()
2003 return readw(&pdev->usb_regs->frmnr); in cdns2_gadget_get_frame()
2033 set_reg_bit_8(&pdev->usb_regs->usbcs, USBCS_DISCON); in cdns2_quiesce()
[all …]
Dcdns2-ep0.c162 reg = readb(&pdev->usb_regs->fnaddr); in cdns2_req_ep0_set_address()
437 reg = readb(&pdev->usb_regs->fnaddr); in cdns2_handle_setup_packet()
Dcdns2-gadget.h651 struct cdns2_usb_regs __iomem *usb_regs; member
/drivers/usb/host/
Dfhci-hcd.c567 struct resource usb_regs; in of_fhci_probe() local
599 ret = of_address_to_resource(node, 0, &usb_regs); in of_fhci_probe()
605 hcd->regs = ioremap(usb_regs.start, resource_size(&usb_regs)); in of_fhci_probe()