Lines Matching refs:mtk_ir
137 struct mtk_ir { struct
147 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg() argument
152 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()
170 static void mtk_w32_mask(struct mtk_ir *ir, u32 val, u32 mask, unsigned int reg) in mtk_w32_mask()
179 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32()
184 static u32 mtk_r32(struct mtk_ir *ir, unsigned int reg) in mtk_r32()
189 static inline void mtk_irq_disable(struct mtk_ir *ir, u32 mask) in mtk_irq_disable()
197 static inline void mtk_irq_enable(struct mtk_ir *ir, u32 mask) in mtk_irq_enable()
208 struct mtk_ir *ir = dev_id; in mtk_ir_irq()
297 struct mtk_ir *ir; in mtk_ir_probe()
302 ir = devm_kzalloc(dev, sizeof(struct mtk_ir), GFP_KERNEL); in mtk_ir_probe()
426 struct mtk_ir *ir = platform_get_drvdata(pdev); in mtk_ir_remove()