Lines Matching refs:tran_len
87 size_t tran_len; member
152 olen = ns->tran_len; in __atcspi200_spi_start()
156 tc |= (ns->tran_len-1) << RCNT_OFFSET; in __atcspi200_spi_start()
196 int num_blks, num_chunks, max_tran_len, tran_len; in __atcspi200_spi_xfer() local
240 tran_len = min((size_t)data_len, (size_t)max_tran_len); in __atcspi200_spi_xfer()
241 ns->tran_len = tran_len; in __atcspi200_spi_xfer()
242 num_blks = DIV_ROUND_UP(tran_len , CHUNK_SIZE); in __atcspi200_spi_xfer()
243 num_bytes = (tran_len) % CHUNK_SIZE; in __atcspi200_spi_xfer()
272 data_len -= tran_len; in __atcspi200_spi_xfer()
275 ns->cmd_buf[1] += ((tran_len>>16)&0xff); in __atcspi200_spi_xfer()
276 ns->cmd_buf[2] += ((tran_len>>8)&0xff); in __atcspi200_spi_xfer()
277 ns->cmd_buf[3] += ((tran_len)&0xff); in __atcspi200_spi_xfer()