Lines Matching refs:sh_pfc
30 static int sh_pfc_map_resources(struct sh_pfc *pfc, in sh_pfc_map_resources()
87 static void __iomem *sh_pfc_phys_to_virt(struct sh_pfc *pfc, u32 reg) in sh_pfc_phys_to_virt()
110 int sh_pfc_get_pin_index(struct sh_pfc *pfc, unsigned int pin) in sh_pfc_get_pin_index()
172 u32 sh_pfc_read(struct sh_pfc *pfc, u32 reg) in sh_pfc_read()
177 void sh_pfc_write(struct sh_pfc *pfc, u32 reg, u32 data) in sh_pfc_write()
187 static void sh_pfc_config_reg_helper(struct sh_pfc *pfc, in sh_pfc_config_reg_helper()
208 static void sh_pfc_write_config_reg(struct sh_pfc *pfc, in sh_pfc_write_config_reg()
237 static int sh_pfc_get_config_reg(struct sh_pfc *pfc, u16 enum_id, in sh_pfc_get_config_reg()
283 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum()
306 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux()
387 sh_pfc_pin_to_bias_reg(const struct sh_pfc *pfc, unsigned int pin, in sh_pfc_pin_to_bias_reg()
406 static int sh_pfc_init_ranges(struct sh_pfc *pfc) in sh_pfc_init_ranges()
649 static void sh_pfc_nop_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_nop_reg()
653 static void sh_pfc_save_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_save_reg()
658 static void sh_pfc_restore_reg(struct sh_pfc *pfc, u32 reg, unsigned int idx) in sh_pfc_restore_reg()
663 static unsigned int sh_pfc_walk_regs(struct sh_pfc *pfc, in sh_pfc_walk_regs()
664 void (*do_reg)(struct sh_pfc *pfc, u32 reg, unsigned int idx)) in sh_pfc_walk_regs()
690 static int sh_pfc_suspend_init(struct sh_pfc *pfc) in sh_pfc_suspend_init()
714 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_suspend_noirq()
723 struct sh_pfc *pfc = dev_get_drvdata(dev); in sh_pfc_resume_noirq()
735 static int sh_pfc_suspend_init(struct sh_pfc *pfc) { return 0; } in sh_pfc_suspend_init()
1116 struct sh_pfc *pfc; in sh_pfc_probe()