Lines Matching refs:seq
42 static int rtc_proc_show(struct seq_file *seq, void *offset) in rtc_proc_show() argument
45 struct rtc_device *rtc = seq->private; in rtc_proc_show()
52 seq_printf(seq, in rtc_proc_show()
61 seq_printf(seq, "alrm_time\t: "); in rtc_proc_show()
63 seq_printf(seq, "%02d:", alrm.time.tm_hour); in rtc_proc_show()
65 seq_printf(seq, "**:"); in rtc_proc_show()
67 seq_printf(seq, "%02d:", alrm.time.tm_min); in rtc_proc_show()
69 seq_printf(seq, "**:"); in rtc_proc_show()
71 seq_printf(seq, "%02d\n", alrm.time.tm_sec); in rtc_proc_show()
73 seq_printf(seq, "**\n"); in rtc_proc_show()
75 seq_printf(seq, "alrm_date\t: "); in rtc_proc_show()
77 seq_printf(seq, "%04d-", alrm.time.tm_year + 1900); in rtc_proc_show()
79 seq_printf(seq, "****-"); in rtc_proc_show()
81 seq_printf(seq, "%02d-", alrm.time.tm_mon + 1); in rtc_proc_show()
83 seq_printf(seq, "**-"); in rtc_proc_show()
85 seq_printf(seq, "%02d\n", alrm.time.tm_mday); in rtc_proc_show()
87 seq_printf(seq, "**\n"); in rtc_proc_show()
88 seq_printf(seq, "alarm_IRQ\t: %s\n", in rtc_proc_show()
90 seq_printf(seq, "alrm_pending\t: %s\n", in rtc_proc_show()
92 seq_printf(seq, "update IRQ enabled\t: %s\n", in rtc_proc_show()
94 seq_printf(seq, "periodic IRQ enabled\t: %s\n", in rtc_proc_show()
96 seq_printf(seq, "periodic IRQ frequency\t: %d\n", in rtc_proc_show()
98 seq_printf(seq, "max user IRQ frequency\t: %d\n", in rtc_proc_show()
102 seq_printf(seq, "24hr\t\t: yes\n"); in rtc_proc_show()
105 ops->proc(rtc->dev.parent, seq); in rtc_proc_show()