Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c173 unsigned int nr_trans; in usba_ep_enable() local
222 nr_trans = ((usb_endpoint_maxp(desc) >> 11) & 3) + 1; in usba_ep_enable()
223 if (nr_trans > 3) in usba_ep_enable()
232 if (nr_trans > 1 && ep->nr_banks == 3) in usba_ep_enable()
236 ept_cfg |= USBA_BF(NB_TRANS, nr_trans); in usba_ep_enable()
H A Daspeed_udc.c562 u16 nr_trans = ((usb_endpoint_maxp(desc) >> 11) & 3) + 1; in aspeed_udc_ep_enable() local
570 epnum, maxpacket, le16_to_cpu(desc->wMaxPacketSize), nr_trans); in aspeed_udc_ep_enable()
/openbmc/linux/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c579 unsigned int nr_trans; in usba_ep_enable() local
620 nr_trans = usb_endpoint_maxp_mult(desc); in usba_ep_enable()
621 if (nr_trans > 3) in usba_ep_enable()
626 ep->ept_cfg |= USBA_BF(NB_TRANS, nr_trans); in usba_ep_enable()