Lines Matching refs:omap_hwmod
191 void (*enable_module)(struct omap_hwmod *oh);
192 int (*disable_module)(struct omap_hwmod *oh);
193 int (*wait_target_ready)(struct omap_hwmod *oh);
194 int (*assert_hardreset)(struct omap_hwmod *oh,
196 int (*deassert_hardreset)(struct omap_hwmod *oh,
198 int (*is_hardreset_asserted)(struct omap_hwmod *oh,
200 int (*init_clkdm)(struct omap_hwmod *oh);
201 void (*update_context_lost)(struct omap_hwmod *oh);
202 int (*get_context_lost)(struct omap_hwmod *oh);
212 static struct omap_hwmod *mpu_oh;
267 static int _update_sysc_cache(struct omap_hwmod *oh) in _update_sysc_cache()
292 static void _write_sysconfig(u32 v, struct omap_hwmod *oh) in _write_sysconfig()
329 static int _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, in _set_master_standbymode()
363 static int _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) in _set_slave_idlemode()
397 static int _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) in _set_clockactivity()
428 static int _set_softreset(struct omap_hwmod *oh, u32 *v) in _set_softreset()
456 static int _clear_softreset(struct omap_hwmod *oh, u32 *v) in _clear_softreset()
488 static int _wait_softreset_complete(struct omap_hwmod *oh) in _wait_softreset_complete()
522 static int _set_dmadisable(struct omap_hwmod *oh) in _set_dmadisable()
566 static int _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, in _set_module_autoidle()
604 static void _set_idle_ioring_wakeup(struct omap_hwmod *oh, bool set_wake) in _set_idle_ioring_wakeup()
642 static int _enable_wakeup(struct omap_hwmod *oh, u32 *v) in _enable_wakeup()
675 static int _disable_wakeup(struct omap_hwmod *oh, u32 *v) in _disable_wakeup()
701 static struct clockdomain *_get_clkdm(struct omap_hwmod *oh) in _get_clkdm()
729 static int _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _add_initiator_dep()
758 static int _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) in _del_initiator_dep()
782 static int _init_main_clk(struct omap_hwmod *oh) in _init_main_clk()
819 static int _init_interface_clks(struct omap_hwmod *oh) in _init_interface_clks()
863 static int _init_opt_clks(struct omap_hwmod *oh) in _init_opt_clks()
893 static void _enable_optional_clocks(struct omap_hwmod *oh) in _enable_optional_clocks()
908 static void _disable_optional_clocks(struct omap_hwmod *oh) in _disable_optional_clocks()
930 static int _enable_clocks(struct omap_hwmod *oh) in _enable_clocks()
964 static int _disable_clocks(struct omap_hwmod *oh) in _disable_clocks()
999 static void _omap4_enable_module(struct omap_hwmod *oh) in _omap4_enable_module()
1021 static int _omap4_wait_target_disable(struct omap_hwmod *oh) in _omap4_wait_target_disable()
1045 static int _count_mpu_irqs(struct omap_hwmod *oh) in _count_mpu_irqs()
1068 static int _count_sdma_reqs(struct omap_hwmod *oh) in _count_sdma_reqs()
1123 static int _get_mpu_irq_by_name(struct omap_hwmod *oh, const char *name, in _get_mpu_irq_by_name()
1166 static int _get_sdma_req_by_name(struct omap_hwmod *oh, const char *name, in _get_sdma_req_by_name()
1211 static int _get_addr_space_by_name(struct omap_hwmod *oh, const char *name, in _get_addr_space_by_name()
1260 static void __init _save_mpu_port_index(struct omap_hwmod *oh) in _save_mpu_port_index()
1298 static struct omap_hwmod_ocp_if *_find_mpu_rt_port(struct omap_hwmod *oh) in _find_mpu_rt_port()
1313 static struct omap_hwmod_addr_space * __init _find_mpu_rt_addr_space(struct omap_hwmod *oh) in _find_mpu_rt_addr_space()
1343 static void _enable_sysc(struct omap_hwmod *oh) in _enable_sysc()
1442 static void _idle_sysc(struct omap_hwmod *oh) in _idle_sysc()
1494 static void _shutdown_sysc(struct omap_hwmod *oh) in _shutdown_sysc()
1523 static struct omap_hwmod *_lookup(const char *name) in _lookup()
1525 struct omap_hwmod *oh, *temp_oh; in _lookup()
1547 static int _init_clkdm(struct omap_hwmod *oh) in _init_clkdm()
1577 static int _init_clocks(struct omap_hwmod *oh, void *data) in _init_clocks()
1610 static int _lookup_hardreset(struct omap_hwmod *oh, const char *name, in _lookup_hardreset()
1644 static int _assert_hardreset(struct omap_hwmod *oh, const char *name) in _assert_hardreset()
1677 static int _deassert_hardreset(struct omap_hwmod *oh, const char *name) in _deassert_hardreset()
1747 static int _read_hardreset(struct omap_hwmod *oh, const char *name) in _read_hardreset()
1775 static bool _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_all_hardreset_lines_asserted()
1803 static bool _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) in _are_any_hardreset_lines_asserted()
1822 static int _omap4_disable_module(struct omap_hwmod *oh) in _omap4_disable_module()
1865 static int _ocp_softreset(struct omap_hwmod *oh) in _ocp_softreset()
1959 static int _reset(struct omap_hwmod *oh) in _reset()
2026 static void _omap4_update_context_lost(struct omap_hwmod *oh) in _omap4_update_context_lost()
2048 static int _omap4_get_context_lost(struct omap_hwmod *oh) in _omap4_get_context_lost()
2062 static int _enable_preprogram(struct omap_hwmod *oh) in _enable_preprogram()
2078 static int _enable(struct omap_hwmod *oh) in _enable()
2201 static int _idle(struct omap_hwmod *oh) in _idle()
2260 static int _shutdown(struct omap_hwmod *oh) in _shutdown()
2322 struct omap_hwmod *oh) in of_dev_find_hwmod()
2358 struct omap_hwmod *oh, in of_dev_hwmod_lookup()
2407 static int __init _init_mpu_rt_base(struct omap_hwmod *oh, void *data, in _init_mpu_rt_base()
2471 static int __init _init(struct omap_hwmod *oh, void *data) in _init()
2529 static void _setup_iclk_autoidle(struct omap_hwmod *oh) in _setup_iclk_autoidle()
2564 static int _setup_reset(struct omap_hwmod *oh) in _setup_reset()
2625 static void _setup_postsetup(struct omap_hwmod *oh) in _setup_postsetup()
2673 static int __init _setup(struct omap_hwmod *oh, void *data) in _setup()
2725 static int __init _register(struct omap_hwmod *oh) in _register()
2915 static int _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) in _omap2xxx_3xxx_wait_target_ready()
2942 static int _omap4_wait_target_ready(struct omap_hwmod *oh) in _omap4_wait_target_ready()
2971 static int _omap2_assert_hardreset(struct omap_hwmod *oh, in _omap2_assert_hardreset()
2989 static int _omap2_deassert_hardreset(struct omap_hwmod *oh, in _omap2_deassert_hardreset()
3008 static int _omap2_is_hardreset_asserted(struct omap_hwmod *oh, in _omap2_is_hardreset_asserted()
3027 static int _omap4_assert_hardreset(struct omap_hwmod *oh, in _omap4_assert_hardreset()
3051 static int _omap4_deassert_hardreset(struct omap_hwmod *oh, in _omap4_deassert_hardreset()
3080 static int _omap4_is_hardreset_asserted(struct omap_hwmod *oh, in _omap4_is_hardreset_asserted()
3105 static int _am33xx_deassert_hardreset(struct omap_hwmod *oh, in _am33xx_deassert_hardreset()
3117 u32 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_read()
3125 void omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) in omap_hwmod_write()
3142 int omap_hwmod_softreset(struct omap_hwmod *oh) in omap_hwmod_softreset()
3172 struct omap_hwmod *omap_hwmod_lookup(const char *name) in omap_hwmod_lookup()
3174 struct omap_hwmod *oh; in omap_hwmod_lookup()
3196 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), in omap_hwmod_for_each()
3199 struct omap_hwmod *temp_oh; in omap_hwmod_for_each()
3266 static void __init _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) in _ensure_mpu_hwmod_is_setup()
3288 struct omap_hwmod *oh; in omap_hwmod_setup_one()
3332 int omap_hwmod_enable(struct omap_hwmod *oh) in omap_hwmod_enable()
3354 int omap_hwmod_idle(struct omap_hwmod *oh) in omap_hwmod_idle()
3377 int omap_hwmod_shutdown(struct omap_hwmod *oh) in omap_hwmod_shutdown()
3412 int omap_hwmod_count_resources(struct omap_hwmod *oh, unsigned long flags) in omap_hwmod_count_resources()
3446 int omap_hwmod_fill_resources(struct omap_hwmod *oh, struct resource *res) in omap_hwmod_fill_resources()
3508 int omap_hwmod_fill_dma_resources(struct omap_hwmod *oh, struct resource *res) in omap_hwmod_fill_dma_resources()
3547 int omap_hwmod_get_resource_byname(struct omap_hwmod *oh, unsigned int type, in omap_hwmod_get_resource_byname()
3599 struct powerdomain *omap_hwmod_get_pwrdm(struct omap_hwmod *oh) in omap_hwmod_get_pwrdm()
3638 void __iomem *omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) in omap_hwmod_get_mpu_rt_va()
3670 int omap_hwmod_enable_wakeup(struct omap_hwmod *oh) in omap_hwmod_enable_wakeup()
3703 int omap_hwmod_disable_wakeup(struct omap_hwmod *oh) in omap_hwmod_disable_wakeup()
3735 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_assert_hardreset()
3762 int omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) in omap_hwmod_deassert_hardreset()
3790 int (*fn)(struct omap_hwmod *oh, in omap_hwmod_for_each_by_class()
3794 struct omap_hwmod *temp_oh; in omap_hwmod_for_each_by_class()
3831 int omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) in omap_hwmod_set_postsetup_state()
3871 int omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) in omap_hwmod_get_context_loss_count()
3939 const char *omap_hwmod_get_main_clk(struct omap_hwmod *oh) in omap_hwmod_get_main_clk()