Home
last modified time | relevance | path

Searched refs:total_packet_count (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/firewire/
H A Dnosy-user.h14 __u32 total_packet_count; member
H A Dnosy.c63 long total_packet_count, lost_packet_count; member
189 buffer->total_packet_count++; in packet_buffer_put()
358 stats.total_packet_count = client->buffer.total_packet_count; in nosy_ioctl()
/linux/drivers/usb/cdns3/
H A Dcdnsp-ring.c1779 u32 maxp, total_packet_count; in cdnsp_td_remainder() local
1791 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in cdnsp_td_remainder()
1794 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in cdnsp_td_remainder()
2172 unsigned int total_packet_count) in cdnsp_get_burst_count() argument
2180 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count()
2194 unsigned int total_packet_count) in cdnsp_get_last_burst_packet_count() argument
2202 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count()
2213 if (total_packet_count == 0) in cdnsp_get_last_burst_packet_count()
2216 return total_packet_count - 1; in cdnsp_get_last_burst_packet_count()
/linux/drivers/usb/host/
H A Dxhci-ring.c3517 u32 maxp, total_packet_count; in xhci_td_remainder() local
3533 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3536 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3925 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
3933 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3945 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
3956 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3964 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
3966 return total_packet_count - 1; in xhci_get_last_burst_packet_count()