Home
last modified time | relevance | path

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

12

/linux/drivers/media/v4l2-core/
A Dv4l2-event.c51 kev->sev->first = sev_pos(kev->sev, 1); in __v4l2_event_dequeue()
118 if (sev->in_use == sev->elems) { in __v4l2_event_queue_fh()
120 kev = sev->events + sev_pos(sev, 0); in __v4l2_event_queue_fh()
123 sev->first = sev_pos(sev, 1); in __v4l2_event_queue_fh()
126 if (sev->ops && sev->ops->replace) { in __v4l2_event_queue_fh()
132 sev->events + sev_pos(sev, 0); in __v4l2_event_queue_fh()
138 kev = sev->events + sev_pos(sev, sev->in_use); in __v4l2_event_queue_fh()
242 sev->events[i].sev = sev; in v4l2_event_subscribe()
262 ret = sev->ops->add(sev, elems); in v4l2_event_subscribe()
321 if (sev && sev->ops && sev->ops->del) in v4l2_event_unsubscribe()
[all …]
A Dv4l2-ctrls-api.c1143 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()
/linux/drivers/crypto/ccp/
A Dsev-dev.c68 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal()
84 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
101 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
190 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked()
979 sev = devm_kzalloc(dev, sizeof(*sev), GFP_KERNEL); in sev_dev_init()
980 if (!sev) in sev_dev_init()
994 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init()
1043 if (!sev) in sev_dev_destroy()
1070 if (!sev) in sev_pci_init()
1112 sev->api_minor, sev->build); in sev_pci_init()
[all …]
A DMakefile12 sev-dev.o \
A Dsp-pci.c304 .sev = &sevv1,
311 .sev = &sevv2,
/linux/arch/x86/kvm/svm/
A Dsev.c140 WARN_ON(sev->misc_cg); in sev_asid_new()
145 sev->misc_cg = NULL; in sev_asid_new()
177 sev->misc_cg = NULL; in sev_asid_new()
185 return sev->asid; in sev_get_asid()
206 sev->misc_cg = NULL; in sev_asid_free()
249 sev->active = true; in sev_guest_init()
254 sev->asid = asid; in sev_guest_init()
265 sev_asid_free(sev); in sev_guest_init()
266 sev->asid = 0; in sev_guest_init()
269 sev->active = false; in sev_guest_init()
[all …]
A Dsvm.h238 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local
240 return sev->active; in sev_guest()
249 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_es_guest() local
251 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()
/linux/include/ras/
A 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/include/media/
A 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/sound/core/seq/
A Dseq_queue.c622 struct snd_seq_event sev; in queue_broadcast_event() local
624 sev = *ev; in queue_broadcast_event()
626 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event()
627 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event()
628 sev.queue = q->queue; in queue_broadcast_event()
629 sev.data.queue.queue = q->queue; in queue_broadcast_event()
632 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event()
633 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event()
634 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event()
635 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
/linux/drivers/acpi/apei/
A Dghes.c464 int sev) in ghes_handle_memory_failure() argument
606 int sev) in ghes_defer_non_standard_event() argument
619 entry->error_severity = sev; in ghes_defer_non_standard_event()
628 int sev, sec_sev; in ghes_do_proc() local
635 sev = ghes_severity(estatus->error_severity); in ghes_do_proc()
648 ghes_edac_report_mem_error(sev, mem_err); in ghes_do_proc()
650 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc()
661 ghes_defer_non_standard_event(gdata, sev); in ghes_do_proc()
1035 int sev, rc; in ghes_in_nmi_queue_one_entry() local
1069 sev = ghes_severity(estatus->error_severity); in ghes_in_nmi_queue_one_entry()
[all …]
/linux/drivers/pci/pcie/
A Ddpc.c190 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()
A Daer.c252 u32 status, sev; in pci_aer_clear_nonfatal_status() local
259 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_nonfatal_status()
260 status &= ~sev; in pci_aer_clear_nonfatal_status()
271 u32 status, sev; in pci_aer_clear_fatal_status() local
278 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_fatal_status()
279 status &= sev; in pci_aer_clear_fatal_status()
/linux/include/linux/
A Dras.h26 const u8 sev, const u8 *err, const u32 len);
32 const u8 sev, const u8 *err, const u32 len) in log_non_standard_event() argument
/linux/arch/x86/kernel/acpi/
A 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/drivers/ras/
A 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/arch/arm64/kernel/
A Dsmp_spin_table.c100 sev(); in smp_spin_table_cpu_prepare()
117 sev(); in smp_spin_table_cpu_boot()
/linux/include/acpi/
A Dghes.h79 void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
86 static inline void ghes_edac_report_mem_error(int sev, in ghes_edac_report_mem_error() argument
A Dapei.h50 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
/linux/drivers/s390/char/
A Dtape_3590.h95 unsigned int sev:2; member
107 unsigned int sev:2; member
/linux/arch/x86/kernel/cpu/mce/
A Dseverity.c41 unsigned char sev; member
53 #define MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c }
402 if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) { in mce_severity_intel()
406 return s->sev; in mce_severity_intel()
/linux/drivers/media/usb/uvc/
A Duvc_ctrl.c1320 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1328 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1329 if (sev->fh != originator || in uvc_ctrl_send_event()
1330 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1332 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
1508 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
1514 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event()
1515 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
1527 sev->elems = elems; in uvc_ctrl_add_event()
1528 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_add_event()
[all …]
/linux/arch/arm/common/
A Dvlock.S37 sev
97 sev
/linux/arch/arm/mach-bcm/
A Dplatsmp.c196 sev(); in kona_boot_secondary()
310 sev(); in bcm2836_boot_secondary()
/linux/drivers/scsi/be2iscsi/
A 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()

Completed in 47 milliseconds

12