/drivers/media/v4l2-core/ |
D | v4l2-event.c | 21 static unsigned int sev_pos(const struct v4l2_subscribed_event *sev, unsigned int idx) in sev_pos() argument 23 idx += sev->first; in sev_pos() 24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos() 51 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue() 52 kev->sev->in_use--; in __v4l2_event_dequeue() 91 struct v4l2_subscribed_event *sev; in v4l2_event_subscribed() local 95 list_for_each_entry(sev, &fh->subscribed, list) in v4l2_event_subscribed() 96 if (sev->type == type && sev->id == id) in v4l2_event_subscribed() 97 return sev; in v4l2_event_subscribed() 105 struct v4l2_subscribed_event *sev; in __v4l2_event_queue_fh() local [all …]
|
D | v4l2-ctrls-api.c | 1143 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument 1146 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() 1152 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event() 1154 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event() 1155 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event() 1160 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument 1162 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() 1168 list_del(&sev->node); in v4l2_ctrl_del_event()
|
D | v4l2-ctrls-core.c | 56 struct v4l2_subscribed_event *sev; in send_event() local 62 list_for_each_entry(sev, &ctrl->ev_subs, node) in send_event() 63 if (sev->fh != fh || in send_event() 64 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK)) in send_event() 65 v4l2_event_queue_fh(sev->fh, &ev); in send_event() 972 struct v4l2_subscribed_event *sev, *next_sev; in v4l2_ctrl_handler_free() local 988 list_for_each_entry_safe(sev, next_sev, &ctrl->ev_subs, node) in v4l2_ctrl_handler_free() 989 list_del(&sev->node); in v4l2_ctrl_handler_free()
|
/drivers/crypto/ccp/ |
D | sev-dev.c | 64 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local 66 if (sev->api_major > maj) in sev_version_greater_or_equal() 69 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 77 struct sev_device *sev = data; in sev_irq_handler() local 85 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 87 sev->int_rcvd = 1; in sev_irq_handler() 88 wake_up(&sev->int_queue); in sev_irq_handler() 92 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument 97 ret = wait_event_timeout(sev->int_queue, in sev_wait_cmd_ioc() 98 sev->int_rcvd, timeout * HZ); in sev_wait_cmd_ioc() [all …]
|
D | sp-pci.c | 304 .sev = &sevv1, 311 .sev = &sevv2, 325 .sev = &sevv2,
|
D | Makefile | 12 sev-dev.o \
|
D | sp-dev.h | 57 const struct sev_vdata *sev; member
|
/drivers/acpi/apei/ |
D | ghes.c | 478 int sev, bool sync) in ghes_handle_memory_failure() argument 491 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure() 501 int sev, bool sync) in ghes_handle_arm_hw_error() argument 512 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error() 622 int sev) in ghes_defer_non_standard_event() argument 635 entry->error_severity = sev; in ghes_defer_non_standard_event() 644 int sev, sec_sev; in ghes_do_proc() local 652 sev = ghes_severity(estatus->error_severity); in ghes_do_proc() 665 ghes_edac_report_mem_error(sev, mem_err); in ghes_do_proc() 667 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc() [all …]
|
D | apei-base.c | 773 void __weak arch_apei_report_mem_error(int sev, in arch_apei_report_mem_error() argument
|
/drivers/pci/pcie/ |
D | dpc.c | 190 u32 status, mask, sev, syserr, exc, dw0, dw1, dw2, dw3, log, prefix; in dpc_process_rp_pio_error() local 198 pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_SEVERITY, &sev); in dpc_process_rp_pio_error() 202 sev, syserr, exc); in dpc_process_rp_pio_error() 245 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local 253 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity() 254 status &= sev; in dpc_get_aer_uncorrect_severity()
|
D | aer.c | 257 u32 status, sev; in pci_aer_clear_nonfatal_status() local 264 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_nonfatal_status() 265 status &= ~sev; in pci_aer_clear_nonfatal_status() 276 u32 status, sev; in pci_aer_clear_fatal_status() local 283 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_fatal_status() 284 status &= sev; in pci_aer_clear_fatal_status()
|
/drivers/ras/ |
D | ras.c | 18 const char *fru_text, const u8 sev, const u8 *err, in log_non_standard_event() argument 21 trace_non_standard_event(sec_type, fru_id, fru_text, sev, err, len); in log_non_standard_event()
|
/drivers/s390/char/ |
D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
D | tape_3590.c | 1264 "RC=%02x-%04x-%02x\n", sense->fmt.f70.sev, sense->mc, in tape_3590_print_era_msg() 1275 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg() 1286 sense->fmt.f71.sev, device->cdev->id.dev_model, in tape_3590_print_era_msg()
|
/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 1382 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local 1390 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event() 1391 if (sev->fh != originator || in uvc_ctrl_send_event() 1392 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event() 1394 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event() 1558 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument 1560 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event() 1569 if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0) { in uvc_ctrl_add_event() 1574 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event() 1580 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event() [all …]
|
/drivers/scsi/be2iscsi/ |
D | be_cmds.c | 405 char *sev = KERN_WARNING; in beiscsi_process_async_sli() local 440 sev = KERN_INFO; in beiscsi_process_async_sli() 443 sev = KERN_ERR; in beiscsi_process_async_sli() 447 __beiscsi_log(phba, sev, "BC_%d : Port %c: %s%s\n", in beiscsi_process_async_sli() 456 char *sev = KERN_INFO; in beiscsi_process_async_event() local 469 sev = KERN_ERR; in beiscsi_process_async_event() 476 sev = KERN_ERR; in beiscsi_process_async_event() 479 beiscsi_log(phba, sev, BEISCSI_LOG_CONFIG | BEISCSI_LOG_MBOX, in beiscsi_process_async_event()
|
/drivers/edac/ |
D | ghes_edac.c | 243 void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err) in ghes_edac_report_mem_error() argument 280 switch (sev) { in ghes_edac_report_mem_error()
|