Lines Matching refs:ep_addr
306 int ep_addr = endpoint->endpoint_address; in dw_udc_setup() local
309 usbgetpckfromfifo(ep_addr, datap, 8); in dw_udc_setup()
346 writel(0x0, &inep_regs_p[ep_addr].write_done); in dw_udc_setup()
394 int ep_addr; in dw_udc_ep0_tx() local
442 ep_addr = endpoint->endpoint_address; in dw_udc_ep0_tx()
443 writel(0x0, &inep_regs_p[ep_addr].write_done); in dw_udc_ep0_tx()
592 int ep_addr; in udc_setup_ep() local
607 ep_addr = endpoint->endpoint_address; in udc_setup_ep()
608 ep_num = ep_addr & USB_ENDPOINT_NUMBER_MASK; in udc_setup_ep()
610 if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()
641 if (!ep_addr) { in udc_setup_ep()
662 } else if ((ep_addr & USB_ENDPOINT_DIR_MASK) == USB_DIR_IN) { in udc_setup_ep()