Lines Matching refs:width
61 static void crc_test(rt_uint32_t width) in crc_test() argument
71 .width = CRC16_WIDTH, in crc_test()
76 if (width == CRC32_WIDTH) in crc_test()
80 cfg.width = CRC32_WIDTH; in crc_test()
85 else if (width == CRC16_WIDTH) in crc_test()
91 rt_kprintf("crc%d not support! \n", width); in crc_test()
104 rt_kprintf("crc%d result: 0x%x \n", width, result); in crc_test()
109 rt_kprintf("crc%d result: 0x%x \n", width, result); in crc_test()
248 rt_uint32_t width = atoi(argv[2]); in crypto_sample() local
249 if (width == CRC16_WIDTH || width == CRC32_WIDTH) in crypto_sample()
251 crc_test(width); in crypto_sample()