Lines Matching refs:num_registers
516 unsigned short num_registers, in usbat_hp8200e_rw_block_test() argument
537 BUG_ON(num_registers > US_IOBUF_SIZE/2); in usbat_hp8200e_rw_block_test()
566 command[6] = LSB_of(num_registers*2); in usbat_hp8200e_rw_block_test()
567 command[7] = MSB_of(num_registers*2); in usbat_hp8200e_rw_block_test()
590 for (j=0; j<num_registers; j++) { in usbat_hp8200e_rw_block_test()
595 result = usbat_bulk_write(us, data, num_registers*2, 0); in usbat_hp8200e_rw_block_test()
680 unsigned short num_registers) in usbat_multiple_write() argument
686 BUG_ON(num_registers > US_IOBUF_SIZE/2); in usbat_multiple_write()
699 command[6] = LSB_of(num_registers*2); in usbat_multiple_write()
700 command[7] = MSB_of(num_registers*2); in usbat_multiple_write()
708 for (i=0; i<num_registers; i++) { in usbat_multiple_write()
714 result = usbat_bulk_write(us, data, num_registers*2, 0); in usbat_multiple_write()