Lines Matching defs: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()
762 static u32 _omap4_xlate_clkctrl(struct omap_hwmod *oh) in _omap4_xlate_clkctrl()
772 static struct clk *_lookup_clkctrl_clk(struct omap_hwmod *oh) in _lookup_clkctrl_clk()
822 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
871 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
910 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
940 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
955 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
977 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
1005 static bool _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) in _omap4_clkctrl_managed_by_clkfwk()
1017 static bool _omap4_has_clkctrl_clock(struct omap_hwmod *oh) in _omap4_has_clkctrl_clock()
1035 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
1066 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1089 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1120 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1153 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1172 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1271 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1323 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1354 struct omap_hwmod *oh, *temp_oh; in _lookup() local
1376 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1406 static int _init_clocks(struct omap_hwmod *oh, struct device_node *np) in _init_clocks()
1439 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1473 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1506 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1574 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1602 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1630 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1649 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1693 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1787 static int _reset(struct omap_hwmod *oh) in _reset()
1831 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
1853 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
1866 static int _enable(struct omap_hwmod *oh) in _enable()
1963 static int _idle(struct omap_hwmod *oh) in _idle()
2024 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2082 struct omap_hwmod *oh) in of_dev_find_hwmod()
2118 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2165 static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, in omap_hwmod_fix_mpu_rt_idx()
2193 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, in omap_hwmod_parse_module_range()
2274 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2320 static void __init parse_module_flags(struct omap_hwmod *oh, in parse_module_flags()
2344 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2399 static void _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2434 static int _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2495 static void _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2543 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
2595 static int _register(struct omap_hwmod *oh) in _register()
2697 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2724 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2759 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2777 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2796 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
2815 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
2839 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
2868 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
2889 static int _omap4_disable_direct_prcm(struct omap_hwmod *oh) in _omap4_disable_direct_prcm()
2911 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
2923 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
2931 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
2948 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
2980 struct omap_hwmod *oh; in omap_hwmod_lookup() local
3002 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3065 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3087 struct omap_hwmod *oh; in omap_hwmod_setup_one() local
3159 static int omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_regbits()
3358 struct omap_hwmod *oh, in omap_hwmod_check_module()
3412 static int omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_allocate_module()
3507 omap_hwmod_init_reset_quirk(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirk()
3526 omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirks()
3548 struct omap_hwmod *oh; in omap_hwmod_init_module() local
3643 struct omap_hwmod *oh; in omap_hwmod_setup_earlycon_flags() local
3700 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3722 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3745 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3775 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3822 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3853 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3880 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3908 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3949 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3989 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
4063 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()