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