Lines Matching refs:cmdlen
534 int cmdlen; in usbat_hp8200e_rw_block_test() local
554 cmdlen = 16; in usbat_hp8200e_rw_block_test()
570 cmdlen = 8; in usbat_hp8200e_rw_block_test()
573 command[cmdlen-8] = (direction==DMA_TO_DEVICE ? 0x40 : 0xC0); in usbat_hp8200e_rw_block_test()
574 command[cmdlen-7] = access | in usbat_hp8200e_rw_block_test()
577 command[cmdlen-6] = data_reg; in usbat_hp8200e_rw_block_test()
578 command[cmdlen-5] = status_reg; in usbat_hp8200e_rw_block_test()
579 command[cmdlen-4] = timeout; in usbat_hp8200e_rw_block_test()
580 command[cmdlen-3] = qualifier; in usbat_hp8200e_rw_block_test()
581 command[cmdlen-2] = LSB_of(len); in usbat_hp8200e_rw_block_test()
582 command[cmdlen-1] = MSB_of(len); in usbat_hp8200e_rw_block_test()
584 result = usbat_execute_command(us, command, cmdlen); in usbat_hp8200e_rw_block_test()