Home
last modified time | relevance | path

Searched refs:rx_pos (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/drivers/spi/
Dspi-fsl-espi.c99 unsigned int rx_pos; member
278 rx_left = espi->rx_t->len - espi->rx_pos; in fsl_espi_read_rx_fifo()
285 *(u32 *)(rx_buf + espi->rx_pos) = swahb32(val); in fsl_espi_read_rx_fifo()
287 *(u32 *)(rx_buf + espi->rx_pos) = val; in fsl_espi_read_rx_fifo()
288 espi->rx_pos += 4; in fsl_espi_read_rx_fifo()
294 *(u16 *)(rx_buf + espi->rx_pos) = swab16(val); in fsl_espi_read_rx_fifo()
295 espi->rx_pos += 2; in fsl_espi_read_rx_fifo()
302 *(u8 *)(rx_buf + espi->rx_pos) = val; in fsl_espi_read_rx_fifo()
303 espi->rx_pos += 1; in fsl_espi_read_rx_fifo()
316 espi->rx_pos = 0; in fsl_espi_read_rx_fifo()
[all …]
/Linux-v5.15/drivers/tty/serial/8250/
D8250_mtk.c66 unsigned int rx_pos; member
107 if ((data->rx_pos + cnt) > dma->rx_size) in mtk8250_dma_rx_complete()
108 cnt = dma->rx_size - data->rx_pos; in mtk8250_dma_rx_complete()
110 ptr = (unsigned char *)(data->rx_pos + dma->rx_buf); in mtk8250_dma_rx_complete()
112 data->rx_pos += cnt; in mtk8250_dma_rx_complete()
118 data->rx_pos = cnt; in mtk8250_dma_rx_complete()
181 data->rx_pos = 0; in mtk8250_dma_enable()
/Linux-v5.15/drivers/atm/
Deni.h58 unsigned long rx_pos; /* current RX descriptor pos */ member
Deni.c325 "0x%x\n",eni_vcc->descr,eni_vcc->rx_pos, in rx_ident_err()
497 else eni_vcc->rx_pos = (eni_vcc->rx_pos+size+1) & (eni_vcc->words-1); in discard()
748 if (!EEPMOK(eni_vcc->rx_pos,ENI_PRV_SIZE(skb), in dequeue_rx()
756 eni_vcc->rx_pos = ENI_PRV_POS(skb) & (eni_vcc->words-1); in dequeue_rx()
796 eni_vcc->rx_pos = 0; in open_rx_first()
881 at_end = eni_vcc->rx_pos == tmp >> MID_VCI_READ_SHIFT; in close_rx()
885 eni_vcc->rx_pos,tmp); in close_rx()
887 eni_vcc->rx_pos,tmp); in close_rx()
/Linux-v5.15/drivers/i2c/busses/
Di2c-xiic.c74 int rx_pos; member
171 #define xiic_rx_space(i2c) ((i2c)->rx_msg->len - (i2c)->rx_pos)
329 i2c->rx_msg->buf[i2c->rx_pos++] = in xiic_read_rx()
653 i2c->rx_pos = 0; in __xiic_start_xfer()
/Linux-v5.15/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c1950 while (state->rx_pos != tx_pos) { in parse_rx_slots()
1958 WARN_ON(state->rx_pos & VCHIQ_SLOT_MASK); in parse_rx_slots()
1960 SLOT_QUEUE_INDEX_FROM_POS_MASKED(state->rx_pos)]; in parse_rx_slots()
1975 (state->rx_pos & VCHIQ_SLOT_MASK)); in parse_rx_slots()
1980 state->rx_pos += calc_stride(size); in parse_rx_slots()
1987 if ((state->rx_pos & VCHIQ_SLOT_MASK) == 0) { in parse_rx_slots()
2696 end = state->rx_pos & VCHIQ_SLOT_MASK; in release_service_messages()
3622 state->rx_pos, in vchiq_dump_state()
3623 state->rx_data + (state->rx_pos & VCHIQ_SLOT_MASK)); in vchiq_dump_state()
Dvchiq_core.h384 int rx_pos; member