Lines Matching refs:mtk_ir
136 struct mtk_ir { struct
146 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg() argument
151 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()
169 static void mtk_w32_mask(struct mtk_ir *ir, u32 val, u32 mask, unsigned int reg) in mtk_w32_mask()
178 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32()
183 static u32 mtk_r32(struct mtk_ir *ir, unsigned int reg) in mtk_r32()
188 static inline void mtk_irq_disable(struct mtk_ir *ir, u32 mask) in mtk_irq_disable()
196 static inline void mtk_irq_enable(struct mtk_ir *ir, u32 mask) in mtk_irq_enable()
207 struct mtk_ir *ir = dev_id; in mtk_ir_irq()
296 struct mtk_ir *ir; in mtk_ir_probe()
301 ir = devm_kzalloc(dev, sizeof(struct mtk_ir), GFP_KERNEL); in mtk_ir_probe()
425 struct mtk_ir *ir = platform_get_drvdata(pdev); in mtk_ir_remove()