Lines Matching refs:tbdf
82 cbd_t __iomem *tbdf, *rbdf; in spi_init_f() local
177 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in spi_init_f()
180 clrbits_be16(&tbdf->cbd_sc, BD_SC_READY); in spi_init_f()
185 out_be32(&tbdf->cbd_bufaddr, (ulong)txbuf); in spi_init_f()
210 cbd_t __iomem *tbdf, *rbdf; in spi_init_r() local
216 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in spi_init_r()
224 out_be32(&tbdf->cbd_bufaddr, (ulong)txbuf); in spi_init_r()
289 cbd_t __iomem *tbdf, *rbdf; in spi_xfer() local
295 tbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_TX]; in spi_xfer()
302 out_be16(&tbdf->cbd_sc, BD_SC_READY | BD_SC_LAST | BD_SC_WRAP); in spi_xfer()
303 out_be16(&tbdf->cbd_datlen, count); in spi_xfer()
324 if ((in_be16(&tbdf->cbd_sc) & BD_SC_READY) == 0) in spi_xfer()