Lines Matching refs:mtk_ir
139 struct mtk_ir { struct
149 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg() argument
154 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()
175 static void mtk_w32_mask(struct mtk_ir *ir, u32 val, u32 mask, unsigned int reg) in mtk_w32_mask()
184 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32()
189 static u32 mtk_r32(struct mtk_ir *ir, unsigned int reg) in mtk_r32()
194 static inline void mtk_irq_disable(struct mtk_ir *ir, u32 mask) in mtk_irq_disable()
202 static inline void mtk_irq_enable(struct mtk_ir *ir, u32 mask) in mtk_irq_enable()
212 struct mtk_ir *ir = dev_id; in mtk_ir_irq()
303 struct mtk_ir *ir; in mtk_ir_probe()
308 ir = devm_kzalloc(dev, sizeof(struct mtk_ir), GFP_KERNEL); in mtk_ir_probe()
434 struct mtk_ir *ir = platform_get_drvdata(pdev); in mtk_ir_remove()