Home
last modified time | relevance | path

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

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dserial_scc.c78 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() local
110 rbdf = (cbd_t *)&(cpm->im_dprambase[dpaddr]); in mpc85xx_serial_init()
111 rbdf->cbd_bufaddr = (uint) (rbdf+2); in mpc85xx_serial_init()
112 rbdf->cbd_sc = BD_SC_EMPTY | BD_SC_WRAP; in mpc85xx_serial_init()
113 tbdf = rbdf + 1; in mpc85xx_serial_init()
114 tbdf->cbd_bufaddr = ((uint) (rbdf+2)) + 1; in mpc85xx_serial_init()
208 volatile cbd_t *rbdf; in mpc85xx_serial_getc() local
214 rbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_rbase]); in mpc85xx_serial_getc()
218 while (rbdf->cbd_sc & BD_SC_EMPTY) in mpc85xx_serial_getc()
223 c = *(volatile unsigned char *)rbdf->cbd_bufaddr; in mpc85xx_serial_getc()
[all …]
/external/u-boot/drivers/spi/
Dmpc8xx_spi.c82 cbd_t __iomem *tbdf, *rbdf; in spi_init_f() local
178 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in spi_init_f()
181 clrbits_be16(&rbdf->cbd_sc, BD_SC_EMPTY); in spi_init_f()
184 out_be32(&rbdf->cbd_bufaddr, (ulong)rxbuf); in spi_init_f()
210 cbd_t __iomem *tbdf, *rbdf; in spi_init_r() local
217 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in spi_init_r()
223 out_be32(&rbdf->cbd_bufaddr, (ulong)rxbuf); in spi_init_r()
289 cbd_t __iomem *tbdf, *rbdf; in spi_xfer() local
296 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in spi_xfer()
306 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_WRAP); in spi_xfer()
[all …]