Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/platforms/83xx/
Dusb_831x.c23 void __iomem *immap, *usb_regs; in mpc831x_usb_cfg() local
90 usb_regs = ioremap(res.start, resource_size(&res)); in mpc831x_usb_cfg()
104 out_be32(usb_regs + FSL_USB2_CONTROL_OFFS, in mpc831x_usb_cfg()
118 out_be32(usb_regs + FSL_USB2_CONTROL_OFFS, temp); in mpc831x_usb_cfg()
125 iounmap(usb_regs); in mpc831x_usb_cfg()
/linux-6.12.1/drivers/usb/gadget/udc/
Dfsl_qe_udc.c149 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eprx_stall_change()
156 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eprx_stall_change()
166 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eptx_stall_change()
173 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eptx_stall_change()
194 clrsetbits_be16(&udc->usb_regs->usb_usep[epnum], in qe_eprx_nack()
198 clrbits16(&udc->usb_regs->usb_usbmr, in qe_eprx_nack()
211 clrsetbits_be16(&udc->usb_regs->usb_usep[ep->epnum], in qe_eprx_normal()
215 out_be16(&udc->usb_regs->usb_usber, in qe_eprx_normal()
217 setbits16(&udc->usb_regs->usb_usbmr, in qe_eprx_normal()
259 out_8(&udc->usb_regs->usb_uscom, in qe_ep_flushtxfifo()
[all …]
Dfsl_qe_udc.h354 struct usb_ctlr __iomem *usb_regs; member
/linux-6.12.1/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.h660 struct cdns2_usb_regs __iomem *usb_regs; member
/linux-6.12.1/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()