Lines Matching refs:cnt
105 unsigned cnt; in i1480_mpi_read() local
115 for (cnt = 0; cnt < size; cnt++) { in i1480_mpi_read()
116 cmd->data[cnt].page = (srcaddr + cnt) >> 8; in i1480_mpi_read()
117 cmd->data[cnt].offset = (srcaddr + cnt) & 0xff; in i1480_mpi_read()
131 for (cnt = 0; cnt < size; cnt++) { in i1480_mpi_read()
132 if (reply->data[cnt].page != (srcaddr + cnt) >> 8) in i1480_mpi_read()
134 "index %u: expected 0x%02x, got 0x%02x\n", cnt, in i1480_mpi_read()
135 (srcaddr + cnt) >> 8, reply->data[cnt].page); in i1480_mpi_read()
136 if (reply->data[cnt].offset != ((srcaddr + cnt) & 0x00ff)) in i1480_mpi_read()
138 "index %u: expected 0x%02x, got 0x%02x\n", cnt, in i1480_mpi_read()
139 (srcaddr + cnt) & 0x00ff, in i1480_mpi_read()
140 reply->data[cnt].offset); in i1480_mpi_read()
141 data[cnt] = reply->data[cnt].value; in i1480_mpi_read()