Home
last modified time | relevance | path

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

12

/linux/drivers/media/v4l2-core/
H A Dv4l2-event.c21 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 …]
H A Dv4l2-ctrls-api.c1277 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument
1280 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event()
1286 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event()
1288 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event()
1289 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event()
1294 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument
1296 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event()
1302 list_del(&sev->node); in v4l2_ctrl_del_event()
/linux/drivers/crypto/ccp/
H A Dsev-dev.c130 static void __sev_firmware_shutdown(struct sev_device *sev, bool panic);
141 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local
143 if (sev->api_major > maj) in sev_version_greater_or_equal()
146 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal()
154 struct sev_device *sev = data; in sev_irq_handler() local
162 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler()
164 sev->int_rcvd = 1; in sev_irq_handler()
165 wake_up(&sev->int_queue); in sev_irq_handler()
169 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument
184 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc()
[all …]
H A Dsev-dev-tsm.c208 static struct pci_tsm *tio_pf0_probe(struct pci_dev *pdev, struct sev_device *sev) in tio_pf0_probe() argument
216 rc = pci_tsm_pf0_constructor(pdev, &dsm->tsm, sev->tsmdev); in tio_pf0_probe()
221 dsm->sev = sev; in tio_pf0_probe()
227 struct sev_device *sev = tsm_dev_to_sev(tsmdev); in dsm_probe() local
230 return tio_pf0_probe(pdev, sev); in dsm_probe()
342 void sev_tsm_init_locked(struct sev_device *sev, void *tio_status_page) in sev_tsm_init_locked() argument
348 WARN_ON(sev->tio_status); in sev_tsm_init_locked()
359 tsmdev = tsm_register(sev->dev, &sev_tsm_ops); in sev_tsm_init_locked()
375 sev->tsmdev = tsmdev; in sev_tsm_init_locked()
376 sev->tio_status = t; in sev_tsm_init_locked()
[all …]
H A DMakefile12 sev-dev.o \
20 ccp-$(CONFIG_CRYPTO_DEV_SP_PSP) += sev-dev-tsm.o sev-dev-tio.o
H A Dsev-dev.h82 void sev_tsm_init_locked(struct sev_device *sev, void *tio_status_page);
83 void sev_tsm_uninit(struct sev_device *sev);
/linux/tools/testing/selftests/timers/
H A Dposix_timers.c264 struct sigevent sev; in check_sig_ign() local
287 memset(&sev, 0, sizeof(sev)); in check_sig_ign()
288 sev.sigev_notify = SIGEV_SIGNAL; in check_sig_ign()
289 sev.sigev_signo = SIGUSR1; in check_sig_ign()
290 sev.sigev_value.sival_ptr = &tsig; in check_sig_ign()
292 sev.sigev_notify = SIGEV_THREAD_ID; in check_sig_ign()
293 sev._sigev_un._tid = tid; in check_sig_ign()
296 if (timer_create(CLOCK_MONOTONIC, &sev, &timerid)) in check_sig_ign()
349 struct sigevent sev; in check_rearm() local
365 memset(&sev, 0, sizeof(sev)); in check_rearm()
[all …]
/linux/Documentation/virt/coco/
H A Dsev-guest.rst40 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/include/media/
H 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/
H A Dseq_queue.c572 struct snd_seq_event sev; in queue_broadcast_event() local
574 sev = *ev; in queue_broadcast_event()
576 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event()
577 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event()
578 sev.queue = q->queue; in queue_broadcast_event()
579 sev.data.queue.queue = q->queue; in queue_broadcast_event()
582 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event()
583 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event()
584 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event()
585 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cper.c61 enum cper_error_severity sev) in amdgpu_cper_entry_fill_hdr() argument
71 hdr->error_severity = sev; in amdgpu_cper_entry_fill_hdr()
99 if (sev == CPER_SEV_NON_FATAL_CORRECTED) in amdgpu_cper_entry_fill_hdr()
116 enum cper_error_severity sev, in amdgpu_cper_entry_fill_section_desc() argument
127 section_desc->severity = sev; in amdgpu_cper_entry_fill_section_desc()
171 enum cper_error_severity sev, in amdgpu_cper_entry_fill_runtime_section() argument
179 poison = sev != CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_entry_fill_runtime_section()
185 sev, RUNTIME, NONSTD_SEC_LEN, in amdgpu_cper_entry_fill_runtime_section()
372 enum cper_error_severity sev = CPER_SEV_NON_FATAL_CORRECTED; in amdgpu_cper_generate_ce_records() local
390 sev = CPER_SEV_NON_FATAL_UNCORRECTED; in amdgpu_cper_generate_ce_records()
[all …]
H A Damdgpu_cper.h73 enum cper_error_severity sev);
81 enum cper_error_severity sev,
/linux/arch/arm64/kernel/
H A Dsmp_spin_table.c100 sev(); in smp_spin_table_cpu_prepare()
117 sev(); in smp_spin_table_cpu_boot()
/linux/arch/um/os-Linux/
H A Dtime.c48 struct sigevent sev = { in os_timer_create() local
55 if (timer_create(CLOCK_MONOTONIC, &sev, t) == -1) in os_timer_create()
/linux/Documentation/security/secrets/
H A Dcoco.rst37 ``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/arch/arm/common/
H A Dvlock.S39 sev
99 sev
/linux/Documentation/translations/zh_CN/security/secrets/
H A Dcoco.rst91 请参见 [sev-api-spec_CN]_ 以获取有关SEV ``LAUNCH_SECRET`` 操作的更多信息。
95 .. [sev-api-spec_CN] https://www.amd.com/system/files/TechDocs/55766_SEV-KM_API_Specification.pdf
/linux/drivers/virt/coco/sev-guest/
H A DMakefile2 obj-$(CONFIG_SEV_GUEST) += sev-guest.o
/linux/arch/arm/mach-bcm/
H A Dplatsmp.c196 sev(); in kona_boot_secondary()
310 sev(); in bcm2836_boot_secondary()
/linux/arch/x86/coco/
H A DMakefile9 obj-$(CONFIG_AMD_MEM_ENCRYPT) += sev/
/linux/drivers/virt/coco/
H A DMakefile7 obj-$(CONFIG_SEV_GUEST) += sev-guest/
H A DKconfig11 source "drivers/virt/coco/sev-guest/Kconfig"
/linux/drivers/media/usb/uvc/
H A Duvc_ctrl.c1883 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local
1891 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event()
1892 if (sev->fh != originator || in uvc_ctrl_send_event()
1893 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event()
1895 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event()
2122 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument
2124 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event()
2133 if (__uvc_query_v4l2_class(handle->chain, sev->id, 0) >= 0) { in uvc_ctrl_add_event()
2138 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event()
2144 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event()
[all …]
/linux/include/acpi/
H A Dapei.h54 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
/linux/arch/x86/kvm/svm/
H A Dsvm.h398 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in ____sev_es_guest() local
400 return sev->es_active && !WARN_ON_ONCE(!sev->active); in ____sev_es_guest()
405 struct kvm_sev_info *sev = to_kvm_sev_info(kvm); in ____sev_snp_guest() local
407 return (sev->vmsa_features & SVM_SEV_FEAT_SNP_ACTIVE) && in ____sev_snp_guest()

12