Searched refs:tx_in (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/net/wimax/i2400m/
H A Dtx.c314 * When calculating the tail_room, tx_in might get to be zero if
315 * i2400m->tx_in is right at the end of the buffer (really full
319 * i2400m->tx_in being zero would fail, so we treat is an a special
326 size_t tx_in; __i2400m_tx_tail_room() local
328 if (unlikely(i2400m->tx_in == 0)) __i2400m_tx_tail_room()
330 tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE; __i2400m_tx_tail_room()
331 tail_room = I2400M_TX_BUF_SIZE - tx_in; __i2400m_tx_tail_room()
386 * In certain situations, tx_in would have reached on the top of TX FIFO
442 room = I2400M_TX_BUF_SIZE - (i2400m->tx_in - i2400m->tx_out); i2400m_tx_fifo_push()
474 ptr = i2400m->tx_buf + i2400m->tx_in % I2400M_TX_BUF_SIZE; i2400m_tx_fifo_push()
476 i2400m->tx_in % I2400M_TX_BUF_SIZE); i2400m_tx_fifo_push()
477 i2400m->tx_in += size; i2400m_tx_fifo_push()
508 size_t tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE; i2400m_tx_skip_tail() local
510 struct i2400m_msg_hdr *msg = i2400m->tx_buf + tx_in; i2400m_tx_skip_tail()
516 tail_room, tx_in); i2400m_tx_skip_tail()
517 i2400m->tx_in += tail_room; i2400m_tx_skip_tail()
669 aligned_size, i2400m->tx_buf, i2400m->tx_in, i2400m_tx_close()
853 if (i2400m->tx_in == i2400m->tx_out) { /* Empty FIFO? */ i2400m_tx_msg_get()
854 i2400m->tx_in = 0; i2400m_tx_msg_get()
945 BUG_ON(i2400m->tx_out > i2400m->tx_in); i2400m_tx_msg_sent()
949 i2400m->tx_in -= n * I2400M_TX_BUF_SIZE; i2400m_tx_msg_sent()
962 * for tx_in, tx_out, tx_msg_size and tx_msg. We reset them since
989 i2400m->tx_in = 0; i2400m_tx_setup()
H A Ddebugfs.c263 fd = debugfs_create_size_t("tx_in", 0400, dentry, i2400m_debugfs_add()
264 &i2400m->tx_in); i2400m_debugfs_add()
268 "tx_in: %d\n", result); i2400m_debugfs_add()
H A Di2400m.h389 * @tx_in: FIFO index for incoming data. Note this doesn't wrap around
601 size_t tx_in, tx_out; member in struct:i2400m
/linux-4.1.27/drivers/atm/
H A Dambassador.h457 } tx_in; typedef in typeref:struct:__anon3382
459 /* handle is the handle from tx_in */
566 tx_in * start;
567 tx_in * ptr;
568 tx_in * limit;
H A Dambassador.c627 static int tx_give (amb_dev * dev, tx_in * tx) { tx_give()
1315 tx_in tx; amb_send()
1522 total += txs * (sizeof(tx_in) + sizeof(tx_out)); create_queues()
1562 tx_in * in = memory; create_queues()
/linux-4.1.27/drivers/net/wan/
H A Dwanxl.c63 int tx_in, tx_out; member in struct:port
167 desc_t *desc = &get_status(port)->tx_descs[port->tx_in]; wanxl_tx_intr()
168 struct sk_buff *skb = port->tx_skbs[port->tx_in]; wanxl_tx_intr()
189 port->tx_in = (port->tx_in + 1) % TX_BUFFERS; wanxl_tx_intr()
408 port->tx_in = port->tx_out = 0; wanxl_open()
H A Dwanxlfw.S298 clrl tx_in(%d0)
568 movel tx_in(%d0), %d1
569 movel %d1, %d2 // D1 = D2 = tx_in BD# = desc#
571 addl tx_first_bd(%d0), %d1 // D1 = current tx_in BD address
576 // update D6, tx_in and tx_count
579 movel tx_in(%d0), %d1
585 movel %d1, tx_in(%d0)
885 tx_in: .long 0, 0, 0, 0 // transmitted label
/linux-4.1.27/drivers/crypto/
H A Domap-aes.c422 struct dma_async_tx_descriptor *tx_in, *tx_out; omap_aes_crypt_dma() local
455 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, omap_aes_crypt_dma()
458 if (!tx_in) { omap_aes_crypt_dma()
464 tx_in->callback_param = dd; omap_aes_crypt_dma()
485 dmaengine_submit(tx_in); omap_aes_crypt_dma()
H A Domap-des.c406 struct dma_async_tx_descriptor *tx_in, *tx_out; omap_des_crypt_dma() local
439 tx_in = dmaengine_prep_slave_sg(dd->dma_lch_in, in_sg, in_sg_len, omap_des_crypt_dma()
442 if (!tx_in) { omap_des_crypt_dma()
448 tx_in->callback_param = dd; omap_des_crypt_dma()
469 dmaengine_submit(tx_in); omap_des_crypt_dma()

Completed in 260 milliseconds