Home
last modified time | relevance | path

Searched refs:rxw (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/spi/
H A Ddesignware_spi.c345 u16 rxw; in dw_reader() local
348 rxw = dw_read(priv, DW_SPI_DR); in dw_reader()
349 debug("%s: rx=0x%02x\n", __func__, rxw); in dw_reader()
354 *(u8 *)(priv->rx) = rxw; in dw_reader()
356 *(u16 *)(priv->rx) = rxw; in dw_reader()
/openbmc/linux/drivers/spi/
H A Dspi-hisi-kunpeng.c227 u32 rxw; in hisi_spi_reader() local
230 rxw = readl(hs->regs + HISI_SPI_DOUT); in hisi_spi_reader()
235 *(u8 *)(hs->rx) = rxw; in hisi_spi_reader()
238 *(u16 *)(hs->rx) = rxw; in hisi_spi_reader()
241 *(u32 *)(hs->rx) = rxw; in hisi_spi_reader()
H A Dspi-rockchip.c336 u32 rxw = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXDR); in rockchip_spi_pio_reader() local
342 *(u8 *)rs->rx = (u8)rxw; in rockchip_spi_pio_reader()
344 *(u16 *)rs->rx = (u16)rxw; in rockchip_spi_pio_reader()
644 u32 rxw = readl_relaxed(rs->regs + ROCKCHIP_SPI_RXDR); in rockchip_spi_target_abort() local
647 *(u8 *)rs->rx = (u8)rxw; in rockchip_spi_target_abort()
649 *(u16 *)rs->rx = (u16)rxw; in rockchip_spi_target_abort()
H A Dspi-dw-core.c157 u32 rxw; in dw_reader() local
160 rxw = dw_read_io_reg(dws, DW_SPI_DR); in dw_reader()
163 *(u8 *)(dws->rx) = rxw; in dw_reader()
165 *(u16 *)(dws->rx) = rxw; in dw_reader()
167 *(u32 *)(dws->rx) = rxw; in dw_reader()