Home
last modified time | relevance | path

Searched refs:alarm (Results 1 – 25 of 514) sorted by relevance

12345678910>>...21

/openbmc/linux/kernel/time/
H A Dalarmtimer.c198 struct alarm *alarm = container_of(timer, struct alarm, timer); in alarmtimer_fired() local
384 void alarm_restart(struct alarm *alarm) in alarm_restart() argument
404 int alarm_try_to_cancel(struct alarm *alarm) in alarm_try_to_cancel() argument
428 int alarm_cancel(struct alarm *alarm) in alarm_cancel() argument
596 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_rearm() local
599 alarm_start(alarm, alarm->node.expires); in alarm_timer_rearm()
609 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_forward() local
621 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_remaining() local
658 struct alarm *alarm = &timr->it.alarm.alarmtimer; in alarm_timer_arm() local
828 struct alarm alarm; in alarm_timer_nsleep_restart() local
[all …]
/openbmc/linux/include/linux/
H A Dalarmtimer.h42 struct alarm { struct
51 void alarm_init(struct alarm *alarm, enum alarmtimer_type type, argument
52 enum alarmtimer_restart (*function)(struct alarm *, ktime_t));
53 void alarm_start(struct alarm *alarm, ktime_t start);
54 void alarm_start_relative(struct alarm *alarm, ktime_t start);
55 void alarm_restart(struct alarm *alarm);
56 int alarm_try_to_cancel(struct alarm *alarm);
57 int alarm_cancel(struct alarm *alarm);
59 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval);
60 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval);
[all …]
/openbmc/linux/include/trace/events/
H A Dalarmtimer.h47 TP_PROTO(struct alarm *alarm, ktime_t now),
49 TP_ARGS(alarm, now),
52 __field(void *, alarm)
59 __entry->alarm = alarm;
66 __entry->alarm,
75 TP_PROTO(struct alarm *alarm, ktime_t now),
77 TP_ARGS(alarm, now)
82 TP_PROTO(struct alarm *alarm, ktime_t now),
84 TP_ARGS(alarm, now)
89 TP_PROTO(struct alarm *alarm, ktime_t now),
[all …]
/openbmc/linux/drivers/rtc/
H A Dinterface.c192 alarm->enabled = 0; in rtc_read_alarm_internal()
193 alarm->pending = 0; in rtc_read_alarm_internal()
194 alarm->time.tm_sec = -1; in rtc_read_alarm_internal()
195 alarm->time.tm_min = -1; in rtc_read_alarm_internal()
198 alarm->time.tm_mon = -1; in rtc_read_alarm_internal()
304 if (alarm->time.tm_mday < 1 || alarm->time.tm_mday > 31) { in __rtc_read_alarm()
381 &alarm->time); in __rtc_read_alarm()
483 if (alarm->enabled) in rtc_set_alarm()
829 alarm.enabled = 1; in rtc_timer_enqueue()
882 alarm.enabled = 1; in rtc_timer_remove()
[all …]
H A Drtc-test.c18 struct timer_list alarm; member
27 time64_t alarm; in test_rtc_read_alarm() local
29 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm()
30 alarm += ktime_get_real_seconds() + rtd->offset; in test_rtc_read_alarm()
32 rtc_time64_to_tm(alarm, &alrm->time); in test_rtc_read_alarm()
47 del_timer(&rtd->alarm); in test_rtc_set_alarm()
53 rtd->alarm.expires = expires; in test_rtc_set_alarm()
56 add_timer(&rtd->alarm); in test_rtc_set_alarm()
87 add_timer(&rtd->alarm); in test_rtc_alarm_irq_enable()
89 del_timer(&rtd->alarm); in test_rtc_alarm_irq_enable()
[all …]
H A Ddev.c210 struct rtc_wkalrm alarm; in rtc_dev_ioctl() local
274 alarm.enabled = 0; in rtc_dev_ioctl()
275 alarm.pending = 0; in rtc_dev_ioctl()
276 alarm.time.tm_wday = -1; in rtc_dev_ioctl()
277 alarm.time.tm_yday = -1; in rtc_dev_ioctl()
278 alarm.time.tm_isdst = -1; in rtc_dev_ioctl()
301 alarm.time.tm_mday = tm.tm_mday; in rtc_dev_ioctl()
302 alarm.time.tm_mon = tm.tm_mon; in rtc_dev_ioctl()
313 alarm.time.tm_mon = tm.tm_mon; in rtc_dev_ioctl()
372 if (copy_from_user(&alarm, uarg, sizeof(alarm))) in rtc_dev_ioctl()
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dmax1668.rst35 temp1_max rw local temperature maximum threshold for alarm
36 temp1_max_alarm ro local temperature maximum threshold alarm
37 temp1_min rw local temperature minimum threshold for alarm
38 temp1_min_alarm ro local temperature minimum threshold alarm
41 temp2_max_alarm ro remote temperature 1 maximum threshold alarm
43 temp2_min_alarm ro remote temperature 1 minimum threshold alarm
46 temp3_max_alarm ro remote temperature 2 maximum threshold alarm
48 temp3_min_alarm ro remote temperature 2 minimum threshold alarm
56 temp4_max_alarm ro remote temperature 3 maximum threshold alarm
58 temp4_min_alarm ro remote temperature 3 minimum threshold alarm
[all …]
H A Dina209.rst44 in0_max shunt voltage max alarm limit (mV)
45 in0_min shunt voltage min alarm limit (mV)
57 in1_max bus voltage max alarm limit (mV)
58 in1_min bus voltage min alarm limit (mV)
59 in1_crit_max bus voltage crit max alarm limit (mV)
60 in1_crit_min bus voltage crit min alarm limit (mV)
61 in1_max_alarm bus voltage max alarm limit exceeded
69 power1_max power max alarm limit (uW)
70 power1_crit power crit alarm limit (uW)
71 power1_max_alarm power max alarm limit exceeded
[all …]
H A Dir35221.rst42 curr1_max_alarm Current high alarm
47 curr[2-3]_crit_alarm Current critical high alarm
51 curr[2-3]_max_alarm Current high alarm
56 in1_crit_alarm Input voltage critical high alarm
60 in1_min_alarm Input voltage low alarm
65 in[2-3]_lcrit_alarm Output voltage critical low alarm
71 in[2-3]_max_alarm Output voltage high alarm
73 in[2-3]_min_alarm Output voltage low alarm
77 power1_alarm Input power high alarm
83 power[2-3]_max_alarm Output power high alarm
[all …]
H A Dmax20751.rst55 in1_min_alarm Input voltage low alarm.
56 in1_lcrit_alarm Input voltage critical low alarm.
57 in1_min_alarm Input voltage low alarm.
58 in1_max_alarm Input voltage high alarm.
66 in2_min_alarm Output voltage low alarm.
67 in2_lcrit_alarm Output voltage critical low alarm.
68 in2_min_alarm Output voltage low alarm.
69 in2_max_alarm Output voltage high alarm.
74 curr1_alarm Current high alarm.
79 temp1_max_alarm Chip temperature high alarm.
[all …]
H A Dpli1209bc.rst37 in1_max_alarm Input voltage high alarm.
39 in1_crit_alarm Input voltage critical alarm.
45 in2_alarm Output voltage alarm
50 curr1_max_alarm Maximum input current high alarm.
52 curr1_crit_alarm Input current critical alarm.
57 curr2_crit_alarm Output current critical alarm.
59 curr2_max_alarm Output current high alarm.
63 power1_alarm Input power alarm.
70 temp1_alarm Die temperature alarm.
72 temp1_max_alarm Die temperature high alarm.
[all …]
H A Dbpa-rs600.rst34 curr1_max_alarm Input current high alarm
39 curr2_max_alarm Output current high alarm
48 in1_max_alarm Input voltage high alarm
50 in1_min_alarm Input voltage low alarm
55 in2_max_alarm Output voltage high alarm
57 in2_min_alarm Output voltage low alarm
61 power1_alarm Input power alarm
67 power2_max_alarm Output power high alarm
70 temp1_alarm Temperature alarm
73 temp2_alarm Temperature alarm
H A Disl68137.rst437 curr1_crit_alarm Current critical high alarm
460 power1_alarm Input power high alarm
469 temp[1-3]_max_alarm Chip temperature high alarm
479 curr1_crit_alarm Current critical high alarm
484 curr2_crit_alarm Current critical high alarm
505 power1_alarm Input power high alarm
514 temp[1-3]_max_alarm Chip temperature high alarm
550 power[1-2]_alarm Input power high alarm
559 temp[1-5]_max_alarm Chip temperature high alarm
595 power[1-3]_alarm Input power high alarm
[all …]
H A Dacbel-fsg032.rst30 curr1_crit_alarm Input current critical alarm.
34 curr1_max_alarm Maximum input current high alarm.
37 curr2_crit_alarm Output current critical alarm.
41 curr2_max_alarm Output current high alarm.
50 in1_alarm Input voltage under-voltage alarm.
56 in2_crit_alarm Output voltage critical high alarm.
60 in2_lcrit_alarm Output voltage critical low alarm.
64 power1_alarm Input fault or alarm.
70 power2_crit_alarm Output power crit alarm limit exceeded.
74 power2_max_alarm Output power high alarm.
[all …]
H A Dinspur-ipsps1.rst32 curr1_max_alarm Current high alarm
36 curr2_crit_alarm Current critical high alarm
38 curr2_max_alarm Current high alarm
44 in1_alarm Input voltage under-voltage alarm.
50 in2_lcrit_alarm Output voltage critical low alarm
52 in2_max_alarm Output voltage high alarm
54 in2_min_alarm Output voltage low alarm
56 power1_alarm Input fault or alarm.
60 power2_max_alarm Output power high alarm
67 temp[1-3]_max_alarm Temperature high alarm
H A Dir38064.rst60 curr1_crit_alarm Current critical high alarm
62 curr1_max_alarm Current high alarm
67 in1_crit_alarm Input voltage critical high alarm
69 in1_min_alarm Input voltage low alarm
74 in2_lcrit_alarm Output voltage critical low alarm
76 in2_crit_alarm Output voltage critical high alarm
78 in2_max_alarm Output voltage high alarm
80 in2_min_alarm Output voltage low alarm
87 temp1_crit_alarm Chip temperature critical high alarm
89 temp1_max_alarm Chip temperature high alarm
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dbase.c71 struct nvkm_alarm *alarm, *atemp; in nvkm_timer_alarm_trigger() local
79 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger()
82 if (alarm->timestamp > nvkm_timer_read(tmr)) in nvkm_timer_alarm_trigger()
89 list_del_init(&alarm->head); in nvkm_timer_alarm_trigger()
90 list_add(&alarm->exec, &exec); in nvkm_timer_alarm_trigger()
100 list_del(&alarm->exec); in nvkm_timer_alarm_trigger()
101 alarm->func(alarm); in nvkm_timer_alarm_trigger()
117 list_del_init(&alarm->head); in nvkm_timer_alarm()
123 if (list->timestamp > alarm->timestamp) in nvkm_timer_alarm()
127 list_add_tail(&alarm->head, &list->head); in nvkm_timer_alarm()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Drtc-fsl-ftm-alarm.txt4 - compatible : Should be "fsl,<chip>-ftm-alarm", the
6 "fsl,ls1012a-ftm-alarm"
7 "fsl,ls1021a-ftm-alarm"
8 "fsl,ls1028a-ftm-alarm"
9 "fsl,ls1043a-ftm-alarm"
10 "fsl,ls1046a-ftm-alarm"
11 "fsl,ls1088a-ftm-alarm"
12 "fsl,ls208xa-ftm-alarm"
13 "fsl,lx2160a-ftm-alarm"
32 compatible = "fsl,ls1088a-ftm-alarm";
/openbmc/linux/tools/testing/selftests/rtc/
H A Drtctest.c252 struct rtc_wkalrm alarm = { 0 }; in TEST_F() local
269 alarm.enabled = 1; in TEST_F()
282 alarm.time.tm_mday, alarm.time.tm_mon + 1, in TEST_F()
283 alarm.time.tm_year + 1900, alarm.time.tm_hour, in TEST_F()
284 alarm.time.tm_min, alarm.time.tm_sec); in TEST_F()
362 struct rtc_wkalrm alarm = { 0 }; variable
376 secs = timegm((struct tm *)&alarm.time) + 60 - alarm.time.tm_sec;
379 alarm.enabled = 1;
392 alarm.time.tm_mday, alarm.time.tm_mon + 1,
393 alarm.time.tm_year + 1900, alarm.time.tm_hour,
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-platform-ACPI-TAD28 (RW) The AC alarm timer value.
30 Reads return the current AC alarm timer value in seconds or
31 "disabled", if the AC alarm is not set to wake up the system.
34 to set the AC alarm timer or to disable it, respectively.
36 If the AC alarm timer is set through this attribute and it
45 (RW) The AC alarm expired timer wake policy (see ACPI 6.2,
61 (RW) The AC alarm status.
75 Reads also cause the AC alarm timer status to be reset.
89 (RW,optional) The DC alarm timer value.
100 (RW,optional) The DC alarm expired timer wake policy.
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Sensor/Threshold/
H A DHardShutdown.interface.yaml41 HardShutdownAlarmHigh may be set to False to clear an alarm condition.
49 HardShutdownAlarmLow may be set to False to clear an alarm condition.
55 The high threshold alarm asserted.
60 The sensor value that triggered the alarm change.
63 The high threshold alarm deasserted.
68 The sensor value that triggered the alarm change.
71 The low threshold alarm asserted.
76 The sensor value that triggered the alarm change.
79 The low threshold alarm deasserted.
84 The sensor value that triggered the alarm change.
H A DWarning.interface.yaml40 WarningAlarmHigh may be set to False to clear an alarm condition. The
48 WarningAlarmLow may be set to False to clear an alarm condition. The
53 The high threshold alarm asserted.
58 The sensor value that triggered the alarm change.
61 The high threshold alarm deasserted.
66 The sensor value that triggered the alarm change.
69 The low threshold alarm asserted.
74 The sensor value that triggered the alarm change.
77 The low threshold alarm deasserted.
82 The sensor value that triggered the alarm change.
H A DPerformanceLoss.interface.yaml40 PerformanceLossAlarmHigh may be set to False to clear an alarm
49 PerformanceLossAlarmLow may be set to False to clear an alarm
55 The high threshold alarm asserted.
60 The sensor value that triggered the alarm change.
63 The high threshold alarm deasserted.
68 The sensor value that triggered the alarm change.
71 The low threshold alarm asserted.
76 The sensor value that triggered the alarm change.
79 The low threshold alarm deasserted.
84 The sensor value that triggered the alarm change.
H A DCritical.interface.yaml40 CriticalAlarmHigh may be set to False to clear an alarm condition. The
48 CriticalAlarmLow may be set to False to clear an alarm condition. The
53 The high threshold alarm asserted.
58 The sensor value that triggered the alarm change.
61 The high threshold alarm deasserted.
66 The sensor value that triggered the alarm change.
69 The low threshold alarm asserted.
74 The sensor value that triggered the alarm change.
77 The low threshold alarm deasserted.
82 The sensor value that triggered the alarm change.
H A DSoftShutdown.interface.yaml40 SoftShutdownAlarmHigh may be set to False to clear an alarm condition.
48 SoftShutdownAlarmLow may be set to False to clear an alarm condition.
54 The high threshold alarm asserted.
59 The sensor value that triggered the alarm change.
62 The high threshold alarm deasserted.
67 The sensor value that triggered the alarm change.
70 The low threshold alarm asserted.
75 The sensor value that triggered the alarm change.
78 The low threshold alarm deasserted.
83 The sensor value that triggered the alarm change.

12345678910>>...21