clockfns
(*clockfns->cf_set)(clockdev, &ct);
clockattach(struct device *dev, const struct clockfns *fns)
if (clockfns != NULL)
clockfns = fns;
if (clockfns == NULL)
(*clockfns->cf_init)(clockdev);
(*clockfns->cf_get)(clockdev, 0, &ct);
(*clockfns->cf_get)(clockdev, 0, &ct);
(*clockfns->cf_get)(clockdev, 0, &ct);
const struct clockfns *clockfns;
(*clockfns->cf_get)(clockdev, tv->tv_sec, &ct);
void clockattach(struct device *, const struct clockfns *);
const struct clockfns mcclock_clockfns = {
const struct clockfns *clockwork;
const struct clockfns mkclock_clockfns = {
const struct clockfns dsclock_clockfns = {
clockfns = fns;
if (clockfns == NULL)
const struct clockfns *clockfns;
(*clockfns->cf_get)(clockdev, tv->tv_sec, &dt);
(*clockfns->cf_set)(clockdev, &dt);
clockattach(struct device *dev, const struct clockfns *fns,
if (clockfns != NULL)
void clockattach(struct device *, const struct clockfns *, struct evcount *);
void clockattach(struct device *, const struct clockfns *);