Lines Matching refs:packet_bytes

691 		int packet_bytes = 0;  in ftdi_elan_read()  local
695 &packet_bytes, 50); in ftdi_elan_read()
696 if (packet_bytes > 2) { in ftdi_elan_read()
697 ftdi->bulk_in_left = packet_bytes - 2; in ftdi_elan_read()
922 int packet_bytes = 0; in ftdi_elan_respond_engine() local
926 &packet_bytes, 500); in ftdi_elan_respond_engine()
929 int m = packet_bytes; in ftdi_elan_respond_engine()
939 if (packet_bytes > 2) { in ftdi_elan_respond_engine()
940 ftdi->bulk_in_left = packet_bytes - 2; in ftdi_elan_respond_engine()
946 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
954 packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
959 retval, packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
963 retval, packet_bytes, bytes_read, diag); in ftdi_elan_respond_engine()
1808 int packet_bytes = 0; in ftdi_elan_flush_input_fifo() local
1812 &packet_bytes, 100); in ftdi_elan_flush_input_fifo()
1813 if (packet_bytes > 2) { in ftdi_elan_flush_input_fifo()
1820 while (packet_bytes-- > 0) { in ftdi_elan_flush_input_fifo()
1832 } else if (packet_bytes > 1) { in ftdi_elan_flush_input_fifo()
1843 } else if (packet_bytes > 0) { in ftdi_elan_flush_input_fifo()
1980 int packet_bytes = 0; in ftdi_elan_synchronize() local
1985 &packet_bytes, 500); in ftdi_elan_synchronize()
1986 if (packet_bytes > 2) { in ftdi_elan_synchronize()
1994 while (packet_bytes-- > 0) { in ftdi_elan_synchronize()
2016 } else if (packet_bytes > 1) { in ftdi_elan_synchronize()
2032 } else if (packet_bytes > 0) { in ftdi_elan_synchronize()
2076 int packet_bytes = 0; in ftdi_elan_stuck_waiting() local
2080 &packet_bytes, 1000); in ftdi_elan_stuck_waiting()
2081 if (packet_bytes > 2) { in ftdi_elan_stuck_waiting()
2088 while (packet_bytes-- > 0) { in ftdi_elan_stuck_waiting()
2099 } else if (packet_bytes > 1) { in ftdi_elan_stuck_waiting()
2109 } else if (packet_bytes > 0) { in ftdi_elan_stuck_waiting()