Home
last modified time | relevance | path

Searched refs:ep0_regs (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c36 reg = readb(&pdev->ep0_regs->cs); in cdns2_check_new_setup()
67 writel(0, &pdev->ep0_regs->rxbc); in cdns2_ep0_enqueue()
96 set_reg_bit_8(&pdev->ep0_regs->cs, EP0CS_DSTALL); in cdns2_ep0_stall()
117 writeb(EP0CS_HSNAK, &pdev->ep0_regs->cs); in cdns2_status_stage()
388 writeb(EP0CS_CHGSET, &pdev->ep0_regs->cs); in cdns2_handle_setup_packet()
391 ((u8 *)&pdev->setup)[i] = readb(&pdev->ep0_regs->setupdat[i]); in cdns2_handle_setup_packet()
632 writeb(EP0_FIFO_AUTO, &pdev->ep0_regs->fifo); in cdns2_ep0_config()
636 writeb(EP0_FIFO_IO_TX | EP0_FIFO_AUTO, &pdev->ep0_regs->fifo); in cdns2_ep0_config()
640 writeb(pdev->gadget.ep0->maxpacket, &pdev->ep0_regs->maxpack); in cdns2_ep0_config()
H A Dcdns2-gadget.h661 struct cdns2_ep0_regs __iomem *ep0_regs; member
H A Dcdns2-gadget.c2257 pdev->ep0_regs = pdev->regs; in cdns2_gadget_start()