Home
last modified time | relevance | path

Searched refs:tx_pos (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/spi/
A Dspi-fsl-espi.c96 unsigned int tx_pos; member
223 tx_left = espi->tx_t->len - espi->tx_pos; in fsl_espi_fill_tx_fifo()
231 swahb32p(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
234 *(u32 *)(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
235 espi->tx_pos += 4; in fsl_espi_fill_tx_fifo()
240 swab16p(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
241 espi->tx_pos += 2; in fsl_espi_fill_tx_fifo()
249 *(u8 *)(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
250 espi->tx_pos += 1; in fsl_espi_fill_tx_fifo()
264 espi->tx_pos = 0; in fsl_espi_fill_tx_fifo()
[all …]
/linux/drivers/staging/vc04_services/interface/vchiq_arm/
A Dvchiq_core.c660 int tx_pos = state->local_tx_pos; in reserve_space() local
672 tx_pos += slot_space; in reserve_space()
687 state->local_tx_pos = tx_pos; in reserve_space()
688 local->tx_pos = tx_pos; in reserve_space()
710 (tx_pos & VCHIQ_SLOT_MASK)); in reserve_space()
1121 local->tx_pos = state->local_tx_pos; in queue_message()
1844 int tx_pos; in parse_rx_slots() local
1848 tx_pos = remote->tx_pos; in parse_rx_slots()
1850 while (state->rx_pos != tx_pos) { in parse_rx_slots()
2231 local->tx_pos = 0; in vchiq_init_state()
[all …]
A Dvchiq_core.h281 int tx_pos; member
/linux/drivers/i2c/busses/
A Di2c-xiic.c71 unsigned int tx_pos; member
173 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
357 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
605 i2c->tx_pos = msg->len; in xiic_start_recv()
648 i2c->tx_pos = 0; in __xiic_start_xfer()
/linux/drivers/atm/
A Deni.c1087 if (!NEPMOK(tx->tx_pos,size+TX_GAP, in do_tx()
1105 DPRINTK("dma_wr is %d, tx_pos is %ld\n",dma_wr,tx->tx_pos); in do_tx()
1118 eni_dev->dma[j++] = (((tx->tx_pos+TX_DESCR_SIZE) & (tx->words-1)) << in do_tx()
1143 eni_dev->dma[j++] = (((tx->tx_pos+size) & (tx->words-1)) << in do_tx()
1152 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4); in do_tx()
1157 tx->send+((tx->tx_pos+1) & (tx->words-1))*4); in do_tx()
1161 ((tx->tx_pos+size-AAL5_TRAILER) & (tx->words-1))*4); in do_tx()
1168 ENI_PRV_POS(skb) = tx->tx_pos; in do_tx()
1171 tx->tx_pos = (tx->tx_pos+size) & (tx->words-1); in do_tx()
1172 DPRINTK("dma_wr set to %d, tx_pos is now %ld\n",dma_wr,tx->tx_pos); in do_tx()
[all …]
A Deni.h45 unsigned long tx_pos; /* current TX write position */ member
/linux/drivers/media/rc/
A Dene_ir.h216 int tx_pos; /* position in that buffer */ member
A Dene_ir.c622 if (dev->tx_pos == dev->tx_len) { in ene_tx_sample()
635 sample = dev->tx_buffer[dev->tx_pos++]; in ene_tx_sample()
963 dev->tx_pos = 0; in ene_transmit()
/linux/drivers/net/ethernet/synopsys/
A Ddwc-xlgmac-hw.c458 unsigned int tx_dsr, tx_pos, tx_qidx; in xlgmac_prepare_tx_stop() local
465 tx_pos = (channel->queue_index * DMA_DSR_Q_LEN) + in xlgmac_prepare_tx_stop()
471 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_LEN) + in xlgmac_prepare_tx_stop()
482 tx_status = XLGMAC_GET_REG_BITS(tx_status, tx_pos, in xlgmac_prepare_tx_stop()
/linux/drivers/net/ethernet/amd/xgbe/
A Dxgbe-dev.c3242 unsigned int tx_dsr, tx_pos, tx_qidx; in xgbe_prepare_tx_stop() local
3252 tx_pos = (queue * DMA_DSR_Q_WIDTH) + DMA_DSR0_TPS_START; in xgbe_prepare_tx_stop()
3257 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_WIDTH) + in xgbe_prepare_tx_stop()
3268 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()

Completed in 38 milliseconds