Lines Matching refs:command_size
366 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
368 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
388 int command_size = ftdi->command_next - in ftdi_elan_flush_targets() local
390 if (command_size < COMMAND_SIZE) { in ftdi_elan_flush_targets()
424 int command_size = ftdi->command_next - in ftdi_elan_cancel_targets() local
426 if (command_size < COMMAND_SIZE) { in ftdi_elan_cancel_targets()
731 char *buf, int command_size, int total_size) in fill_buffer_with_all_queued_commands() argument
735 int I = command_size; in fill_buffer_with_all_queued_commands()
757 static int ftdi_elan_total_command_size(struct usb_ftdi *ftdi, int command_size) in ftdi_elan_total_command_size() argument
760 int I = command_size; in ftdi_elan_total_command_size()
776 int command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_command_engine() local
777 if (command_size == 0) in ftdi_elan_command_engine()
779 total_size = ftdi_elan_total_command_size(ftdi, command_size); in ftdi_elan_command_engine()
787 command_size, total_size); in ftdi_elan_command_engine()
792 command_size, total_size); in ftdi_elan_command_engine()
814 retval, urb, command_size, total_size); in ftdi_elan_command_engine()
821 ftdi->command_head += command_size; in ftdi_elan_command_engine()
1213 int command_size; in ftdi_elan_write_reg() local
1215 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_reg()
1216 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_reg()
1245 int command_size; in ftdi_elan_write_config() local
1247 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_config()
1248 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_config()
1277 int command_size; in ftdi_elan_write_pcimem() local
1279 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_write_pcimem()
1280 if (command_size < COMMAND_SIZE) { in ftdi_elan_write_pcimem()
1316 int command_size; in ftdi_elan_read_reg() local
1319 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_reg()
1321 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_reg()
1359 int command_size; in ftdi_elan_read_config() local
1362 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_config()
1364 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_config()
1403 int command_size; in ftdi_elan_read_pcimem() local
1406 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_read_pcimem()
1408 if (command_size < COMMAND_SIZE && respond_size < RESPOND_SIZE) in ftdi_elan_read_pcimem()
1464 int command_size; in ftdi_elan_edset_setup() local
1466 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_setup()
1467 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_setup()
1521 int command_size; in ftdi_elan_edset_input() local
1523 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_input()
1524 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_input()
1586 int command_size; in ftdi_elan_edset_empty() local
1588 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_empty()
1589 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_empty()
1643 int command_size; in ftdi_elan_edset_output() local
1645 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_output()
1646 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_output()
1722 int command_size; in ftdi_elan_edset_single() local
1724 command_size = ftdi->command_next - ftdi->command_head; in ftdi_elan_edset_single()
1725 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_single()
1792 int command_size = ftdi->command_next - in ftdi_elan_edset_flush() local
1794 if (command_size < COMMAND_SIZE) { in ftdi_elan_edset_flush()