Home
last modified time | relevance | path

Searched refs:tran_len (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Datcspi200_spi.c87 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
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()
[all …]
H A Dfsl_espi.c248 int num_blks, num_chunks, max_tran_len, tran_len; in spi_xfer() local
303 tran_len = min(data_len, (size_t)max_tran_len); in spi_xfer()
304 num_blks = DIV_ROUND_UP(tran_len + cmd_len, 4); in spi_xfer()
305 num_bytes = (tran_len + cmd_len) % 4; in spi_xfer()
306 fsl->data_len = tran_len + cmd_len; in spi_xfer()
343 memcpy(data_in, buffer + 2 * cmd_len, tran_len); in spi_xfer()
345 data_in += tran_len; in spi_xfer()
346 data_len -= tran_len; in spi_xfer()
347 *(int *)buffer += tran_len; in spi_xfer()
/openbmc/linux/drivers/scsi/
H A Datp870u.h50 unsigned long tran_len; member
H A Datp870u.c206 dev->id[c][target_id].tran_len = k; in atp870u_intr_handle()
213 dev->id[c][target_id].tran_len); in atp870u_intr_handle()
267 dev->id[c][target_id].tran_len = k; in atp870u_intr_handle()
307 dev->id[c][target_id].tran_len = k; in atp870u_intr_handle()
356 adrcnt = dev->id[c][target_id].tran_len; in atp870u_intr_handle()
843 dev->id[c][j].tran_len = 0; in DEF_SCSI_QCMD()