| /linux-6.15/drivers/media/v4l2-core/ |
| H A D | v4l2-event.c | 51 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() 243 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 …]
|
| H A D | v4l2-ctrls-api.c | 1276 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument 1279 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() 1285 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event() 1287 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event() 1288 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event() 1293 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument 1295 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() 1301 list_del(&sev->node); in v4l2_ctrl_del_event()
|
| /linux-6.15/drivers/crypto/ccp/ |
| H A D | sev-dev.c | 119 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 135 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 171 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 1304 sev->api_minor, sev->build); in __sev_platform_init_locked() 2248 if (!sev) in sev_dev_init() 2264 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init() 2346 if (!sev) in sev_dev_destroy() 2397 if (!sev) in sev_pci_init() 2416 sev->api_major, sev->api_minor, sev->build); in sev_pci_init() 2426 "-SNP" : "", sev->api_major, sev->api_minor, sev->build); in sev_pci_init() [all …]
|
| H A D | sp-pci.c | 394 .sev = &sevv1, 402 .sev = &sevv2, 426 .sev = &sevv2, 449 .sev = &sevv2,
|
| /linux-6.15/tools/testing/selftests/timers/ |
| H A D | posix_timers.c | 263 struct sigevent sev; in check_sig_ign() local 286 memset(&sev, 0, sizeof(sev)); in check_sig_ign() 348 struct sigevent sev; in check_rearm() local 364 memset(&sev, 0, sizeof(sev)); in check_rearm() 404 struct sigevent sev; in check_delete() local 420 memset(&sev, 0, sizeof(sev)); in check_delete() 460 struct sigevent sev; in check_sigev_none() local 463 memset(&sev, 0, sizeof(sev)); in check_sigev_none() 498 struct sigevent sev; in check_gettime() local 509 memset(&sev, 0, sizeof(sev)); in check_gettime() [all …]
|
| /linux-6.15/arch/x86/kvm/svm/ |
| H A D | sev.c | 191 WARN_ON(sev->misc_cg); in sev_asid_new() 196 sev->misc_cg = NULL; in sev_asid_new() 218 sev->asid = asid; in sev_asid_new() 223 sev->misc_cg = NULL; in sev_asid_new() 250 sev->misc_cg = NULL; in sev_asid_free() 425 sev->active = true; in __sev_guest_init() 435 if (sev->es_active && !sev->ghcb_version) in __sev_guest_init() 467 sev_asid_free(sev); in __sev_guest_init() 468 sev->asid = 0; in __sev_guest_init() 472 sev->active = false; in __sev_guest_init() [all …]
|
| /linux-6.15/include/ras/ |
| H A D | ras_event.h | 32 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.15/Documentation/virt/coco/ |
| H A D | sev-guest.rst | 40 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest 70 The host ioctls are issued to a file descriptor of the /dev/sev device. 82 /* Firmware error code on failure (see psp-sev.h) */ 90 :Technology: sev-snp 105 :Technology: sev-snp 124 :Technology: sev-snp 146 :Technology: sev-snp 157 :Technology: sev-snp 168 :Technology: sev-snp 181 :Technology: sev-snp [all …]
|
| /linux-6.15/include/media/ |
| H A D | v4l2-event.h | 33 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.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_cper.c | 58 enum cper_error_severity sev) in amdgpu_cper_entry_fill_hdr() argument 68 hdr->error_severity = sev; in amdgpu_cper_entry_fill_hdr() 97 if (sev == CPER_SEV_NON_FATAL_CORRECTED) in amdgpu_cper_entry_fill_hdr() 114 enum cper_error_severity sev, in amdgpu_cper_entry_fill_section_desc() argument 125 section_desc->severity = sev; in amdgpu_cper_entry_fill_section_desc() 169 enum cper_error_severity sev, in amdgpu_cper_entry_fill_runtime_section() argument 177 poison = (sev == CPER_SEV_NON_FATAL_CORRECTED) ? false : true; in amdgpu_cper_entry_fill_runtime_section() 183 sev, RUNTIME, NONSTD_SEC_LEN, in amdgpu_cper_entry_fill_runtime_section() 361 enum cper_error_severity sev = CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_generate_ce_records() local 379 sev = CPER_SEV_NON_FATAL_UNCORRECTED; in amdgpu_cper_generate_ce_records() [all …]
|
| H A D | amdgpu_cper.h | 73 enum cper_error_severity sev); 81 enum cper_error_severity sev,
|
| /linux-6.15/sound/core/seq/ |
| H A D | seq_queue.c | 611 struct snd_seq_event sev; in queue_broadcast_event() local 613 sev = *ev; in queue_broadcast_event() 615 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event() 616 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 617 sev.queue = q->queue; in queue_broadcast_event() 618 sev.data.queue.queue = q->queue; in queue_broadcast_event() 621 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event() 622 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event() 623 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event() 624 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
|
| /linux-6.15/arch/x86/kernel/acpi/ |
| H A D | apei.c | 40 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.15/include/linux/ |
| H A D | ras.h | 26 const u8 sev, const u8 *err, const u32 len); 33 const u8 sev, const u8 *err, const u32 len) in log_non_standard_event() argument
|
| /linux-6.15/drivers/ras/ |
| H A D | ras.c | 49 const char *fru_text, const u8 sev, const u8 *err, in log_non_standard_event() argument 52 trace_non_standard_event(sec_type, fru_id, fru_text, sev, err, len); in log_non_standard_event()
|
| /linux-6.15/arch/arm64/kernel/ |
| H A D | smp_spin_table.c | 100 sev(); in smp_spin_table_cpu_prepare() 117 sev(); in smp_spin_table_cpu_boot()
|
| /linux-6.15/drivers/pci/pcie/ |
| H A D | dpc.c | 193 u32 status, mask, sev, syserr, exc, log; in dpc_process_rp_pio_error() local 202 pci_read_config_dword(pdev, cap + PCI_EXP_DPC_RP_PIO_SEVERITY, &sev); in dpc_process_rp_pio_error() 206 sev, syserr, exc); in dpc_process_rp_pio_error() 240 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local 248 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity() 249 status &= sev; in dpc_get_aer_uncorrect_severity()
|
| /linux-6.15/drivers/acpi/apei/ |
| H A D | ghes.c | 507 int sev, bool sync) in ghes_handle_memory_failure() argument 530 int sev, bool sync) in ghes_handle_arm_hw_error() argument 658 int sev) in ghes_defer_non_standard_event() argument 671 entry->error_severity = sev; in ghes_defer_non_standard_event() 848 int sev, sec_sev; in ghes_do_proc() local 856 sev = ghes_severity(estatus->error_severity); in ghes_do_proc() 871 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc() 898 ghes_defer_non_standard_event(gdata, sev); in ghes_do_proc() 1280 int sev, rc; in ghes_in_nmi_queue_one_entry() local 1314 sev = ghes_severity(estatus->error_severity); in ghes_in_nmi_queue_one_entry() [all …]
|
| /linux-6.15/drivers/s390/char/ |
| H A D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
| /linux-6.15/Documentation/security/secrets/ |
| H A D | coco.rst | 37 ``KVM_SEV_LAUNCH_SECRET`` command (see [sev]_). The structure 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.15/arch/riscv/boot/dts/microchip/ |
| H A D | mpfs-sev-kit.dts | 7 #include "mpfs-sev-kit-fabric.dtsi" 13 compatible = "microchip,mpfs-sev-kit", "microchip,mpfs";
|
| /linux-6.15/arch/arm/common/ |
| H A D | vlock.S | 39 sev 99 sev
|
| /linux-6.15/drivers/virt/coco/sev-guest/ |
| H A D | Makefile | 2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
|
| /linux-6.15/arch/x86/virt/svm/ |
| H A D | Makefile | 3 obj-$(CONFIG_KVM_AMD_SEV) += sev.o
|
| /linux-6.15/arch/x86/coco/ |
| H A D | Makefile | 9 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/
|