Lines Matching refs:omap_hwmod

166 static struct omap_hwmod *mpu_oh;
179 static int _update_sysc_cache(struct omap_hwmod *oh) in _update_sysc_cache()
204 static void _write_sysconfig(u32 v, struct omap_hwmod *oh) in _write_sysconfig()
228 static int _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, in _set_master_standbymode()
262 static int _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) in _set_slave_idlemode()
296 static int _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) in _set_clockactivity()
327 static int _set_softreset(struct omap_hwmod *oh, u32 *v) in _set_softreset()
360 static int _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, in _set_module_autoidle()
398 static void _set_idle_ioring_wakeup(struct omap_hwmod *oh, bool set_wake) in _set_idle_ioring_wakeup()
436 static int _enable_wakeup(struct omap_hwmod *oh, u32 *v) in _enable_wakeup()
471 static int _disable_wakeup(struct omap_hwmod *oh, u32 *v) in _disable_wakeup()
512 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
536 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
555 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
583 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
617 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
644 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
674 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
698 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
713 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
735 static void _enable_module(struct omap_hwmod *oh) in _enable_module()
763 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
790 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
824 static int _count_mpu_irqs(struct omap_hwmod *oh) in _count_mpu_irqs()
847 static int _count_sdma_reqs(struct omap_hwmod *oh) in _count_sdma_reqs()
892 static int __init _find_mpu_port_index(struct omap_hwmod *oh) in _find_mpu_port_index()
926 static void __iomem * __init _find_mpu_rt_base(struct omap_hwmod *oh, u8 index) in _find_mpu_rt_base()
972 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1039 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1084 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1113 static struct omap_hwmod *_lookup(const char *name) in _lookup()
1115 struct omap_hwmod *oh, *temp_oh; in _lookup()
1136 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1169 static int _init_clocks(struct omap_hwmod *oh, void *data) in _init_clocks()
1200 static int _wait_target_ready(struct omap_hwmod *oh) in _wait_target_ready()
1248 static u8 _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1279 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1313 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1355 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1388 static int _clear_softreset(struct omap_hwmod *oh, u32 *v) in _clear_softreset()
1426 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1513 static int _reset(struct omap_hwmod *oh) in _reset()
1537 static int _enable(struct omap_hwmod *oh) in _enable()
1644 static int _idle(struct omap_hwmod *oh) in _idle()
1692 int omap_hwmod_set_ocp_autoidle(struct omap_hwmod *oh, u8 autoidle) in omap_hwmod_set_ocp_autoidle()
1724 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
1790 static int _setup(struct omap_hwmod *oh, void *data) in _setup()
1880 static int __init _register(struct omap_hwmod *oh) in _register()
1918 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
1926 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
1943 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
1981 int omap_hwmod_set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode) in omap_hwmod_set_slave_idlemode()
2005 struct omap_hwmod *omap_hwmod_lookup(const char *name) in omap_hwmod_lookup()
2007 struct omap_hwmod *oh; in omap_hwmod_lookup()
2029 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
2032 struct omap_hwmod *temp_oh; in omap_hwmod_for_each()
2055 int __init omap_hwmod_register(struct omap_hwmod **ohs) in omap_hwmod_register()
2078 static int __init _populate_mpu_rt_base(struct omap_hwmod *oh, void *data) in _populate_mpu_rt_base()
2102 struct omap_hwmod *oh; in omap_hwmod_setup_one()
2175 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
2197 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
2219 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
2239 int omap_hwmod_enable_clocks(struct omap_hwmod *oh) in omap_hwmod_enable_clocks()
2256 int omap_hwmod_disable_clocks(struct omap_hwmod *oh) in omap_hwmod_disable_clocks()
2278 void omap_hwmod_ocp_barrier(struct omap_hwmod *oh) in omap_hwmod_ocp_barrier()
2303 int omap_hwmod_reset(struct omap_hwmod *oh) in omap_hwmod_reset()
2334 int omap_hwmod_count_resources(struct omap_hwmod *oh) in omap_hwmod_count_resources()
2356 int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res) in omap_hwmod_fill_resources()
2411 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
2442 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
2470 int omap_hwmod_add_initiator_dep(struct omap_hwmod *oh, in omap_hwmod_add_initiator_dep()
2471 struct omap_hwmod *init_oh) in omap_hwmod_add_initiator_dep()
2495 int omap_hwmod_del_initiator_dep(struct omap_hwmod *oh, in omap_hwmod_del_initiator_dep()
2496 struct omap_hwmod *init_oh) in omap_hwmod_del_initiator_dep()
2514 int omap_hwmod_enable_wakeup(struct omap_hwmod *oh) in omap_hwmod_enable_wakeup()
2547 int omap_hwmod_disable_wakeup(struct omap_hwmod *oh) in omap_hwmod_disable_wakeup()
2579 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
2606 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
2632 int omap_hwmod_read_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_read_hardreset()
2661 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
2665 struct omap_hwmod *temp_oh; in omap_hwmod_for_each_by_class()
2702 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
2741 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
2763 int omap_hwmod_no_setup_reset(struct omap_hwmod *oh) in omap_hwmod_no_setup_reset()
2804 int omap_hwmod_pad_route_irq(struct omap_hwmod *oh, int pad_idx, int irq_idx) in omap_hwmod_pad_route_irq()