Lines Matching refs:rbdf
78 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()
224 rbdf->cbd_sc |= BD_SC_EMPTY; in mpc85xx_serial_getc()
231 volatile cbd_t *rbdf; in mpc85xx_serial_tstc() local
236 rbdf = (cbd_t *)&(cpm->im_dprambase[up->scc_genscc.scc_rbase]); in mpc85xx_serial_tstc()
238 return ((rbdf->cbd_sc & BD_SC_EMPTY) == 0); in mpc85xx_serial_tstc()