Lines Matching defs:pfc

31 static int sh_pfc_map_resources(struct sh_pfc *pfc,  in sh_pfc_map_resources()
88 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt()
111 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
173 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
178 static void sh_pfc_unlock_reg(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_unlock_reg()
194 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write()
200 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper()
221 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg()
246 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
294 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
317 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux()
399 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges()
664 static void sh_pfc_nop_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_nop_reg()
668 static void sh_pfc_save_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_save_reg()
673 static void sh_pfc_restore_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_restore_reg()
678 static unsigned int sh_pfc_walk_regs(struct sh_pfc *pfc, in sh_pfc_walk_regs()
679 void (*do_reg)(struct sh_pfc *pfc, u32 reg, unsigned int idx)) in sh_pfc_walk_regs()
707 static int sh_pfc_suspend_init(struct sh_pfc *pfc) in sh_pfc_suspend_init()
731 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_suspend_noirq() local
740 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_resume_noirq() local
752 static int sh_pfc_suspend_init(struct sh_pfc *pfc) { return 0; } in sh_pfc_suspend_init()
1337 struct sh_pfc *pfc; in sh_pfc_probe() local