Lines Matching refs:i
33 uint32_t i, j; in dump_memory() local
35 for (i = 0, j = 0; j < (size / 16); i += 16, j++) { in dump_memory()
37 p[i], p[i+1], p[i+2], p[i+3], in dump_memory()
38 p[i+4], p[i+5], p[i+6], p[i+7]); in dump_memory()
40 p[i+8], p[i+9], p[i+10], p[i+11], in dump_memory()
41 p[i+12], p[i+13], p[i+14], p[i+15]); in dump_memory()
43 if (((i + 16) & 0xFF) == 0) { in dump_memory()
48 for (; i < size; i++) { in dump_memory()
49 printk("%02x ", p[i]); in dump_memory()
62 uint32_t i, j; in main() local
65 for (i = 0; i < BUF_SIZE; i++) { in main()
66 memc_write_buffer[i] = (uint8_t)i; in main()
71 for (i = 0, j = 0; j < (MEMC_SIZE / BUF_SIZE); i += BUF_SIZE, j++) { in main()
72 memcpy(memc + i, memc_write_buffer, BUF_SIZE); in main()
75 for (; i < MEMC_SIZE; i++) { in main()
76 memc[i] = memc_write_buffer[i]; in main()
79 for (i = 0, j = 0; j < (MEMC_SIZE / BUF_SIZE); i += BUF_SIZE, j++) { in main()
80 memcpy(memc_read_buffer, memc + i, BUF_SIZE); in main()
84 i, i + (BUF_SIZE - 1)); in main()
92 for (; i < MEMC_SIZE; i++) { in main()
93 memc_read_buffer[i] = memc[i]; in main()
94 if (memc_write_buffer[i] != memc_read_buffer[i]) { in main()
95 printk("Error: read data differs at offset 0x%x\n", i); in main()