Lines Matching +full:proc +full:- +full:id
1 // SPDX-License-Identifier: GPL-2.0
3 * RTC subsystem, proc interface
5 * Copyright (C) 2005-06 Tower Technologies
16 #include "rtc-core.h"
26 size = snprintf(name, NAME_SIZE, "rtc%d", rtc->id); in is_rtc_hctosys()
35 return (rtc->id == 0); in is_rtc_hctosys()
42 struct rtc_device *rtc = seq->private; in rtc_proc_show()
43 const struct rtc_class_ops *ops = rtc->ops; in rtc_proc_show()
64 (rtc->uie_rtctimer.enabled) ? "yes" : "no"); in rtc_proc_show()
66 (rtc->pie_enabled) ? "yes" : "no"); in rtc_proc_show()
68 rtc->irq_freq); in rtc_proc_show()
70 rtc->max_user_freq); in rtc_proc_show()
75 if (ops->proc) in rtc_proc_show()
76 ops->proc(rtc->dev.parent, seq); in rtc_proc_show()