Lines Matching refs:mtk_ir
135 struct mtk_ir { struct
145 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg() argument
150 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()
171 static void mtk_w32_mask(struct mtk_ir *ir, u32 val, u32 mask, unsigned int reg) in mtk_w32_mask()
180 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32()
185 static u32 mtk_r32(struct mtk_ir *ir, unsigned int reg) in mtk_r32()
190 static inline void mtk_irq_disable(struct mtk_ir *ir, u32 mask) in mtk_irq_disable()
198 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()
299 struct mtk_ir *ir; in mtk_ir_probe()
304 ir = devm_kzalloc(dev, sizeof(struct mtk_ir), GFP_KERNEL); in mtk_ir_probe()
429 struct mtk_ir *ir = platform_get_drvdata(pdev); in mtk_ir_remove()