Lines Matching defs:oh

255 static int _update_sysc_cache(struct omap_hwmod *oh)  in _update_sysc_cache()
280 static void _write_sysconfig(u32 v, struct omap_hwmod *oh) in _write_sysconfig()
317 static int _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, in _set_master_standbymode()
351 static int _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) in _set_slave_idlemode()
385 static int _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) in _set_clockactivity()
416 static int _set_softreset(struct omap_hwmod *oh, u32 *v) in _set_softreset()
444 static int _clear_softreset(struct omap_hwmod *oh, u32 *v) in _clear_softreset()
476 static int _wait_softreset_complete(struct omap_hwmod *oh) in _wait_softreset_complete()
510 static int _set_dmadisable(struct omap_hwmod *oh) in _set_dmadisable()
554 static int _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, in _set_module_autoidle()
585 static int _enable_wakeup(struct omap_hwmod *oh, u32 *v) in _enable_wakeup()
618 static int _disable_wakeup(struct omap_hwmod *oh, u32 *v) in _disable_wakeup()
644 static struct clockdomain *_get_clkdm(struct omap_hwmod *oh) in _get_clkdm()
672 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
701 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
764 static u32 _omap4_xlate_clkctrl(struct omap_hwmod *oh) in _omap4_xlate_clkctrl()
774 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()
1002 static bool _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) in _omap4_clkctrl_managed_by_clkfwk()
1014 static bool _omap4_has_clkctrl_clock(struct omap_hwmod *oh) in _omap4_has_clkctrl_clock()
1032 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
1061 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1084 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1115 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1148 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1167 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1266 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1318 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1349 struct omap_hwmod *oh, *temp_oh; in _lookup() local
1371 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1401 static int _init_clocks(struct omap_hwmod *oh, struct device_node *np) in _init_clocks()
1434 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1468 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1501 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1569 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1597 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1625 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1644 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1688 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1782 static int _reset(struct omap_hwmod *oh) in _reset()
1826 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
1848 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
1862 static int _enable_preprogram(struct omap_hwmod *oh) in _enable_preprogram()
1878 static int _enable(struct omap_hwmod *oh) in _enable()
1976 static int _idle(struct omap_hwmod *oh) in _idle()
2037 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2095 struct omap_hwmod *oh) in of_dev_find_hwmod()
2131 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2177 static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, in omap_hwmod_fix_mpu_rt_idx()
2205 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, in omap_hwmod_parse_module_range()
2286 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2345 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2400 static void __init _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2431 static int __init _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2492 static void __init _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2540 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
2592 static int __init _register(struct omap_hwmod *oh) in _register()
2694 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2721 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2756 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2774 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2793 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
2812 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
2836 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
2865 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
2886 static int _omap4_disable_direct_prcm(struct omap_hwmod *oh) in _omap4_disable_direct_prcm()
2908 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
2920 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
2928 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
2945 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
2977 struct omap_hwmod *oh; in omap_hwmod_lookup() local
2999 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3062 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3084 struct omap_hwmod *oh; in omap_hwmod_setup_one() local
3349 struct omap_hwmod *oh, in omap_hwmod_check_module()
3402 int omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_allocate_module()
3463 struct omap_hwmod *oh; in omap_hwmod_init_module() local
3522 struct omap_hwmod *oh; in omap_hwmod_setup_earlycon_flags() local
3576 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3598 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3621 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3651 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3690 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3722 int omap_hwmod_enable_wakeup(struct omap_hwmod *oh) in omap_hwmod_enable_wakeup()
3754 int omap_hwmod_disable_wakeup(struct omap_hwmod *oh) in omap_hwmod_disable_wakeup()
3785 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3812 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3840 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3881 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3921 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
3995 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()