Lines Matching defs:clk
166 static inline bool clock_has_source(const Clock *clk) in clock_has_source()
182 static inline bool clock_set_hz(Clock *clk, unsigned hz) in clock_set_hz()
187 static inline bool clock_set_ns(Clock *clk, unsigned ns) in clock_set_ns()
213 static inline void clock_update(Clock *clk, uint64_t value) in clock_update()
220 static inline void clock_update_hz(Clock *clk, unsigned hz) in clock_update_hz()
225 static inline void clock_update_ns(Clock *clk, unsigned ns) in clock_update_ns()
236 static inline uint64_t clock_get(const Clock *clk) in clock_get()
241 static inline unsigned clock_get_hz(Clock *clk) in clock_get_hz()
267 static inline uint64_t clock_ticks_to_ns(const Clock *clk, uint64_t ticks) in clock_ticks_to_ns()
305 static inline uint64_t clock_ns_to_ticks(const Clock *clk, uint64_t ns) in clock_ns_to_ticks()
329 static inline bool clock_is_enabled(const Clock *clk) in clock_is_enabled()