Lines Matching refs:sz
160 int sz; in ts78xx_ts_nand_write_buf() local
163 sz = min_t(int, 4 - off, len); in ts78xx_ts_nand_write_buf()
164 writesb(io_base, buf, sz); in ts78xx_ts_nand_write_buf()
165 buf += sz; in ts78xx_ts_nand_write_buf()
166 len -= sz; in ts78xx_ts_nand_write_buf()
169 sz = len >> 2; in ts78xx_ts_nand_write_buf()
170 if (sz) { in ts78xx_ts_nand_write_buf()
172 writesl(io_base, buf32, sz); in ts78xx_ts_nand_write_buf()
173 buf += sz << 2; in ts78xx_ts_nand_write_buf()
174 len -= sz << 2; in ts78xx_ts_nand_write_buf()
186 int sz; in ts78xx_ts_nand_read_buf() local
189 sz = min_t(int, 4 - off, len); in ts78xx_ts_nand_read_buf()
190 readsb(io_base, buf, sz); in ts78xx_ts_nand_read_buf()
191 buf += sz; in ts78xx_ts_nand_read_buf()
192 len -= sz; in ts78xx_ts_nand_read_buf()
195 sz = len >> 2; in ts78xx_ts_nand_read_buf()
196 if (sz) { in ts78xx_ts_nand_read_buf()
198 readsl(io_base, buf32, sz); in ts78xx_ts_nand_read_buf()
199 buf += sz << 2; in ts78xx_ts_nand_read_buf()
200 len -= sz << 2; in ts78xx_ts_nand_read_buf()