Home
last modified time | relevance | path

Searched refs:tbdf (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/spi/
Dmpc8xx_spi.c82 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()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dserial_scc.c78 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() local
113 tbdf = rbdf + 1; in mpc85xx_serial_init()
114 tbdf->cbd_bufaddr = ((uint) (rbdf+2)) + 1; in mpc85xx_serial_init()
115 tbdf->cbd_sc = BD_SC_WRAP; in mpc85xx_serial_init()
185 volatile cbd_t *tbdf; in mpc85xx_serial_putc() local
192 tbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_tbase]); in mpc85xx_serial_putc()
196 while (tbdf->cbd_sc & BD_SC_READY) in mpc85xx_serial_putc()
201 *(volatile char *)tbdf->cbd_bufaddr = c; in mpc85xx_serial_putc()
202 tbdf->cbd_datlen = 1; in mpc85xx_serial_putc()
203 tbdf->cbd_sc |= BD_SC_READY; in mpc85xx_serial_putc()