Searched refs:mtk_ir (Results 1 – 1 of 1) sorted by relevance
137 struct mtk_ir { struct147 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg() argument152 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()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()[all …]