Searched refs:tbdf (Results 1 – 2 of 2) sorted by relevance
82 cbd_t __iomem *tbdf, *rbdf; in spi_init_f() local177 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() local216 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() local295 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 …]
78 volatile cbd_t *tbdf, *rbdf; in mpc85xx_serial_init() local113 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() local192 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()