Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/spi/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250_mtk.c70 unsigned int rx_pos; member
111 if ((data->rx_pos + cnt) > dma->rx_size) in mtk8250_dma_rx_complete()
112 cnt = dma->rx_size - data->rx_pos; in mtk8250_dma_rx_complete()
114 ptr = (unsigned char *)(data->rx_pos + dma->rx_buf); in mtk8250_dma_rx_complete()
116 data->rx_pos += cnt; in mtk8250_dma_rx_complete()
122 data->rx_pos = cnt; in mtk8250_dma_rx_complete()
185 data->rx_pos = 0; in mtk8250_dma_enable()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A 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()
/OK3568_Linux_fs/kernel/drivers/atm/
H A Deni.h58 unsigned long rx_pos; /* current RX descriptor pos */ member
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_core.c1531 while (state->rx_pos != tx_pos) { in parse_rx_slots()
1541 WARN_ON(!((state->rx_pos & VCHIQ_SLOT_MASK) == 0)); in parse_rx_slots()
1543 SLOT_QUEUE_INDEX_FROM_POS(state->rx_pos) & in parse_rx_slots()
1557 (state->rx_pos & VCHIQ_SLOT_MASK)); in parse_rx_slots()
1849 state->rx_pos += calc_stride(size); in parse_rx_slots()
1854 if ((state->rx_pos & VCHIQ_SLOT_MASK) == 0) { in parse_rx_slots()
2553 end = state->rx_pos & VCHIQ_SLOT_MASK; in release_service_messages()
3473 state->rx_pos, in vchiq_dump_state()
3474 state->rx_data + (state->rx_pos & VCHIQ_SLOT_MASK)); in vchiq_dump_state()
H A Dvchiq_core.h449 int rx_pos; member