Lines Matching refs:omap_hwmod

218 	int (*reset)(struct omap_hwmod *oh);
231 void (*enable_module)(struct omap_hwmod *oh);
232 int (*disable_module)(struct omap_hwmod *oh);
233 int (*wait_target_ready)(struct omap_hwmod *oh);
234 int (*assert_hardreset)(struct omap_hwmod *oh,
236 int (*deassert_hardreset)(struct omap_hwmod *oh,
238 int (*is_hardreset_asserted)(struct omap_hwmod *oh,
240 int (*init_clkdm)(struct omap_hwmod *oh);
241 void (*update_context_lost)(struct omap_hwmod *oh);
242 int (*get_context_lost)(struct omap_hwmod *oh);
243 int (*disable_direct_prcm)(struct omap_hwmod *oh);
244 u32 (*xlate_clkctrl)(struct omap_hwmod *oh);
255 static struct omap_hwmod *mpu_oh;
270 static int _update_sysc_cache(struct omap_hwmod *oh) in _update_sysc_cache()
295 static void _write_sysconfig(u32 v, struct omap_hwmod *oh) in _write_sysconfig()
332 static int _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, in _set_master_standbymode()
366 static int _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) in _set_slave_idlemode()
400 static int _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) in _set_clockactivity()
431 static int _set_softreset(struct omap_hwmod *oh, u32 *v) in _set_softreset()
459 static int _clear_softreset(struct omap_hwmod *oh, u32 *v) in _clear_softreset()
491 static int _wait_softreset_complete(struct omap_hwmod *oh) in _wait_softreset_complete()
525 static int _set_dmadisable(struct omap_hwmod *oh) in _set_dmadisable()
569 static int _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, in _set_module_autoidle()
600 static int _enable_wakeup(struct omap_hwmod *oh, u32 *v) in _enable_wakeup()
626 static struct clockdomain *_get_clkdm(struct omap_hwmod *oh) in _get_clkdm()
657 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
686 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
761 static u32 _omap4_xlate_clkctrl(struct omap_hwmod *oh) in _omap4_xlate_clkctrl()
771 static struct clk *_lookup_clkctrl_clk(struct omap_hwmod *oh) in _lookup_clkctrl_clk()
821 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
870 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
909 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
939 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
954 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
976 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
1004 static bool _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) in _omap4_clkctrl_managed_by_clkfwk()
1016 static bool _omap4_has_clkctrl_clock(struct omap_hwmod *oh) in _omap4_has_clkctrl_clock()
1034 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
1065 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1088 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1119 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1152 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1171 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1270 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1322 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1351 static struct omap_hwmod *_lookup(const char *name) in _lookup()
1353 struct omap_hwmod *oh, *temp_oh; in _lookup()
1375 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1405 static int _init_clocks(struct omap_hwmod *oh, struct device_node *np) in _init_clocks()
1438 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1472 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1505 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1573 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1601 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1629 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1648 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1692 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1786 static int _reset(struct omap_hwmod *oh) in _reset()
1830 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
1852 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
1865 static int _enable(struct omap_hwmod *oh) in _enable()
1962 static int _idle(struct omap_hwmod *oh) in _idle()
2023 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2081 struct omap_hwmod *oh) in of_dev_find_hwmod()
2117 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2164 static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, in omap_hwmod_fix_mpu_rt_idx()
2192 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, in omap_hwmod_parse_module_range()
2240 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2286 static void __init parse_module_flags(struct omap_hwmod *oh, in parse_module_flags()
2310 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2365 static void _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2400 static int _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2461 static void _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2509 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
2561 static int _register(struct omap_hwmod *oh) in _register()
2663 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2690 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2725 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2743 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2762 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
2781 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
2805 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
2834 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
2855 static int _omap4_disable_direct_prcm(struct omap_hwmod *oh) in _omap4_disable_direct_prcm()
2877 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
2889 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
2897 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
2914 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
2944 struct omap_hwmod *omap_hwmod_lookup(const char *name) in omap_hwmod_lookup()
2946 struct omap_hwmod *oh; in omap_hwmod_lookup()
2968 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
2971 struct omap_hwmod *temp_oh; in omap_hwmod_for_each()
3033 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3055 struct omap_hwmod *oh; in omap_hwmod_setup_one()
3127 static int omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_regbits()
3326 struct omap_hwmod *oh, in omap_hwmod_check_module()
3380 static int omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_allocate_module()
3475 omap_hwmod_init_reset_quirk(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirk()
3494 omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirks()
3516 struct omap_hwmod *oh; in omap_hwmod_init_module()
3611 struct omap_hwmod *oh; in omap_hwmod_setup_earlycon_flags()
3668 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3690 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3713 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3741 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3772 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3799 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3827 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3831 struct omap_hwmod *temp_oh; in omap_hwmod_for_each_by_class()
3868 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()