/Linux-v4.19/sound/soc/dwc/ |
D | dwc-pcm.c | 26 struct snd_pcm_runtime *runtime, unsigned int tx_ptr, \ 30 unsigned int period_pos = tx_ptr % runtime->period_size; \ 34 iowrite32(p[tx_ptr][0], dev->i2s_base + LRBR_LTHR(0)); \ 35 iowrite32(p[tx_ptr][1], dev->i2s_base + RRBR_RTHR(0)); \ 37 if (++tx_ptr >= runtime->buffer_size) \ 38 tx_ptr = 0; \ 41 return tx_ptr; \ 111 ptr = READ_ONCE(dev->tx_ptr); in dw_pcm_transfer() 114 cmpxchg(&dev->tx_ptr, ptr, new_ptr); in dw_pcm_transfer() 211 WRITE_ONCE(dev->tx_ptr, 0); in dw_pcm_trigger() [all …]
|
D | local.h | 113 struct snd_pcm_runtime *runtime, unsigned int tx_ptr, 118 unsigned int tx_ptr; member
|
/Linux-v4.19/sound/soc/xtensa/ |
D | xtfpga-i2s.c | 81 unsigned tx_ptr); 82 unsigned tx_ptr; /* next frame index in the sample buffer */ member 135 unsigned tx_ptr) \ 142 iowrite32(p[tx_ptr][0], \ 144 iowrite32(p[tx_ptr][channels - 1], \ 146 if (++tx_ptr >= runtime->buffer_size) \ 147 tx_ptr = 0; \ 149 return tx_ptr; \ 168 unsigned tx_ptr = READ_ONCE(i2s->tx_ptr); in xtfpga_pcm_push_tx() local 170 tx_ptr); in xtfpga_pcm_push_tx() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-xilinx.c | 90 const u8 *tx_ptr; /* pointer in the Rx buffer */ member 122 if (!xspi->tx_ptr) { in xilinx_spi_tx() 129 data = *(u8 *)(xspi->tx_ptr); in xilinx_spi_tx() 132 data = *(u16 *)(xspi->tx_ptr); in xilinx_spi_tx() 135 data = *(u32 *)(xspi->tx_ptr); in xilinx_spi_tx() 140 xspi->tx_ptr += xspi->bytes_per_word; in xilinx_spi_tx() 249 xspi->tx_ptr = t->tx_buf; in xilinx_spi_txrx_bufs()
|
D | spi-st-ssc4.c | 63 const u8 *tx_ptr; member 83 if (spi_st->tx_ptr) { in ssc_write_tx_fifo() 85 word = *spi_st->tx_ptr++; in ssc_write_tx_fifo() 87 word = *spi_st->tx_ptr++; in ssc_write_tx_fifo() 88 word = *spi_st->tx_ptr++ | (word << 8); in ssc_write_tx_fifo() 128 spi_st->tx_ptr = t->tx_buf; in spi_st_transfer_one()
|
/Linux-v4.19/drivers/net/usb/ |
D | catc.c | 166 unsigned int tx_ptr, tx_idx; member 366 catc->tx_ptr = (catc->tx_ptr + 63) & ~63; in catc_tx_run() 368 catc->tx_urb->transfer_buffer_length = catc->tx_ptr; in catc_tx_run() 377 catc->tx_ptr = 0; in catc_tx_run() 407 if (catc->tx_ptr) { in catc_tx_done() 430 catc->tx_ptr = (((catc->tx_ptr - 1) >> 6) + 1) << 6; in catc_start_xmit() 431 tx_buf = catc->tx_buf[catc->tx_idx] + catc->tx_ptr; in catc_start_xmit() 437 catc->tx_ptr += skb->len + 2; in catc_start_xmit() 445 if ((catc->is_f5u011 && catc->tx_ptr) || in catc_start_xmit() 446 (catc->tx_ptr >= ((TX_MAX_BURST - 1) * (PKT_SZ + 2)))) in catc_start_xmit()
|
/Linux-v4.19/drivers/net/hamradio/ |
D | dmascc.c | 212 int tx_ptr; member 759 priv->tx_ptr = 0; in scc_open() 1300 int i = priv->tx_tail, p = priv->tx_ptr; in tx_isr() 1315 if (!priv->tx_ptr && p && priv->chip == Z8530) in tx_isr() 1318 priv->tx_ptr = p; in tx_isr() 1344 res = priv->tx_len[i] - priv->tx_ptr; in es_isr() 1345 priv->tx_ptr = 0; in es_isr()
|
/Linux-v4.19/drivers/net/ethernet/amd/ |
D | 7990.h | 81 volatile unsigned short tx_ptr; /* transmit descriptor addr */ member
|
D | a2065.c | 92 unsigned short tx_ptr; /* transmit descriptor addr */ member 214 ib->tx_ptr = leptr; in lance_init_ring()
|
D | sunlance.c | 222 u16 tx_ptr; /* transmit descriptor addr */ member 374 ib->tx_ptr = leptr; in lance_init_ring_dvma() 435 sbus_writew(leptr, &ib->tx_ptr); in lance_init_ring_pio()
|
D | declance.c | 215 unsigned short tx_ptr; /* transmit descriptor addr */ member 485 *lib_ptr(ib, tx_ptr, lp->type) = leptr; in lance_init_ring()
|
D | 7990.c | 217 ib->tx_ptr = leptr; in lance_init_ring()
|
/Linux-v4.19/drivers/net/wan/ |
D | z85230.c | 419 write_zsreg(c, R8, *c->tx_ptr++); in z8530_tx() 1437 c->tx_ptr=c->tx_next_ptr; in z8530_tx_begin() 1487 set_dma_addr(c->txdma, virt_to_bus(c->tx_ptr)); in z8530_tx_begin() 1503 write_zsreg(c, R8, *c->tx_ptr++); in z8530_tx_begin()
|
D | z85230.h | 285 u8 *tx_ptr; /* Byte pointer into the buffer */ member
|
/Linux-v4.19/drivers/usb/host/ |
D | fhci.h | 199 __be32 tx_ptr; /* Tx internal data pointer */ member
|