Searched refs:rbdf (Results 1 – 2 of 2) sorted by relevance
78 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() local110 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() local214 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 …]
82 cbd_t __iomem *tbdf, *rbdf; in spi_init_f() local178 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() local217 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() local296 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 …]