Home
last modified time | relevance | path

Searched refs:intr_mask (Results 1 – 7 of 7) sorted by relevance

/arch/cris/arch-v32/mach-fs/
Darbiter.c281 reg_marb_rw_intr_mask intr_mask = in crisv32_arbiter_watch() local
299 intr_mask.bp0 = regk_marb_yes; in crisv32_arbiter_watch()
301 intr_mask.bp1 = regk_marb_yes; in crisv32_arbiter_watch()
303 intr_mask.bp2 = regk_marb_yes; in crisv32_arbiter_watch()
305 intr_mask.bp3 = regk_marb_yes; in crisv32_arbiter_watch()
307 REG_WR(marb, regi_marb, rw_intr_mask, intr_mask); in crisv32_arbiter_watch()
319 reg_marb_rw_intr_mask intr_mask = REG_RD(marb, regi_marb, rw_intr_mask); in crisv32_arbiter_unwatch() local
333 intr_mask.bp0 = regk_marb_no; in crisv32_arbiter_unwatch()
335 intr_mask.bp1 = regk_marb_no; in crisv32_arbiter_unwatch()
337 intr_mask.bp2 = regk_marb_no; in crisv32_arbiter_unwatch()
[all …]
/arch/microblaze/kernel/
Dintc.c119 u32 intr_mask = (u32)d->host_data; in xintc_map() local
121 if (intr_mask & (1 << hw)) { in xintc_map()
141 u32 nr_irq, intr_mask; in xilinx_intc_of_init() local
153 ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &intr_mask); in xilinx_intc_of_init()
159 if (intr_mask >> nr_irq) in xilinx_intc_of_init()
163 intc->full_name, nr_irq, intr_mask); in xilinx_intc_of_init()
189 (void *)intr_mask); in xilinx_intc_of_init()
/arch/cris/arch-v32/mach-a3/
Darbiter.c392 unsigned intr_mask; in crisv32_arbiter_watch() local
394 intr_mask = REG_RD_INT(marb_bar, in crisv32_arbiter_watch()
397 intr_mask = REG_RD_INT(marb_foo, in crisv32_arbiter_watch()
440 intr_mask |= 1; in crisv32_arbiter_watch()
442 intr_mask |= 2; in crisv32_arbiter_watch()
444 intr_mask |= 4; in crisv32_arbiter_watch()
446 intr_mask |= 8; in crisv32_arbiter_watch()
450 rw_intr_mask, intr_mask); in crisv32_arbiter_watch()
453 rw_intr_mask, intr_mask); in crisv32_arbiter_watch()
471 int intr_mask; in crisv32_arbiter_unwatch() local
[all …]
/arch/cris/arch-v32/kernel/
Dirq.c205 int intr_mask; in block_irq() local
211 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in block_irq()
213 intr_mask &= ~(1 << (irq - FIRST_IRQ)); in block_irq()
215 0, intr_mask); in block_irq()
217 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in block_irq()
219 intr_mask &= ~(1 << (irq - FIRST_IRQ - 32)); in block_irq()
221 1, intr_mask); in block_irq()
229 int intr_mask; in unblock_irq() local
235 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in unblock_irq()
237 intr_mask |= (1 << (irq - FIRST_IRQ)); in unblock_irq()
[all …]
Dkgdb.c1520 reg_intr_vect_rw_mask intr_mask; in kgdb_init() local
1529 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1530 intr_mask.ser0 = 1; in kgdb_init()
1531 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
1541 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1542 intr_mask.ser1 = 1; in kgdb_init()
1543 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
1553 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1554 intr_mask.ser2 = 1; in kgdb_init()
1555 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
[all …]
Dfasttimer.c131 reg_timer_rw_intr_mask intr_mask; in start_timer_trig() local
144 intr_mask = REG_RD(timer, regi_timer0, rw_intr_mask); in start_timer_trig()
145 intr_mask.trig = 0; in start_timer_trig()
146 REG_WR(timer, regi_timer0, rw_intr_mask, intr_mask); in start_timer_trig()
170 intr_mask = REG_RD(timer, regi_timer0, rw_intr_mask); in start_timer_trig()
171 intr_mask.trig = 1; in start_timer_trig()
172 REG_WR(timer, regi_timer0, rw_intr_mask, intr_mask); in start_timer_trig()
322 reg_timer_rw_intr_mask intr_mask; in timer_trig_handler() local
337 intr_mask = REG_RD(timer, regi_timer0, rw_intr_mask); in timer_trig_handler()
338 intr_mask.trig = 0; in timer_trig_handler()
[all …]
/arch/cris/arch-v32/drivers/
Dsync_serial.c437 reg_dma_rw_intr_mask intr_mask = { .data = regk_dma_yes }; in sync_serial_open() local
508 REG_WR(dma, port->regi_dmain, rw_intr_mask, intr_mask); in sync_serial_open()
509 REG_WR(dma, port->regi_dmaout, rw_intr_mask, intr_mask); in sync_serial_open()
747 reg_sser_rw_intr_mask intr_mask; in sync_serial_ioctl_unlocked() local
764 intr_mask = REG_RD(sser, port->regi_sser, rw_intr_mask); in sync_serial_ioctl_unlocked()
907 intr_mask.rdav = regk_sser_yes; in sync_serial_ioctl_unlocked()
1037 REG_WR(sser, port->regi_sser, rw_intr_mask, intr_mask); in sync_serial_ioctl_unlocked()
1167 reg_sser_rw_intr_mask intr_mask; in sync_serial_write() local
1168 intr_mask = REG_RD(sser, port->regi_sser, rw_intr_mask); in sync_serial_write()
1172 intr_mask.trdy = 1; in sync_serial_write()
[all …]