Lines Matching refs:pram
320 #define TBD_ADDR(quicc,pram) ((struct quicc_bd *) \ argument
321 (quicc->ch_or_u.u.udata_bd_ucode + pram->tbase))
322 #define RBD_ADDR(quicc,pram) ((struct quicc_bd *) \ argument
323 (quicc->ch_or_u.u.udata_bd_ucode + pram->rbase))
324 #define TBD_CUR_ADDR(quicc,pram) ((struct quicc_bd *) \ argument
325 (quicc->ch_or_u.u.udata_bd_ucode + pram->tbptr))
326 #define RBD_CUR_ADDR(quicc,pram) ((struct quicc_bd *) \ argument
327 (quicc->ch_or_u.u.udata_bd_ucode + pram->rbptr))
328 #define TBD_SET_CUR_ADDR(bd,quicc,pram) pram->tbptr = \ argument
330 #define RBD_SET_CUR_ADDR(bd,quicc,pram) pram->rbptr = \ argument
332 #define INCREASE_TBD(bd,quicc,pram) { \ argument
334 (bd) = TBD_ADDR(quicc,pram); \
338 #define DECREASE_TBD(bd,quicc,pram) { \ argument
339 if ((bd) == TBD_ADDR(quicc, pram)) \
345 #define INCREASE_RBD(bd,quicc,pram) { \ argument
347 (bd) = RBD_ADDR(quicc,pram); \
351 #define DECREASE_RBD(bd,quicc,pram) { \ argument
352 if ((bd) == RBD_ADDR(quicc, pram)) \
362 #define QMC_BASE(quicc,page) (struct global_multi_pram *)(&quicc->pram[page])
363 #define MCBASE(quicc,page) (unsigned long)(quicc->pram[page].m.mcbase)