Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A 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()
H A Dgpio-rockchip.c567 gc->mask_cache = 0xffffffff; in rockchip_interrupts_register()
/linux/net/openvswitch/
H A Dflow_table.h30 struct mask_cache { struct
33 struct mask_cache_entry __percpu *mask_cache; argument
65 struct mask_cache __rcu *mask_cache; member
H A Dflow_table.c348 free_percpu(mc->mask_cache); in __mask_cache_destroy()
354 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
362 struct mask_cache *new; in tbl_mask_cache_alloc()
386 new->mask_cache = cache; in tbl_mask_cache_alloc()
391 struct mask_cache *mc = rcu_dereference_ovsl(table->mask_cache); in ovs_flow_tbl_masks_cache_resize()
392 struct mask_cache *new; in ovs_flow_tbl_masks_cache_resize()
414 struct mask_cache *mc; in ovs_flow_tbl_init()
517 struct mask_cache *mc = rcu_dereference_raw(table->mask_cache); in ovs_flow_tbl_destroy()
789 struct mask_cache *mc = rcu_dereference(tbl->mask_cache); in ovs_flow_tbl_lookup_stats()
815 entries = this_cpu_ptr(mc->mask_cache); in ovs_flow_tbl_lookup_stats()
[all …]
/linux/drivers/irqchip/
H A 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()
252 cpu = intc->cpus[idx] = kzalloc(struct_size(cpu, mask_cache, n_words), in bcm7038_l1_init_one()
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()
H A Dirq-atmel-aic5.c98 gc->mask_cache &= ~d->mask; in aic5_mask()
115 gc->mask_cache |= d->mask; in aic5_unmask()
172 if ((mask & gc->mask_cache) == (mask & gc->wake_active)) in aic5_suspend()
208 ((mask & gc->mask_cache) == (mask & gc->wake_active))) in aic5_resume()
212 if (mask & gc->mask_cache) in aic5_resume()
H A 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()
H A Dirq-idt3243x.c36 pending &= ~idtpic->gc->mask_cache; in idt_irq_dispatch()
102 gc->mask_cache = 0xffffffff; in idt_pic_init()
H A Dirq-stm32mp-exti.c63 u32 mask_cache; member
278 static void stm32mp_chip_resume(struct stm32mp_exti_chip_data *chip_data, u32 mask_cache) in stm32mp_chip_resume() argument
287 writel_relaxed(mask_cache, base + bank->imr_ofst); in stm32mp_chip_resume()
348 chip_data->mask_cache = stm32mp_exti_clr_bit(d, bank->imr_ofst); in stm32mp_exti_mask()
361 chip_data->mask_cache = stm32mp_exti_set_bit(d, bank->imr_ofst); in stm32mp_exti_unmask()
450 stm32mp_chip_resume(chip_data, chip_data->mask_cache); in stm32mp_exti_resume()
H A Dirq-stm32-exti.c39 u32 mask_cache; member
204 u32 mask_cache) in stm32_chip_resume() argument
213 writel_relaxed(mask_cache, base + stm32_bank->imr_ofst); in stm32_chip_resume()
230 stm32_chip_resume(chip_data, gc->mask_cache); in stm32_irq_resume()
H A 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()
H A Dirq-orion.c42 gc->mask_cache; in orion_handle_irq()
114 gc->mask_cache; in orion_bridge_irq_handler()
H A 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()
H A Dirq-loongson-liointc.c86 (handler->parent_int_map & gc->mask_cache & in liointc_chained_handle_irq()
172 writel(gc->mask_cache, gc->reg_base + LIOINTC_REG_INTC_ENABLE); in liointc_resume()
302 gc->mask_cache = 0; in liointc_init()
H A Dirq-atmel-aic.c110 irq_reg_writel(gc, gc->mask_cache, AT91_AIC_IDCR); in aic_suspend()
121 irq_reg_writel(gc, gc->mask_cache, AT91_AIC_IECR); in aic_resume()
H A Dirq-dw-apb-ictl.c106 writel_relaxed(*ct->mask_cache, gc->reg_base + ct->regs.mask); in dw_apb_ictl_resume()
H A Dirq-mscc-ocelot.c98 *ct->mask_cache &= ~mask; in ocelot_irq_unmask()
H A Dirq-al-fic.c118 pending &= ~gc->mask_cache; in al_fic_irq_handler()
H A Dirq-brcmstb-l2.c85 *ct->mask_cache &= ~mask; in brcmstb_l2_mask_and_ack()
/linux/kernel/irq/
H A 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()
264 u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask; in irq_gc_init_mask_cache()
272 ct[i].mask_cache = mskptr; in irq_gc_init_mask_cache()
/linux/drivers/soc/dove/
H A Dpmu.c232 u32 stat = readl_relaxed(base + PMC_IRQ_CAUSE) & gc->mask_cache; in pmu_irq_handler()
/linux/include/linux/
H A Dirq.h1023 u32 *mask_cache; member
1066 u32 mask_cache; member