Home
last modified time | relevance | path

Searched refs:epid (Results 1 – 2 of 2) sorted by relevance

/u-boot/include/usb/
A Dudc.h48 void udc_set_nak(int epid);
49 void udc_unset_nak(int epid);
/u-boot/drivers/usb/gadget/
A Ddesignware_udc.c999 void udc_set_nak(int epid) in udc_set_nak() argument
1001 writel(readl(&inep_regs_p[epid].endp_cntl) | ENDP_CNTL_SNAK, in udc_set_nak()
1002 &inep_regs_p[epid].endp_cntl); in udc_set_nak()
1004 writel(readl(&outep_regs_p[epid].endp_cntl) | ENDP_CNTL_SNAK, in udc_set_nak()
1005 &outep_regs_p[epid].endp_cntl); in udc_set_nak()
1008 void udc_unset_nak(int epid) in udc_unset_nak() argument
1012 val = readl(&inep_regs_p[epid].endp_cntl); in udc_unset_nak()
1015 writel(val, &inep_regs_p[epid].endp_cntl); in udc_unset_nak()
1017 val = readl(&outep_regs_p[epid].endp_cntl); in udc_unset_nak()
1020 writel(val, &outep_regs_p[epid].endp_cntl); in udc_unset_nak()

Completed in 5 milliseconds