Lines Matching refs:rbdf
32 volatile cbd_t *tbdf, *rbdf; in serial_init() local
101 rbdf = (cbd_t *)&ip->im_dprambase[dpaddr]; in serial_init()
102 rbdf->cbd_bufaddr = memaddr; in serial_init()
103 rbdf->cbd_sc = 0; in serial_init()
104 tbdf = rbdf + 1; in serial_init()
200 rbdf->cbd_sc |= BD_SC_EMPTY | BD_SC_WRAP; in serial_init()
223 volatile cbd_t *rbdf; in serial_readbuf() local
234 rbdf = (cbd_t *)&ip->im_dprambase[sup->scc_genscc.scc_rbase]; in serial_readbuf()
237 rbdf = (cbd_t *)&ip->im_dprambase[up->smc_rbase]; in serial_readbuf()
242 buf = (char *)rbdf->cbd_bufaddr; in serial_readbuf()
243 while (rbdf->cbd_sc & BD_SC_EMPTY); in serial_readbuf()
244 nc = rbdf->cbd_datlen; in serial_readbuf()
247 rbdf->cbd_sc |= BD_SC_EMPTY; in serial_readbuf()
299 volatile cbd_t *rbdf; in serial_tstc() local
307 rbdf = (cbd_t *)&ip->im_dprambase[sup->scc_genscc.scc_rbase]; in serial_tstc()
310 rbdf = (cbd_t *)&ip->im_dprambase[up->smc_rbase]; in serial_tstc()
313 return(!(rbdf->cbd_sc & BD_SC_EMPTY)); in serial_tstc()