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()
654 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
683 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
759 static u32 _omap4_xlate_clkctrl(struct omap_hwmod *oh) in _omap4_xlate_clkctrl()
769 static struct clk *_lookup_clkctrl_clk(struct omap_hwmod *oh) in _lookup_clkctrl_clk()
819 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
868 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
907 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
937 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
952 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
974 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()
1063 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1086 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1117 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1150 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1169 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1268 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1320 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1351 struct omap_hwmod *oh, *temp_oh; in _lookup() local
1373 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1403 static int _init_clocks(struct omap_hwmod *oh, struct device_node *np) in _init_clocks()
1436 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1470 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1503 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1571 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1599 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1627 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1646 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1690 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1784 static int _reset(struct omap_hwmod *oh) in _reset()
1828 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
1850 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
1863 static int _enable(struct omap_hwmod *oh) in _enable()
1960 static int _idle(struct omap_hwmod *oh) in _idle()
2021 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2079 struct omap_hwmod *oh) in of_dev_find_hwmod()
2115 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2161 static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, in omap_hwmod_fix_mpu_rt_idx()
2189 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, in omap_hwmod_parse_module_range()
2270 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2316 static void __init parse_module_flags(struct omap_hwmod *oh, in parse_module_flags()
2340 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2395 static void _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2430 static int _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2491 static void _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2539 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
2591 static int _register(struct omap_hwmod *oh) in _register()
2693 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2720 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2755 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2773 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2792 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
2811 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
2835 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
2864 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
2885 static int _omap4_disable_direct_prcm(struct omap_hwmod *oh) in _omap4_disable_direct_prcm()
2907 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
2919 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
2927 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
2944 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
2976 struct omap_hwmod *oh; in omap_hwmod_lookup() local
2998 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3061 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3083 struct omap_hwmod *oh; in omap_hwmod_setup_one() local
3155 static int omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_regbits()
3354 struct omap_hwmod *oh, in omap_hwmod_check_module()
3408 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()
3552 struct omap_hwmod *oh; in omap_hwmod_init_module() local
3645 struct omap_hwmod *oh; in omap_hwmod_setup_earlycon_flags() local
3699 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3721 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3744 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3774 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3813 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3844 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3871 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3899 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3940 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3980 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
4054 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()