/linux-6.12.1/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 | 1233 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument 1236 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() 1242 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event() 1244 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event() 1245 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event() 1250 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument 1252 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() 1258 list_del(&sev->node); in v4l2_ctrl_del_event()
|
/linux-6.12.1/drivers/crypto/ccp/ |
D | sev-dev.c | 114 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local 116 if (sev->api_major > maj) in sev_version_greater_or_equal() 119 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 127 struct sev_device *sev = data; in sev_irq_handler() local 135 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 137 sev->int_rcvd = 1; in sev_irq_handler() 138 wake_up(&sev->int_queue); in sev_irq_handler() 142 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument 157 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 166 ret = wait_event_timeout(sev->int_queue, in sev_wait_cmd_ioc() [all …]
|
D | sp-pci.c | 391 .sev = &sevv1, 399 .sev = &sevv2, 423 .sev = &sevv2, 446 .sev = &sevv2,
|
/linux-6.12.1/tools/testing/selftests/timers/ |
D | posix_timers.c | 263 struct sigevent sev; in check_sig_ign() local 286 memset(&sev, 0, sizeof(sev)); in check_sig_ign() 287 sev.sigev_notify = SIGEV_SIGNAL; in check_sig_ign() 288 sev.sigev_signo = SIGUSR1; in check_sig_ign() 289 sev.sigev_value.sival_ptr = &tsig; in check_sig_ign() 291 sev.sigev_notify = SIGEV_THREAD_ID; in check_sig_ign() 292 sev._sigev_un._tid = tid; in check_sig_ign() 295 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) in check_sig_ign() 348 struct sigevent sev; in check_rearm() local 364 memset(&sev, 0, sizeof(sev)); in check_rearm() [all …]
|
/linux-6.12.1/arch/x86/kvm/svm/ |
D | sev.c | 46 module_param_named(sev, sev_enabled, bool, 0444); 143 struct kvm_sev_info *sev = &to_kvm_svm(vcpu->kvm)->sev_info; in sev_vcpu_has_debug_swap() local 145 return sev->vmsa_features & SVM_SEV_FEAT_DEBUG_SWAP; in sev_vcpu_has_debug_swap() 162 static int sev_misc_cg_try_charge(struct kvm_sev_info *sev) in sev_misc_cg_try_charge() argument 164 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_try_charge() 165 return misc_cg_try_charge(type, sev->misc_cg, 1); in sev_misc_cg_try_charge() 168 static void sev_misc_cg_uncharge(struct kvm_sev_info *sev) in sev_misc_cg_uncharge() argument 170 enum misc_res_type type = sev->es_active ? MISC_CG_RES_SEV_ES : MISC_CG_RES_SEV; in sev_misc_cg_uncharge() 171 misc_cg_uncharge(type, sev->misc_cg, 1); in sev_misc_cg_uncharge() 174 static int sev_asid_new(struct kvm_sev_info *sev) in sev_asid_new() argument [all …]
|
D | svm.h | 364 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local 366 return sev->active; in sev_guest() 375 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_es_guest() local 377 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest() 386 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_snp_guest() local 388 return (sev->vmsa_features & SVM_SEV_FEAT_SNP_ACTIVE) && in sev_snp_guest()
|
/linux-6.12.1/include/ras/ |
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.12.1/Documentation/virt/coco/ |
D | sev-guest.rst | 40 The guest ioctl should be issued on a file descriptor of the /dev/sev-guest 60 /* bits[63:32]: VMM error code, bits[31:0] firmware error code (see psp-sev.h) */ 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 [all …]
|
/linux-6.12.1/include/media/ |
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.12.1/sound/core/seq/ |
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.12.1/arch/x86/kernel/acpi/ |
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.12.1/drivers/acpi/apei/ |
D | ghes.c | 509 int sev, bool sync) in ghes_handle_memory_failure() argument 522 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure() 532 int sev, bool sync) in ghes_handle_arm_hw_error() argument 543 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error() 660 int sev) in ghes_defer_non_standard_event() argument 673 entry->error_severity = sev; in ghes_defer_non_standard_event() 751 int sev, sec_sev; in ghes_do_proc() local 759 sev = ghes_severity(estatus->error_severity); in ghes_do_proc() 772 atomic_notifier_call_chain(&ghes_report_chain, sev, mem_err); in ghes_do_proc() 774 arch_apei_report_mem_error(sev, mem_err); in ghes_do_proc() [all …]
|
/linux-6.12.1/include/linux/ |
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.12.1/drivers/ras/ |
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.12.1/drivers/pci/pcie/ |
D | dpc.c | 193 u32 status, mask, sev, syserr, exc, log, prefix; 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() 242 u32 status, mask, sev; in dpc_get_aer_uncorrect_severity() local 250 pci_read_config_dword(dev, pos + PCI_ERR_UNCOR_SEVER, &sev); in dpc_get_aer_uncorrect_severity() 251 status &= sev; in dpc_get_aer_uncorrect_severity()
|
/linux-6.12.1/arch/arm64/kernel/ |
D | smp_spin_table.c | 100 sev(); in smp_spin_table_cpu_prepare() 117 sev(); in smp_spin_table_cpu_boot()
|
/linux-6.12.1/drivers/s390/char/ |
D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
/linux-6.12.1/Documentation/security/secrets/ |
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.12.1/arch/arm/common/ |
D | vlock.S | 39 sev 99 sev
|
/linux-6.12.1/arch/riscv/boot/dts/microchip/ |
D | mpfs-sev-kit.dts | 7 #include "mpfs-sev-kit-fabric.dtsi" 13 compatible = "microchip,mpfs-sev-kit", "microchip,mpfs";
|
/linux-6.12.1/arch/x86/virt/svm/ |
D | Makefile | 3 obj-$(CONFIG_KVM_AMD_SEV) += sev.o
|
/linux-6.12.1/drivers/virt/coco/sev-guest/ |
D | Makefile | 2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
|
/linux-6.12.1/drivers/virt/coco/ |
D | Makefile | 8 obj-$(CONFIG_SEV_GUEST) += sev-guest/
|
/linux-6.12.1/arch/x86/coco/ |
D | Makefile | 9 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/
|