Home
last modified time | relevance | path

Searched refs:tmpdin (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/spi/
Dsoft_spi_legacy.c108 uchar tmpdin = 0; in spi_xfer() local
133 *rxd++ = tmpdin; in spi_xfer()
135 tmpdin = 0; in spi_xfer()
146 tmpdin <<= 1; in spi_xfer()
147 tmpdin |= SPI_READ; in spi_xfer()
160 tmpdin <<= 8 - (bitlen % 8); in spi_xfer()
161 *rxd++ = tmpdin; in spi_xfer()
Dsoft_spi.c113 uchar tmpdin = 0; in soft_spi_xfer() local
138 *rxd++ = tmpdin; in soft_spi_xfer()
140 tmpdin = 0; in soft_spi_xfer()
152 tmpdin <<= 1; in soft_spi_xfer()
154 tmpdin |= dm_gpio_get_value(&plat->miso); in soft_spi_xfer()
167 tmpdin <<= 8 - (bitlen % 8); in soft_spi_xfer()
168 *rxd++ = tmpdin; in soft_spi_xfer()
Dmpc8xxx_spi.c129 u32 tmpdin = 0; in mpc8xxx_spi_xfer() local
188 tmpdin = in_be32(&spi->rx); in mpc8xxx_spi_xfer()
191 *(u32 *)din = (tmpdin << (32 - xfer_bitlen)); in mpc8xxx_spi_xfer()
215 debug("*** %s: transfer ended. Value=%08x\n", __func__, tmpdin); in mpc8xxx_spi_xfer()
Dtegra20_slink.c204 u32 reg, tmpdout, tmpdin = 0; in tegra30_spi_xfer() local
276 tmpdin = readl(&regs->rx_fifo); in tegra30_spi_xfer()
282 din[i] = tmpdin & 0xff; in tegra30_spi_xfer()
283 tmpdin >>= 8; in tegra30_spi_xfer()
301 __func__, tmpdin, readl(&regs->status)); in tegra30_spi_xfer()
Dtegra20_sflash.c210 u32 reg, tmpdout, tmpdin = 0; in tegra20_sflash_xfer() local
277 tmpdin = readl(&regs->rx_fifo); in tegra20_sflash_xfer()
283 din[i] = tmpdin & 0xff; in tegra20_sflash_xfer()
284 tmpdin >>= 8; in tegra20_sflash_xfer()
302 tmpdin, readl(&regs->status)); in tegra20_sflash_xfer()
Dtegra114_spi.c224 u32 reg, tmpdout, tmpdin = 0; in tegra114_spi_xfer() local
312 tmpdin = readl(&regs->rx_fifo); in tegra114_spi_xfer()
317 din[i] = tmpdin & 0xff; in tegra114_spi_xfer()
318 tmpdin >>= 8; in tegra114_spi_xfer()
339 __func__, tmpdin, readl(&regs->fifo_status)); in tegra114_spi_xfer()
Dkirkwood_spi.c34 unsigned int tmpdout, tmpdin; in _spi_xfer() local
69 tmpdin = readl(&reg->din); in _spi_xfer()
71 din, tmpdin); in _spi_xfer()
74 *((u8 *)din) = (u8)tmpdin; in _spi_xfer()
Dtegra210_qspi.c210 u32 reg, tmpdout, tmpdin = 0; in tegra210_qspi_xfer() local
339 tmpdin = readl(&regs->rx_fifo); in tegra210_qspi_xfer()
341 memcpy(din, &tmpdin, bytes); in tegra210_qspi_xfer()
360 __func__, tmpdin, readl(&regs->fifo_status)); in tegra210_qspi_xfer()
Dfsl_espi.c210 unsigned int tmpdin, rx_times; in fsl_espi_rx() local
224 tmpdin = in_be32(&espi->rx); in fsl_espi_rx()
225 debug("***spi_xfer:...%08x readed\n", tmpdin); in fsl_espi_rx()
226 *(u32 *)p_cursor = tmpdin; in fsl_espi_rx()
/external/u-boot/drivers/video/
Dssd2828.c120 u32 tmpdin = 0; in soft_spi_xfer_24bit_3wire() local
140 tmpdin = (tmpdin << 1) | gpio_get_value(drv->sdo_pin); in soft_spi_xfer_24bit_3wire()
147 return tmpdin & 0xFFFF; in soft_spi_xfer_24bit_3wire()