Lines Matching defs:pint
1 /* Blackfin Pin Interrupt (PINT) model
62 struct bfin_pint *pint = hw_data (me);
76 mmr_off = addr - pint->base;
77 valuep = (void *)((uintptr_t)pint + mmr_base() + mmr_off);
90 dv_w1c_4 (&pint->mask, value, -1);
93 pint->mask |= value;
96 dv_w1c_4 (&pint->edge, value, -1);
99 pint->edge |= value;
102 dv_w1c_4 (&pint->invert, value, -1);
105 pint->invert |= value;
118 bfin_pint_forward_ouput (me, pint, data);
121 bfin_pint_forward_int (me, pint, pint->maska, 0);
124 bfin_pint_forward_int (me, pint, pint->maskb, 1);
136 struct bfin_pint *pint = hw_data (me);
145 mmr_off = addr - pint->base;
146 valuep = (void *)((uintptr_t)pint + mmr_base() + mmr_off);
160 dv_store_4 (dest, pint->mask);
164 dv_store_4 (dest, pint->edge);
168 dv_store_4 (dest, pint->invert);
236 attach_bfin_pint_regs (struct hw *me, struct bfin_pint *pint)
260 pint->base = attach_address;
266 struct bfin_pint *pint;
268 pint = HW_ZALLOC (me, struct bfin_pint);
270 set_hw_data (me, pint);
276 /* Initialize the PINT. */
280 pint->assign = 0x00000101;
283 pint->assign = 0x01010000;
286 pint->assign = 0x00000101;
289 pint->assign = 0x02020303;
293 hw_abort (me, "no support for PINT at this address yet");
296 attach_bfin_pint_regs (me, pint);