Searched refs:rbdf (Results 1 – 2 of 2) sorted by relevance
79 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() local111 rbdf = (cbd_t *)&(cpm->im_dprambase[dpaddr]); in mpc85xx_serial_init()112 rbdf->cbd_bufaddr = (uint) (rbdf+2); in mpc85xx_serial_init()113 rbdf->cbd_sc = BD_SC_EMPTY | BD_SC_WRAP; in mpc85xx_serial_init()114 tbdf = rbdf + 1; in mpc85xx_serial_init()115 tbdf->cbd_bufaddr = ((uint) (rbdf+2)) + 1; in mpc85xx_serial_init()209 volatile cbd_t *rbdf; in mpc85xx_serial_getc() local219 while (rbdf->cbd_sc & BD_SC_EMPTY) in mpc85xx_serial_getc()225 rbdf->cbd_sc |= BD_SC_EMPTY; in mpc85xx_serial_getc()232 volatile cbd_t *rbdf; in mpc85xx_serial_tstc() local[all …]
38 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_probe() local134 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in mpc8xx_spi_probe()137 clrbits_be16(&rbdf->cbd_sc, BD_SC_EMPTY); in mpc8xx_spi_probe()151 cbd_t __iomem *tbdf, *rbdf; in mpc8xx_spi_xfer() local159 rbdf = (cbd_t __iomem *)&cp->cp_dpmem[CPM_SPI_BASE_RX]; in mpc8xx_spi_xfer()170 out_be32(&rbdf->cbd_bufaddr, (ulong)din); in mpc8xx_spi_xfer()171 out_be16(&rbdf->cbd_sc, BD_SC_EMPTY | BD_SC_WRAP); in mpc8xx_spi_xfer()172 out_be16(&rbdf->cbd_datlen, 0); /* rx length has no significance */ in mpc8xx_spi_xfer()
Completed in 3 milliseconds