/Linux-v5.15/sound/soc/dwc/ |
D | dwc-pcm.c | 46 struct snd_pcm_runtime *runtime, unsigned int rx_ptr, \ 50 unsigned int period_pos = rx_ptr % runtime->period_size; \ 54 p[rx_ptr][0] = ioread32(dev->i2s_base + LRBR_LTHR(0)); \ 55 p[rx_ptr][1] = ioread32(dev->i2s_base + RRBR_RTHR(0)); \ 57 if (++rx_ptr >= runtime->buffer_size) \ 58 rx_ptr = 0; \ 61 return rx_ptr; \ 116 ptr = READ_ONCE(dev->rx_ptr); in dw_pcm_transfer() 119 cmpxchg(&dev->rx_ptr, ptr, new_ptr); in dw_pcm_transfer() 207 WRITE_ONCE(dev->rx_ptr, 0); in dw_pcm_trigger() [all …]
|
D | local.h | 116 struct snd_pcm_runtime *runtime, unsigned int rx_ptr, 119 unsigned int rx_ptr; member
|
/Linux-v5.15/sound/soc/intel/keembay/ |
D | kmb_platform.c | 134 unsigned int rx_ptr, bool *period_elapsed) in kmb_pcm_rx_fn() argument 136 unsigned int period_pos = rx_ptr % runtime->period_size; in kmb_pcm_rx_fn() 146 ((u16 *)buf)[rx_ptr * chan + (j * 2)] = in kmb_pcm_rx_fn() 148 ((u16 *)buf)[rx_ptr * chan + ((j * 2) + 1)] = in kmb_pcm_rx_fn() 151 ((u32 *)buf)[rx_ptr * chan + (j * 2)] = in kmb_pcm_rx_fn() 153 ((u32 *)buf)[rx_ptr * chan + ((j * 2) + 1)] = in kmb_pcm_rx_fn() 159 if (++rx_ptr >= runtime->buffer_size) in kmb_pcm_rx_fn() 160 rx_ptr = 0; in kmb_pcm_rx_fn() 165 return rx_ptr; in kmb_pcm_rx_fn() 241 ptr = kmb_i2s->rx_ptr; in kmb_pcm_operation() [all …]
|
D | kmb_platform.h | 152 unsigned int rx_ptr; member
|
/Linux-v5.15/drivers/spi/ |
D | spi-xilinx.c | 87 u8 *rx_ptr; /* pointer in the Tx buffer */ member 145 if (!xspi->rx_ptr) in xilinx_spi_rx() 150 *(u8 *)(xspi->rx_ptr) = data; in xilinx_spi_rx() 153 *(u16 *)(xspi->rx_ptr) = data; in xilinx_spi_rx() 156 *(u32 *)(xspi->rx_ptr) = data; in xilinx_spi_rx() 160 xspi->rx_ptr += xspi->bytes_per_word; in xilinx_spi_rx() 248 xspi->rx_ptr = t->rx_buf; in xilinx_spi_txrx_bufs()
|
D | spi-st-ssc4.c | 62 u8 *rx_ptr; member 107 if (spi_st->rx_ptr) { in ssc_read_rx_fifo() 109 *spi_st->rx_ptr++ = (uint8_t)word; in ssc_read_rx_fifo() 111 *spi_st->rx_ptr++ = (word >> 8); in ssc_read_rx_fifo() 112 *spi_st->rx_ptr++ = word & 0xff; in ssc_read_rx_fifo() 127 spi_st->rx_ptr = t->rx_buf; in spi_st_transfer_one()
|
D | spi-sifive.c | 246 static void sifive_spi_rx(struct sifive_spi *spi, u8 *rx_ptr) in sifive_spi_rx() argument 251 *rx_ptr = data & SIFIVE_SPI_RXDATA_DATA_MASK; in sifive_spi_rx() 261 u8 *rx_ptr = t->rx_buf; in sifive_spi_transfer_one() local 272 if (rx_ptr) { in sifive_spi_transfer_one() 280 sifive_spi_rx(spi, rx_ptr++); in sifive_spi_transfer_one()
|
/Linux-v5.15/include/uapi/linux/hsi/ |
D | cs-protocol.h | 101 __u32 rx_ptr; member
|
/Linux-v5.15/drivers/net/hamradio/ |
D | dmascc.c | 193 int rx_ptr; member 742 priv->rx_ptr = 0; in scc_open() 1038 priv->rx_ptr = 0; in rx_on() 1166 if (priv->rx_ptr < BUF_SIZE) in rx_isr() 1168 rx_ptr++] = in rx_isr() 1200 cb = priv->rx_ptr - 2; in special_condition() 1240 priv->rx_ptr = 0; in special_condition()
|
/Linux-v5.15/drivers/net/ethernet/amd/ |
D | 7990.h | 79 volatile unsigned short rx_ptr; /* receive descriptor addr */ member
|
D | a2065.c | 90 unsigned short rx_ptr; /* receive descriptor addr */ member 204 ib->rx_ptr = leptr; in lance_init_ring()
|
D | sunlance.c | 216 u16 rx_ptr; /* receive descriptor addr */ member 365 ib->rx_ptr = leptr; in lance_init_ring_dvma() 425 sbus_writew(leptr, &ib->rx_ptr); in lance_init_ring_pio()
|
D | declance.c | 214 unsigned short rx_ptr; /* receive descriptor addr */ member 477 *lib_ptr(ib, rx_ptr, lp->type) = leptr; in lance_init_ring()
|
D | 7990.c | 211 ib->rx_ptr = leptr; in lance_init_ring()
|
/Linux-v5.15/drivers/net/wireless/ |
D | ray_cs.c | 2104 UCHAR *rx_ptr; in rx_data() local 2183 rx_ptr = skb_put(skb, total_len); in rx_data() 2185 rx_ptr += in rx_data() 2186 copy_from_rx_buff(local, rx_ptr, pkt_addr & RX_BUFF_END, rx_len); in rx_data() 2228 rx_ptr += in rx_data() 2229 copy_from_rx_buff(local, rx_ptr, pkt_addr, rx_len); in rx_data()
|
/Linux-v5.15/drivers/atm/ |
D | ambassador.h | 496 u32 rx_ptr; member
|
/Linux-v5.15/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 2027 struct bna_rx *rx_ptr; in bna_rx_mod_init() local 2052 rx_ptr = &rx_mod->rx[index]; in bna_rx_mod_init() 2054 INIT_LIST_HEAD(&rx_ptr->rxp_q); in bna_rx_mod_init() 2055 rx_ptr->bna = NULL; in bna_rx_mod_init() 2056 rx_ptr->rid = index; in bna_rx_mod_init() 2057 rx_ptr->stop_cbfn = NULL; in bna_rx_mod_init() 2058 rx_ptr->stop_cbarg = NULL; in bna_rx_mod_init() 2060 list_add_tail(&rx_ptr->qe, &rx_mod->rx_free_q); in bna_rx_mod_init()
|
/Linux-v5.15/drivers/usb/host/ |
D | fhci.h | 177 __be32 rx_ptr; /* Rx internal data pointer */ member
|
/Linux-v5.15/drivers/hsi/clients/ |
D | cmt_speech.c | 591 hi->mmap_cfg->rx_ptr = hi->rx_slot; in cs_hsi_read_on_data_complete()
|