Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/isdn/hardware/eicon/
Distream.c84 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write()
86 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write()
99 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write()
101 (void *)(a->tx_stream[Id] + a->tx_pos[Id] + 4), in diva_istream_write()
119 ULongToPtr(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write()
121 (void *)(a->tx_stream[Id] + a->tx_pos[Id]), in diva_istream_write()
126 a->tx_pos[Id] = 0; in diva_istream_write()
128 a->tx_pos[Id] += DIVA_DFIFO_STEP; in diva_istream_write()
Ddi.h62 word tx_pos[256]; member
Dos_bri.c598 memset(&IoAdapter->a.tx_pos[0], 0x00, sizeof(IoAdapter->a.tx_pos)); in diva_bri_reset_adapter()
Dos_pri.c402 memset(&IoAdapter->a.tx_pos[0], 0x00, sizeof(IoAdapter->a.tx_pos)); in diva_pri_reset_adapter()
Dos_4bri.c901 memset(&Slave->a.tx_pos[0], 0x00, sizeof(Slave->a.tx_pos)); in diva_4bri_reset_adapter()
Ddi.c527 a->tx_pos[Id] = 0; in isdn_rc()
/Linux-v4.19/drivers/spi/
Dspi-fsl-espi.c100 unsigned int tx_pos; member
227 tx_left = espi->tx_t->len - espi->tx_pos; in fsl_espi_fill_tx_fifo()
235 swahb32p(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
238 *(u32 *)(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
239 espi->tx_pos += 4; in fsl_espi_fill_tx_fifo()
244 swab16p(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
245 espi->tx_pos += 2; in fsl_espi_fill_tx_fifo()
253 *(u8 *)(tx_buf + espi->tx_pos)); in fsl_espi_fill_tx_fifo()
254 espi->tx_pos += 1; in fsl_espi_fill_tx_fifo()
268 espi->tx_pos = 0; in fsl_espi_fill_tx_fifo()
[all …]
/Linux-v4.19/drivers/i2c/busses/
Di2c-xiic.c77 unsigned int tx_pos; member
173 #define xiic_tx_space(i2c) ((i2c)->tx_msg->len - (i2c)->tx_pos)
341 u16 data = i2c->tx_msg->buf[i2c->tx_pos++]; in xiic_fill_tx_fifo()
568 i2c->tx_pos = msg->len; in xiic_start_recv()
632 i2c->tx_pos = 0; in __xiic_start_xfer()
638 i2c->tx_pos = 0; in __xiic_start_xfer()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c566 int tx_pos = state->local_tx_pos; in reserve_space() local
567 int slot_space = VCHIQ_SLOT_SIZE - (tx_pos & VCHIQ_SLOT_MASK); in reserve_space()
574 (state->tx_data + (tx_pos & VCHIQ_SLOT_MASK)); in reserve_space()
578 tx_pos += slot_space; in reserve_space()
582 if ((tx_pos & VCHIQ_SLOT_MASK) == 0) { in reserve_space()
593 state->local_tx_pos = tx_pos; in reserve_space()
594 local->tx_pos = tx_pos; in reserve_space()
603 if (tx_pos == (state->slot_queue_available * VCHIQ_SLOT_SIZE)) { in reserve_space()
605 pr_warn("%s: invalid tx_pos: %d\n", __func__, tx_pos); in reserve_space()
610 SLOT_QUEUE_INDEX_FROM_POS(tx_pos) & in reserve_space()
[all …]
Dvchiq_core.h364 int tx_pos; member
/Linux-v4.19/drivers/atm/
Deni.h45 unsigned long tx_pos; /* current TX write position */ member
Deni.c1090 if (!NEPMOK(tx->tx_pos,size+TX_GAP, in do_tx()
1108 DPRINTK("dma_wr is %d, tx_pos is %ld\n",dma_wr,tx->tx_pos); in do_tx()
1120 eni_dev->dma[j++] = (((tx->tx_pos+TX_DESCR_SIZE) & (tx->words-1)) << in do_tx()
1145 eni_dev->dma[j++] = (((tx->tx_pos+size) & (tx->words-1)) << in do_tx()
1154 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4); in do_tx()
1159 tx->send+((tx->tx_pos+1) & (tx->words-1))*4); in do_tx()
1163 ((tx->tx_pos+size-AAL5_TRAILER) & (tx->words-1))*4); in do_tx()
1170 ENI_PRV_POS(skb) = tx->tx_pos; in do_tx()
1173 tx->tx_pos = (tx->tx_pos+size) & (tx->words-1); in do_tx()
1174 DPRINTK("dma_wr set to %d, tx_pos is now %ld\n",dma_wr,tx->tx_pos); in do_tx()
[all …]
/Linux-v4.19/drivers/media/rc/
Dene_ir.h225 int tx_pos; /* position in that buffer */ member
Dene_ir.c632 if (dev->tx_pos == dev->tx_len) { in ene_tx_sample()
645 sample = dev->tx_buffer[dev->tx_pos++]; in ene_tx_sample()
973 dev->tx_pos = 0; in ene_transmit()
/Linux-v4.19/drivers/net/ethernet/synopsys/
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-v4.19/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c3232 unsigned int tx_dsr, tx_pos, tx_qidx; in xgbe_prepare_tx_stop() local
3242 tx_pos = (queue * DMA_DSR_Q_WIDTH) + DMA_DSR0_TPS_START; in xgbe_prepare_tx_stop()
3247 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_WIDTH) + in xgbe_prepare_tx_stop()
3258 tx_status = GET_BITS(tx_status, tx_pos, DMA_DSR_TPS_WIDTH); in xgbe_prepare_tx_stop()