Home
last modified time | relevance | path

Searched refs:clock_has_source (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/timer/
H A Darmv7m_systick.c101 if (!clock_has_source(s->refclk)) { in systick_read()
142 if (!clock_has_source(s->refclk)) { in systick_write()
206 if (!clock_has_source(s->refclk)) { in systick_reset()
267 if (!clock_has_source(s->cpuclk)) { in systick_realize()
H A Dcmsdk-apb-timer.c233 if (!clock_has_source(s->pclk)) { in cmsdk_apb_timer_realize()
H A Dstellaris-gptm.c302 if (!clock_has_source(s->clk)) { in stellaris_gptm_realize()
H A Dsse-counter.c435 if (!clock_has_source(s->clk)) { in sse_counter_realize()
H A Dcmsdk-apb-dualtimer.c490 if (!clock_has_source(s->timclk)) { in cmsdk_apb_dualtimer_realize()
/openbmc/qemu/hw/arm/
H A Dstm32f100_soc.c80 if (clock_has_source(s->refclk)) { in stm32f100_soc_realize()
85 if (!clock_has_source(s->sysclk)) { in stm32f100_soc_realize()
H A Dmsf2-soc.c91 if (!clock_has_source(s->m3clk)) { in m2sxxx_soc_realize()
101 if (clock_has_source(s->refclk)) { in m2sxxx_soc_realize()
H A Dstm32f205_soc.c97 if (clock_has_source(s->refclk)) { in stm32f205_soc_realize()
102 if (!clock_has_source(s->sysclk)) { in stm32f205_soc_realize()
H A Dstm32f405_soc.c102 if (clock_has_source(s->refclk)) { in stm32f405_soc_realize()
107 if (!clock_has_source(s->sysclk)) { in stm32f405_soc_realize()
H A Darmv7m.c289 if (!clock_has_source(s->cpuclk)) { in armv7m_realize()
457 if (clock_has_source(s->refclk)) { in armv7m_realize()
477 if (clock_has_source(s->refclk)) { in armv7m_realize()
H A Dnrf51_soc.c74 if (clock_has_source(s->sysclk)) { in nrf51_soc_realize()
H A Daspeed_ast10x0.c198 if (!clock_has_source(s->sysclk)) { in aspeed_soc_ast1030_realize()
H A Darmsse.c931 if (!clock_has_source(s->mainclk)) { in armsse_realize()
934 if (!clock_has_source(s->s32kclk)) { in armsse_realize()
/openbmc/qemu/include/hw/
H A Dclock.h174 static inline bool clock_has_source(const Clock *clk) in clock_has_source() function
/openbmc/qemu/hw/watchdog/
H A Dcmsdk-apb-watchdog.c343 if (!clock_has_source(s->wdogclk)) { in cmsdk_apb_watchdog_realize()
/openbmc/qemu/docs/devel/
H A Dclocks.rst304 call ``clock_has_source()`` in your device's realize method:
308 if (!clock_has_source(s->clk)) {