Home
last modified time | relevance | path

Searched refs:mask_cache (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/gpio/
Dgpio-idt3243x.c24 u32 mask_cache; member
38 pending &= ~ctrl->mask_cache; in idt_gpio_dispatch()
91 ctrl->mask_cache |= BIT(d->hwirq); in idt_gpio_mask()
92 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_mask()
108 ctrl->mask_cache &= ~BIT(d->hwirq); in idt_gpio_unmask()
109 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_unmask()
119 ctrl->mask_cache = 0xffffffff; in idt_gpio_irq_init_hw()
120 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_irq_init_hw()
Dgpio-rockchip.c567 gc->mask_cache = 0xffffffff; in rockchip_interrupts_register()
/linux-6.6.21/net/openvswitch/
Dflow_table.h30 struct mask_cache { struct
33 struct mask_cache_entry __percpu *mask_cache; argument
65 struct mask_cache __rcu *mask_cache; member
Dflow_table.c349 static void __mask_cache_destroy(struct mask_cache *mc) in __mask_cache_destroy()
351 free_percpu(mc->mask_cache); in __mask_cache_destroy()
357 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
362 static struct mask_cache *tbl_mask_cache_alloc(u32 size) in tbl_mask_cache_alloc()
365 struct mask_cache *new; in tbl_mask_cache_alloc()
389 new->mask_cache = cache; in tbl_mask_cache_alloc()
394 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
395 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
408 rcu_assign_pointer(table->mask_cache, new); in ovs_flow_tbl_masks_cache_resize()
417 struct mask_cache *mc; in ovs_flow_tbl_init()
[all …]
/linux-6.6.21/drivers/irqchip/
Dirq-bcm7038-l1.c52 u32 mask_cache[]; member
141 ~cpu->mask_cache[idx]; in bcm7038_l1_irq_handle()
157 intc->cpus[cpu_idx]->mask_cache[word] &= ~mask; in __bcm7038_l1_unmask()
168 intc->cpus[cpu_idx]->mask_cache[word] |= mask; in __bcm7038_l1_mask()
208 was_disabled = !!(intc->cpus[intc->affinity[hw]]->mask_cache[word] & in bcm7038_l1_set_affinity()
266 cpu->mask_cache[i] = ~intc->irq_fwd_mask[i]; in bcm7038_l1_init_one()
334 l1_writel(intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
336 l1_writel(~intc->cpus[boot_cpu]->mask_cache[word], in bcm7038_l1_resume()
Dirq-atmel-aic5.c99 gc->mask_cache &= ~d->mask; in aic5_mask()
116 gc->mask_cache |= d->mask; in aic5_unmask()
173 if ((mask & gc->mask_cache) == (mask & gc->wake_active)) in aic5_suspend()
209 ((mask & gc->mask_cache) == (mask & gc->wake_active))) in aic5_resume()
213 if (mask & gc->mask_cache) in aic5_resume()
Dirq-bcm7120-l2.c73 gc->mask_cache & in bcm7120_l2_intc_irq_handle()
91 irq_reg_writel(gc, gc->mask_cache | gc->wake_active, in bcm7120_l2_intc_suspend()
102 irq_reg_writel(gc, gc->mask_cache, ct->regs.mask); in bcm7120_l2_intc_resume()
315 gc->mask_cache = irq_reg_readl(gc, ct->regs.mask); in bcm7120_l2_intc_probe()
Dirq-idt3243x.c36 pending &= ~idtpic->gc->mask_cache; in idt_irq_dispatch()
102 gc->mask_cache = 0xffffffff; in idt_pic_init()
Dirq-stm32-exti.c54 u32 mask_cache; member
408 u32 mask_cache) in stm32_chip_resume() argument
417 writel_relaxed(mask_cache, base + stm32_bank->imr_ofst); in stm32_chip_resume()
434 stm32_chip_resume(chip_data, gc->mask_cache); in stm32_irq_resume()
540 chip_data->mask_cache = stm32_exti_clr_bit(d, stm32_bank->imr_ofst); in stm32_exti_h_mask()
553 chip_data->mask_cache = stm32_exti_set_bit(d, stm32_bank->imr_ofst); in stm32_exti_h_unmask()
647 stm32_chip_resume(chip_data, chip_data->mask_cache); in stm32_exti_h_resume()
Dirq-ingenic-tcu.c58 *ct->mask_cache |= mask; in ingenic_tcu_gc_unmask_enable_reg()
71 *ct->mask_cache &= ~mask; in ingenic_tcu_gc_mask_disable_reg()
Dirq-orion.c42 gc->mask_cache; in orion_handle_irq()
114 gc->mask_cache; in orion_bridge_irq_handler()
Dirq-csky-apb-intc.c54 *ct->mask_cache |= mask; in irq_ck_mask_set_bit()
55 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_ck_mask_set_bit()
Dirq-loongson-liointc.c84 (handler->parent_int_map & gc->mask_cache & in liointc_chained_handle_irq()
170 writel(gc->mask_cache, gc->reg_base + LIOINTC_REG_INTC_ENABLE); in liointc_resume()
300 gc->mask_cache = 0; in liointc_init()
Dirq-atmel-aic.c111 irq_reg_writel(gc, gc->mask_cache, AT91_AIC_IDCR); in aic_suspend()
122 irq_reg_writel(gc, gc->mask_cache, AT91_AIC_IECR); in aic_resume()
Dirq-dw-apb-ictl.c106 writel_relaxed(*ct->mask_cache, gc->reg_base + ct->regs.mask); in dw_apb_ictl_resume()
Dirq-mscc-ocelot.c92 *ct->mask_cache &= ~mask; in ocelot_irq_unmask()
Dirq-al-fic.c118 pending &= ~gc->mask_cache; in al_fic_irq_handler()
Dirq-brcmstb-l2.c85 *ct->mask_cache &= ~mask; in brcmstb_l2_mask_and_ack()
/linux-6.6.21/kernel/irq/
Dgeneric-chip.c45 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg()
64 *ct->mask_cache |= mask; in irq_gc_mask_set_bit()
65 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit()
84 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit()
85 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit()
105 *ct->mask_cache |= mask; in irq_gc_unmask_enable_reg()
161 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_and_ack_set()
260 u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask; in irq_gc_init_mask_cache()
268 ct[i].mask_cache = mskptr; in irq_gc_init_mask_cache()
/linux-6.6.21/include/linux/
Dirq.h1025 u32 *mask_cache; member
1070 u32 mask_cache; member
/linux-6.6.21/drivers/soc/dove/
Dpmu.c232 u32 stat = readl_relaxed(base + PMC_IRQ_CAUSE) & gc->mask_cache; in pmu_irq_handler()