Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-event.c21 static unsigned sev_pos(const struct v4l2_subscribed_event *sev, unsigned idx) in sev_pos() argument
23 idx += sev->first; in sev_pos()
24 return idx >= sev->elems ? idx - sev->elems : idx; in sev_pos()
48 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue()
49 kev->sev->in_use--; in __v4l2_event_dequeue()
88 struct v4l2_subscribed_event *sev; in v4l2_event_subscribed() local
92 list_for_each_entry(sev, &fh->subscribed, list) in v4l2_event_subscribed()
93 if (sev->type == type && sev->id == id) in v4l2_event_subscribed()
94 return sev; in v4l2_event_subscribed()
102 struct v4l2_subscribed_event *sev; in __v4l2_event_queue_fh() local
[all …]
Dv4l2-ctrls.c1488 struct v4l2_subscribed_event *sev; in send_event() local
1494 list_for_each_entry(sev, &ctrl->ev_subs, node) in send_event()
1495 if (sev->fh != fh || in send_event()
1496 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK)) in send_event()
1497 v4l2_event_queue_fh(sev->fh, &ev); in send_event()
2152 struct v4l2_subscribed_event *sev, *next_sev; in v4l2_ctrl_handler_free() local
2174 list_for_each_entry_safe(sev, next_sev, &ctrl->ev_subs, node) in v4l2_ctrl_handler_free()
2175 list_del(&sev->node); in v4l2_ctrl_handler_free()
4315 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in v4l2_ctrl_add_event() argument
4317 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
[all …]
/Linux-v5.4/include/ras/
Dras_event.h32 u8 sev),
34 TP_ARGS(mem, err_seq, fru_id, fru_text, sev),
39 __field(u8, sev)
53 __entry->sev = sev;
70 cper_severity_str(__entry->sev),
224 const u8 sev,
228 TP_ARGS(sec_type, fru_id, fru_text, sev, err, len),
234 __field(u8, sev)
243 __entry->sev = sev;
249 __entry->sev, __entry->sec_type,
/Linux-v5.4/include/media/
Dv4l2-event.h33 struct v4l2_subscribed_event *sev; member
47 int (*add)(struct v4l2_subscribed_event *sev, unsigned int elems);
48 void (*del)(struct v4l2_subscribed_event *sev);
/Linux-v5.4/sound/core/seq/
Dseq_queue.c635 struct snd_seq_event sev; in queue_broadcast_event() local
637 sev = *ev; in queue_broadcast_event()
639 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event()
640 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event()
641 sev.queue = q->queue; in queue_broadcast_event()
642 sev.data.queue.queue = q->queue; in queue_broadcast_event()
645 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event()
646 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event()
647 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event()
648 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
/Linux-v5.4/arch/x86/kernel/acpi/
Dapei.c40 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err) in arch_apei_report_mem_error() argument
43 apei_mce_report_mem_error(sev, mem_err); in arch_apei_report_mem_error()
/Linux-v5.4/drivers/ras/
Dras.c18 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()
/Linux-v5.4/include/linux/
Dras.h31 const u8 sev, const u8 *err, const u32 len);
37 const u8 sev, const u8 *err, const u32 len) in log_non_standard_event() argument
/Linux-v5.4/drivers/pci/pcie/
Ddpc.c154 u32 status, mask, sev, syserr, exc, dw0, dw1, dw2, dw3, log, prefix; in dpc_process_rp_pio_error() local
162 pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_SEVERITY, &sev); in dpc_process_rp_pio_error()
166 sev, syserr, exc); in dpc_process_rp_pio_error()
209 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local
217 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity()
218 status &= sev; in dpc_get_aer_uncorrect_severity()
Daer.c380 u32 status, sev; in pci_cleanup_aer_uncorrect_error_status() local
391 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in pci_cleanup_aer_uncorrect_error_status()
392 status &= ~sev; in pci_cleanup_aer_uncorrect_error_status()
403 u32 status, sev; in pci_aer_clear_fatal_status() local
414 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_fatal_status()
415 status &= sev; in pci_aer_clear_fatal_status()
/Linux-v5.4/arch/arm64/kernel/
Dsmp_spin_table.c98 sev(); in smp_spin_table_cpu_prepare()
115 sev(); in smp_spin_table_cpu_boot()
/Linux-v5.4/include/acpi/
Dghes.h58 void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
65 static inline void ghes_edac_report_mem_error(int sev, in ghes_edac_report_mem_error() argument
Dapei.h53 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
/Linux-v5.4/drivers/s390/char/
Dtape_3590.h95 unsigned int sev:2; member
107 unsigned int sev:2; member
/Linux-v5.4/arch/x86/kernel/cpu/mce/
Dseverity.c36 unsigned char sev; member
45 #define MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c }
326 if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) { in mce_severity_intel()
330 return s->sev; in mce_severity_intel()
/Linux-v5.4/drivers/acpi/apei/
Dghes.c417 static void ghes_handle_memory_failure(struct acpi_hest_generic_data *gdata, int sev) in ghes_handle_memory_failure() argument
440 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure()
496 int sev, sec_sev; in ghes_do_proc() local
502 sev = ghes_severity(estatus->error_severity); in ghes_do_proc()
515 ghes_edac_report_mem_error(sev, mem_err); in ghes_do_proc()
517 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc()
518 ghes_handle_memory_failure(gdata, sev); in ghes_do_proc()
887 int sev, rc; in ghes_in_nmi_queue_one_entry() local
920 sev = ghes_severity(estatus->error_severity); in ghes_in_nmi_queue_one_entry()
921 if (sev >= GHES_SEV_PANIC) { in ghes_in_nmi_queue_one_entry()
/Linux-v5.4/arch/arm/common/
Dvlock.S37 sev
97 sev
Dmcpm_entry.c52 sev(); in __mcpm_cpu_down()
68 sev(); in __mcpm_outbound_leave_critical()
/Linux-v5.4/drivers/media/usb/uvc/
Duvc_ctrl.c1235 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1243 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1244 if (sev->fh != originator || in uvc_ctrl_send_event()
1245 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1247 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
1402 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument
1404 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
1413 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
1419 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event()
1420 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
[all …]
/Linux-v5.4/arch/arm/mach-bcm/
Dplatsmp.c194 sev(); in kona_boot_secondary()
308 sev(); in bcm2836_boot_secondary()
/Linux-v5.4/arch/x86/kvm/
Dsvm.c378 static int sev = IS_ENABLED(CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT);
379 module_param(sev, int, 0444);
448 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local
450 return sev->active; in sev_guest()
458 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_get_asid() local
460 return sev->asid; in sev_get_asid()
1344 if (sev) { in svm_hardware_setup()
1349 sev = false; in svm_hardware_setup()
1351 sev = false; in svm_hardware_setup()
1748 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_asid_free() local
[all …]
/Linux-v5.4/arch/arm/include/asm/
Dbarrier.h11 #define sev() __asm__ __volatile__ ("sev" : : : "memory") macro
Dspinlock.h39 #define SEV __ALT_SMP_ASM(WASM(sev), WASM(nop))
/Linux-v5.4/arch/arm64/include/asm/
Dbarrier.h17 #define sev() asm volatile("sev" : : : "memory") macro
/Linux-v5.4/drivers/scsi/be2iscsi/
Dbe_cmds.c405 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()

12