Lines Matching full:cycles
96 unsigned long cycles = 0; in test_cipher_cycles() local
128 cycles += end - start; in test_cipher_cycles()
136 printk("1 operation in %lu cycles (%d bytes)\n", in test_cipher_cycles()
137 (cycles + 4) / 8, blen); in test_cipher_cycles()
299 unsigned long cycles = 0; in test_hash_cycles_digest() local
325 cycles += end - start; in test_hash_cycles_digest()
335 printk("%6lu cycles/operation, %4lu cycles/byte\n", in test_hash_cycles_digest()
336 cycles / 8, cycles / (8 * blen)); in test_hash_cycles_digest()
344 unsigned long cycles = 0; in test_hash_cycles() local
389 cycles += end - start; in test_hash_cycles()
399 printk("%6lu cycles/operation, %4lu cycles/byte\n", in test_hash_cycles()
400 cycles / 8, cycles / (8 * blen)); in test_hash_cycles()
562 unsigned long cycles = 0; in test_ahash_cycles_digest() local
584 cycles += end - start; in test_ahash_cycles_digest()
591 pr_cont("%6lu cycles/operation, %4lu cycles/byte\n", in test_ahash_cycles_digest()
592 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles_digest()
600 unsigned long cycles = 0; in test_ahash_cycles() local
641 cycles += end - start; in test_ahash_cycles()
648 pr_cont("%6lu cycles/operation, %4lu cycles/byte\n", in test_ahash_cycles()
649 cycles / 8, cycles / (8 * blen)); in test_ahash_cycles()
764 unsigned long cycles = 0; in test_acipher_cycles() local
797 cycles += end - start; in test_acipher_cycles()
802 pr_cont("1 operation in %lu cycles (%d bytes)\n", in test_acipher_cycles()
803 (cycles + 4) / 8, blen); in test_acipher_cycles()
1621 "(defaults to zero which uses CPU cycles instead)");