Lines Matching defs:oh
266 static int _update_sysc_cache(struct omap_hwmod *oh) in _update_sysc_cache()
291 static void _write_sysconfig(u32 v, struct omap_hwmod *oh) in _write_sysconfig()
315 static int _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, in _set_master_standbymode()
349 static int _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) in _set_slave_idlemode()
383 static int _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) in _set_clockactivity()
414 static int _set_softreset(struct omap_hwmod *oh, u32 *v) in _set_softreset()
442 static int _clear_softreset(struct omap_hwmod *oh, u32 *v) in _clear_softreset()
474 static int _wait_softreset_complete(struct omap_hwmod *oh) in _wait_softreset_complete()
508 static int _set_dmadisable(struct omap_hwmod *oh) in _set_dmadisable()
552 static int _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, in _set_module_autoidle()
590 static void _set_idle_ioring_wakeup(struct omap_hwmod *oh, bool set_wake) in _set_idle_ioring_wakeup()
628 static int _enable_wakeup(struct omap_hwmod *oh, u32 *v) in _enable_wakeup()
661 static int _disable_wakeup(struct omap_hwmod *oh, u32 *v) in _disable_wakeup()
687 static struct clockdomain *_get_clkdm(struct omap_hwmod *oh) in _get_clkdm()
715 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
744 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
768 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
805 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
849 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
879 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
894 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
916 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
950 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
985 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1007 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1031 static int _count_mpu_irqs(struct omap_hwmod *oh) in _count_mpu_irqs()
1054 static int _count_sdma_reqs(struct omap_hwmod *oh) in _count_sdma_reqs()
1109 static int _get_mpu_irq_by_name(struct omap_hwmod *oh, const char *name, in _get_mpu_irq_by_name()
1152 static int _get_sdma_req_by_name(struct omap_hwmod *oh, const char *name, in _get_sdma_req_by_name()
1197 static int _get_addr_space_by_name(struct omap_hwmod *oh, const char *name, in _get_addr_space_by_name()
1246 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1284 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1299 static struct omap_hwmod_addr_space * __init _find_mpu_rt_addr_space(struct omap_hwmod *oh) in _find_mpu_rt_addr_space()
1329 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1428 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1480 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1511 struct omap_hwmod *oh, *temp_oh; in _lookup() local
1533 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1563 static int _init_clocks(struct omap_hwmod *oh, void *data) in _init_clocks()
1596 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1630 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1663 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1733 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1761 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1789 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1808 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1851 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1945 static int _reset(struct omap_hwmod *oh) in _reset()
2012 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
2034 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
2048 static int _enable_preprogram(struct omap_hwmod *oh) in _enable_preprogram()
2064 static int _enable(struct omap_hwmod *oh) in _enable()
2187 static int _idle(struct omap_hwmod *oh) in _idle()
2246 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2308 struct omap_hwmod *oh) in of_dev_find_hwmod()
2344 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2393 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2457 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2515 static void __init _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2550 static int __init _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2611 static void __init _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2659 static int __init _setup(struct omap_hwmod *oh, void *data) in _setup()
2711 static int __init _register(struct omap_hwmod *oh) in _register()
2901 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2928 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2957 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2975 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2994 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
3013 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
3037 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
3066 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
3091 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
3103 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
3111 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
3128 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
3160 struct omap_hwmod *oh; in omap_hwmod_lookup() local
3182 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3252 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3274 struct omap_hwmod *oh; in omap_hwmod_setup_one() local
3318 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3340 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3362 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3396 int omap_hwmod_count_resources(struct omap_hwmod *oh, unsigned long flags) in omap_hwmod_count_resources()
3430 int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res) in omap_hwmod_fill_resources()
3492 int omap_hwmod_fill_dma_resources(struct omap_hwmod *oh, struct resource *res) in omap_hwmod_fill_dma_resources()
3531 int omap_hwmod_get_resource_byname(struct omap_hwmod *oh, unsigned int type, in omap_hwmod_get_resource_byname()
3583 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3622 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3654 int omap_hwmod_enable_wakeup(struct omap_hwmod *oh) in omap_hwmod_enable_wakeup()
3687 int omap_hwmod_disable_wakeup(struct omap_hwmod *oh) in omap_hwmod_disable_wakeup()
3719 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3746 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3774 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3815 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3855 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
3922 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()