Lines Matching refs:packet_bytes

689 		int packet_bytes = 0;  in ftdi_elan_read()  local
693 &packet_bytes, 50); in ftdi_elan_read()
694 if (packet_bytes > 2) { in ftdi_elan_read()
695 ftdi->bulk_in_left = packet_bytes - 2; in ftdi_elan_read()
920 int packet_bytes = 0; in ftdi_elan_respond_engine() local
924 &packet_bytes, 500); in ftdi_elan_respond_engine()
927 int m = packet_bytes; in ftdi_elan_respond_engine()
937 if (packet_bytes > 2) { in ftdi_elan_respond_engine()
938 ftdi->bulk_in_left = packet_bytes - 2; in ftdi_elan_respond_engine()
944 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
952 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
957 retval, packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
961 retval, packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
963 } else if (packet_bytes == 2) { in ftdi_elan_respond_engine()
983 } else if (packet_bytes == 1) { in ftdi_elan_respond_engine()
1836 int packet_bytes = 0; in ftdi_elan_flush_input_fifo() local
1840 &packet_bytes, 100); in ftdi_elan_flush_input_fifo()
1841 if (packet_bytes > 2) { in ftdi_elan_flush_input_fifo()
1848 while (packet_bytes-- > 0) { in ftdi_elan_flush_input_fifo()
1860 } else if (packet_bytes > 1) { in ftdi_elan_flush_input_fifo()
1871 } else if (packet_bytes > 0) { in ftdi_elan_flush_input_fifo()
2008 int packet_bytes = 0; in ftdi_elan_synchronize() local
2013 &packet_bytes, 500); in ftdi_elan_synchronize()
2014 if (packet_bytes > 2) { in ftdi_elan_synchronize()
2022 while (packet_bytes-- > 0) { in ftdi_elan_synchronize()
2044 } else if (packet_bytes > 1) { in ftdi_elan_synchronize()
2067 } else if (packet_bytes > 0) { in ftdi_elan_synchronize()
2111 int packet_bytes = 0; in ftdi_elan_stuck_waiting() local
2115 &packet_bytes, 1000); in ftdi_elan_stuck_waiting()
2116 if (packet_bytes > 2) { in ftdi_elan_stuck_waiting()
2123 while (packet_bytes-- > 0) { in ftdi_elan_stuck_waiting()
2135 } else if (packet_bytes > 1) { in ftdi_elan_stuck_waiting()
2145 } else if (packet_bytes > 0) { in ftdi_elan_stuck_waiting()