24 #ifndef __MOTR_DTM0_CLK_SRC_H__ 25 #define __MOTR_DTM0_CLK_SRC_H__ 97 #define M0_DTM0_TS_MIN (struct m0_dtm0_ts) { .dts_phys = 1 } 99 #define M0_DTM0_TS_MAX (struct m0_dtm0_ts) { .dts_phys = (UINT64_MAX - 1) } 101 #define M0_DTM0_TS_INIT (struct m0_dtm0_ts) { .dts_phys = UINT64_MAX } 103 #define M0_DTM0_TS_NONE (struct m0_dtm0_ts) { .dts_phys = 0 } 105 #define DTS0_P(_ts) ((_ts)->dts_phys) 106 #define DTS0_F "@%" PRIu64 121 struct m0_dtm_clk_src_ops;
M0_INTERNAL enum m0_dtm0_ts_ord m0_dtm0_ts_cmp(const struct m0_dtm0_clk_src *cs, const struct m0_dtm0_ts *left, const struct m0_dtm0_ts *right)
struct m0_dtm0_ts cs_last
M0_INTERNAL bool m0_dtm0_ts_is_none(const struct m0_dtm0_ts *ts)
M0_INTERNAL void m0_dtm0_clk_src_now(struct m0_dtm0_clk_src *cs, struct m0_dtm0_ts *now)
const struct m0_dtm0_clk_src_ops * cs_ops
struct m0_mutex cs_phys_lock
M0_INTERNAL void m0_dtm0_clk_src_fini(struct m0_dtm0_clk_src *cs)
enum m0_dtm0_ts_ord M0_XCA_DOMAIN
M0_INTERNAL bool m0_dtm0_ts__invariant(const struct m0_dtm0_ts *ts)
M0_INTERNAL void m0_dtm0_clk_src_init(struct m0_dtm0_clk_src *cs, enum m0_dtm0_cs_types type)