Lines Matching refs:command_size
368 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
370 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
390 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
392 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
426 int command_size = ftdi->command_next - in ftdi_elan_cancel_targets() local
428 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()
733 char *buf, int command_size, int total_size) in fill_buffer_with_all_queued_commands() argument
737 int I = command_size; in fill_buffer_with_all_queued_commands()
759 static int ftdi_elan_total_command_size(struct usb_ftdi *ftdi, int command_size) in ftdi_elan_total_command_size() argument
762 int I = command_size; in ftdi_elan_total_command_size()
779 int command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_command_engine() local
780 if (command_size == 0) in ftdi_elan_command_engine()
782 total_size = ftdi_elan_total_command_size(ftdi, command_size); in ftdi_elan_command_engine()
790 command_size, total_size); in ftdi_elan_command_engine()
795 command_size, total_size); in ftdi_elan_command_engine()
817 retval, urb, command_size, total_size); in ftdi_elan_command_engine()
824 ftdi->command_head += command_size; in ftdi_elan_command_engine()
1190 int command_size; in ftdi_elan_write_reg() local
1192 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_reg()
1193 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_reg()
1222 int command_size; in ftdi_elan_write_config() local
1224 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_config()
1225 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_config()
1254 int command_size; in ftdi_elan_write_pcimem() local
1256 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_pcimem()
1257 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_pcimem()
1293 int command_size; in ftdi_elan_read_reg() local
1296 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_reg()
1298 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_reg()
1336 int command_size; in ftdi_elan_read_config() local
1339 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_config()
1341 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_config()
1380 int command_size; in ftdi_elan_read_pcimem() local
1383 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_pcimem()
1385 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_pcimem()
1441 int command_size; in ftdi_elan_edset_setup() local
1443 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_setup()
1444 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_setup()
1497 int command_size; in ftdi_elan_edset_input() local
1499 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_input()
1500 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_input()
1561 int command_size; in ftdi_elan_edset_empty() local
1563 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_empty()
1564 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_empty()
1617 int command_size; in ftdi_elan_edset_output() local
1619 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_output()
1620 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_output()
1693 int command_size; in ftdi_elan_edset_single() local
1695 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_single()
1696 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_single()
1762 int command_size = ftdi->command_next - in ftdi_elan_edset_flush() local
1764 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_flush()