Lines Matching refs:sh_pfc
32 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources()
94 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt()
117 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
179 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
184 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write()
194 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper()
215 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg()
244 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
290 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
313 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux()
394 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pin_to_bias_reg()
413 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges()
607 static void sh_pfc_nop_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_nop_reg()
611 static void sh_pfc_save_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_save_reg()
616 static void sh_pfc_restore_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_restore_reg()
621 static unsigned int sh_pfc_walk_regs(struct sh_pfc *pfc, in sh_pfc_walk_regs()
622 void (*do_reg)(struct sh_pfc *pfc, u32 reg, unsigned int idx)) in sh_pfc_walk_regs()
648 static int sh_pfc_suspend_init(struct sh_pfc *pfc) in sh_pfc_suspend_init()
672 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_suspend_noirq()
681 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_resume_noirq()
693 static int sh_pfc_suspend_init(struct sh_pfc *pfc) { return 0; } in sh_pfc_suspend_init()
703 struct sh_pfc *pfc; in sh_pfc_probe()