Home
last modified time | relevance | path

Searched refs:sev (Results 1 – 8 of 8) sorted by relevance

/drivers/media/v4l2-core/
Dv4l2-event.c33 static unsigned sev_pos(const struct v4l2_subscribed_event *sev, unsigned idx) in sev_pos() argument
35 idx += sev->first; in sev_pos()
36 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos()
59 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue()
60 kev->sev->in_use--; in __v4l2_event_dequeue()
99 struct v4l2_subscribed_event *sev; in v4l2_event_subscribed() local
103 list_for_each_entry(sev, &fh->subscribed, list) in v4l2_event_subscribed()
104 if (sev->type == type && sev->id == id) in v4l2_event_subscribed()
105 return sev; in v4l2_event_subscribed()
113 struct v4l2_subscribed_event *sev; in __v4l2_event_queue_fh() local
[all …]
Dv4l2-ctrls.c1234 struct v4l2_subscribed_event *sev; in send_event() local
1240 list_for_each_entry(sev, &ctrl->ev_subs, node) in send_event()
1241 if (sev->fh != fh || in send_event()
1242 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK)) in send_event()
1243 v4l2_event_queue_fh(sev->fh, &ev); in send_event()
1739 struct v4l2_subscribed_event *sev, *next_sev; in v4l2_ctrl_handler_free() local
1753 list_for_each_entry_safe(sev, next_sev, &ctrl->ev_subs, node) in v4l2_ctrl_handler_free()
1754 list_del(&sev->node); in v4l2_ctrl_handler_free()
3339 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in v4l2_ctrl_add_event() argument
3341 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
[all …]
/drivers/acpi/apei/
Dghes.c391 static void ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, int sev) in ghes_handle_memory_failure() argument
415 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure()
426 int sev, sec_sev; in ghes_do_proc() local
429 sev = ghes_severity(estatus->error_severity); in ghes_do_proc()
436 ghes_edac_report_mem_error(ghes, sev, mem_err); in ghes_do_proc()
438 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc()
439 ghes_handle_memory_failure(gdata, sev); in ghes_do_proc()
446 if (sev == GHES_SEV_RECOVERABLE && in ghes_do_proc()
455 aer_severity = cper_severity_to_aer(sev); in ghes_do_proc()
817 int sev, sev_global = -1; in ghes_notify_nmi() local
[all …]
Dapei-base.c755 void __weak arch_apei_report_mem_error(int sev, in arch_apei_report_mem_error() argument
/drivers/s390/char/
Dtape_3590.h94 unsigned int sev:2; member
106 unsigned int sev:2; member
Dtape_3590.c1268 "RC=%02x-%04x-%02x\n", sense->fmt.f70.sev, sense->mc, in tape_3590_print_era_msg()
1279 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
1290 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
/drivers/media/usb/uvc/
Duvc_ctrl.c1222 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1230 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1231 if (sev->fh && (sev->fh != &handle->vfh || in uvc_ctrl_send_event()
1232 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1234 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
1305 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument
1307 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1316 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
1322 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event()
1323 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
[all …]
/drivers/edac/
Dghes_edac.c188 void ghes_edac_report_mem_error(struct ghes *ghes, int sev, in ghes_edac_report_mem_error() argument
221 switch (sev) { in ghes_edac_report_mem_error()