Lines Matching refs:pp
57 struct ctlreg_parms *pp = info; in ctlreg_callback() local
61 if (pp->request == CTLREG_LOAD) { in ctlreg_callback()
62 regs[pp->cr].val = pp->val; in ctlreg_callback()
64 regs[pp->cr].val &= pp->andval; in ctlreg_callback()
65 regs[pp->cr].val |= pp->orval; in ctlreg_callback()
89 struct ctlreg_parms pp = { .cr = cr, .request = request, }; in system_ctlreg_modify() local
94 pp.orval = 1UL << data; in system_ctlreg_modify()
95 pp.andval = -1UL; in system_ctlreg_modify()
98 pp.orval = 0; in system_ctlreg_modify()
99 pp.andval = ~(1UL << data); in system_ctlreg_modify()
102 pp.val = data; in system_ctlreg_modify()
109 abs_lc->cregs_save_area[cr].val = pp.val; in system_ctlreg_modify()
111 abs_lc->cregs_save_area[cr].val &= pp.andval; in system_ctlreg_modify()
112 abs_lc->cregs_save_area[cr].val |= pp.orval; in system_ctlreg_modify()
115 system_ctlreg_update(&pp); in system_ctlreg_modify()
118 system_ctlreg_update(&pp); in system_ctlreg_modify()