Home
last modified time | relevance | path

Searched refs:rx_len (Results 1 – 12 of 12) sorted by relevance

/u-boot/drivers/video/nexell/
A Ds5pxx18_dp_mipi.c72 u16 rx_len; member
473 rx_len++; in nx_mipi_transfer_rx()
480 rx_len++; in nx_mipi_transfer_rx()
481 xfer->rx_len = rx_len; in nx_mipi_transfer_rx()
482 err = rx_len; in nx_mipi_transfer_rx()
487 err = rx_len; in nx_mipi_transfer_rx()
498 size = xfer->rx_len - rx_len; in nx_mipi_transfer_rx()
499 rx_len += size; in nx_mipi_transfer_rx()
523 if (rx_len == xfer->rx_len) in nx_mipi_transfer_rx()
524 err = rx_len; in nx_mipi_transfer_rx()
[all …]
/u-boot/drivers/net/
A Dsunxi_emac.c174 s16 rx_len; member
417 int rx_len; in _sunxi_emac_eth_recv() local
457 rx_len = rxhdr.rx_len; in _sunxi_emac_eth_recv()
461 if (rx_len < 0x40) { in _sunxi_emac_eth_recv()
477 if (rx_len > EMAC_RX_BUFSIZE) { in _sunxi_emac_eth_recv()
478 printf("Received packet is too big (len=%d)\n", rx_len); in _sunxi_emac_eth_recv()
481 emac_inblk_32bit((void *)&regs->rx_io_data, packet, rx_len); in _sunxi_emac_eth_recv()
482 return rx_len; in _sunxi_emac_eth_recv()
553 int rx_len; in sunxi_emac_eth_recv() local
555 rx_len = _sunxi_emac_eth_recv(priv, priv->rx_buf); in sunxi_emac_eth_recv()
[all …]
/u-boot/drivers/spi/
A Dstm32_spi.c152 while ((priv->rx_len > 0) && in stm32_spi_read_rxfifo()
155 u32 offs = priv->cur_xferlen - priv->rx_len; in stm32_spi_read_rxfifo()
162 priv->rx_len -= sizeof(u32); in stm32_spi_read_rxfifo()
164 (priv->rx_len >= sizeof(u16) || in stm32_spi_read_rxfifo()
170 priv->rx_len -= sizeof(u16); in stm32_spi_read_rxfifo()
175 priv->rx_len -= sizeof(u8); in stm32_spi_read_rxfifo()
182 log_debug("%d bytes left\n", priv->rx_len); in stm32_spi_read_rxfifo()
411 priv->tx_len, priv->rx_len); in stm32_spi_xfer()
435 if (priv->rx_buf && priv->rx_len > 0) in stm32_spi_xfer()
449 if (priv->rx_buf && priv->rx_len > 0) in stm32_spi_xfer()
[all …]
A Dmt7621_spi.c146 size_t rx_len; in mt7621_spi_read() local
151 rx_len = min_t(size_t, len, MT7621_RX_FIFO_LEN); in mt7621_spi_read()
153 iowrite32((rx_len * 8) << MOREBUF_MISO_CNT_SHIFT, in mt7621_spi_read()
161 for (i = 0; i < rx_len; i++) { in mt7621_spi_read()
168 len -= rx_len; in mt7621_spi_read()
A Dbcmstb_spi.c269 uint rx_len = len; in bcmstb_spi_xfer() local
349 while (rx_len > 0) { in bcmstb_spi_xfer()
363 rx_len--; in bcmstb_spi_xfer()
386 while (priv->rx_slot < NUM_CDRAM && rx_len > 0) { in bcmstb_spi_xfer()
387 in_bytes[len - rx_len] = in bcmstb_spi_xfer()
392 priv->rx_slot, in_bytes[len - rx_len]); in bcmstb_spi_xfer()
394 rx_len--; in bcmstb_spi_xfer()
A Duniphier_spi.c221 u32 tx_len, rx_len; in uniphier_spi_xfer() local
237 rx_len = len; in uniphier_spi_xfer()
241 while (tx_len || rx_len) { in uniphier_spi_xfer()
259 if (rx_len && (status & SSI_SR_RNE)) { in uniphier_spi_xfer()
263 rx_len--; in uniphier_spi_xfer()
A Dzynq_spi.c240 u32 tx_len = len, rx_len = len, tx_tvl; in zynq_spi_xfer() local
257 while (rx_len > 0) { in zynq_spi_xfer()
283 while ((status & ZYNQ_SPI_IXR_RXNEMPTY_MASK) && rx_len) { in zynq_spi_xfer()
288 rx_len--; in zynq_spi_xfer()
/u-boot/arch/arm/mach-nexell/include/mach/
A Dmipi_display.h149 size_t rx_len; member
/u-boot/include/
A Dmipi_dsi.h47 size_t rx_len; member
/u-boot/drivers/video/
A Dmipi_dsi.c351 .rx_len = size, in mipi_dsi_generic_read()
480 .rx_len = len in mipi_dsi_dcs_read()
A Ddw_mipi_dsi.c375 int i, j, ret, len = msg->rx_len; in dw_mipi_dsi_read()
426 if (msg->rx_buf && msg->rx_len) { in dw_mipi_dsi_host_transfer()
430 nb_bytes = msg->rx_len; in dw_mipi_dsi_host_transfer()
/u-boot/drivers/firmware/
A Dti_sci.c37 u8 rx_len; member
142 xfer->rx_len = (u8)rx_message_size; in ti_sci_setup_one_xfer()
202 if (msg->len < xfer->rx_len) { in ti_sci_get_response()
204 __func__, msg->len, xfer->rx_len); in ti_sci_get_response()
235 if (xfer->rx_len) in ti_sci_do_xfer()
236 xfer->rx_len += sizeof(secure_hdr); in ti_sci_do_xfer()
248 if (xfer->rx_len) in ti_sci_do_xfer()

Completed in 34 milliseconds