Home
last modified time | relevance | path

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

/arch/microblaze/kernel/
Dintc.c104 u32 intr_mask = (u32)d->host_data; in xintc_map() local
106 if (intr_mask & (1 << hw)) { in xintc_map()
125 u32 nr_irq, intr_mask; in init_IRQ() local
147 intr_mask = in init_IRQ()
149 if (intr_mask > (u32)((1ULL << nr_irq) - 1)) in init_IRQ()
156 intc->name, intc_baseaddr, nr_irq, intr_mask); in init_IRQ()
174 (void *)intr_mask); in init_IRQ()
/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/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.c206 int intr_mask; in block_irq() local
212 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in block_irq()
214 intr_mask &= ~(1 << (irq - FIRST_IRQ)); in block_irq()
216 0, intr_mask); in block_irq()
218 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in block_irq()
220 intr_mask &= ~(1 << (irq - FIRST_IRQ - 32)); in block_irq()
222 1, intr_mask); in block_irq()
230 int intr_mask; in unblock_irq() local
236 intr_mask = REG_RD_INT_VECT(intr_vect, irq_regs[cpu], in unblock_irq()
238 intr_mask |= (1 << (irq - FIRST_IRQ)); in unblock_irq()
[all …]
Dkgdb.c1540 reg_intr_vect_rw_mask intr_mask; in kgdb_init() local
1549 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1550 intr_mask.ser0 = 1; in kgdb_init()
1551 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
1561 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1562 intr_mask.ser1 = 1; in kgdb_init()
1563 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
1573 intr_mask = REG_RD(intr_vect, regi_irq, rw_mask); in kgdb_init()
1574 intr_mask.ser2 = 1; in kgdb_init()
1575 REG_WR(intr_vect, regi_irq, rw_mask, intr_mask); in kgdb_init()
[all …]
Dtime.c256 reg_intr_vect_rw_mask intr_mask; in time_init() local
270 intr_mask = REG_RD_VECT(intr_vect, regi_irq, rw_mask, 1); in time_init()
271 intr_mask.timer0 = 1; in time_init()
272 REG_WR_VECT(intr_vect, regi_irq, rw_mask, 1, intr_mask); in time_init()
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/mach-a3/
Dgpio.c258 reg_gio_rw_intr_mask intr_mask; in gpio_interrupt() local
293 intr_mask = REG_RD(gio, regi_gio, rw_intr_mask); in gpio_interrupt()
294 tmp2 = REG_TYPE_CONV(unsigned long, reg_gio_rw_intr_mask, intr_mask); in gpio_interrupt()
303 intr_mask = REG_TYPE_CONV(reg_gio_rw_intr_mask, unsigned long, tmp2); in gpio_interrupt()
304 REG_WR(gio, regi_gio, rw_intr_mask, intr_mask); in gpio_interrupt()
903 reg_gio_rw_intr_mask intr_mask; in virtual_gpio_init() local
914 intr_mask = REG_RD(gio, regi_gio, rw_intr_mask); in virtual_gpio_init()
919 intr_mask.pa0 = regk_gio_yes; in virtual_gpio_init()
923 intr_mask.pa1 = regk_gio_yes; in virtual_gpio_init()
927 intr_mask.pa2 = regk_gio_yes; in virtual_gpio_init()
[all …]
/arch/cris/arch-v32/drivers/mach-fs/
Dgpio.c299 reg_gio_rw_intr_mask intr_mask; in gpio_pa_interrupt() local
333 intr_mask = REG_RD(gio, regi_gio, rw_intr_mask); in gpio_pa_interrupt()
334 tmp2 = REG_TYPE_CONV(unsigned long, reg_gio_rw_intr_mask, intr_mask); in gpio_pa_interrupt()
343 intr_mask = REG_TYPE_CONV(reg_gio_rw_intr_mask, unsigned long, tmp2); in gpio_pa_interrupt()
344 REG_WR(gio, regi_gio, rw_intr_mask, intr_mask); in gpio_pa_interrupt()
881 reg_gio_rw_intr_mask intr_mask; in virtual_gpio_init() local
892 intr_mask = REG_RD(gio, regi_gio, rw_intr_mask); in virtual_gpio_init()
897 intr_mask.pa0 = regk_gio_yes; in virtual_gpio_init()
901 intr_mask.pa1 = regk_gio_yes; in virtual_gpio_init()
905 intr_mask.pa2 = regk_gio_yes; in virtual_gpio_init()
[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
545 REG_WR(dma, port->regi_dmain, rw_intr_mask, intr_mask); in sync_serial_open()
546 REG_WR(dma, port->regi_dmaout, rw_intr_mask, intr_mask); in sync_serial_open()
666 reg_sser_rw_intr_mask intr_mask; in sync_serial_ioctl() local
680 intr_mask = REG_RD(sser, port->regi_sser, rw_intr_mask); in sync_serial_ioctl()
815 intr_mask.rdav = regk_sser_yes; in sync_serial_ioctl()
946 REG_WR(sser, port->regi_sser, rw_intr_mask, intr_mask); in sync_serial_ioctl()
1072 reg_sser_rw_intr_mask intr_mask; in sync_serial_write() local
1073 intr_mask = REG_RD(sser, port->regi_sser, rw_intr_mask); in sync_serial_write()
1077 intr_mask.trdy = 1; in sync_serial_write()
[all …]