Searched refs:emptybds (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/usb/gadget/udc/
H A Dfsl_qe_udc.c1029 u16 swoffs, ucoffs, emptybds; qe_ep_rx() local
1045 emptybds = USB_BDRING_LEN_RX - ucoffs + swoffs; qe_ep_rx()
1047 emptybds = swoffs - ucoffs; qe_ep_rx()
1049 if (emptybds < MIN_EMPTY_BDS) { qe_ep_rx()
1052 dev_vdbg(udc->dev, "%d empty bds, send NACK\n", emptybds); qe_ep_rx()
1054 ep->has_data = USB_BDRING_LEN_RX - emptybds; qe_ep_rx()

Completed in 47 milliseconds