/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-event.c | 21 static unsigned sev_pos(const struct v4l2_subscribed_event *sev, unsigned 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.c | 1580 struct v4l2_subscribed_event *sev; in send_event() local 1586 list_for_each_entry(sev, &ctrl->ev_subs, node) in send_event() 1587 if (sev->fh != fh || in send_event() 1588 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK)) in send_event() 1589 v4l2_event_queue_fh(sev->fh, &ev); in send_event() 2354 struct v4l2_subscribed_event *sev, *next_sev; in v4l2_ctrl_handler_free() local 2384 list_for_each_entry_safe(sev, next_sev, &ctrl->ev_subs, node) in v4l2_ctrl_handler_free() 2385 list_del(&sev->node); in v4l2_ctrl_handler_free() 4586 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in v4l2_ctrl_add_event() argument 4588 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/ccp/ |
D | sev-dev.c | 63 struct sev_device *sev = psp_master->sev_data; in sev_version_greater_or_equal() local 65 if (sev->api_major > maj) in sev_version_greater_or_equal() 68 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 76 struct sev_device *sev = data; in sev_irq_handler() local 84 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 86 sev->int_rcvd = 1; in sev_irq_handler() 87 wake_up(&sev->int_queue); in sev_irq_handler() 91 static int sev_wait_cmd_ioc(struct sev_device *sev, in sev_wait_cmd_ioc() argument 96 ret = wait_event_timeout(sev->int_queue, in sev_wait_cmd_ioc() 97 sev->int_rcvd, timeout * HZ); in sev_wait_cmd_ioc() [all …]
|
D | Makefile | 12 sev-dev.o \
|
/kernel/liteos_a/testsuites/unittest/libc/time/timer/smoke/ |
D | timer_test_005.cpp | 63 struct sigevent sev; in TimerTest() local 68 ret = memset_s(&sev, sizeof(struct sigevent), 0, sizeof(struct sigevent)); in TimerTest() 70 sev.sigev_notify = SIGEV_THREAD; in TimerTest() 71 sev.sigev_notify_function = TempSigHandler; in TimerTest() 72 sev.sigev_value.sival_ptr = reinterpret_cast<void *>(TempSigHandler01); in TimerTest() 79 ret = timer_create(CLOCK_REALTIME, &sev, &timerid01); in TimerTest() 92 sev.sigev_value.sival_ptr = reinterpret_cast<void *>(TempSigHandler02); in TimerTest() 93 ret = timer_create(CLOCK_REALTIME, &sev, &timerid02); in TimerTest()
|
D | timer_test_003.cpp | 49 struct sigevent sev; in SetTimerTest() local 61 sev.sigev_notify = SIGEV_SIGNAL; in SetTimerTest() 62 sev.sigev_signo = SIG; in SetTimerTest() 63 sev.sigev_value.sival_ptr = &timerid; in SetTimerTest() 64 ret = timer_create(CLOCKID, &sev, &timerid); in SetTimerTest()
|
D | timer_test_004.cpp | 66 struct sigevent sev; in SigInfoTimerTest() local 88 sev.sigev_notify = SIGEV_SIGNAL; in SigInfoTimerTest() 89 sev.sigev_signo = SIG; in SigInfoTimerTest() 90 sev.sigev_value.sival_ptr = &timerid; in SigInfoTimerTest() 91 ret = timer_create(CLOCKID, &sev, &timerid); in SigInfoTimerTest()
|
D | timer_test_001.cpp | 56 struct sigevent sev; in TimerTest() local 77 sev.sigev_notify = SIGEV_SIGNAL; in TimerTest() 78 sev.sigev_signo = SIG; in TimerTest() 79 sev.sigev_value.sival_ptr = &timerid01; in TimerTest() 80 ret = timer_create(CLOCKID, &sev, &timerid01); in TimerTest()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | sev.c | 110 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_get_asid() local 112 return sev->asid; in sev_get_asid() 176 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest_init() local 183 if (unlikely(sev->active)) in sev_guest_init() 194 sev->active = true; in sev_guest_init() 195 sev->asid = asid; in sev_guest_init() 196 INIT_LIST_HEAD(&sev->regions_list); in sev_guest_init() 241 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_issue_cmd() local 243 return __sev_issue_cmd(sev->fd, id, data, error); in sev_issue_cmd() 248 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_launch_start() local [all …]
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/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);
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/core/seq/ |
D | seq_queue.c | 653 struct snd_seq_event sev; in queue_broadcast_event() local 655 sev = *ev; in queue_broadcast_event() 657 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event() 658 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 659 sev.queue = q->queue; in queue_broadcast_event() 660 sev.data.queue.queue = q->queue; in queue_broadcast_event() 663 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event() 664 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event() 665 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event() 666 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ras.h | 26 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
|
/kernel/linux/linux-5.10/drivers/ras/ |
D | ras.c | 18 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()
|
/kernel/linux/linux-5.10/drivers/acpi/apei/ |
D | ghes.c | 464 int sev) in ghes_handle_memory_failure() argument 477 if (sev == GHES_SEV_RECOVERABLE && sec_sev == GHES_SEV_RECOVERABLE) in ghes_handle_memory_failure() 486 static bool ghes_handle_arm_hw_error(struct acpi_hest_generic_data *gdata, int sev) in ghes_handle_arm_hw_error() argument 496 if (sev != GHES_SEV_RECOVERABLE || sec_sev != GHES_SEV_RECOVERABLE) in ghes_handle_arm_hw_error() 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() [all …]
|
/kernel/linux/linux-5.10/drivers/pci/pcie/ |
D | dpc.c | 190 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()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | smp_spin_table.c | 99 sev(); in smp_spin_table_cpu_prepare() 116 sev(); in smp_spin_table_cpu_boot()
|
/kernel/linux/linux-5.10/include/acpi/ |
D | ghes.h | 79 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
|
D | apei.h | 53 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
/kernel/linux/linux-5.10/arch/arm/common/ |
D | vlock.S | 37 sev 97 sev
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mce/ |
D | severity.c | 41 unsigned char sev; member 53 #define MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c } 406 if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) { in mce_severity_intel() 410 return s->sev; in mce_severity_intel()
|
/kernel/linux/linux-5.10/drivers/media/usb/uvc/ |
D | uvc_ctrl.c | 1240 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local 1248 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event() 1249 if (sev->fh != originator || in uvc_ctrl_send_event() 1250 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event() 1252 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event() 1416 static int uvc_ctrl_add_event(struct v4l2_subscribed_event *sev, unsigned elems) in uvc_ctrl_add_event() argument 1418 struct uvc_fh *handle = container_of(sev->fh, struct uvc_fh, vfh); in uvc_ctrl_add_event() 1427 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event() 1433 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event() 1434 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-bcm/ |
D | platsmp.c | 196 sev(); in kona_boot_secondary() 310 sev(); in bcm2836_boot_secondary()
|