Lines Matching refs:irqsteer_data
27 struct irqsteer_data { struct
39 static int imx_irqsteer_get_reg_index(struct irqsteer_data *data, in imx_irqsteer_get_reg_index() argument
47 struct irqsteer_data *data = d->chip_data; in imx_irqsteer_irq_unmask()
61 struct irqsteer_data *data = d->chip_data; in imx_irqsteer_irq_mask()
94 static int imx_irqsteer_get_hwirq_base(struct irqsteer_data *data, u32 irq) in imx_irqsteer_get_hwirq_base()
108 struct irqsteer_data *data = irq_desc_get_handler_data(desc); in imx_irqsteer_irq_handler()
143 struct irqsteer_data *data; in imx_irqsteer_probe()
230 struct irqsteer_data *irqsteer_data = platform_get_drvdata(pdev); in imx_irqsteer_remove() local
233 for (i = 0; i < irqsteer_data->irq_count; i++) in imx_irqsteer_remove()
234 irq_set_chained_handler_and_data(irqsteer_data->irq[i], in imx_irqsteer_remove()
237 irq_domain_remove(irqsteer_data->domain); in imx_irqsteer_remove()
239 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_remove()
245 static void imx_irqsteer_save_regs(struct irqsteer_data *data) in imx_irqsteer_save_regs()
254 static void imx_irqsteer_restore_regs(struct irqsteer_data *data) in imx_irqsteer_restore_regs()
266 struct irqsteer_data *irqsteer_data = dev_get_drvdata(dev); in imx_irqsteer_suspend() local
268 imx_irqsteer_save_regs(irqsteer_data); in imx_irqsteer_suspend()
269 clk_disable_unprepare(irqsteer_data->ipg_clk); in imx_irqsteer_suspend()
276 struct irqsteer_data *irqsteer_data = dev_get_drvdata(dev); in imx_irqsteer_resume() local
279 ret = clk_prepare_enable(irqsteer_data->ipg_clk); in imx_irqsteer_resume()
284 imx_irqsteer_restore_regs(irqsteer_data); in imx_irqsteer_resume()