Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firewire/
Dnosy-user.h14 __u32 total_packet_count; member
Dnosy.c61 long total_packet_count, lost_packet_count; member
185 buffer->total_packet_count++; in packet_buffer_put()
354 stats.total_packet_count = client->buffer.total_packet_count; in nosy_ioctl()
/linux-6.1.9/drivers/usb/cdns3/
Dcdnsp-ring.c1769 u32 maxp, total_packet_count; in cdnsp_td_remainder() local
1781 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in cdnsp_td_remainder()
1784 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in cdnsp_td_remainder()
2147 unsigned int total_packet_count) in cdnsp_get_burst_count() argument
2155 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in cdnsp_get_burst_count()
2169 unsigned int total_packet_count) in cdnsp_get_last_burst_packet_count() argument
2177 residue = total_packet_count % (max_burst + 1); in cdnsp_get_last_burst_packet_count()
2188 if (total_packet_count == 0) in cdnsp_get_last_burst_packet_count()
2191 return total_packet_count - 1; in cdnsp_get_last_burst_packet_count()
/linux-6.1.9/drivers/usb/host/
Dxhci-ring.c3428 u32 maxp, total_packet_count; in xhci_td_remainder() local
3444 total_packet_count = DIV_ROUND_UP(td_total_len, maxp); in xhci_td_remainder()
3447 return (total_packet_count - ((transferred + trb_buff_len) / maxp)); in xhci_td_remainder()
3825 struct urb *urb, unsigned int total_packet_count) in xhci_get_burst_count() argument
3833 return DIV_ROUND_UP(total_packet_count, max_burst + 1) - 1; in xhci_get_burst_count()
3845 struct urb *urb, unsigned int total_packet_count) in xhci_get_last_burst_packet_count() argument
3856 residue = total_packet_count % (max_burst + 1); in xhci_get_last_burst_packet_count()
3864 if (total_packet_count == 0) in xhci_get_last_burst_packet_count()
3866 return total_packet_count - 1; in xhci_get_last_burst_packet_count()