Lines Matching refs:soc_ops

247 /* soc_ops: adapts the omap_hwmod code to the currently-booted SoC */
248 static struct omap_hwmod_soc_ops soc_ops;
777 if (!soc_ops.xlate_clkctrl)
780 addr = soc_ops.xlate_clkctrl(oh);
833 soc_ops.disable_direct_prcm(oh);
1414 if (soc_ops.init_clkdm)
1415 ret |= soc_ops.init_clkdm(oh);
1480 if (!soc_ops.assert_hardreset)
1487 ret = soc_ops.assert_hardreset(oh, &ohri);
1513 if (!soc_ops.deassert_hardreset)
1536 if (soc_ops.enable_module)
1537 soc_ops.enable_module(oh);
1539 ret = soc_ops.deassert_hardreset(oh, &ohri);
1541 if (soc_ops.disable_module)
1542 soc_ops.disable_module(oh);
1581 if (!soc_ops.is_hardreset_asserted)
1588 return soc_ops.is_hardreset_asserted(oh, &ohri);
1918 if (soc_ops.enable_module)
1919 soc_ops.enable_module(oh);
1923 if (soc_ops.update_context_lost)
1924 soc_ops.update_context_lost(oh);
1926 r = (soc_ops.wait_target_ready) ? soc_ops.wait_target_ready(oh) :
1941 if (soc_ops.disable_module)
1942 soc_ops.disable_module(oh);
1994 if (soc_ops.disable_module)
1995 soc_ops.disable_module(oh);
2064 if (soc_ops.disable_module)
2065 soc_ops.disable_module(oh);
2684 /* Static functions intended only for use in soc_ops field function pointers */
2753 * use as an soc_ops function pointer. Passes along the return value
2771 * use as an soc_ops function pointer. Passes along the return value
2789 * intended for use as an soc_ops function pointer. Passes along the
2808 * intended for use as an soc_ops function pointer. Passes along the
2832 * intended for use as an soc_ops function pointer. Passes along the
2861 * Only intended for use as an soc_ops function pointer. Passes along
2904 * intended for use as an soc_ops function pointer. Passes along the
3997 if (soc_ops.get_context_lost)
3998 return soc_ops.get_context_lost(oh);
4017 soc_ops.wait_target_ready = _omap2xxx_3xxx_wait_target_ready;
4018 soc_ops.assert_hardreset = _omap2_assert_hardreset;
4019 soc_ops.deassert_hardreset = _omap2_deassert_hardreset;
4020 soc_ops.is_hardreset_asserted = _omap2_is_hardreset_asserted;
4022 soc_ops.wait_target_ready = _omap2xxx_3xxx_wait_target_ready;
4023 soc_ops.assert_hardreset = _omap2_assert_hardreset;
4024 soc_ops.deassert_hardreset = _omap2_deassert_hardreset;
4025 soc_ops.is_hardreset_asserted = _omap2_is_hardreset_asserted;
4026 soc_ops.init_clkdm = _init_clkdm;
4028 soc_ops.enable_module = _omap4_enable_module;
4029 soc_ops.disable_module = _omap4_disable_module;
4030 soc_ops.wait_target_ready = _omap4_wait_target_ready;
4031 soc_ops.assert_hardreset = _omap4_assert_hardreset;
4032 soc_ops.deassert_hardreset = _omap4_deassert_hardreset;
4033 soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted;
4034 soc_ops.init_clkdm = _init_clkdm;
4035 soc_ops.update_context_lost = _omap4_update_context_lost;
4036 soc_ops.get_context_lost = _omap4_get_context_lost;
4037 soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm;
4038 soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl;
4041 soc_ops.enable_module = _omap4_enable_module;
4042 soc_ops.disable_module = _omap4_disable_module;
4043 soc_ops.wait_target_ready = _omap4_wait_target_ready;
4044 soc_ops.assert_hardreset = _omap4_assert_hardreset;
4045 soc_ops.deassert_hardreset = _am33xx_deassert_hardreset;
4046 soc_ops.is_hardreset_asserted = _omap4_is_hardreset_asserted;
4047 soc_ops.init_clkdm = _init_clkdm;
4048 soc_ops.disable_direct_prcm = _omap4_disable_direct_prcm;
4049 soc_ops.xlate_clkctrl = _omap4_xlate_clkctrl;