/linux/drivers/media/v4l2-core/ |
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() 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 D | v4l2-ctrls-api.c | 1143 static int v4l2_ctrl_add_event(struct v4l2_subscribed_event *sev, in v4l2_ctrl_add_event() argument 1146 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_add_event() 1152 list_add_tail(&sev->node, &ctrl->ev_subs); in v4l2_ctrl_add_event() 1154 (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL)) in v4l2_ctrl_add_event() 1155 send_initial_event(sev->fh, ctrl); in v4l2_ctrl_add_event() 1160 static void v4l2_ctrl_del_event(struct v4l2_subscribed_event *sev) in v4l2_ctrl_del_event() argument 1162 struct v4l2_ctrl *ctrl = v4l2_ctrl_find(sev->fh->ctrl_handler, sev->id); in v4l2_ctrl_del_event() 1168 list_del(&sev->node); in v4l2_ctrl_del_event()
|
/linux/drivers/crypto/ccp/ |
A D | sev-dev.c | 68 if (sev->api_major == maj && sev->api_minor >= min) in sev_version_greater_or_equal() 84 reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_irq_handler() 101 *reg = ioread32(sev->io_regs + sev->vdata->cmdresp_reg); in sev_wait_cmd_ioc() 190 iowrite32(reg, sev->io_regs + sev->vdata->cmdresp_reg); in __sev_do_cmd_locked() 979 sev = devm_kzalloc(dev, sizeof(*sev), GFP_KERNEL); in sev_dev_init() 980 if (!sev) in sev_dev_init() 994 sev->vdata = (struct sev_vdata *)psp->vdata->sev; in sev_dev_init() 1043 if (!sev) in sev_dev_destroy() 1070 if (!sev) in sev_pci_init() 1112 sev->api_minor, sev->build); in sev_pci_init() [all …]
|
A D | Makefile | 12 sev-dev.o \
|
A D | sp-pci.c | 304 .sev = &sevv1, 311 .sev = &sevv2,
|
/linux/arch/x86/kvm/svm/ |
A D | sev.c | 140 WARN_ON(sev->misc_cg); in sev_asid_new() 145 sev->misc_cg = NULL; in sev_asid_new() 177 sev->misc_cg = NULL; in sev_asid_new() 185 return sev->asid; in sev_get_asid() 206 sev->misc_cg = NULL; in sev_asid_free() 249 sev->active = true; in sev_guest_init() 254 sev->asid = asid; in sev_guest_init() 265 sev_asid_free(sev); in sev_guest_init() 266 sev->asid = 0; in sev_guest_init() 269 sev->active = false; in sev_guest_init() [all …]
|
A D | svm.h | 238 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_guest() local 240 return sev->active; in sev_guest() 249 struct kvm_sev_info *sev = &to_kvm_svm(kvm)->sev_info; in sev_es_guest() local 251 return sev->es_active && !WARN_ON_ONCE(!sev->active); in sev_es_guest()
|
/linux/include/ras/ |
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/include/media/ |
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/sound/core/seq/ |
A D | seq_queue.c | 622 struct snd_seq_event sev; in queue_broadcast_event() local 624 sev = *ev; in queue_broadcast_event() 626 sev.flags = SNDRV_SEQ_TIME_STAMP_TICK|SNDRV_SEQ_TIME_MODE_ABS; in queue_broadcast_event() 627 sev.time.tick = q->timer->tick.cur_tick; in queue_broadcast_event() 628 sev.queue = q->queue; in queue_broadcast_event() 629 sev.data.queue.queue = q->queue; in queue_broadcast_event() 632 sev.source.client = SNDRV_SEQ_CLIENT_SYSTEM; in queue_broadcast_event() 633 sev.source.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; in queue_broadcast_event() 634 sev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; in queue_broadcast_event() 635 snd_seq_kernel_client_dispatch(SNDRV_SEQ_CLIENT_SYSTEM, &sev, atomic, hop); in queue_broadcast_event()
|
/linux/drivers/acpi/apei/ |
A D | ghes.c | 464 int sev) in ghes_handle_memory_failure() argument 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() 661 ghes_defer_non_standard_event(gdata, sev); in ghes_do_proc() 1035 int sev, rc; in ghes_in_nmi_queue_one_entry() local 1069 sev = ghes_severity(estatus->error_severity); in ghes_in_nmi_queue_one_entry() [all …]
|
/linux/drivers/pci/pcie/ |
A 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()
|
A D | aer.c | 252 u32 status, sev; in pci_aer_clear_nonfatal_status() local 259 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_nonfatal_status() 260 status &= ~sev; in pci_aer_clear_nonfatal_status() 271 u32 status, sev; in pci_aer_clear_fatal_status() local 278 pci_read_config_dword(dev, aer + PCI_ERR_UNCOR_SEVER, &sev); in pci_aer_clear_fatal_status() 279 status &= sev; in pci_aer_clear_fatal_status()
|
/linux/include/linux/ |
A 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
|
/linux/arch/x86/kernel/acpi/ |
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/drivers/ras/ |
A 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()
|
/linux/arch/arm64/kernel/ |
A D | smp_spin_table.c | 100 sev(); in smp_spin_table_cpu_prepare() 117 sev(); in smp_spin_table_cpu_boot()
|
/linux/include/acpi/ |
A 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
|
A D | apei.h | 50 void arch_apei_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
|
/linux/drivers/s390/char/ |
A D | tape_3590.h | 95 unsigned int sev:2; member 107 unsigned int sev:2; member
|
/linux/arch/x86/kernel/cpu/mce/ |
A D | severity.c | 41 unsigned char sev; member 53 #define MCESEV(s, m, c...) { .sev = MCE_ ## s ## _SEVERITY, .msg = m, ## c } 402 if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) { in mce_severity_intel() 406 return s->sev; in mce_severity_intel()
|
/linux/drivers/media/usb/uvc/ |
A D | uvc_ctrl.c | 1320 struct v4l2_subscribed_event *sev; in uvc_ctrl_send_event() local 1328 list_for_each_entry(sev, &mapping->ev_subs, node) { in uvc_ctrl_send_event() 1329 if (sev->fh != originator || in uvc_ctrl_send_event() 1330 (sev->flags & V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK) || in uvc_ctrl_send_event() 1332 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_send_event() 1508 ctrl = uvc_find_control(handle->chain, sev->id, &mapping); in uvc_ctrl_add_event() 1514 list_add_tail(&sev->node, &mapping->ev_subs); in uvc_ctrl_add_event() 1515 if (sev->flags & V4L2_EVENT_SUB_FL_SEND_INITIAL) { in uvc_ctrl_add_event() 1527 sev->elems = elems; in uvc_ctrl_add_event() 1528 v4l2_event_queue_fh(sev->fh, &ev); in uvc_ctrl_add_event() [all …]
|
/linux/arch/arm/common/ |
A D | vlock.S | 37 sev 97 sev
|
/linux/arch/arm/mach-bcm/ |
A D | platsmp.c | 196 sev(); in kona_boot_secondary() 310 sev(); in bcm2836_boot_secondary()
|
/linux/drivers/scsi/be2iscsi/ |
A D | be_cmds.c | 405 char *sev = KERN_WARNING; in beiscsi_process_async_sli() local 440 sev = KERN_INFO; in beiscsi_process_async_sli() 443 sev = KERN_ERR; in beiscsi_process_async_sli() 447 __beiscsi_log(phba, sev, "BC_%d : Port %c: %s%s\n", in beiscsi_process_async_sli() 456 char *sev = KERN_INFO; in beiscsi_process_async_event() local 469 sev = KERN_ERR; in beiscsi_process_async_event() 476 sev = KERN_ERR; in beiscsi_process_async_event() 479 beiscsi_log(phba, sev, BEISCSI_LOG_CONFIG | BEISCSI_LOG_MBOX, in beiscsi_process_async_event()
|