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()
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()
824 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
873 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
912 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
942 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
957 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
979 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
1007 static bool _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) in _omap4_clkctrl_managed_by_clkfwk()
1019 static bool _omap4_has_clkctrl_clock(struct omap_hwmod *oh) in _omap4_has_clkctrl_clock()
1037 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
1068 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1091 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1122 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1155 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1174 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1273 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1325 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1354 static struct omap_hwmod *_lookup(const char *name) in _lookup()
1356 struct omap_hwmod *oh, *temp_oh; in _lookup()
1378 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1408 static int _init_clocks(struct omap_hwmod *oh, struct device_node *np) in _init_clocks()
1441 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1475 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1508 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1576 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1604 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1632 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1651 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1695 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1789 static int _reset(struct omap_hwmod *oh) in _reset()
1833 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
1855 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
1868 static int _enable(struct omap_hwmod *oh) in _enable()
1965 static int _idle(struct omap_hwmod *oh) in _idle()
2026 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2084 struct omap_hwmod *oh) in of_dev_find_hwmod()
2120 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2167 static void omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, in omap_hwmod_fix_mpu_rt_idx()
2195 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, in omap_hwmod_parse_module_range()
2276 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2322 static void __init parse_module_flags(struct omap_hwmod *oh, in parse_module_flags()
2346 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2401 static void _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2436 static int _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2497 static void _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2545 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
2597 static int _register(struct omap_hwmod *oh) in _register()
2699 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2726 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2761 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2779 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
2798 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
2817 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
2841 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
2870 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
2891 static int _omap4_disable_direct_prcm(struct omap_hwmod *oh) in _omap4_disable_direct_prcm()
2913 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
2925 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
2933 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
2950 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
2980 struct omap_hwmod *omap_hwmod_lookup(const char *name) in omap_hwmod_lookup()
2982 struct omap_hwmod *oh; in omap_hwmod_lookup()
3004 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3007 struct omap_hwmod *temp_oh; in omap_hwmod_for_each()
3067 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3089 struct omap_hwmod *oh; in omap_hwmod_setup_one()
3161 static int omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_regbits()
3360 struct omap_hwmod *oh, in omap_hwmod_check_module()
3414 static int omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_allocate_module()
3509 omap_hwmod_init_reset_quirk(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirk()
3528 omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, in omap_hwmod_init_reset_quirks()
3550 struct omap_hwmod *oh; in omap_hwmod_init_module()
3645 struct omap_hwmod *oh; in omap_hwmod_setup_earlycon_flags()
3702 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3724 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3747 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3777 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3824 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3855 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3882 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3910 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3914 struct omap_hwmod *temp_oh; in omap_hwmod_for_each_by_class()
3951 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3991 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
4065 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()