Lines Matching refs:alarm
900 * @alarm: The soctherm throttle id
904 * Enables a specific over-current pins @alarm to raise an interrupt if the flag
905 * is set and the alarm corresponds to OC1, OC2, OC3, or OC4.
908 enum soctherm_throttle_id alarm,
917 switch (alarm) {
939 * @alarm: The soctherm throttle id
944 * Return: -EINVAL for @alarm = THROTTLE_OC3, otherwise 0 (success).
946 static int soctherm_handle_alarm(enum soctherm_throttle_id alarm)
950 switch (alarm) {
952 pr_debug("soctherm: Successfully handled OC1 alarm\n");
957 pr_debug("soctherm: Successfully handled OC2 alarm\n");
962 pr_debug("soctherm: Successfully handled OC3 alarm\n");
967 pr_debug("soctherm: Successfully handled OC4 alarm\n");
976 pr_err("soctherm: ERROR in handling %s alarm\n",
977 throt_names[alarm]);
1597 if (!of_property_read_u32(np_oc, "nvidia,alarm-filter", &val))