Lines Matching refs:command_size

367 			int command_size = ftdi->command_next -  in ftdi_elan_flush_targets()  local
369 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
389 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
391 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
425 int command_size = ftdi->command_next - in ftdi_elan_cancel_targets() local
427 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()
732 char *buf, int command_size, int total_size) in fill_buffer_with_all_queued_commands() argument
736 int I = command_size; in fill_buffer_with_all_queued_commands()
758 static int ftdi_elan_total_command_size(struct usb_ftdi *ftdi, int command_size) in ftdi_elan_total_command_size() argument
761 int I = command_size; in ftdi_elan_total_command_size()
778 int command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_command_engine() local
779 if (command_size == 0) in ftdi_elan_command_engine()
781 total_size = ftdi_elan_total_command_size(ftdi, command_size); in ftdi_elan_command_engine()
789 command_size, total_size); in ftdi_elan_command_engine()
794 command_size, total_size); in ftdi_elan_command_engine()
816 retval, urb, command_size, total_size); in ftdi_elan_command_engine()
823 ftdi->command_head += command_size; in ftdi_elan_command_engine()
1189 int command_size; in ftdi_elan_write_reg() local
1191 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_reg()
1192 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_reg()
1221 int command_size; in ftdi_elan_write_config() local
1223 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_config()
1224 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_config()
1253 int command_size; in ftdi_elan_write_pcimem() local
1255 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_pcimem()
1256 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_pcimem()
1292 int command_size; in ftdi_elan_read_reg() local
1295 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_reg()
1297 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_reg()
1335 int command_size; in ftdi_elan_read_config() local
1338 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_config()
1340 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_config()
1379 int command_size; in ftdi_elan_read_pcimem() local
1382 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_pcimem()
1384 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_pcimem()
1440 int command_size; in ftdi_elan_edset_setup() local
1442 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_setup()
1443 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()
1562 int command_size; in ftdi_elan_edset_empty() local
1564 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_empty()
1565 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_empty()
1619 int command_size; in ftdi_elan_edset_output() local
1621 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_output()
1622 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_output()
1698 int command_size; in ftdi_elan_edset_single() local
1700 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_single()
1701 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_single()
1768 int command_size = ftdi->command_next - in ftdi_elan_edset_flush() local
1770 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_flush()