Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/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.c1223 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument
1226 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
1232 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event()
1234 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event()
1235 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event()
1240 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument
1242 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()
1248 list_del(&sev->node); in v4l2_ctrl_del_event()
/linux-6.3-rc2/drivers/crypto/ccp/
A Dsev-dev.c88 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal()
104 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
121 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
498 sev->api_minor, sev->build); in __sev_platform_init_locked()
520 if (!sev || sev->state == SEV_STATE_UNINIT) in __sev_platform_shutdown_locked()
1218 sev = devm_kzalloc(dev, sizeof(*sev), GFP_KERNEL); in sev_dev_init()
1219 if (!sev) in sev_dev_init()
1233 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init()
1288 if (!sev) in sev_dev_destroy()
1314 if (!sev) in sev_pci_init()
[all …]
/linux-6.3-rc2/arch/x86/kvm/svm/
A Dsev.c142 WARN_ON(sev->misc_cg); in sev_asid_new()
147 sev->misc_cg = NULL; in sev_asid_new()
179 sev->misc_cg = NULL; in sev_asid_new()
187 return sev->asid; in sev_get_asid()
208 sev->misc_cg = NULL; in sev_asid_free()
251 sev->active = true; in sev_guest_init()
256 sev->asid = asid; in sev_guest_init()
270 sev_asid_free(sev); in sev_guest_init()
271 sev->asid = 0; in sev_guest_init()
274 sev->active = false; in sev_guest_init()
[all …]
A Dsvm.h327 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local
329 return sev->active; in sev_guest()
338 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_es_guest() local
340 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/sound/core/seq/
A Dseq_queue.c632 struct snd_seq_event sev; in queue_broadcast_event() local
634 sev = *ev; in queue_broadcast_event()
636 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event()
637 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event()
638 sev.queue = q->queue; in queue_broadcast_event()
639 sev.data.queue.queue = q->queue; in queue_broadcast_event()
642 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event()
643 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event()
644 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event()
645 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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()
/linux-6.3-rc2/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-6.3-rc2/drivers/acpi/apei/
A Dghes.c480 int sev) in ghes_handle_memory_failure() argument
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
651 sev = ghes_severity(estatus->error_severity); in ghes_do_proc()
666 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc()
673 queued = ghes_handle_arm_hw_error(gdata, sev); in ghes_do_proc()
677 ghes_defer_non_standard_event(gdata, sev); in ghes_do_proc()
1057 int sev, rc; in ghes_in_nmi_queue_one_entry() local
1091 sev = ghes_severity(estatus->error_severity); in ghes_in_nmi_queue_one_entry()
[all …]
/linux-6.3-rc2/arch/arm64/kernel/
A Dsmp_spin_table.c100 sev(); in smp_spin_table_cpu_prepare()
117 sev(); in smp_spin_table_cpu_boot()
/linux-6.3-rc2/Documentation/virt/coco/
A Dsev-guest.rst40 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest device.
60 /* firmware error code on failure (see psp-sev.h) */
67 :Technology: sev-snp
82 :Technology: sev-snp
101 :Technology: sev-snp
153 SEV-SNP and GHCB specification: developer.amd.com/sev
/linux-6.3-rc2/drivers/s390/char/
A Dtape_3590.h95 unsigned int sev:2; member
107 unsigned int sev:2; member
/linux-6.3-rc2/Documentation/security/secrets/
A Dcoco.rst37 ``KVM_SEV_LAUNCH_SECRET`` command (see [sev]_). The strucutre of the injected
99 See [sev-api-spec]_ for more info regarding SEV ``LAUNCH_SECRET`` operation.
101 .. [sev] Documentation/virt/kvm/x86/amd-memory-encryption.rst citation in References
103 .. [sev-api-spec] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
/linux-6.3-rc2/arch/riscv/boot/dts/microchip/
A Dmpfs-sev-kit.dts7 #include "mpfs-sev-kit-fabric.dtsi"
16 compatible = "microchip,mpfs-sev-kit", "microchip,mpfs";
A DMakefile5 dtb-$(CONFIG_ARCH_MICROCHIP_POLARFIRE) += mpfs-sev-kit.dtb
/linux-6.3-rc2/arch/arm/common/
A Dvlock.S39 sev
99 sev
/linux-6.3-rc2/drivers/virt/coco/sev-guest/
A DMakefile2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
/linux-6.3-rc2/arch/arm/mach-bcm/
A Dplatsmp.c196 sev(); in kona_boot_secondary()
310 sev(); in bcm2836_boot_secondary()
/linux-6.3-rc2/drivers/virt/
A DMakefile13 obj-$(CONFIG_SEV_GUEST) += coco/sev-guest/
/linux-6.3-rc2/drivers/media/usb/uvc/
A Duvc_ctrl.c1493 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1501 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1502 if (sev->fh != originator || in uvc_ctrl_send_event()
1503 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1505 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
1685 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
1691 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event()
1692 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
1706 sev->elems = elems; in uvc_ctrl_add_event()
1707 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_add_event()
[all …]
/linux-6.3-rc2/Documentation/virt/
A Dindex.rst16 coco/sev-guest

Completed in 56 milliseconds

123