Home
last modified time | relevance | path

Searched refs:txlen (Results 1 – 2 of 2) sorted by relevance

/qemu/hw/i2c/
H A Domap_i2c.c50 int txlen; member
82 s->txlen = 0; in omap_i2c_fifo_run()
84 while (ack && s->txlen) in omap_i2c_fifo_run()
86 (s->fifo >> ((-- s->txlen) << 3)) & in omap_i2c_fifo_run()
96 while (ack && s->count_cur && s->txlen) { in omap_i2c_fifo_run()
98 (s->fifo >> ((-- s->txlen) << 3)) & in omap_i2c_fifo_run()
125 s->txlen = 0; in omap_i2c_fifo_run()
149 s->txlen = 0; in omap_i2c_reset()
304 if (s->txlen > 2) { in omap_i2c_write()
309 s->txlen += 2; in omap_i2c_write()
[all …]
/qemu/hw/dma/
H A Dxilinx_axidma.c294 uint32_t txlen; in stream_process_mem2s() local
316 txlen = s->desc.control & SDESC_CTRL_LEN_MASK; in stream_process_mem2s()
320 while (txlen) { in stream_process_mem2s()
323 len = txlen > sizeof s->txbuf ? sizeof s->txbuf : txlen; in stream_process_mem2s()
327 stream_push(tx_data_dev, s->txbuf, len, eop && len == txlen); in stream_process_mem2s()
328 txlen -= len; in stream_process_mem2s()
337 s->desc.status = txlen | SDESC_STATUS_COMPLETE; in stream_process_mem2s()