Searched refs:ept_cfg (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/drivers/usb/gadget/ |
H A D | atmel_usba_udc.c | 172 unsigned long flags = 0, ept_cfg, maxpacket; in usba_ep_enable() local 193 ept_cfg = USBA_BF(EPT_SIZE, USBA_EPT_SIZE_8); in usba_ep_enable() 196 ept_cfg = USBA_BF(EPT_SIZE, fls(maxpacket - 1) - 3); in usba_ep_enable() 199 ep->ep.name, ept_cfg, maxpacket); in usba_ep_enable() 203 ept_cfg |= USBA_EPT_DIR_IN; in usba_ep_enable() 208 ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_CONTROL); in usba_ep_enable() 209 ept_cfg |= USBA_BF(BK_NUMBER, USBA_BK_NUMBER_ONE); in usba_ep_enable() 227 ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_ISO); in usba_ep_enable() 233 ept_cfg |= USBA_BF(BK_NUMBER, USBA_BK_NUMBER_TRIPLE); in usba_ep_enable() 235 ept_cfg |= USBA_BF(BK_NUMBER, USBA_BK_NUMBER_DOUBLE); in usba_ep_enable() [all …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.c | 598 ep->ep.name, ep->ept_cfg, maxpacket); in usba_ep_enable() 602 ep->ept_cfg |= USBA_EPT_DIR_IN; in usba_ep_enable() 607 ep->ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_CONTROL); in usba_ep_enable() 625 ep->ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_ISO); in usba_ep_enable() 626 ep->ept_cfg |= USBA_BF(NB_TRANS, nr_trans); in usba_ep_enable() 630 ep->ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_BULK); in usba_ep_enable() 633 ep->ept_cfg |= USBA_BF(EPT_TYPE, USBA_EPT_TYPE_INT); in usba_ep_enable() 642 usba_ep_writel(ep, CFG, ep->ept_cfg); in usba_ep_enable() 1094 ep->ept_cfg = USBA_BF(EPT_SIZE, USBA_EPT_SIZE_8); in atmel_usba_match_ep() 1097 ep->ept_cfg = in atmel_usba_match_ep() [all …]
|
H A D | atmel_usba_udc.h | 286 unsigned long ept_cfg; member
|