Searched refs:saved_mask (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/irqchip/
H A Dirq-brcmstb-l2.c51 u32 saved_mask; /* for suspend/resume */ member in struct:brcmstb_l2_intc_data
91 b->saved_mask = irq_reg_readl(gc, CPU_MASK_STATUS); brcmstb_l2_intc_suspend()
108 irq_reg_writel(gc, ~b->saved_mask & ~gc->wake_active, CPU_CLEAR); brcmstb_l2_intc_resume()
111 irq_reg_writel(gc, b->saved_mask, CPU_MASK_SET); brcmstb_l2_intc_resume()
112 irq_reg_writel(gc, ~b->saved_mask, CPU_MASK_CLEAR); brcmstb_l2_intc_resume()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dprm44xx.c37 static void omap44xx_prm_save_and_clear_irqen(u32 *saved_mask);
38 static void omap44xx_prm_restore_irqen(u32 *saved_mask);
242 * @saved_mask: ptr to a u32 array to save IRQENABLE bits
245 * @saved_mask. @saved_mask must be allocated by the caller.
251 static void omap44xx_prm_save_and_clear_irqen(u32 *saved_mask) omap44xx_prm_save_and_clear_irqen() argument
253 saved_mask[0] = omap44xx_prm_save_and_clear_irqen()
256 saved_mask[1] = omap44xx_prm_save_and_clear_irqen()
272 * @saved_mask: ptr to a u32 array of IRQENABLE bits saved previously
275 * @saved_mask. Intended to be used in the PRM interrupt handler resume
280 static void omap44xx_prm_restore_irqen(u32 *saved_mask) omap44xx_prm_restore_irqen() argument
282 omap4_prm_write_inst_reg(saved_mask[0], OMAP4430_PRM_OCP_SOCKET_INST, omap44xx_prm_restore_irqen()
284 omap4_prm_write_inst_reg(saved_mask[1], OMAP4430_PRM_OCP_SOCKET_INST, omap44xx_prm_restore_irqen()
H A Dprm3xxx.c36 static void omap3xxx_prm_save_and_clear_irqen(u32 *saved_mask);
37 static void omap3xxx_prm_restore_irqen(u32 *saved_mask);
182 * @saved_mask: ptr to a u32 array to save IRQENABLE bits
184 * Save the PRM_IRQENABLE_MPU register to @saved_mask. @saved_mask
191 static void omap3xxx_prm_save_and_clear_irqen(u32 *saved_mask) omap3xxx_prm_save_and_clear_irqen() argument
193 saved_mask[0] = omap2_prm_read_mod_reg(OCP_MOD, omap3xxx_prm_save_and_clear_irqen()
203 * @saved_mask: ptr to a u32 array of IRQENABLE bits saved previously
205 * Restore the PRM_IRQENABLE_MPU register from @saved_mask. Intended
211 static void omap3xxx_prm_restore_irqen(u32 *saved_mask) omap3xxx_prm_restore_irqen() argument
213 omap2_prm_write_mod_reg(saved_mask[0], OCP_MOD, omap3xxx_prm_restore_irqen()
H A Dprcm-common.h484 * @saved_mask: IRQENABLE regs are saved here during suspend
490 * @saved_mask, @priority_mask, @base_irq, @suspended, and
504 void (*save_and_clear_irqen)(u32 *saved_mask);
505 void (*restore_irqen)(u32 *saved_mask);
507 u32 *saved_mask; member in struct:omap_prcm_irq_setup
H A Dprm_common.c124 prcm_irq_setup->save_and_clear_irqen(prcm_irq_setup->saved_mask); omap_prcm_irq_handler()
215 kfree(prcm_irq_setup->saved_mask); omap_prcm_irq_cleanup()
216 prcm_irq_setup->saved_mask = NULL; omap_prcm_irq_cleanup()
253 prcm_irq_setup->restore_irqen(prcm_irq_setup->saved_mask); omap_prcm_irq_complete()
293 prcm_irq_setup->saved_mask = kzalloc(sizeof(u32) * nr_regs, GFP_KERNEL); omap_prcm_register_chain_handler()
297 if (!prcm_irq_chips || !prcm_irq_setup->saved_mask || omap_prcm_register_chain_handler()
/linux-4.1.27/drivers/cpufreq/
H A Dia64-acpi-cpufreq.c107 cpumask_t saved_mask; processor_get_freq() local
112 saved_mask = current->cpus_allowed; processor_get_freq()
121 set_cpus_allowed_ptr(current, &saved_mask); processor_get_freq()
131 set_cpus_allowed_ptr(current, &saved_mask); processor_get_freq()
144 cpumask_t saved_mask; processor_set_freq() local
149 saved_mask = current->cpus_allowed; processor_set_freq()
191 set_cpus_allowed_ptr(current, &saved_mask); processor_set_freq()
/linux-4.1.27/drivers/acpi/
H A Dprocessor_throttling.c901 cpumask_var_t saved_mask; acpi_processor_get_throttling() local
910 if (!alloc_cpumask_var(&saved_mask, GFP_KERNEL)) acpi_processor_get_throttling()
916 cpumask_copy(saved_mask, &current->cpus_allowed); acpi_processor_get_throttling()
920 free_cpumask_var(saved_mask); acpi_processor_get_throttling()
925 set_cpus_allowed_ptr(current, saved_mask); acpi_processor_get_throttling()
926 free_cpumask_var(saved_mask); acpi_processor_get_throttling()
/linux-4.1.27/arch/m68k/q40/
H A Dq40ints.c194 /*static unsigned short saved_mask;*/

Completed in 262 milliseconds