events 371 arch/alpha/kernel/perf_event.c static int alpha_check_constraints(struct perf_event **events, events 382 arch/alpha/kernel/perf_event.c return alpha_pmu->check_constraints(events, evtypes, n_ev); events 262 arch/arm/include/asm/kvm_host.h struct kvm_vcpu_events *events); events 265 arch/arm/include/asm/kvm_host.h struct kvm_vcpu_events *events); events 274 arch/arm/kernel/perf_event_v6.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 297 arch/arm/kernel/perf_event_v6.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 302 arch/arm/kernel/perf_event_v6.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 327 arch/arm/kernel/perf_event_v6.c struct perf_event *event = cpuc->events[idx]; events 366 arch/arm/kernel/perf_event_v6.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 368 arch/arm/kernel/perf_event_v6.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 372 arch/arm/kernel/perf_event_v6.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 378 arch/arm/kernel/perf_event_v6.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 380 arch/arm/kernel/perf_event_v6.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 384 arch/arm/kernel/perf_event_v6.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 425 arch/arm/kernel/perf_event_v6.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 447 arch/arm/kernel/perf_event_v6.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 452 arch/arm/kernel/perf_event_v6.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 460 arch/arm/kernel/perf_event_v6.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 478 arch/arm/kernel/perf_event_v6.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 483 arch/arm/kernel/perf_event_v6.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 876 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 889 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 914 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 922 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 934 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 946 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 974 arch/arm/kernel/perf_event_v7.c struct perf_event *event = cpuc->events[idx]; events 1013 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1015 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1018 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1024 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1026 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1029 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1499 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1502 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1516 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1525 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1531 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1552 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1832 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1835 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1849 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1858 arch/arm/kernel/perf_event_v7.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 1864 arch/arm/kernel/perf_event_v7.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1885 arch/arm/kernel/perf_event_v7.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 174 arch/arm/kernel/perf_event_xscale.c struct perf_event *event = cpuc->events[idx]; events 209 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 232 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 237 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 245 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 266 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 271 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 304 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 306 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 310 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 316 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 318 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 322 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 520 arch/arm/kernel/perf_event_xscale.c struct perf_event *event = cpuc->events[idx]; events 555 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 590 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 593 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 601 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 641 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 645 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 667 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 669 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 673 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 679 arch/arm/kernel/perf_event_xscale.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 681 arch/arm/kernel/perf_event_xscale.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 685 arch/arm/kernel/perf_event_xscale.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 247 arch/arm/kernel/sys_oabi-compat.c __u32 events; events 263 arch/arm/kernel/sys_oabi-compat.c kernel.events = user.events; events 273 arch/arm/kernel/sys_oabi-compat.c struct oabi_epoll_event __user *events, events 283 arch/arm/kernel/sys_oabi-compat.c maxevents > (INT_MAX/sizeof(*events))) events 285 arch/arm/kernel/sys_oabi-compat.c if (!access_ok(events, sizeof(*events) * maxevents)) events 296 arch/arm/kernel/sys_oabi-compat.c e.events = kbuf[i].events; events 298 arch/arm/kernel/sys_oabi-compat.c err = __copy_to_user(events, &e, sizeof(e)); events 301 arch/arm/kernel/sys_oabi-compat.c events++; events 254 arch/arm/kvm/guest.c struct kvm_vcpu_events *events) events 256 arch/arm/kvm/guest.c events->exception.serror_pending = !!(*vcpu_hcr(vcpu) & HCR_VA); events 262 arch/arm/kvm/guest.c struct kvm_vcpu_events *events) events 264 arch/arm/kvm/guest.c bool serror_pending = events->exception.serror_pending; events 265 arch/arm/kvm/guest.c bool has_esr = events->exception.serror_has_esr; events 506 arch/arm/mach-omap2/prcm-common.h void (*read_pending_irqs)(unsigned long *events); events 31 arch/arm/mach-omap2/prm3xxx.c static void omap3xxx_prm_read_pending_irqs(unsigned long *events); events 153 arch/arm/mach-omap2/prm3xxx.c static void omap3xxx_prm_read_pending_irqs(unsigned long *events) events 161 arch/arm/mach-omap2/prm3xxx.c events[0] = mask & st; events 35 arch/arm/mach-omap2/prm44xx.c static void omap44xx_prm_read_pending_irqs(unsigned long *events); events 223 arch/arm/mach-omap2/prm44xx.c static void omap44xx_prm_read_pending_irqs(unsigned long *events) events 228 arch/arm/mach-omap2/prm44xx.c events[i] = _read_pending_irq_reg(omap4_prcm_irq_setup.mask + events 81 arch/arm/mach-omap2/prm_common.c static void omap_prcm_events_filter_priority(unsigned long *events, events 88 arch/arm/mach-omap2/prm_common.c events[i] & prcm_irq_setup->priority_mask[i]; events 89 arch/arm/mach-omap2/prm_common.c events[i] ^= priority_events[i]; events 36 arch/arm/mm/cache-l2x0-pmu.c static struct perf_event *events[PMU_NR_COUNTERS]; events 44 arch/arm/mm/cache-l2x0-pmu.c if (!events[i]) events 57 arch/arm/mm/cache-l2x0-pmu.c if (events[i]) events 160 arch/arm/mm/cache-l2x0-pmu.c struct perf_event *event = events[i]; events 246 arch/arm/mm/cache-l2x0-pmu.c events[idx] = event; events 265 arch/arm/mm/cache-l2x0-pmu.c events[hw->idx] = NULL; events 451 arch/arm/mm/cache-l2x0-pmu.c if (events[i]) events 452 arch/arm/mm/cache-l2x0-pmu.c l2x0_pmu_event_stop(events[i], PERF_EF_UPDATE); events 467 arch/arm/mm/cache-l2x0-pmu.c if (events[i]) events 468 arch/arm/mm/cache-l2x0-pmu.c l2x0_pmu_event_start(events[i], PERF_EF_RELOAD); events 423 arch/arm64/include/asm/kvm_host.h struct kvm_vcpu_events *events); events 426 arch/arm64/include/asm/kvm_host.h struct kvm_vcpu_events *events); events 612 arch/arm64/kernel/perf_event.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 618 arch/arm64/kernel/perf_event.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 640 arch/arm64/kernel/perf_event.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 647 arch/arm64/kernel/perf_event.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 652 arch/arm64/kernel/perf_event.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 664 arch/arm64/kernel/perf_event.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 670 arch/arm64/kernel/perf_event.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 672 arch/arm64/kernel/perf_event.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 675 arch/arm64/kernel/perf_event.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 681 arch/arm64/kernel/perf_event.c struct pmu_hw_events *events = this_cpu_ptr(cpu_pmu->hw_events); events 683 arch/arm64/kernel/perf_event.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 686 arch/arm64/kernel/perf_event.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 719 arch/arm64/kernel/perf_event.c struct perf_event *event = cpuc->events[idx]; events 35 arch/arm64/kernel/trace-events-emulation.h #define TRACE_INCLUDE_FILE trace-events-emulation events 714 arch/arm64/kvm/guest.c struct kvm_vcpu_events *events) events 716 arch/arm64/kvm/guest.c events->exception.serror_pending = !!(vcpu->arch.hcr_el2 & HCR_VSE); events 717 arch/arm64/kvm/guest.c events->exception.serror_has_esr = cpus_have_const_cap(ARM64_HAS_RAS_EXTN); events 719 arch/arm64/kvm/guest.c if (events->exception.serror_pending && events->exception.serror_has_esr) events 720 arch/arm64/kvm/guest.c events->exception.serror_esr = vcpu_get_vsesr(vcpu); events 726 arch/arm64/kvm/guest.c struct kvm_vcpu_events *events) events 728 arch/arm64/kvm/guest.c bool serror_pending = events->exception.serror_pending; events 729 arch/arm64/kvm/guest.c bool has_esr = events->exception.serror_has_esr; events 735 arch/arm64/kvm/guest.c if (!((events->exception.serror_esr) & ~ESR_ELx_ISS_MASK)) events 736 arch/arm64/kvm/guest.c kvm_set_sei_esr(vcpu, events->exception.serror_esr); events 134 arch/arm64/kvm/pmu.c static void kvm_vcpu_pmu_enable_el0(unsigned long events) events 139 arch/arm64/kvm/pmu.c for_each_set_bit(counter, &events, 32) { events 149 arch/arm64/kvm/pmu.c static void kvm_vcpu_pmu_disable_el0(unsigned long events) events 154 arch/arm64/kvm/pmu.c for_each_set_bit(counter, &events, 32) { events 98 arch/c6x/platforms/megamod-pic.c u32 events; events 106 arch/c6x/platforms/megamod-pic.c while ((events = soc_readl(&pic->regs->mevtflag[idx])) != 0) { events 107 arch/c6x/platforms/megamod-pic.c n = __ffs(events); events 27 arch/csky/kernel/perf_event.c struct perf_event *events[CSKY_PMU_MAX_EVENTS]; events 1080 arch/csky/kernel/perf_event.c hw_events->events[hwc->idx] = NULL; events 1091 arch/csky/kernel/perf_event.c hw_events->events[hwc->idx] = event; events 1124 arch/csky/kernel/perf_event.c struct perf_event *event = cpuc->events[idx]; events 46 arch/m68k/mac/baboon.c short events, irq_bit; events 49 arch/m68k/mac/baboon.c events = baboon->mb_ifr & 0x07; events 53 arch/m68k/mac/baboon.c if (events & irq_bit) { events 54 arch/m68k/mac/baboon.c events &= ~irq_bit; events 59 arch/m68k/mac/baboon.c } while (events); events 72 arch/m68k/mac/oss.c u16 events, irq_bit; events 75 arch/m68k/mac/oss.c events = oss->irq_pending & OSS_IP_NUBUS; events 79 arch/m68k/mac/oss.c if (events & irq_bit) { events 80 arch/m68k/mac/oss.c events &= ~irq_bit; events 85 arch/m68k/mac/oss.c } while (events); events 122 arch/m68k/mac/psc.c unsigned char irq_bit, events; events 124 arch/m68k/mac/psc.c events = psc_read_byte(pIFR) & psc_read_byte(pIER) & 0xF; events 125 arch/m68k/mac/psc.c if (!events) events 131 arch/m68k/mac/psc.c if (events & irq_bit) { events 137 arch/m68k/mac/psc.c } while (events >= irq_bit); events 400 arch/m68k/mac/via.c unsigned char irq_bit, events; events 402 arch/m68k/mac/via.c events = via1[vIFR] & via1[vIER] & 0x7F; events 403 arch/m68k/mac/via.c if (!events) events 408 arch/m68k/mac/via.c if (events & irq_bit) { events 416 arch/m68k/mac/via.c events &= ~irq_bit; events 417 arch/m68k/mac/via.c if (!events) events 424 arch/m68k/mac/via.c if (events & irq_bit) { events 430 arch/m68k/mac/via.c } while (events >= irq_bit); events 436 arch/m68k/mac/via.c unsigned char irq_bit, events; events 438 arch/m68k/mac/via.c events = via2[gIFR] & via2[gIER] & 0x7F; events 439 arch/m68k/mac/via.c if (!events) events 445 arch/m68k/mac/via.c if (events & irq_bit) { events 451 arch/m68k/mac/via.c } while (events >= irq_bit); events 462 arch/m68k/mac/via.c unsigned char slot_bit, events; events 464 arch/m68k/mac/via.c events = ~via2[gBufA] & 0x7F; events 466 arch/m68k/mac/via.c events &= via2[rSIER]; events 468 arch/m68k/mac/via.c events &= ~via2[vDirA]; events 469 arch/m68k/mac/via.c if (!events) events 476 arch/m68k/mac/via.c if (events & slot_bit) { events 477 arch/m68k/mac/via.c events &= ~slot_bit; events 482 arch/m68k/mac/via.c } while (events); events 486 arch/m68k/mac/via.c events = ~via2[gBufA] & 0x7F; events 488 arch/m68k/mac/via.c events &= via2[rSIER]; events 490 arch/m68k/mac/via.c events &= ~via2[vDirA]; events 491 arch/m68k/mac/via.c } while (events); events 33 arch/mips/kernel/perf_event_mipsxx.c struct perf_event *events[MIPS_MAX_HWEVENTS]; events 478 arch/mips/kernel/perf_event_mipsxx.c cpuc->events[idx] = event; events 501 arch/mips/kernel/perf_event_mipsxx.c cpuc->events[idx] = NULL; events 737 arch/mips/kernel/perf_event_mipsxx.c struct perf_event *event = cpuc->events[idx]; events 48 arch/nds32/include/asm/pmu.h struct perf_event *events[MAX_COUNTERS]; events 251 arch/nds32/kernel/perf_event_cpu.c struct perf_event *event = cpuc->events[idx]; events 418 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = cpu_pmu->get_hw_events(); events 430 arch/nds32/kernel/perf_event_cpu.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 461 arch/nds32/kernel/perf_event_cpu.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 469 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = cpu_pmu->get_hw_events(); events 480 arch/nds32/kernel/perf_event_cpu.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 492 arch/nds32/kernel/perf_event_cpu.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 599 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = cpu_pmu->get_hw_events(); events 601 arch/nds32/kernel/perf_event_cpu.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 609 arch/nds32/kernel/perf_event_cpu.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 616 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = cpu_pmu->get_hw_events(); events 618 arch/nds32/kernel/perf_event_cpu.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 626 arch/nds32/kernel/perf_event_cpu.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 929 arch/nds32/kernel/perf_event_cpu.c hw_events->events[idx] = event; events 992 arch/nds32/kernel/perf_event_cpu.c hw_events->events[idx] = NULL; events 1109 arch/nds32/kernel/perf_event_cpu.c struct pmu_hw_events *events = &per_cpu(cpu_hw_events, cpu); events 1111 arch/nds32/kernel/perf_event_cpu.c raw_spin_lock_init(&events->pmu_lock); events 41 arch/powerpc/include/asm/fsl_gtm.h extern void gtm_ack_timer16(struct gtm_timer *tmr, u16 events); events 113 arch/powerpc/include/asm/imc-pmu.h struct imc_events *events; events 30 arch/powerpc/include/asm/perf_event_server.h int (*compute_mmcr)(u64 events[], int n_ev, events 38 arch/powerpc/perf/core-book3s.c u64 events[MAX_HWEVENTS]; events 1326 arch/powerpc/perf/core-book3s.c if (ppmu->compute_mmcr(cpuhw->events, cpuhw->n_events, hwc_index, events 1437 arch/powerpc/perf/core-book3s.c struct perf_event *ctrs[], u64 *events, events 1448 arch/powerpc/perf/core-book3s.c events[n++] = group->hw.config; events 1457 arch/powerpc/perf/core-book3s.c events[n++] = event->hw.config; events 1488 arch/powerpc/perf/core-book3s.c cpuhw->events[n0] = event->hw.config; events 1512 arch/powerpc/perf/core-book3s.c if (power_check_constraints(cpuhw, cpuhw->events, cpuhw->flags, n0 + 1)) events 1514 arch/powerpc/perf/core-book3s.c event->hw.config = cpuhw->events[n0]; events 1554 arch/powerpc/perf/core-book3s.c cpuhw->events[i-1] = cpuhw->events[i]; events 1715 arch/powerpc/perf/core-book3s.c i = power_check_constraints(cpuhw, cpuhw->events, cpuhw->flags, n); events 1720 arch/powerpc/perf/core-book3s.c cpuhw->event[i]->hw.config = cpuhw->events[i]; events 1844 arch/powerpc/perf/core-book3s.c u64 events[MAX_HWEVENTS]; events 1941 arch/powerpc/perf/core-book3s.c ctrs, events, cflags); events 1945 arch/powerpc/perf/core-book3s.c events[n] = ev; events 1952 arch/powerpc/perf/core-book3s.c err = power_check_constraints(cpuhw, events, cflags, n + 1); events 1969 arch/powerpc/perf/core-book3s.c event->hw.config = events[n]; events 485 arch/powerpc/perf/core-fsl-emb.c struct perf_event *events[MAX_HWEVENTS]; events 531 arch/powerpc/perf/core-fsl-emb.c ppmu->n_counter - 1, events); events 539 arch/powerpc/perf/core-fsl-emb.c if (events[i]->hw.config & FSL_EMB_EVENT_RESTRICTED) events 171 arch/powerpc/perf/hv-24x7.c struct perf_event *events[255]; events 694 arch/powerpc/perf/hv-24x7.c struct attribute **events, **event_descs, **event_long_descs; events 833 arch/powerpc/perf/hv-24x7.c events = kmalloc_array(attr_max + 1, sizeof(*events), GFP_KERNEL); events 834 arch/powerpc/perf/hv-24x7.c if (!events) { events 873 arch/powerpc/perf/hv-24x7.c ct = event_data_to_attrs(event_idx, events + event_attr_ct, events 894 arch/powerpc/perf/hv-24x7.c events[event_attr_ct] = NULL; events 902 arch/powerpc/perf/hv-24x7.c *events_ = events; events 910 arch/powerpc/perf/hv-24x7.c kfree(events); events 1401 arch/powerpc/perf/hv-24x7.c h24x7hw->events[i] = event; events 1521 arch/powerpc/perf/hv-24x7.c struct perf_event *event = h24x7hw->events[res->result_ix]; events 189 arch/powerpc/perf/imc-pmu.c static void imc_free_events(struct imc_events *events, int nr_entries) events 194 arch/powerpc/perf/imc-pmu.c if (!events) events 197 arch/powerpc/perf/imc-pmu.c kfree(events[i].unit); events 198 arch/powerpc/perf/imc-pmu.c kfree(events[i].scale); events 199 arch/powerpc/perf/imc-pmu.c kfree(events[i].name); events 202 arch/powerpc/perf/imc-pmu.c kfree(events); events 246 arch/powerpc/perf/imc-pmu.c pmu->events = kcalloc(ct, sizeof(struct imc_events), GFP_KERNEL); events 247 arch/powerpc/perf/imc-pmu.c if (!pmu->events) events 253 arch/powerpc/perf/imc-pmu.c ret = imc_parse_event(np, g_scale, g_unit, prefix, base_reg, &pmu->events[ct]); events 261 arch/powerpc/perf/imc-pmu.c imc_free_events(pmu->events, ct); events 276 arch/powerpc/perf/imc-pmu.c imc_free_events(pmu->events, ct); events 283 arch/powerpc/perf/imc-pmu.c ev_val_str = kasprintf(GFP_KERNEL, "event=0x%x", pmu->events[i].value); events 284 arch/powerpc/perf/imc-pmu.c dev_str = device_str_attr_create(pmu->events[i].name, ev_val_str); events 289 arch/powerpc/perf/imc-pmu.c if (pmu->events[i].scale) { events 290 arch/powerpc/perf/imc-pmu.c ev_scale_str = kasprintf(GFP_KERNEL, "%s.scale", pmu->events[i].name); events 291 arch/powerpc/perf/imc-pmu.c dev_str = device_str_attr_create(ev_scale_str, pmu->events[i].scale); events 298 arch/powerpc/perf/imc-pmu.c if (pmu->events[i].unit) { events 299 arch/powerpc/perf/imc-pmu.c ev_unit_str = kasprintf(GFP_KERNEL, "%s.unit", pmu->events[i].name); events 300 arch/powerpc/perf/imc-pmu.c dev_str = device_str_attr_create(ev_unit_str, pmu->events[i].unit); events 77 arch/powerpc/platforms/cell/spufs/backing_ops.c __poll_t events) events 91 arch/powerpc/platforms/cell/spufs/backing_ops.c if (events & (EPOLLIN | EPOLLRDNORM)) { events 101 arch/powerpc/platforms/cell/spufs/backing_ops.c if (events & (EPOLLOUT | EPOLLWRNORM)) { events 46 arch/powerpc/platforms/cell/spufs/hw_ops.c static __poll_t spu_hw_mbox_stat_poll(struct spu_context *ctx, __poll_t events) events 60 arch/powerpc/platforms/cell/spufs/hw_ops.c if (events & (EPOLLIN | EPOLLRDNORM)) { events 68 arch/powerpc/platforms/cell/spufs/hw_ops.c if (events & (EPOLLOUT | EPOLLWRNORM)) { events 175 arch/powerpc/platforms/cell/spufs/spufs.h __poll_t (*mbox_stat_poll)(struct spu_context *ctx, __poll_t events); events 43 arch/powerpc/platforms/powernv/opal-irqchip.c __be64 events = 0; events 66 arch/powerpc/platforms/powernv/opal-irqchip.c if (opal_poll_events(&events) != OPAL_SUCCESS) events 68 arch/powerpc/platforms/powernv/opal-irqchip.c e = be64_to_cpu(events) & opal_event_irqchip.mask; events 127 arch/powerpc/platforms/powernv/opal-irqchip.c __be64 events; events 129 arch/powerpc/platforms/powernv/opal-irqchip.c opal_handle_interrupt(virq_to_hw(irq), &events); events 130 arch/powerpc/platforms/powernv/opal-irqchip.c last_outstanding_events = be64_to_cpu(events); events 326 arch/powerpc/sysdev/fsl_gtm.c void gtm_ack_timer16(struct gtm_timer *tmr, u16 events) events 328 arch/powerpc/sysdev/fsl_gtm.c out_be16(tmr->gtevr, events); events 54 arch/riscv/include/asm/perf_event.h struct perf_event *events[RISCV_MAX_COUNTERS]; events 314 arch/riscv/kernel/perf_event.c cpuc->events[hwc->idx] = event; events 333 arch/riscv/kernel/perf_event.c cpuc->events[hwc->idx] = NULL; events 29 arch/sh/kernel/perf_event.c struct perf_event *events[MAX_HWEVENTS]; events 225 arch/sh/kernel/perf_event.c cpuc->events[idx] = NULL; events 247 arch/sh/kernel/perf_event.c cpuc->events[idx] = event; events 98 arch/sparc/kernel/perf_event.c unsigned long events[MAX_HWEVENTS]; events 835 arch/sparc/kernel/perf_event.c enc = perf_event_get_enc(cpuc->events[idx]); events 967 arch/sparc/kernel/perf_event.c enc = perf_event_get_enc(cpuc->events[i]); events 1134 arch/sparc/kernel/perf_event.c cpuc->events[i - 1] = cpuc->events[i]; events 1243 arch/sparc/kernel/perf_event.c unsigned long *events, int n_ev) events 1265 arch/sparc/kernel/perf_event.c msk0 = perf_event_get_msk(events[0]); events 1272 arch/sparc/kernel/perf_event.c msk1 = perf_event_get_msk(events[1]); events 1346 arch/sparc/kernel/perf_event.c struct perf_event *evts[], unsigned long *events, events 1356 arch/sparc/kernel/perf_event.c events[n] = group->hw.event_base; events 1365 arch/sparc/kernel/perf_event.c events[n] = event->hw.event_base; events 1385 arch/sparc/kernel/perf_event.c cpuc->events[n0] = event->hw.event_base; events 1402 arch/sparc/kernel/perf_event.c if (sparc_check_constraints(cpuc->event, cpuc->events, n0 + 1)) events 1420 arch/sparc/kernel/perf_event.c unsigned long events[MAX_HWEVENTS]; events 1477 arch/sparc/kernel/perf_event.c evts, events, current_idx_dmy); events 1481 arch/sparc/kernel/perf_event.c events[n] = hwc->event_base; events 1487 arch/sparc/kernel/perf_event.c if (sparc_check_constraints(evts, events, n + 1)) events 1568 arch/sparc/kernel/perf_event.c if (sparc_check_constraints(cpuc->event, cpuc->events, n)) events 40 arch/um/drivers/ubd_user.c kernel_pollfd.events = POLLIN; events 70 arch/um/drivers/ubd_user.c kernel_pollfd.events = POLLIN; events 75 arch/um/drivers/ubd_user.c kernel_pollfd.events = POLLOUT; events 18 arch/um/include/shared/irq_user.h int events; events 300 arch/um/include/shared/os.h extern int os_epoll_triggered(int index, int events); events 303 arch/um/include/shared/os.h extern int os_add_epoll_fd(int events, int fd, void *data); events 304 arch/um/include/shared/os.h extern int os_mod_epoll_fd(int events, int fd, void *data); events 96 arch/um/kernel/irq.c if (os_epoll_triggered(i, irq->events) > 0) events 112 arch/um/kernel/irq.c int events = 0; events 118 arch/um/kernel/irq.c events = irq->events | events; events 120 arch/um/kernel/irq.c if (events > 0) { events 122 arch/um/kernel/irq.c return os_add_epoll_fd(events, irq_entry->fd, irq_entry); events 134 arch/um/kernel/irq.c int i, err, events; events 187 arch/um/kernel/irq.c events = os_event_mask(type); events 193 arch/um/kernel/irq.c .events = events, events 39 arch/um/os-Linux/irq.c int os_epoll_triggered(int index, int events) events 41 arch/um/os-Linux/irq.c return epoll_events[index].events & events; events 92 arch/um/os-Linux/irq.c int os_add_epoll_fd(int events, int fd, void *data) events 98 arch/um/os-Linux/irq.c event.events = events | EPOLLET; events 101 arch/um/os-Linux/irq.c result = os_mod_epoll_fd(events, fd, data); events 110 arch/um/os-Linux/irq.c int os_mod_epoll_fd(int events, int fd, void *data) events 116 arch/um/os-Linux/irq.c event.events = events; events 251 arch/um/os-Linux/sigio.c .events = POLLIN, events 355 arch/um/os-Linux/sigio.c .events = read ? POLLIN : POLLOUT, events 49 arch/x86/events/amd/uncore.c struct perf_event *events[MAX_COUNTERS]; events 133 arch/x86/events/amd/uncore.c if (hwc->idx != -1 && uncore->events[hwc->idx] == event) events 137 arch/x86/events/amd/uncore.c if (uncore->events[i] == event) { events 146 arch/x86/events/amd/uncore.c if (cmpxchg(&uncore->events[i], NULL, event) == NULL) { events 176 arch/x86/events/amd/uncore.c if (cmpxchg(&uncore->events[i], event, NULL) == event) events 668 arch/x86/events/core.c struct hw_perf_event *hwc = &cpuc->events[idx]->hw; events 1345 arch/x86/events/core.c cpuc->events[idx] = event; events 1420 arch/x86/events/core.c cpuc->events[hwc->idx] = NULL; events 1515 arch/x86/events/core.c event = cpuc->events[idx]; events 1978 arch/x86/events/intel/core.c cpuc->events[INTEL_PMC_IDX_FIXED_BTS]; events 2041 arch/x86/events/intel/core.c event = cpuc->events[i]; events 2055 arch/x86/events/intel/core.c event = cpuc->events[i]; events 2402 arch/x86/events/intel/core.c struct perf_event *event = cpuc->events[bit]; events 3374 arch/x86/events/intel/core.c struct perf_event *event = cpuc->events[idx]; events 3407 arch/x86/events/intel/core.c struct hw_perf_event *hwc = &cpuc->events[idx]->hw; events 3410 arch/x86/events/intel/core.c cpuc->events[idx]->attr.exclude_host) events 161 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_core_c1); events 162 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_core_c3); events 163 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_core_c6); events 164 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_core_c7); events 248 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c2); events 249 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c3); events 250 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c6); events 251 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c7); events 252 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c8); events 253 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c9); events 254 arch/x86/events/intel/cstate.c PMU_EVENT_GROUP(events, cstate_pkg_c10); events 589 arch/x86/events/intel/ds.c struct perf_event *event = cpuc->events[INTEL_PMC_IDX_FIXED_BTS]; events 1776 arch/x86/events/intel/ds.c struct perf_event *event = cpuc->events[0]; /* PMC0 only */ events 1823 arch/x86/events/intel/ds.c event = cpuc->events[bit]; events 1920 arch/x86/events/intel/ds.c event = cpuc->events[bit]; events 1984 arch/x86/events/intel/ds.c event = cpuc->events[bit]; events 243 arch/x86/events/intel/knc.c struct perf_event *event = cpuc->events[bit]; events 922 arch/x86/events/intel/p4.c struct perf_event *event = cpuc->events[idx]; events 991 arch/x86/events/intel/p4.c struct perf_event *event = cpuc->events[idx]; events 1019 arch/x86/events/intel/p4.c event = cpuc->events[idx]; events 131 arch/x86/events/intel/rapl.c unsigned long events; events 675 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PP0) | events 682 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PP0) | events 689 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PP0) | events 697 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PP0) | events 704 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PKG) | events 710 arch/x86/events/intel/rapl.c .events = BIT(PERF_RAPL_PP0) | events 761 arch/x86/events/intel/rapl.c false, (void *) &rm->events); events 288 arch/x86/events/intel/uncore.c uncore_perf_event_update(box, box->events[bit]); events 498 arch/x86/events/intel/uncore.c box->events[idx] = event; events 526 arch/x86/events/intel/uncore.c box->events[hwc->idx] = NULL; events 121 arch/x86/events/intel/uncore.h struct perf_event *events[UNCORE_PMC_IDX_MAX]; events 122 arch/x86/events/msr.c PMU_EVENT_GROUP(events, aperf); events 123 arch/x86/events/msr.c PMU_EVENT_GROUP(events, mperf); events 124 arch/x86/events/msr.c PMU_EVENT_GROUP(events, pperf); events 125 arch/x86/events/msr.c PMU_EVENT_GROUP(events, smi); events 126 arch/x86/events/msr.c PMU_EVENT_GROUP(events, ptsc); events 127 arch/x86/events/msr.c PMU_EVENT_GROUP(events, irperf); events 191 arch/x86/events/perf_event.h struct perf_event *events[X86_PMC_IDX_MAX]; /* in counter order */ events 378 arch/x86/include/uapi/asm/kvm.h struct kvm_vcpu_events events; events 443 arch/x86/include/uapi/asm/kvm.h __u64 events[0]; events 345 arch/x86/kernel/apm_32.c apm_event_t events[APM_MAX_EVENTS]; events 1173 arch/x86/kernel/apm_32.c return as->events[as->event_tail]; events 1197 arch/x86/kernel/apm_32.c as->events[as->event_head] = event; events 165 arch/x86/kvm/pmu.c if (filter->events[i] == events 406 arch/x86/kvm/pmu.c size = struct_size(filter, events, tmp.nevents); events 3766 arch/x86/kvm/x86.c struct kvm_vcpu_events *events) events 3777 arch/x86/kvm/x86.c events->exception.injected = 0; events 3778 arch/x86/kvm/x86.c events->exception.pending = 0; events 3780 arch/x86/kvm/x86.c events->exception.injected = vcpu->arch.exception.injected; events 3781 arch/x86/kvm/x86.c events->exception.pending = vcpu->arch.exception.pending; events 3788 arch/x86/kvm/x86.c events->exception.injected |= events 3791 arch/x86/kvm/x86.c events->exception.nr = vcpu->arch.exception.nr; events 3792 arch/x86/kvm/x86.c events->exception.has_error_code = vcpu->arch.exception.has_error_code; events 3793 arch/x86/kvm/x86.c events->exception.error_code = vcpu->arch.exception.error_code; events 3794 arch/x86/kvm/x86.c events->exception_has_payload = vcpu->arch.exception.has_payload; events 3795 arch/x86/kvm/x86.c events->exception_payload = vcpu->arch.exception.payload; events 3797 arch/x86/kvm/x86.c events->interrupt.injected = events 3799 arch/x86/kvm/x86.c events->interrupt.nr = vcpu->arch.interrupt.nr; events 3800 arch/x86/kvm/x86.c events->interrupt.soft = 0; events 3801 arch/x86/kvm/x86.c events->interrupt.shadow = kvm_x86_ops->get_interrupt_shadow(vcpu); events 3803 arch/x86/kvm/x86.c events->nmi.injected = vcpu->arch.nmi_injected; events 3804 arch/x86/kvm/x86.c events->nmi.pending = vcpu->arch.nmi_pending != 0; events 3805 arch/x86/kvm/x86.c events->nmi.masked = kvm_x86_ops->get_nmi_mask(vcpu); events 3806 arch/x86/kvm/x86.c events->nmi.pad = 0; events 3808 arch/x86/kvm/x86.c events->sipi_vector = 0; /* never valid when reporting to user space */ events 3810 arch/x86/kvm/x86.c events->smi.smm = is_smm(vcpu); events 3811 arch/x86/kvm/x86.c events->smi.pending = vcpu->arch.smi_pending; events 3812 arch/x86/kvm/x86.c events->smi.smm_inside_nmi = events 3814 arch/x86/kvm/x86.c events->smi.latched_init = kvm_lapic_latched_init(vcpu); events 3816 arch/x86/kvm/x86.c events->flags = (KVM_VCPUEVENT_VALID_NMI_PENDING events 3820 arch/x86/kvm/x86.c events->flags |= KVM_VCPUEVENT_VALID_PAYLOAD; events 3822 arch/x86/kvm/x86.c memset(&events->reserved, 0, sizeof(events->reserved)); events 3828 arch/x86/kvm/x86.c struct kvm_vcpu_events *events) events 3830 arch/x86/kvm/x86.c if (events->flags & ~(KVM_VCPUEVENT_VALID_NMI_PENDING events 3837 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_PAYLOAD) { events 3840 arch/x86/kvm/x86.c if (events->exception.pending) events 3841 arch/x86/kvm/x86.c events->exception.injected = 0; events 3843 arch/x86/kvm/x86.c events->exception_has_payload = 0; events 3845 arch/x86/kvm/x86.c events->exception.pending = 0; events 3846 arch/x86/kvm/x86.c events->exception_has_payload = 0; events 3849 arch/x86/kvm/x86.c if ((events->exception.injected || events->exception.pending) && events 3850 arch/x86/kvm/x86.c (events->exception.nr > 31 || events->exception.nr == NMI_VECTOR)) events 3854 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_SMM && events 3855 arch/x86/kvm/x86.c (events->smi.smm || events->smi.pending) && events 3860 arch/x86/kvm/x86.c vcpu->arch.exception.injected = events->exception.injected; events 3861 arch/x86/kvm/x86.c vcpu->arch.exception.pending = events->exception.pending; events 3862 arch/x86/kvm/x86.c vcpu->arch.exception.nr = events->exception.nr; events 3863 arch/x86/kvm/x86.c vcpu->arch.exception.has_error_code = events->exception.has_error_code; events 3864 arch/x86/kvm/x86.c vcpu->arch.exception.error_code = events->exception.error_code; events 3865 arch/x86/kvm/x86.c vcpu->arch.exception.has_payload = events->exception_has_payload; events 3866 arch/x86/kvm/x86.c vcpu->arch.exception.payload = events->exception_payload; events 3868 arch/x86/kvm/x86.c vcpu->arch.interrupt.injected = events->interrupt.injected; events 3869 arch/x86/kvm/x86.c vcpu->arch.interrupt.nr = events->interrupt.nr; events 3870 arch/x86/kvm/x86.c vcpu->arch.interrupt.soft = events->interrupt.soft; events 3871 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_SHADOW) events 3873 arch/x86/kvm/x86.c events->interrupt.shadow); events 3875 arch/x86/kvm/x86.c vcpu->arch.nmi_injected = events->nmi.injected; events 3876 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_NMI_PENDING) events 3877 arch/x86/kvm/x86.c vcpu->arch.nmi_pending = events->nmi.pending; events 3878 arch/x86/kvm/x86.c kvm_x86_ops->set_nmi_mask(vcpu, events->nmi.masked); events 3880 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_SIPI_VECTOR && events 3882 arch/x86/kvm/x86.c vcpu->arch.apic->sipi_vector = events->sipi_vector; events 3884 arch/x86/kvm/x86.c if (events->flags & KVM_VCPUEVENT_VALID_SMM) { events 3885 arch/x86/kvm/x86.c if (!!(vcpu->arch.hflags & HF_SMM_MASK) != events->smi.smm) { events 3886 arch/x86/kvm/x86.c if (events->smi.smm) events 3893 arch/x86/kvm/x86.c vcpu->arch.smi_pending = events->smi.pending; events 3895 arch/x86/kvm/x86.c if (events->smi.smm) { events 3896 arch/x86/kvm/x86.c if (events->smi.smm_inside_nmi) events 3901 arch/x86/kvm/x86.c if (events->smi.latched_init) events 4338 arch/x86/kvm/x86.c struct kvm_vcpu_events events; events 4340 arch/x86/kvm/x86.c kvm_vcpu_ioctl_x86_get_vcpu_events(vcpu, &events); events 4343 arch/x86/kvm/x86.c if (copy_to_user(argp, &events, sizeof(struct kvm_vcpu_events))) events 4349 arch/x86/kvm/x86.c struct kvm_vcpu_events events; events 4352 arch/x86/kvm/x86.c if (copy_from_user(&events, argp, sizeof(struct kvm_vcpu_events))) events 4355 arch/x86/kvm/x86.c r = kvm_vcpu_ioctl_x86_set_vcpu_events(vcpu, &events); events 9097 arch/x86/kvm/x86.c vcpu, &vcpu->run->s.regs.events); events 9116 arch/x86/kvm/x86.c vcpu, &vcpu->run->s.regs.events)) events 1850 block/genhd.c unsigned int events; events 1855 block/genhd.c events = disk->fops->check_events(disk, clearing); events 1860 block/genhd.c events &= ~ev->pending; events 1861 block/genhd.c ev->pending |= events; events 1878 block/genhd.c if ((events & disk->events & (1 << i)) && events 1895 block/genhd.c static ssize_t __disk_events_show(unsigned int events, char *buf) events 1902 block/genhd.c if (events & (1 << i)) { events 1920 block/genhd.c return __disk_events_show(disk->events, buf); events 1964 block/genhd.c static const DEVICE_ATTR(events, 0444, disk_events_show, NULL); events 2021 block/genhd.c if (!disk->fops->check_events || !disk->events) events 1521 drivers/atm/eni.c eni_dev->events |= reason; events 1533 drivers/atm/eni.c u32 events; events 1537 drivers/atm/eni.c events = xchg(&eni_dev->events,0); events 1539 drivers/atm/eni.c if (events & MID_RX_DMA_COMPLETE) { events 1547 drivers/atm/eni.c if (events & MID_SERVICE) { events 1554 drivers/atm/eni.c if (events & MID_TX_DMA_COMPLETE) { events 1558 drivers/atm/eni.c if (events & MID_TX_COMPLETE) { events 1564 drivers/atm/eni.c if (events & (MID_DMA_ERR_ACK | MID_TX_IDENT_MISM | MID_TX_DMA_OVFL)) { events 1566 drivers/atm/eni.c bug_int(dev,events); events 1846 drivers/atm/eni.c eni_dev->events = 0; events 73 drivers/atm/eni.h u32 events; /* pending events */ events 172 drivers/atm/uPD98402.c unsigned char events; events 174 drivers/atm/uPD98402.c events = GET(PCR); events 175 drivers/atm/uPD98402.c if (events & uPD98402_PFM_PFEB) ADD_LIMITED(path_febe,PFECB); events 176 drivers/atm/uPD98402.c if (events & uPD98402_PFM_LFEB) ADD_LIMITED(line_febe,LECCT); events 177 drivers/atm/uPD98402.c if (events & uPD98402_PFM_B3E) ADD_LIMITED(path_bip,B3ECT); events 178 drivers/atm/uPD98402.c if (events & uPD98402_PFM_B2E) ADD_LIMITED(line_bip,B2ECT); events 179 drivers/atm/uPD98402.c if (events & uPD98402_PFM_B1E) ADD_LIMITED(section_bip,B1ECT); events 1833 drivers/block/amiflop.c disk->events = DISK_EVENT_MEDIA_CHANGE; events 2033 drivers/block/ataflop.c unit[i].disk->events = DISK_EVENT_MEDIA_CHANGE; events 4577 drivers/block/floppy.c disks[drive]->events = DISK_EVENT_MEDIA_CHANGE; events 346 drivers/block/paride/pcd.c disk->events = DISK_EVENT_MEDIA_CHANGE; events 900 drivers/block/paride/pd.c p->events = DISK_EVENT_MEDIA_CHANGE; events 322 drivers/block/paride/pf.c disk->events = DISK_EVENT_MEDIA_CHANGE; events 2762 drivers/block/pktcdvd.c disk->events = pd->bdev->bd_disk->events; events 861 drivers/block/swim.c swd->unit[drive].disk->events = DISK_EVENT_MEDIA_CHANGE; events 1215 drivers/block/swim3.c disk->events = DISK_EVENT_MEDIA_CHANGE; events 1032 drivers/block/xsysace.c ace->gd->events = DISK_EVENT_MEDIA_CHANGE; events 1481 drivers/cdrom/cdrom.c unsigned int events; events 1483 drivers/cdrom/cdrom.c events = cdi->ops->check_events(cdi, clearing, CDSL_CURRENT); events 1484 drivers/cdrom/cdrom.c cdi->vfs_events |= events; events 1485 drivers/cdrom/cdrom.c cdi->ioctl_events |= events; events 1491 drivers/cdrom/cdrom.c unsigned int events; events 1494 drivers/cdrom/cdrom.c events = cdi->vfs_events; events 1496 drivers/cdrom/cdrom.c return events; events 775 drivers/cdrom/gdrom.c gd.disk->events = DISK_EVENT_MEDIA_CHANGE; events 48 drivers/char/apm-emulation.c apm_event_t events[APM_MAX_EVENTS]; events 174 drivers/char/apm-emulation.c return q->events[q->event_tail]; events 187 drivers/char/apm-emulation.c q->events[q->event_head] = event; events 4113 drivers/char/ipmi/ipmi_msghandler.c ipmi_inc_stat(intf, events); events 623 drivers/char/ipmi/ipmi_si_intf.c smi_inc_stat(smi_info, events); events 1644 drivers/char/ipmi/ipmi_si_intf.c IPMI_SI_ATTR(events); events 866 drivers/char/ipmi/ipmi_ssif.c ssif_inc_stat(ssif_info, events); events 1261 drivers/char/ipmi/ipmi_ssif.c IPMI_SSIF_ATTR(events); events 1959 drivers/char/pcmcia/synclink_cs.c int events; events 1976 drivers/char/pcmcia/synclink_cs.c events = mask & events 1981 drivers/char/pcmcia/synclink_cs.c if (events) { events 2029 drivers/char/pcmcia/synclink_cs.c events = mask & events 2040 drivers/char/pcmcia/synclink_cs.c if (events) events 2058 drivers/char/pcmcia/synclink_cs.c PUT_USER(rc, events, mask_ptr); events 381 drivers/char/sonypi.c struct sonypi_event * events; events 840 drivers/char/sonypi.c for (j = 0; sonypi_eventtypes[i].events[j].event; j++) { events 841 drivers/char/sonypi.c if (v1 == sonypi_eventtypes[i].events[j].data) { events 842 drivers/char/sonypi.c event = sonypi_eventtypes[i].events[j].event; events 97 drivers/char/tpm/eventlog/efi.c final_tbl->events + log_tbl->final_events_preboot_size, events 153 drivers/crypto/qat/qat_common/qat_hal.c unsigned int *events) events 159 drivers/crypto/qat/qat_common/qat_hal.c *events = qat_hal_rd_ae_csr(handle, ae, CTX_WAKEUP_EVENTS_INDIRECT); events 359 drivers/crypto/qat/qat_common/qat_hal.c unsigned int events) events 368 drivers/crypto/qat/qat_common/qat_hal.c qat_hal_wr_ae_csr(handle, ae, CTX_SIG_EVENTS_INDIRECT, events); events 375 drivers/crypto/qat/qat_common/qat_hal.c unsigned int events) events 385 drivers/crypto/qat/qat_common/qat_hal.c events); events 202 drivers/dma-buf/dma-buf.c __poll_t events; events 213 drivers/dma-buf/dma-buf.c events = poll_requested_events(poll) & (EPOLLIN | EPOLLOUT); events 214 drivers/dma-buf/dma-buf.c if (!events) events 232 drivers/dma-buf/dma-buf.c if (fence_excl && (!(events & EPOLLOUT) || shared_count == 0)) { events 242 drivers/dma-buf/dma-buf.c events &= ~pevents; events 247 drivers/dma-buf/dma-buf.c if (events & pevents) { events 250 drivers/dma-buf/dma-buf.c events &= ~pevents; events 254 drivers/dma-buf/dma-buf.c events &= ~pevents; events 267 drivers/dma-buf/dma-buf.c if ((events & EPOLLOUT) && shared_count > 0) { events 274 drivers/dma-buf/dma-buf.c events &= ~EPOLLOUT; events 279 drivers/dma-buf/dma-buf.c if (!(events & EPOLLOUT)) events 292 drivers/dma-buf/dma-buf.c events &= ~EPOLLOUT; events 299 drivers/dma-buf/dma-buf.c events &= ~EPOLLOUT; events 312 drivers/dma-buf/dma-buf.c return events; events 479 drivers/dma/pl330.c int events[32]; events 1684 drivers/dma/pl330.c id = pl330->events[ev]; events 1736 drivers/dma/pl330.c if (pl330->events[ev] == -1) { events 1737 drivers/dma/pl330.c pl330->events[ev] = thrd->id; events 1789 drivers/dma/pl330.c && pl330->events[ev] == thrd->id) events 1790 drivers/dma/pl330.c pl330->events[ev] = -1; events 1965 drivers/dma/pl330.c pl330->events[i] = -1; events 179 drivers/firewire/init_ohci1394_dma.c int i, events; events 183 drivers/firewire/init_ohci1394_dma.c events = reg_read(ohci, OHCI1394_IntEventSet); events 184 drivers/firewire/init_ohci1394_dma.c if (events & OHCI1394_busReset) events 83 drivers/firmware/efi/tpm.c void *events = (void *)efi.tpm_final_log events 87 drivers/firmware/efi/tpm.c tbl_size = tpm2_calc_event_log_size(events, events 81 drivers/gpio/gpiolib-acpi.c struct list_head events; events 204 drivers/gpio/gpiolib-acpi.c list_for_each_entry(event, &acpi_gpio->events, node) events 343 drivers/gpio/gpiolib-acpi.c list_add_tail(&event->node, &acpi_gpio->events); events 430 drivers/gpio/gpiolib-acpi.c list_for_each_entry_safe_reverse(event, ep, &acpi_gpio->events, node) { events 1028 drivers/gpio/gpiolib-acpi.c list_for_each_entry(event, &achip->events, node) { events 1207 drivers/gpio/gpiolib-acpi.c INIT_LIST_HEAD(&acpi_gpio->events); events 702 drivers/gpio/gpiolib.c DECLARE_KFIFO(events, struct gpioevent_data, 16); events 715 drivers/gpio/gpiolib.c __poll_t events = 0; events 719 drivers/gpio/gpiolib.c if (!kfifo_is_empty(&le->events)) events 720 drivers/gpio/gpiolib.c events = EPOLLIN | EPOLLRDNORM; events 722 drivers/gpio/gpiolib.c return events; events 739 drivers/gpio/gpiolib.c if (kfifo_is_empty(&le->events)) { events 744 drivers/gpio/gpiolib.c !kfifo_is_empty(&le->events)); events 751 drivers/gpio/gpiolib.c ret = kfifo_to_user(&le->events, buf, count, &copied); events 870 drivers/gpio/gpiolib.c ret = kfifo_put(&le->events, ge); events 975 drivers/gpio/gpiolib.c INIT_KFIFO(le->events); events 670 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event_data __user *events = events 689 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (copy_from_user(&event_data, &events[i], events 705 drivers/gpu/drm/amd/amdkfd/kfd_events.c event_waiters, events); events 767 drivers/gpu/drm/amd/amdkfd/kfd_events.c event_waiters, events); events 498 drivers/gpu/drm/amd/display/dc/core/dc.c const struct dc_static_screen_events *events) events 517 drivers/gpu/drm/amd/display/dc/core/dc.c dc->hwss.set_static_screen_control(pipes_affected, num_pipes_affected, events); events 432 drivers/gpu/drm/amd/display/dc/dc_stream.h const struct dc_static_screen_events *events); events 1761 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c int num_pipes, const struct dc_static_screen_events *events) events 1766 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (events->overlay_update) events 1768 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (events->surface_update) events 1770 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (events->cursor_update) events 1772 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c if (events->force_trigger) events 2790 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c int num_pipes, const struct dc_static_screen_events *events) events 2795 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (events->surface_update) events 2797 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (events->cursor_update) events 2799 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c if (events->force_trigger) events 248 drivers/gpu/drm/amd/display/dc/inc/hw_sequencer.h int num_pipes, const struct dc_static_screen_events *events); events 88 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_event_cache *events; events 152 drivers/gpu/drm/amd/display/modules/stats/stats.c core_stats->events = kcalloc(core_stats->event_entries, events 156 drivers/gpu/drm/amd/display/modules/stats/stats.c if (core_stats->events == NULL) events 190 drivers/gpu/drm/amd/display/modules/stats/stats.c kfree(core_stats->events); events 201 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_event_cache *events = NULL; events 214 drivers/gpu/drm/amd/display/modules/stats/stats.c events = core_stats->events; events 236 drivers/gpu/drm/amd/display/modules/stats/stats.c i == events[event_index].entry_id) { events 237 drivers/gpu/drm/amd/display/modules/stats/stats.c DISPLAY_STATS("==Event==%s\n", events[event_index].event_string); events 286 drivers/gpu/drm/amd/display/modules/stats/stats.c memset(core_stats->events, 0, events 301 drivers/gpu/drm/amd/display/modules/stats/stats.c struct stats_event_cache *events = NULL; events 313 drivers/gpu/drm/amd/display/modules/stats/stats.c events = core_stats->events; events 320 drivers/gpu/drm/amd/display/modules/stats/stats.c memcpy(&events[index].event_string, event_string, copy_length); events 321 drivers/gpu/drm/amd/display/modules/stats/stats.c events[index].event_string[copy_length - 1] = '\0'; events 323 drivers/gpu/drm/amd/display/modules/stats/stats.c events[index].entry_id = core_stats->entry_id; events 174 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c u32 events = evts->pipes[kcrtc->master->id]; events 176 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c if (events & KOMEDA_EVENT_VSYNC) events 179 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c if (events & KOMEDA_EVENT_EOW) { events 189 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c if (events & KOMEDA_EVENT_EOW) events 192 drivers/gpu/drm/arm/display/komeda/komeda_crtc.c if (events & KOMEDA_EVENT_FLIP) { events 105 drivers/gpu/drm/arm/display/komeda/komeda_dev.h struct komeda_events *events); events 1080 drivers/gpu/drm/etnaviv/etnaviv_gpu.c unsigned int *events) events 1104 drivers/gpu/drm/etnaviv/etnaviv_gpu.c events[i] = event; events 45 drivers/gpu/drm/i915/gvt/interrupt.c #define get_event_virt_handler(irq, e) (irq->events[e].v_handler) events 46 drivers/gpu/drm/i915/gvt/interrupt.c #define get_irq_info(irq, e) (irq->events[e].info) events 412 drivers/gpu/drm/i915/gvt/interrupt.c bit = irq->events[event].bit; events 498 drivers/gpu/drm/i915/gvt/interrupt.c s->events[e].bit = b; \ events 499 drivers/gpu/drm/i915/gvt/interrupt.c s->events[e].info = s->info[i]; \ events 640 drivers/gpu/drm/i915/gvt/interrupt.c irq->events[i].info = NULL; events 641 drivers/gpu/drm/i915/gvt/interrupt.c irq->events[i].v_handler = handle_default_event_virt; events 208 drivers/gpu/drm/i915/gvt/interrupt.h struct intel_gvt_event_info events[INTEL_GVT_EVENT_MAX]; events 748 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned long events; events 754 drivers/gpu/drm/i915/gvt/kvmgt.c events = VFIO_IOMMU_NOTIFY_DMA_UNMAP; events 755 drivers/gpu/drm/i915/gvt/kvmgt.c ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, &events, events 763 drivers/gpu/drm/i915/gvt/kvmgt.c events = VFIO_GROUP_NOTIFY_SET_KVM; events 764 drivers/gpu/drm/i915/gvt/kvmgt.c ret = vfio_register_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY, &events, events 478 drivers/gpu/drm/i915/i915_irq.c u32 events = REG_FIELD_PREP(ENGINE1_MASK, GUC_INTR_GUC2HOST); events 481 drivers/gpu/drm/i915/i915_irq.c intel_uncore_write(gt->uncore, GEN11_GUC_SG_INTR_ENABLE, events); events 482 drivers/gpu/drm/i915/i915_irq.c intel_uncore_write(gt->uncore, GEN11_GUC_SG_INTR_MASK, ~events); events 1134 drivers/gpu/drm/i915/i915_irq.c u32 events = 0; events 1160 drivers/gpu/drm/i915/i915_irq.c events = GEN6_PM_RP_UP_THRESHOLD; events 1162 drivers/gpu/drm/i915/i915_irq.c events = GEN6_PM_RP_DOWN_THRESHOLD; events 1166 drivers/gpu/drm/i915/i915_irq.c return events; events 1662 drivers/gpu/drm/i915/i915_irq.c const u32 events = i915->pm_rps_events & pm_iir; events 1666 drivers/gpu/drm/i915/i915_irq.c if (unlikely(!events)) events 1669 drivers/gpu/drm/i915/i915_irq.c gen6_gt_pm_mask_irq(gt, events); events 1674 drivers/gpu/drm/i915/i915_irq.c rps->pm_iir |= events; events 2470 drivers/gpu/drm/i915/i915_perf.c __poll_t events = 0; events 2481 drivers/gpu/drm/i915/i915_perf.c events |= EPOLLIN; events 2483 drivers/gpu/drm/i915/i915_perf.c return events; events 845 drivers/gpu/drm/i915/i915_pmu.c } events[] = { events 867 drivers/gpu/drm/i915/i915_pmu.c for (i = 0; i < ARRAY_SIZE(events); i++) { events 868 drivers/gpu/drm/i915/i915_pmu.c if (!config_status(i915, events[i].config)) events 899 drivers/gpu/drm/i915/i915_pmu.c for (i = 0; i < ARRAY_SIZE(events); i++) { events 902 drivers/gpu/drm/i915/i915_pmu.c if (config_status(i915, events[i].config)) events 905 drivers/gpu/drm/i915/i915_pmu.c str = kstrdup(events[i].name, GFP_KERNEL); events 910 drivers/gpu/drm/i915/i915_pmu.c i915_iter = add_i915_attr(i915_iter, str, events[i].config); events 912 drivers/gpu/drm/i915/i915_pmu.c if (events[i].unit) { events 913 drivers/gpu/drm/i915/i915_pmu.c str = kasprintf(GFP_KERNEL, "%s.unit", events[i].name); events 918 drivers/gpu/drm/i915/i915_pmu.c pmu_iter = add_pmu_attr(pmu_iter, str, events[i].unit); events 59 drivers/gpu/drm/vc4/vc4_drv.h u8 events[DRM_VC4_MAX_PERF_COUNTERS]; events 39 drivers/gpu/drm/vc4/vc4_perfmon.c V3D_WRITE(V3D_PCTRS(i), perfmon->events[i]); events 122 drivers/gpu/drm/vc4/vc4_perfmon.c if (req->events[i] >= VC4_PERFCNT_NUM_EVENTS) events 132 drivers/gpu/drm/vc4/vc4_perfmon.c perfmon->events[i] = req->events[i]; events 713 drivers/hid/hid-debug.c static const char *events[EV_MAX + 1] = { events 1007 drivers/hid/hid-debug.c seq_printf(f, "%s.%s", events[type] ? events[type] : "?", events 1661 drivers/hv/vmbus_drv.c static VMBUS_CHAN_ATTR(events, S_IRUGO, channel_events_show, NULL); events 793 drivers/i3c/master.c struct i3c_ccc_events *events; events 798 drivers/i3c/master.c events = i3c_ccc_cmd_dest_init(&dest, addr, sizeof(*events)); events 799 drivers/i3c/master.c if (!events) events 802 drivers/i3c/master.c events->events = evts; events 1800 drivers/ide/ide-cd.c g->events = DISK_EVENT_MEDIA_CHANGE; events 421 drivers/ide/ide-gd.c g->events = DISK_EVENT_MEDIA_CHANGE; events 181 drivers/iio/accel/mma9553.c struct mma9553_event events[MMA9553_EVENTS_INFO_SIZE]; events 227 drivers/iio/accel/mma9553.c data->events[i].info = &mma9553_events_info[i]; events 228 drivers/iio/accel/mma9553.c data->events[i].enabled = false; events 240 drivers/iio/accel/mma9553.c if (data->events[i].info->type == type && events 241 drivers/iio/accel/mma9553.c data->events[i].info->mod == mod && events 242 drivers/iio/accel/mma9553.c data->events[i].info->dir == dir) events 243 drivers/iio/accel/mma9553.c return &data->events[i]; events 255 drivers/iio/accel/mma9553.c if ((check_type && data->events[i].info->type == type && events 256 drivers/iio/accel/mma9553.c data->events[i].enabled) || events 257 drivers/iio/accel/mma9553.c (!check_type && data->events[i].enabled)) events 487 drivers/iio/adc/xilinx-xadc-core.c unsigned int events; events 506 drivers/iio/adc/xilinx-xadc-core.c events = (status & 0x000e) >> 1; events 507 drivers/iio/adc/xilinx-xadc-core.c events |= (status & 0x0001) << 3; events 508 drivers/iio/adc/xilinx-xadc-core.c events |= (status & 0x3c00) >> 6; events 509 drivers/iio/adc/xilinx-xadc-core.c xadc_handle_events(indio_dev, events); events 62 drivers/iio/adc/xilinx-xadc-events.c void xadc_handle_events(struct iio_dev *indio_dev, unsigned long events) events 66 drivers/iio/adc/xilinx-xadc-events.c for_each_set_bit(i, &events, 8) events 21 drivers/iio/adc/xilinx-xadc.h void xadc_handle_events(struct iio_dev *indio_dev, unsigned long events); events 206 drivers/iio/dac/ad5421.c unsigned int events; events 235 drivers/iio/dac/ad5421.c events = (old_fault ^ fault) & fault; events 236 drivers/iio/dac/ad5421.c events &= st->fault_mask; events 238 drivers/iio/dac/ad5421.c if (events & AD5421_FAULT_OVER_CURRENT) { events 247 drivers/iio/dac/ad5421.c if (events & AD5421_FAULT_UNDER_CURRENT) { events 256 drivers/iio/dac/ad5421.c if (events & AD5421_FAULT_TEMP_OVER_140) { events 100 drivers/iio/industrialio-event.c __poll_t events = 0; events 103 drivers/iio/industrialio-event.c return events; events 108 drivers/iio/industrialio-event.c events = EPOLLIN | EPOLLRDNORM; events 110 drivers/iio/industrialio-event.c return events; events 492 drivers/infiniband/hw/hfi1/file_ops.c (dd->events + uctxt_offset(uctxt)) & PAGE_MASK; events 674 drivers/infiniband/hw/hfi1/file_ops.c ev = dd->events + uctxt_offset(uctxt) + fdata->subctxt; events 1303 drivers/infiniband/hw/hfi1/file_ops.c sizeof(*dd->events)); events 1501 drivers/infiniband/hw/hfi1/file_ops.c if (!dd->events) events 1514 drivers/infiniband/hw/hfi1/file_ops.c evs = dd->events + uctxt_offset(uctxt); events 1581 drivers/infiniband/hw/hfi1/file_ops.c unsigned long events; events 1583 drivers/infiniband/hw/hfi1/file_ops.c if (!dd->events) events 1586 drivers/infiniband/hw/hfi1/file_ops.c if (get_user(events, (unsigned long __user *)arg)) events 1589 drivers/infiniband/hw/hfi1/file_ops.c evs = dd->events + uctxt_offset(uctxt) + subctxt; events 1592 drivers/infiniband/hw/hfi1/file_ops.c if (!test_bit(i, &events)) events 1192 drivers/infiniband/hw/hfi1/hfi.h unsigned long *events; events 956 drivers/infiniband/hw/hfi1/init.c sizeof(*dd->events)); events 957 drivers/infiniband/hw/hfi1/init.c dd->events = vmalloc_user(len); events 958 drivers/infiniband/hw/hfi1/init.c if (!dd->events) events 1592 drivers/infiniband/hw/hfi1/init.c vfree(dd->events); events 3901 drivers/infiniband/hw/hfi1/mad.c memcpy(cong_log->events[i].local_qp_cn_entry, &cce->lqpn, 3); events 3902 drivers/infiniband/hw/hfi1/mad.c memcpy(cong_log->events[i].remote_qp_number_cn_entry, events 3904 drivers/infiniband/hw/hfi1/mad.c cong_log->events[i].sl_svc_type_cn_entry = events 3906 drivers/infiniband/hw/hfi1/mad.c cong_log->events[i].remote_lid_cn_entry = events 3908 drivers/infiniband/hw/hfi1/mad.c cong_log->events[i].timestamp_cn_entry = events 271 drivers/infiniband/hw/hfi1/mad.h struct opa_hfi1_cong_log_event events[OPA_CONG_LOG_ELEMS]; events 545 drivers/infiniband/hw/hfi1/user_exp_rcv.c unsigned long *ev = uctxt->dd->events + events 941 drivers/infiniband/hw/hfi1/user_exp_rcv.c ev = uctxt->dd->events + events 789 drivers/infiniband/hw/qedr/main.c struct qed_rdma_events events; events 812 drivers/infiniband/hw/qedr/main.c events.affiliated_event = qedr_affiliated_event; events 813 drivers/infiniband/hw/qedr/main.c events.unaffiliated_event = qedr_unaffiliated_event; events 814 drivers/infiniband/hw/qedr/main.c events.context = dev; events 816 drivers/infiniband/hw/qedr/main.c in_params->events = &events; events 122 drivers/infiniband/hw/qedr/qedr.h struct qed_rdma_events events; events 2017 drivers/infiniband/hw/qib/qib_file_ops.c unsigned long events) events 2022 drivers/infiniband/hw/qib/qib_file_ops.c if (!test_bit(i, &events)) events 1422 drivers/input/evdev.c .events = evdev_events, events 118 drivers/input/ff-memless.c int events = 0; events 136 drivers/input/ff-memless.c (++events == 1 || time_before(next_at, earliest))) events 140 drivers/input/ff-memless.c if (!events) { events 114 drivers/input/input.c if (handler->events) events 115 drivers/input/input.c handler->events(handle, vals, count); events 2036 drivers/input/input.c unsigned int events; events 2050 drivers/input/input.c events = mt_slots + 1; /* count SYN_MT_REPORT and SYN_REPORT */ events 2054 drivers/input/input.c events += input_is_mt_axis(i) ? mt_slots : 1; events 2057 drivers/input/input.c events += bitmap_weight(dev->relbit, REL_CNT); events 2060 drivers/input/input.c events += 7; events 2062 drivers/input/input.c return events; events 274 drivers/input/keyboard/pmic8xxx-keypad.c static int pmic8xxx_kp_scan_matrix(struct pmic8xxx_kp *kp, unsigned int events) events 280 drivers/input/keyboard/pmic8xxx-keypad.c switch (events) { events 348 drivers/input/keyboard/pmic8xxx-keypad.c unsigned int ctrl_val, events; events 357 drivers/input/keyboard/pmic8xxx-keypad.c events = ctrl_val & KEYP_CTRL_EVNTS_MASK; events 359 drivers/input/keyboard/pmic8xxx-keypad.c rc = pmic8xxx_kp_scan_matrix(kp, events); events 712 drivers/input/touchscreen/hideep.c const struct hideep_event *events = events 726 drivers/input/touchscreen/hideep.c hideep_report_slot(ts->input_dev, events + i); events 71 drivers/irqchip/irq-ti-sci-inta.c struct ti_sci_inta_event_desc events[MAX_EVENTS_PER_VINT]; events 99 drivers/irqchip/irq-ti-sci-inta.c events[i]) events 123 drivers/irqchip/irq-ti-sci-inta.c virq = irq_find_mapping(domain, vint_desc->events[bit].hwirq); events 196 drivers/irqchip/irq-ti-sci-inta.c event_desc = &vint_desc->events[free_bit]; events 1947 drivers/md/dm-raid.c __le64 events; /* Incremented by md when superblock updated */ events 2129 drivers/md/dm-raid.c sb->events = cpu_to_le64(mddev->events); events 2215 drivers/md/dm-raid.c events_sb = le64_to_cpu(sb->events); events 2218 drivers/md/dm-raid.c events_refsb = le64_to_cpu(refsb->events); events 2236 drivers/md/dm-raid.c events_sb = le64_to_cpu(sb->events); events 2241 drivers/md/dm-raid.c mddev->events = events_sb ? : 1; events 2463 drivers/md/dm-raid.c if (!mddev->events && super_init_validation(rs, rdev)) events 121 drivers/md/dm-uevent.c void dm_send_uevents(struct list_head *events, struct kobject *kobj) events 126 drivers/md/dm-uevent.c list_for_each_entry_safe(event, next, events, elist) { events 20 drivers/md/dm-uevent.h extern void dm_send_uevents(struct list_head *events, struct kobject *kobj); events 34 drivers/md/dm-uevent.h static inline void dm_send_uevents(struct list_head *events, events 458 drivers/md/md-bitmap.c sb->events = cpu_to_le64(bitmap->mddev->events); events 459 drivers/md/md-bitmap.c if (bitmap->mddev->events < bitmap->events_cleared) events 461 drivers/md/md-bitmap.c bitmap->events_cleared = bitmap->mddev->events; events 499 drivers/md/md-bitmap.c (unsigned long long) le64_to_cpu(sb->events)); events 571 drivers/md/md-bitmap.c bitmap->events_cleared = bitmap->mddev->events; events 572 drivers/md/md-bitmap.c sb->events_cleared = cpu_to_le64(bitmap->mddev->events); events 586 drivers/md/md-bitmap.c unsigned long long events; events 687 drivers/md/md-bitmap.c events = le64_to_cpu(sb->events); events 688 drivers/md/md-bitmap.c if (!nodes && (events < bitmap->mddev->events)) { events 690 drivers/md/md-bitmap.c bmname(bitmap), events, events 691 drivers/md/md-bitmap.c (unsigned long long) bitmap->mddev->events); events 722 drivers/md/md-bitmap.c bitmap->events_cleared = bitmap->mddev->events; events 1486 drivers/md/md-bitmap.c bitmap->events_cleared < bitmap->mddev->events) { events 1487 drivers/md/md-bitmap.c bitmap->events_cleared = bitmap->mddev->events; events 1929 drivers/md/md-bitmap.c || bitmap->events_cleared == mddev->events) events 127 drivers/md/md-bitmap.h __le64 events; /* 24 event counter for the bitmap (1)*/ events 1237 drivers/md/md.c mddev->events = ev1; events 1294 drivers/md/md.c if (ev1 < mddev->events) events 1302 drivers/md/md.c if (ev1 < mddev->events) events 1305 drivers/md/md.c if (ev1 < mddev->events) events 1383 drivers/md/md.c sb->events_hi = (mddev->events>>32); events 1384 drivers/md/md.c sb->events_lo = (u32)mddev->events; events 1400 drivers/md/md.c sb->cp_events_hi = (mddev->events>>32); events 1401 drivers/md/md.c sb->cp_events_lo = (u32)mddev->events; events 1708 drivers/md/md.c ev1 = le64_to_cpu(sb->events); events 1709 drivers/md/md.c ev2 = le64_to_cpu(refsb->events); events 1730 drivers/md/md.c __u64 ev1 = le64_to_cpu(sb->events); events 1750 drivers/md/md.c mddev->events = ev1; events 1829 drivers/md/md.c if (ev1 < mddev->events) events 1837 drivers/md/md.c if (ev1 < mddev->events) events 1840 drivers/md/md.c if (ev1 < mddev->events) events 1915 drivers/md/md.c sb->events = cpu_to_le64(mddev->events); events 2495 drivers/md/md.c if (rdev->sb_events == mddev->events || events 2498 drivers/md/md.c rdev->sb_events+1 == mddev->events)) { events 2650 drivers/md/md.c && mddev->events != 1) { events 2651 drivers/md/md.c mddev->events--; events 2655 drivers/md/md.c mddev->events ++; events 2664 drivers/md/md.c WARN_ON(mddev->events == 0); events 2696 drivers/md/md.c rdev->sb_events = mddev->events; events 5976 drivers/md/md.c mddev->events = 0; events 9449 drivers/md/md.c mddev->events = le64_to_cpu(sb->events); events 316 drivers/md/md.h __u64 events; events 108 drivers/media/cec/cec-adap.c if (WARN_ON(ev_idx >= ARRAY_SIZE(fh->events))) events 131 drivers/media/cec/cec-adap.c list_add_tail(&entry->list, &fh->events[ev_idx]); events 138 drivers/media/cec/cec-adap.c list_add_tail(&entry->list, &fh->events[ev_idx]); events 140 drivers/media/cec/cec-adap.c entry = list_first_entry(&fh->events[ev_idx], events 147 drivers/media/cec/cec-adap.c entry = list_first_entry_or_null(&fh->events[ev_idx], events 309 drivers/media/cec/cec-api.c list_first_entry_or_null(&fh->events[i], events 552 drivers/media/cec/cec-api.c INIT_LIST_HEAD(&fh->events[i]); events 657 drivers/media/cec/cec-api.c while (!list_empty(&fh->events[i])) { events 659 drivers/media/cec/cec-api.c list_first_entry(&fh->events[i], events 96 drivers/media/dvb-core/dvb_frontend.c struct dvb_fe_events events; events 241 drivers/media/dvb-core/dvb_frontend.c struct dvb_fe_events *events = &fepriv->events; events 250 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&events->mtx); events 252 drivers/media/dvb-core/dvb_frontend.c wp = (events->eventw + 1) % MAX_EVENT; events 253 drivers/media/dvb-core/dvb_frontend.c if (wp == events->eventr) { events 254 drivers/media/dvb-core/dvb_frontend.c events->overflow = 1; events 255 drivers/media/dvb-core/dvb_frontend.c events->eventr = (events->eventr + 1) % MAX_EVENT; events 258 drivers/media/dvb-core/dvb_frontend.c e = &events->events[events->eventw]; events 262 drivers/media/dvb-core/dvb_frontend.c events->eventw = wp; events 264 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&events->mtx); events 266 drivers/media/dvb-core/dvb_frontend.c wake_up_interruptible(&events->wait_queue); events 270 drivers/media/dvb-core/dvb_frontend.c struct dvb_fe_events *events) events 275 drivers/media/dvb-core/dvb_frontend.c ret = events->eventw != events->eventr; events 285 drivers/media/dvb-core/dvb_frontend.c struct dvb_fe_events *events = &fepriv->events; events 289 drivers/media/dvb-core/dvb_frontend.c if (events->overflow) { events 290 drivers/media/dvb-core/dvb_frontend.c events->overflow = 0; events 294 drivers/media/dvb-core/dvb_frontend.c if (events->eventw == events->eventr) { events 300 drivers/media/dvb-core/dvb_frontend.c ret = wait_event_interruptible(events->wait_queue, events 301 drivers/media/dvb-core/dvb_frontend.c dvb_frontend_test_event(fepriv, events)); events 307 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&events->mtx); events 308 drivers/media/dvb-core/dvb_frontend.c *event = events->events[events->eventr]; events 309 drivers/media/dvb-core/dvb_frontend.c events->eventr = (events->eventr + 1) % MAX_EVENT; events 310 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&events->mtx); events 318 drivers/media/dvb-core/dvb_frontend.c struct dvb_fe_events *events = &fepriv->events; events 320 drivers/media/dvb-core/dvb_frontend.c mutex_lock(&events->mtx); events 321 drivers/media/dvb-core/dvb_frontend.c events->eventr = events->eventw; events 322 drivers/media/dvb-core/dvb_frontend.c mutex_unlock(&events->mtx); events 2716 drivers/media/dvb-core/dvb_frontend.c poll_wait(file, &fepriv->events.wait_queue, wait); events 2718 drivers/media/dvb-core/dvb_frontend.c if (fepriv->events.eventw != fepriv->events.eventr) events 2820 drivers/media/dvb-core/dvb_frontend.c fepriv->events.eventr = fepriv->events.eventw = 0; events 2988 drivers/media/dvb-core/dvb_frontend.c init_waitqueue_head(&fepriv->events.wait_queue); events 2989 drivers/media/dvb-core/dvb_frontend.c mutex_init(&fepriv->events.mtx); events 517 drivers/media/i2c/cx25840/cx25840-ir.c u32 events, v; events 573 drivers/media/i2c/cx25840/cx25840-ir.c events = V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ; events 574 drivers/media/i2c/cx25840/cx25840-ir.c v4l2_subdev_notify(sd, V4L2_SUBDEV_IR_TX_NOTIFY, &events); events 608 drivers/media/i2c/cx25840/cx25840-ir.c events = 0; events 611 drivers/media/i2c/cx25840/cx25840-ir.c events |= V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN; events 620 drivers/media/i2c/cx25840/cx25840-ir.c events |= V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN; events 629 drivers/media/i2c/cx25840/cx25840-ir.c events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; events 639 drivers/media/i2c/cx25840/cx25840-ir.c events |= V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ; events 642 drivers/media/i2c/cx25840/cx25840-ir.c if (events) events 643 drivers/media/i2c/cx25840/cx25840-ir.c v4l2_subdev_notify(sd, V4L2_SUBDEV_IR_RX_NOTIFY, &events); events 63 drivers/media/pci/cx23885/cx23885-input.c void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events) events 68 drivers/media/pci/cx23885/cx23885-input.c if (dev->sd_ir == NULL || events == 0) events 98 drivers/media/pci/cx23885/cx23885-input.c overrun = events & (V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN | events 101 drivers/media/pci/cx23885/cx23885-input.c data_available = events & (V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED | events 12 drivers/media/pci/cx23885/cx23885-input.h void cx23885_input_rx_work_handler(struct cx23885_dev *dev, u32 events); events 28 drivers/media/pci/cx23885/cx23885-ir.c u32 events = 0; events 32 drivers/media/pci/cx23885/cx23885-ir.c events |= V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN; events 34 drivers/media/pci/cx23885/cx23885-ir.c events |= V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN; events 36 drivers/media/pci/cx23885/cx23885-ir.c events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; events 38 drivers/media/pci/cx23885/cx23885-ir.c events |= V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ; events 40 drivers/media/pci/cx23885/cx23885-ir.c if (events == 0) events 44 drivers/media/pci/cx23885/cx23885-ir.c cx23885_input_rx_work_handler(dev, events); events 51 drivers/media/pci/cx23885/cx23885-ir.c u32 events = 0; events 55 drivers/media/pci/cx23885/cx23885-ir.c events |= V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ; events 57 drivers/media/pci/cx23885/cx23885-ir.c if (events == 0) events 63 drivers/media/pci/cx23885/cx23885-ir.c void cx23885_ir_rx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events) events 68 drivers/media/pci/cx23885/cx23885-ir.c if (events & V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ) events 70 drivers/media/pci/cx23885/cx23885-ir.c if (events & V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED) events 72 drivers/media/pci/cx23885/cx23885-ir.c if (events & V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN) events 74 drivers/media/pci/cx23885/cx23885-ir.c if (events & V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN) events 88 drivers/media/pci/cx23885/cx23885-ir.c void cx23885_ir_tx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events) events 93 drivers/media/pci/cx23885/cx23885-ir.c if (events & V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ) events 12 drivers/media/pci/cx23885/cx23885-ir.h void cx23885_ir_rx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events); events 13 drivers/media/pci/cx23885/cx23885-ir.h void cx23885_ir_tx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events); events 533 drivers/media/pci/cx23885/cx23888-ir.c u32 events, v; events 573 drivers/media/pci/cx23885/cx23888-ir.c events = V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ; events 574 drivers/media/pci/cx23885/cx23888-ir.c v4l2_subdev_notify(sd, V4L2_SUBDEV_IR_TX_NOTIFY, &events); events 608 drivers/media/pci/cx23885/cx23888-ir.c events = 0; events 611 drivers/media/pci/cx23885/cx23888-ir.c events |= V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN; events 620 drivers/media/pci/cx23885/cx23888-ir.c events |= V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN; events 629 drivers/media/pci/cx23885/cx23888-ir.c events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; events 640 drivers/media/pci/cx23885/cx23888-ir.c events |= V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ; events 643 drivers/media/pci/cx23885/cx23888-ir.c if (events) events 644 drivers/media/pci/cx23885/cx23888-ir.c v4l2_subdev_notify(sd, V4L2_SUBDEV_IR_RX_NOTIFY, &events); events 71 drivers/media/pci/ttpci/av7110.h struct video_event events[MAX_VIDEO_EVENT]; events 869 drivers/media/pci/ttpci/av7110_av.c struct dvb_video_events *events = &av7110->video_events; events 872 drivers/media/pci/ttpci/av7110_av.c spin_lock_bh(&events->lock); events 874 drivers/media/pci/ttpci/av7110_av.c wp = (events->eventw + 1) % MAX_VIDEO_EVENT; events 875 drivers/media/pci/ttpci/av7110_av.c if (wp == events->eventr) { events 876 drivers/media/pci/ttpci/av7110_av.c events->overflow = 1; events 877 drivers/media/pci/ttpci/av7110_av.c events->eventr = (events->eventr + 1) % MAX_VIDEO_EVENT; events 881 drivers/media/pci/ttpci/av7110_av.c memcpy(&events->events[events->eventw], event, sizeof(struct video_event)); events 882 drivers/media/pci/ttpci/av7110_av.c events->eventw = wp; events 884 drivers/media/pci/ttpci/av7110_av.c spin_unlock_bh(&events->lock); events 886 drivers/media/pci/ttpci/av7110_av.c wake_up_interruptible(&events->wait_queue); events 892 drivers/media/pci/ttpci/av7110_av.c struct dvb_video_events *events = &av7110->video_events; events 894 drivers/media/pci/ttpci/av7110_av.c if (events->overflow) { events 895 drivers/media/pci/ttpci/av7110_av.c events->overflow = 0; events 898 drivers/media/pci/ttpci/av7110_av.c if (events->eventw == events->eventr) { events 904 drivers/media/pci/ttpci/av7110_av.c ret = wait_event_interruptible(events->wait_queue, events 905 drivers/media/pci/ttpci/av7110_av.c events->eventw != events->eventr); events 910 drivers/media/pci/ttpci/av7110_av.c spin_lock_bh(&events->lock); events 912 drivers/media/pci/ttpci/av7110_av.c memcpy(event, &events->events[events->eventr], events 914 drivers/media/pci/ttpci/av7110_av.c events->eventr = (events->eventr + 1) % MAX_VIDEO_EVENT; events 916 drivers/media/pci/ttpci/av7110_av.c spin_unlock_bh(&events->lock); events 57 drivers/media/platform/cros-ec-cec/cros-ec-cec.c uint32_t events = cros_ec->event_data.data.cec_events; events 59 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (events & EC_MKBP_CEC_SEND_OK) events 64 drivers/media/platform/cros-ec-cec/cros-ec-cec.c if (events & EC_MKBP_CEC_SEND_FAILED) events 261 drivers/media/platform/exynos4-is/fimc-lite.c fimc->events.data_overflow++; events 454 drivers/media/platform/exynos4-is/fimc-lite.c memset(&fimc->events, 0, sizeof(fimc->events)); events 176 drivers/media/platform/exynos4-is/fimc-lite.h struct fimc_lite_events events; events 225 drivers/media/platform/exynos4-is/mipi-csis.c struct s5pcsis_event events[S5PCSIS_NUM_EVENTS]; events 468 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].counter = 0; events 480 drivers/media/platform/exynos4-is/mipi-csis.c if (state->events[i].counter > 0 || debug) events 482 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].name, events 483 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].counter); events 699 drivers/media/platform/exynos4-is/mipi-csis.c if (!(status & state->events[i].mask)) events 701 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].counter++; events 703 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].name, events 704 drivers/media/platform/exynos4-is/mipi-csis.c state->events[i].counter); events 864 drivers/media/platform/exynos4-is/mipi-csis.c memcpy(state->events, s5pcsis_events, sizeof(state->events)); events 1477 drivers/media/platform/omap3isp/ispccdc.c static void ccdc_lsc_isr(struct isp_ccdc_device *ccdc, u32 events) events 1481 drivers/media/platform/omap3isp/ispccdc.c if (events & IRQ0STATUS_CCDC_LSC_PREF_ERR_IRQ) { events 1490 drivers/media/platform/omap3isp/ispccdc.c if (!(events & IRQ0STATUS_CCDC_LSC_DONE_IRQ)) events 1515 drivers/media/platform/omap3isp/ispccdc.c if (events & IRQ0STATUS_HS_VS_IRQ) events 1760 drivers/media/platform/omap3isp/ispccdc.c int omap3isp_ccdc_isr(struct isp_ccdc_device *ccdc, u32 events) events 1765 drivers/media/platform/omap3isp/ispccdc.c if (events & IRQ0STATUS_CCDC_VD1_IRQ) events 1768 drivers/media/platform/omap3isp/ispccdc.c ccdc_lsc_isr(ccdc, events); events 1770 drivers/media/platform/omap3isp/ispccdc.c if (events & IRQ0STATUS_CCDC_VD0_IRQ) events 1773 drivers/media/platform/omap3isp/ispccdc.c if (events & IRQ0STATUS_HS_VS_IRQ) events 169 drivers/media/platform/omap3isp/ispccdc.h int omap3isp_ccdc_isr(struct isp_ccdc_device *isp_ccdc, u32 events); events 193 drivers/media/rc/ir-imon-decoder.c struct ir_raw_event *events, unsigned int max) events 195 drivers/media/rc/ir-imon-decoder.c struct ir_raw_event *e = events; events 230 drivers/media/rc/ir-imon-decoder.c return e - events; events 189 drivers/media/rc/ir-jvc-decoder.c struct ir_raw_event *events, unsigned int max) events 191 drivers/media/rc/ir-jvc-decoder.c struct ir_raw_event *e = events; events 200 drivers/media/rc/ir-jvc-decoder.c return e - events; events 400 drivers/media/rc/ir-mce_kbd-decoder.c struct ir_raw_event *events, unsigned int max) events 402 drivers/media/rc/ir-mce_kbd-decoder.c struct ir_raw_event *e = events; events 420 drivers/media/rc/ir-mce_kbd-decoder.c return e - events; events 233 drivers/media/rc/ir-nec-decoder.c struct ir_raw_event *events, unsigned int max) events 235 drivers/media/rc/ir-nec-decoder.c struct ir_raw_event *e = events; events 247 drivers/media/rc/ir-nec-decoder.c return e - events; events 210 drivers/media/rc/ir-rc5-decoder.c struct ir_raw_event *events, unsigned int max) events 213 drivers/media/rc/ir-rc5-decoder.c struct ir_raw_event *e = events; events 247 drivers/media/rc/ir-rc5-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 265 drivers/media/rc/ir-rc5-decoder.c return e - events; events 310 drivers/media/rc/ir-rc6-decoder.c struct ir_raw_event *events, unsigned int max) events 313 drivers/media/rc/ir-rc6-decoder.c struct ir_raw_event *e = events; events 317 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 324 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 330 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 355 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 362 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 368 drivers/media/rc/ir-rc6-decoder.c ret = ir_raw_gen_manchester(&e, max - (e - events), events 376 drivers/media/rc/ir-rc6-decoder.c return e - events; events 200 drivers/media/rc/ir-rcmm-decoder.c struct ir_raw_event *events, unsigned int max) events 202 drivers/media/rc/ir-rcmm-decoder.c struct ir_raw_event *e = events; events 222 drivers/media/rc/ir-rcmm-decoder.c return e - events; events 190 drivers/media/rc/ir-sanyo-decoder.c struct ir_raw_event *events, unsigned int max) events 192 drivers/media/rc/ir-sanyo-decoder.c struct ir_raw_event *e = events; events 205 drivers/media/rc/ir-sanyo-decoder.c return e - events; events 191 drivers/media/rc/ir-sharp-decoder.c struct ir_raw_event *events, unsigned int max) events 193 drivers/media/rc/ir-sharp-decoder.c struct ir_raw_event *e = events; events 213 drivers/media/rc/ir-sharp-decoder.c return e - events; events 188 drivers/media/rc/ir-sony-decoder.c struct ir_raw_event *events, unsigned int max) events 190 drivers/media/rc/ir-sony-decoder.c struct ir_raw_event *e = events; events 210 drivers/media/rc/ir-sony-decoder.c return e - events; events 605 drivers/media/rc/lirc_dev.c __poll_t events = 0; events 610 drivers/media/rc/lirc_dev.c events = EPOLLHUP | EPOLLERR; events 614 drivers/media/rc/lirc_dev.c events = EPOLLIN | EPOLLRDNORM; events 618 drivers/media/rc/lirc_dev.c events = EPOLLIN | EPOLLRDNORM; events 621 drivers/media/rc/lirc_dev.c return events; events 39 drivers/media/rc/rc-core-priv.h struct ir_raw_event *events, unsigned int max); events 522 drivers/media/rc/rc-ir-raw.c struct ir_raw_event *events, unsigned int max) events 533 drivers/media/rc/rc-ir-raw.c ret = handler->encode(protocol, scancode, events, max); events 117 drivers/media/v4l2-core/v4l2-event.c kev = sev->events + sev_pos(sev, 0); events 129 drivers/media/v4l2-core/v4l2-event.c sev->events + sev_pos(sev, 0); events 135 drivers/media/v4l2-core/v4l2-event.c kev = sev->events + sev_pos(sev, sev->in_use); events 197 drivers/media/v4l2-core/v4l2-event.c list_del(&sev->events[sev_pos(sev, i)].list); events 218 drivers/media/v4l2-core/v4l2-event.c sev = kvzalloc(struct_size(sev, events, elems), GFP_KERNEL); events 222 drivers/media/v4l2-core/v4l2-event.c sev->events[i].sev = sev; events 1844 drivers/message/fusion/mptbase.c ioc->events = NULL; events 2760 drivers/message/fusion/mptbase.c if (ioc->events != NULL){ events 2762 drivers/message/fusion/mptbase.c kfree(ioc->events); events 2763 drivers/message/fusion/mptbase.c ioc->events = NULL; events 7747 drivers/message/fusion/mptbase.c if (ioc->events && (ioc->eventTypes & ( 1 << event))) { events 7752 drivers/message/fusion/mptbase.c ioc->events[idx].event = event; events 7753 drivers/message/fusion/mptbase.c ioc->events[idx].eventContext = ioc->eventContext; events 7757 drivers/message/fusion/mptbase.c ioc->events[idx].data[ii] = le32_to_cpu(pEventReply->Data[ii]); events 7759 drivers/message/fusion/mptbase.c ioc->events[idx].data[ii] = 0; events 689 drivers/message/fusion/mptbase.h struct _mpt_ioctl_events *events; /* pointer to event log */ events 588 drivers/message/fusion/mptctl.c if (ioc->events && (ioc->eventTypes & ( 1 << event))) { events 1573 drivers/message/fusion/mptctl.c if (ioc->events == NULL) { events 1577 drivers/message/fusion/mptctl.c ioc->events = kzalloc(sz, GFP_KERNEL); events 1578 drivers/message/fusion/mptctl.c if (!ioc->events) { events 1623 drivers/message/fusion/mptctl.c if ((max < 1) || !ioc->events) events 1632 drivers/message/fusion/mptctl.c if (copy_to_user(uarg->eventData, ioc->events, numBytes)) { events 1635 drivers/message/fusion/mptctl.c ioc->name, __FILE__, __LINE__, ioc->events); events 2429 drivers/message/fusion/mptscsih.c if ((ioc->events) && (ioc->eventTypes & (1 << MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE))) { events 2434 drivers/message/fusion/mptscsih.c ioc->events[idx].event = MPI_EVENT_SCSI_DEVICE_STATUS_CHANGE; events 2435 drivers/message/fusion/mptscsih.c ioc->events[idx].eventContext = ioc->eventContext; events 2437 drivers/message/fusion/mptscsih.c ioc->events[idx].data[0] = (pReq->LUN[1] << 24) | events 2441 drivers/message/fusion/mptscsih.c ioc->events[idx].data[1] = (sense_data[13] << 8) | sense_data[12]; events 144 drivers/mfd/adp5520.c unsigned int events) events 150 drivers/mfd/adp5520.c events & (ADP5520_KP_IEN | ADP5520_KR_IEN | events 162 drivers/mfd/adp5520.c unsigned int events) events 167 drivers/mfd/adp5520.c events & (ADP5520_KP_IEN | ADP5520_KR_IEN | events 177 drivers/mfd/adp5520.c unsigned int events; events 185 drivers/mfd/adp5520.c events = reg_val & (ADP5520_OVP_INT | ADP5520_CMPR_INT | events 188 drivers/mfd/adp5520.c blocking_notifier_call_chain(&chip->notifier_list, events, NULL); events 190 drivers/mfd/adp5520.c __adp5520_ack_bits(chip->client, ADP5520_MODE_STATUS, events); events 51 drivers/mfd/da903x.c int (*unmask_events)(struct da903x_chip *, unsigned int events); events 52 drivers/mfd/da903x.c int (*mask_events)(struct da903x_chip *, unsigned int events); events 53 drivers/mfd/da903x.c int (*read_events)(struct da903x_chip *, unsigned int *events); events 127 drivers/mfd/da903x.c unsigned int events) events 131 drivers/mfd/da903x.c chip->ops->unmask_events(chip, events); events 137 drivers/mfd/da903x.c unsigned int events) events 141 drivers/mfd/da903x.c chip->ops->mask_events(chip, events); events 263 drivers/mfd/da903x.c static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) events 267 drivers/mfd/da903x.c chip->events_mask &= ~events; events 276 drivers/mfd/da903x.c static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) events 280 drivers/mfd/da903x.c chip->events_mask |= events; events 289 drivers/mfd/da903x.c static int da9030_read_events(struct da903x_chip *chip, unsigned int *events) events 298 drivers/mfd/da903x.c *events = (v[2] << 16) | (v[1] << 8) | v[0]; events 340 drivers/mfd/da903x.c static int da9034_unmask_events(struct da903x_chip *chip, unsigned int events) events 344 drivers/mfd/da903x.c chip->events_mask &= ~events; events 354 drivers/mfd/da903x.c static int da9034_mask_events(struct da903x_chip *chip, unsigned int events) events 358 drivers/mfd/da903x.c chip->events_mask |= events; events 368 drivers/mfd/da903x.c static int da9034_read_events(struct da903x_chip *chip, unsigned int *events) events 377 drivers/mfd/da903x.c *events = (v[3] << 24) | (v[2] << 16) | (v[1] << 8) | v[0]; events 398 drivers/mfd/da903x.c unsigned int events = 0; events 401 drivers/mfd/da903x.c if (chip->ops->read_events(chip, &events)) events 404 drivers/mfd/da903x.c events &= ~chip->events_mask; events 405 drivers/mfd/da903x.c if (events == 0) events 409 drivers/mfd/da903x.c &chip->notifier_list, events, NULL); events 53 drivers/misc/ibmasm/event.c event = &buffer->events[buffer->next_index]; events 96 drivers/misc/ibmasm/event.c event = &buffer->events[index]; events 99 drivers/misc/ibmasm/event.c event = &buffer->events[index]; events 149 drivers/misc/ibmasm/event.c event = buffer->events; events 114 drivers/misc/ibmasm/ibmasm.h struct ibmasm_event events[IBMASM_NUM_EVENTS]; events 247 drivers/misc/mic/cosm/cosm_scif_server.c pollepd.events = EPOLLIN; events 155 drivers/misc/mic/cosm_client/cosm_scif_client.c pollepd.events = EPOLLIN; events 1391 drivers/misc/mic/scif/scif_api.c pt->_key = ufds[i].events | EPOLLERR | EPOLLHUP; events 1394 drivers/misc/mic/scif/scif_api.c mask &= ufds[i].events | EPOLLERR | EPOLLHUP; events 985 drivers/mmc/host/mtk-sd.c static int msdc_auto_cmd_done(struct msdc_host *host, int events, events 992 drivers/mmc/host/mtk-sd.c if (events & MSDC_INT_ACMDRDY) { events 996 drivers/mmc/host/mtk-sd.c if (events & MSDC_INT_ACMDCRCERR) { events 999 drivers/mmc/host/mtk-sd.c } else if (events & MSDC_INT_ACMDTMO) { events 1041 drivers/mmc/host/mtk-sd.c static bool msdc_cmd_done(struct msdc_host *host, int events, events 1050 drivers/mmc/host/mtk-sd.c (events & (MSDC_INT_ACMDRDY | MSDC_INT_ACMDCRCERR events 1052 drivers/mmc/host/mtk-sd.c msdc_auto_cmd_done(host, events, mrq->sbc); events 1056 drivers/mmc/host/mtk-sd.c if (!sbc_error && !(events & (MSDC_INT_CMDRDY events 1082 drivers/mmc/host/mtk-sd.c if (!sbc_error && !(events & MSDC_INT_CMDRDY)) { events 1083 drivers/mmc/host/mtk-sd.c if (events & MSDC_INT_CMDTMO || events 1092 drivers/mmc/host/mtk-sd.c if (events & MSDC_INT_RSPCRCERR) { events 1095 drivers/mmc/host/mtk-sd.c } else if (events & MSDC_INT_CMDTMO) { events 1252 drivers/mmc/host/mtk-sd.c static bool msdc_data_xfer_done(struct msdc_host *host, u32 events, events 1258 drivers/mmc/host/mtk-sd.c unsigned int check_data = events & events 1282 drivers/mmc/host/mtk-sd.c if ((events & MSDC_INT_XFER_COMPL) && (!stop || !stop->error)) { events 1285 drivers/mmc/host/mtk-sd.c dev_dbg(host->dev, "interrupt events: %x\n", events); events 1290 drivers/mmc/host/mtk-sd.c if (events & MSDC_INT_DATTMO) events 1292 drivers/mmc/host/mtk-sd.c else if (events & MSDC_INT_DATCRCERR) events 1426 drivers/mmc/host/mtk-sd.c u32 events, event_mask; events 1429 drivers/mmc/host/mtk-sd.c events = readl(host->base + MSDC_INT); events 1431 drivers/mmc/host/mtk-sd.c if ((events & event_mask) & MSDC_INT_SDIOIRQ) events 1434 drivers/mmc/host/mtk-sd.c writel(events & event_mask, host->base + MSDC_INT); events 1441 drivers/mmc/host/mtk-sd.c if ((events & event_mask) & MSDC_INT_SDIOIRQ) events 1444 drivers/mmc/host/mtk-sd.c if ((events & event_mask) & MSDC_INT_CDSC) { events 1447 drivers/mmc/host/mtk-sd.c events &= ~MSDC_INT_CDSC; events 1450 drivers/mmc/host/mtk-sd.c if (!(events & (event_mask & ~MSDC_INT_SDIOIRQ))) events 1456 drivers/mmc/host/mtk-sd.c __func__, events, event_mask); events 1461 drivers/mmc/host/mtk-sd.c dev_dbg(host->dev, "%s: events=%08X\n", __func__, events); events 1464 drivers/mmc/host/mtk-sd.c msdc_cmd_done(host, events, mrq, cmd); events 1466 drivers/mmc/host/mtk-sd.c msdc_data_xfer_done(host, events, mrq, data); events 275 drivers/mtd/nand/raw/sunxi_nand.c static int sunxi_nfc_wait_events(struct sunxi_nfc *nfc, u32 events, events 280 drivers/mtd/nand/raw/sunxi_nand.c if (events & ~NFC_INT_MASK) events 289 drivers/mtd/nand/raw/sunxi_nand.c writel(events, nfc->regs + NFC_REG_INT); events 303 drivers/mtd/nand/raw/sunxi_nand.c (status & events) == events, 1, events 307 drivers/mtd/nand/raw/sunxi_nand.c writel(events & NFC_INT_MASK, nfc->regs + NFC_REG_ST); events 1805 drivers/net/ethernet/3com/typhoon.c typhoon_sleep(struct typhoon *tp, pci_power_t state, __le16 events) events 1813 drivers/net/ethernet/3com/typhoon.c xp_cmd.parm1 = events; events 2226 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c u64 events; events 2234 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c events = vfdb->event_occur; events 2243 drivers/net/ethernet/broadcom/bnx2x/bnx2x_vfpf.c if (!(events & (1ULL << vf_idx))) events 2235 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->events |= event; events 2246 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->events & BNXT_RX_EVENT) { events 2249 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (bnapi->events & BNXT_AGG_EVENT) events 2253 drivers/net/ethernet/broadcom/bnxt/bnxt.c bnapi->events = 0; events 4401 drivers/net/ethernet/broadcom/bnxt/bnxt.c u32 *events = (u32 *)async_events_bmap; events 4426 drivers/net/ethernet/broadcom/bnxt/bnxt.c req.async_event_fwd[i] |= cpu_to_le32(events[i]); events 952 drivers/net/ethernet/broadcom/bnxt/bnxt.h u8 events; events 2792 drivers/net/ethernet/freescale/gianfar.c u32 events = gfar_read(®s->ievent); events 2795 drivers/net/ethernet/freescale/gianfar.c gfar_write(®s->ievent, events & IEVENT_ERR_MASK); events 2799 drivers/net/ethernet/freescale/gianfar.c (events & IEVENT_MAG)) events 2800 drivers/net/ethernet/freescale/gianfar.c events &= ~IEVENT_MAG; events 2806 drivers/net/ethernet/freescale/gianfar.c events, gfar_read(®s->imask)); events 2809 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_TXE) { events 2812 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_LC) events 2814 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_CRL) events 2816 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_XFUN) { events 2826 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_BSY) { events 2833 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_BABR) { events 2839 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_EBERR) { events 2843 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_RXC) events 2846 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_BABT) { events 2859 drivers/net/ethernet/freescale/gianfar.c u32 events = gfar_read(&gfargrp->regs->ievent); events 2862 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_RX_MASK) events 2866 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_TX_MASK) events 2870 drivers/net/ethernet/freescale/gianfar.c if (events & IEVENT_ERR_MASK) events 226 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c s->ch_events += ch_stats->events; events 1549 drivers/net/ethernet/mellanox/mlx5/core/en_stats.c { MLX5E_DECLARE_CH_STAT(struct mlx5e_ch_stats, events) }, events 307 drivers/net/ethernet/mellanox/mlx5/core/en_stats.h u64 events; events 205 drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c cq->channel->stats->events++; events 141 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = event_nb->ctx; events 144 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_dbg(events->dev, "Async eqe type %s, subtype (%d)\n", events 153 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = event_nb->ctx; events 161 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_warn(events->dev, events 215 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = event_nb->ctx; events 231 drivers/net/ethernet/mellanox/mlx5/core/events.c events->pme_stats.status_counters[module_status]++; events 235 drivers/net/ethernet/mellanox/mlx5/core/events.c events->pme_stats.error_counters[error_type]++; events 245 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_err(events->dev, events 249 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_info(events->dev, events 267 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events; events 272 drivers/net/ethernet/mellanox/mlx5/core/events.c events = container_of(work, struct mlx5_events, pcie_core_work); events 273 drivers/net/ethernet/mellanox/mlx5/core/events.c dev = events->dev; events 306 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = event_nb->ctx; events 311 drivers/net/ethernet/mellanox/mlx5/core/events.c queue_work(events->wq, &events->pcie_core_work); events 322 drivers/net/ethernet/mellanox/mlx5/core/events.c *stats = dev->priv.events->pme_stats; events 329 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = event_nb->ctx; events 332 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_core_dbg(events->dev, "Async eqe type %s, subtype (%d) forward to interfaces\n", events 334 drivers/net/ethernet/mellanox/mlx5/core/events.c atomic_notifier_call_chain(&events->nh, event, data); events 340 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = kzalloc(sizeof(*events), GFP_KERNEL); events 342 drivers/net/ethernet/mellanox/mlx5/core/events.c if (!events) events 345 drivers/net/ethernet/mellanox/mlx5/core/events.c ATOMIC_INIT_NOTIFIER_HEAD(&events->nh); events 346 drivers/net/ethernet/mellanox/mlx5/core/events.c events->dev = dev; events 347 drivers/net/ethernet/mellanox/mlx5/core/events.c dev->priv.events = events; events 348 drivers/net/ethernet/mellanox/mlx5/core/events.c events->wq = create_singlethread_workqueue("mlx5_events"); events 349 drivers/net/ethernet/mellanox/mlx5/core/events.c if (!events->wq) { events 350 drivers/net/ethernet/mellanox/mlx5/core/events.c kfree(events); events 353 drivers/net/ethernet/mellanox/mlx5/core/events.c INIT_WORK(&events->pcie_core_work, mlx5_pcie_event); events 360 drivers/net/ethernet/mellanox/mlx5/core/events.c destroy_workqueue(dev->priv.events->wq); events 361 drivers/net/ethernet/mellanox/mlx5/core/events.c kvfree(dev->priv.events); events 366 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = dev->priv.events; events 370 drivers/net/ethernet/mellanox/mlx5/core/events.c events->notifiers[i].nb = events_nbs_ref[i]; events 371 drivers/net/ethernet/mellanox/mlx5/core/events.c events->notifiers[i].ctx = events; events 372 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_eq_notifier_register(dev, &events->notifiers[i].nb); events 378 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = dev->priv.events; events 382 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_eq_notifier_unregister(dev, &events->notifiers[i].nb); events 383 drivers/net/ethernet/mellanox/mlx5/core/events.c flush_workqueue(events->wq); events 388 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = dev->priv.events; events 390 drivers/net/ethernet/mellanox/mlx5/core/events.c return atomic_notifier_chain_register(&events->nh, nb); events 396 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_events *events = dev->priv.events; events 398 drivers/net/ethernet/mellanox/mlx5/core/events.c return atomic_notifier_chain_unregister(&events->nh, nb); events 402 drivers/net/ethernet/mellanox/mlx5/core/events.c int mlx5_notifier_call_chain(struct mlx5_events *events, unsigned int event, void *data) events 404 drivers/net/ethernet/mellanox/mlx5/core/events.c return atomic_notifier_call_chain(&events->nh, event, data); events 217 drivers/net/ethernet/mellanox/mlx5/core/health.c mlx5_notifier_call_chain(dev->priv.events, MLX5_DEV_EVENT_SYS_ERROR, (void *)1); events 79 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c mlx5_notifier_call_chain(ldev->pf[0].dev->priv.events, events 84 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c mlx5_notifier_call_chain(ldev->pf[1].dev->priv.events, events 80 drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h int mlx5_notifier_call_chain(struct mlx5_events *events, unsigned int event, void *data); events 782 drivers/net/ethernet/nvidia/forcedeth.c u32 events; events 3647 drivers/net/ethernet/nvidia/forcedeth.c np->events = readl(base + NvRegIrqStatus); events 3648 drivers/net/ethernet/nvidia/forcedeth.c writel(np->events, base + NvRegIrqStatus); events 3650 drivers/net/ethernet/nvidia/forcedeth.c np->events = readl(base + NvRegMSIXIrqStatus); events 3651 drivers/net/ethernet/nvidia/forcedeth.c writel(np->events, base + NvRegMSIXIrqStatus); events 3653 drivers/net/ethernet/nvidia/forcedeth.c if (!(np->events & np->irqmask)) events 3680 drivers/net/ethernet/nvidia/forcedeth.c np->events = readl(base + NvRegIrqStatus); events 3681 drivers/net/ethernet/nvidia/forcedeth.c writel(np->events, base + NvRegIrqStatus); events 3683 drivers/net/ethernet/nvidia/forcedeth.c np->events = readl(base + NvRegMSIXIrqStatus); events 3684 drivers/net/ethernet/nvidia/forcedeth.c writel(np->events, base + NvRegMSIXIrqStatus); events 3686 drivers/net/ethernet/nvidia/forcedeth.c if (!(np->events & np->irqmask)) events 3707 drivers/net/ethernet/nvidia/forcedeth.c u32 events; events 3712 drivers/net/ethernet/nvidia/forcedeth.c events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQ_TX_ALL; events 3713 drivers/net/ethernet/nvidia/forcedeth.c writel(events, base + NvRegMSIXIrqStatus); events 3714 drivers/net/ethernet/nvidia/forcedeth.c netdev_dbg(dev, "tx irq events: %08x\n", events); events 3715 drivers/net/ethernet/nvidia/forcedeth.c if (!(events & np->irqmask)) events 3781 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->events & NVREG_IRQ_LINK)) { events 3792 drivers/net/ethernet/nvidia/forcedeth.c if (unlikely(np->events & NVREG_IRQ_RECOVER_ERROR)) { events 3819 drivers/net/ethernet/nvidia/forcedeth.c u32 events; events 3824 drivers/net/ethernet/nvidia/forcedeth.c events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQ_RX_ALL; events 3825 drivers/net/ethernet/nvidia/forcedeth.c writel(events, base + NvRegMSIXIrqStatus); events 3826 drivers/net/ethernet/nvidia/forcedeth.c netdev_dbg(dev, "rx irq events: %08x\n", events); events 3827 drivers/net/ethernet/nvidia/forcedeth.c if (!(events & np->irqmask)) events 3864 drivers/net/ethernet/nvidia/forcedeth.c u32 events; events 3869 drivers/net/ethernet/nvidia/forcedeth.c events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQ_OTHER; events 3870 drivers/net/ethernet/nvidia/forcedeth.c writel(events, base + NvRegMSIXIrqStatus); events 3871 drivers/net/ethernet/nvidia/forcedeth.c netdev_dbg(dev, "irq events: %08x\n", events); events 3872 drivers/net/ethernet/nvidia/forcedeth.c if (!(events & np->irqmask)) events 3880 drivers/net/ethernet/nvidia/forcedeth.c if (events & NVREG_IRQ_LINK) { events 3891 drivers/net/ethernet/nvidia/forcedeth.c if (events & NVREG_IRQ_RECOVER_ERROR) { events 3931 drivers/net/ethernet/nvidia/forcedeth.c u32 events; events 3934 drivers/net/ethernet/nvidia/forcedeth.c events = readl(base + NvRegIrqStatus) & NVREG_IRQSTAT_MASK; events 3935 drivers/net/ethernet/nvidia/forcedeth.c writel(events & NVREG_IRQ_TIMER, base + NvRegIrqStatus); events 3937 drivers/net/ethernet/nvidia/forcedeth.c events = readl(base + NvRegMSIXIrqStatus) & NVREG_IRQSTAT_MASK; events 3938 drivers/net/ethernet/nvidia/forcedeth.c writel(events & NVREG_IRQ_TIMER, base + NvRegMSIXIrqStatus); events 3941 drivers/net/ethernet/nvidia/forcedeth.c if (!(events & NVREG_IRQ_TIMER)) events 296 drivers/net/ethernet/pasemi/pasemi_mac.c ring->events[0] = pasemi_dma_alloc_flag(); events 297 drivers/net/ethernet/pasemi/pasemi_mac.c ring->events[1] = pasemi_dma_alloc_flag(); events 298 drivers/net/ethernet/pasemi/pasemi_mac.c if (ring->events[0] < 0 || ring->events[1] < 0) events 301 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_clear_flag(ring->events[0]); events 302 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_clear_flag(ring->events[1]); events 327 drivers/net/ethernet/pasemi/pasemi_mac.c if (ring->events[0] >= 0) events 328 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_free_flag(ring->events[0]); events 329 drivers/net/ethernet/pasemi/pasemi_mac.c if (ring->events[1] >= 0) events 330 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_free_flag(ring->events[1]); events 356 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_free_flag(csring->events[0]); events 357 drivers/net/ethernet/pasemi/pasemi_mac.c pasemi_dma_free_flag(csring->events[1]); events 1399 drivers/net/ethernet/pasemi/pasemi_mac.c CTRL_CMD_ETYPE_SET | CTRL_CMD_REG(csring->events[evt]); events 1402 drivers/net/ethernet/pasemi/pasemi_mac.c CTRL_CMD_ETYPE_WCLR | CTRL_CMD_REG(csring->events[!evt]); events 1412 drivers/net/ethernet/pasemi/pasemi_mac.c CTRL_CMD_ETYPE_WSET | CTRL_CMD_REG(csring->events[evt]); events 1415 drivers/net/ethernet/pasemi/pasemi_mac.c CTRL_CMD_ETYPE_CLR | CTRL_CMD_REG(csring->events[!evt]); events 52 drivers/net/ethernet/pasemi/pasemi_mac.h int events[2]; events 3039 drivers/net/ethernet/qlogic/qed/qed_iwarp.c struct qed_rdma_events events = p_hwfn->p_rdma_info->events; events 3110 drivers/net/ethernet/qlogic/qed/qed_iwarp.c events.affiliated_event(events.context, events 3119 drivers/net/ethernet/qlogic/qed/qed_iwarp.c events.affiliated_event(events.context, events 3126 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_hwfn->p_rdma_info->events.affiliated_event( events 3127 drivers/net/ethernet/qlogic/qed/qed_iwarp.c p_hwfn->p_rdma_info->events.context, events 425 drivers/net/ethernet/qlogic/qed/qed_rdma.c struct qed_rdma_events *events; events 427 drivers/net/ethernet/qlogic/qed/qed_rdma.c events = &p_hwfn->p_rdma_info->events; events 429 drivers/net/ethernet/qlogic/qed/qed_rdma.c events->unaffiliated_event = params->events->unaffiliated_event; events 430 drivers/net/ethernet/qlogic/qed/qed_rdma.c events->affiliated_event = params->events->affiliated_event; events 431 drivers/net/ethernet/qlogic/qed/qed_rdma.c events->context = params->events->context; events 92 drivers/net/ethernet/qlogic/qed/qed_rdma.h struct qed_rdma_events events; events 70 drivers/net/ethernet/qlogic/qed/qed_roce.c struct qed_rdma_events events = p_hwfn->p_rdma_info->events; events 86 drivers/net/ethernet/qlogic/qed/qed_roce.c events.affiliated_event(events.context, fw_event_code, events 91 drivers/net/ethernet/qlogic/qed/qed_roce.c events.affiliated_event(events.context, fw_event_code, events 1775 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_info *p_vf, u64 events) events 1779 drivers/net/ethernet/qlogic/qed/qed_sriov.c if ((events & BIT(VLAN_ADDR_FORCED)) && events 1787 drivers/net/ethernet/qlogic/qed/qed_sriov.c struct qed_vf_info *p_vf, u64 events) events 1795 drivers/net/ethernet/qlogic/qed/qed_sriov.c if ((events & BIT(MAC_ADDR_FORCED)) || events 1823 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (events & BIT(VLAN_ADDR_FORCED)) { events 1901 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (events) events 1902 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_reconfigure_unicast_shadow(p_hwfn, p_vf, events); events 3986 drivers/net/ethernet/qlogic/qed/qed_sriov.c static void qed_iov_pf_get_pending_events(struct qed_hwfn *p_hwfn, u64 *events) events 3990 drivers/net/ethernet/qlogic/qed/qed_sriov.c memset(events, 0, sizeof(u64) * QED_VF_ARRAY_LENGTH); events 3997 drivers/net/ethernet/qlogic/qed/qed_sriov.c events[i / 64] |= 1ULL << (i % 64); events 4911 drivers/net/ethernet/qlogic/qed/qed_sriov.c u64 events[QED_VF_ARRAY_LENGTH]; events 4923 drivers/net/ethernet/qlogic/qed/qed_sriov.c qed_iov_pf_get_pending_events(hwfn, events); events 4927 drivers/net/ethernet/qlogic/qed/qed_sriov.c events[0], events[1], events[2]); events 4931 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!(events[i / 64] & (1ULL << (i % 64)))) events 64 drivers/net/ethernet/ti/cpts.c list_for_each_safe(this, next, &cpts->events) { events 174 drivers/net/ethernet/ti/cpts.c list_add_tail(&event->list, &cpts->events); events 201 drivers/net/ethernet/ti/cpts.c list_for_each_safe(this, next, &cpts->events) { events 382 drivers/net/ethernet/ti/cpts.c list_for_each_safe(this, next, &cpts->events) { events 452 drivers/net/ethernet/ti/cpts.c INIT_LIST_HEAD(&cpts->events); events 112 drivers/net/ethernet/ti/cpts.h struct list_head events; events 96 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_ack_events(struct vmxnet3_adapter *adapter, u32 events) events 98 drivers/net/vmxnet3/vmxnet3_drv.c VMXNET3_WRITE_BAR1_REG(adapter, VMXNET3_REG_ECR, events); events 176 drivers/net/vmxnet3/vmxnet3_drv.c u32 events = le32_to_cpu(adapter->shared->ecr); events 177 drivers/net/vmxnet3/vmxnet3_drv.c if (!events) events 180 drivers/net/vmxnet3/vmxnet3_drv.c vmxnet3_ack_events(adapter, events); events 183 drivers/net/vmxnet3/vmxnet3_drv.c if (events & VMXNET3_ECR_LINK) events 187 drivers/net/vmxnet3/vmxnet3_drv.c if (events & (VMXNET3_ECR_TQERR | VMXNET3_ECR_RQERR)) { events 633 drivers/net/wireless/broadcom/b43/phy_n.c u8 *events, u8 *delays, u8 length) events 644 drivers/net/wireless/broadcom/b43/phy_n.c b43_ntab_write_bulk(dev, B43_NTAB8(7, offset1), length, events); events 14756 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_set_rfseq_nphy(struct brcms_phy *pi, u8 cmd, const u8 *events, events 14771 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c events); events 3432 drivers/net/wireless/intel/iwlwifi/dvm/commands.h __le32 events; events 2607 drivers/net/wireless/intersil/hostap/hostap_hw.c int events = 0; events 2715 drivers/net/wireless/intersil/hostap/hostap_hw.c events++; events 2716 drivers/net/wireless/intersil/hostap/hostap_hw.c if (events >= PRISM2_MAX_INTERRUPT_EVENTS) { events 2725 drivers/net/wireless/intersil/hostap/hostap_hw.c return IRQ_RETVAL(events); events 439 drivers/net/wireless/intersil/orinoco/hermes.h static inline void hermes_set_irqmask(struct hermes *hw, u16 events) events 441 drivers/net/wireless/intersil/orinoco/hermes.h hw->inten = events; events 442 drivers/net/wireless/intersil/orinoco/hermes.h hermes_write_regn(hw, INTEN, events); events 1880 drivers/net/wireless/intersil/orinoco/main.c u16 evstat, events; events 1898 drivers/net/wireless/intersil/orinoco/main.c events = evstat & hw->inten; events 1899 drivers/net/wireless/intersil/orinoco/main.c if (!events) { events 1908 drivers/net/wireless/intersil/orinoco/main.c while (events && count--) { events 1924 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_TICK) events 1926 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_WTERR) events 1928 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_INFDROP) events 1930 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_INFO) events 1932 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_RX) events 1934 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_TXEXC) events 1936 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_TX) events 1938 drivers/net/wireless/intersil/orinoco/main.c if (events & HERMES_EV_ALLOC) events 1944 drivers/net/wireless/intersil/orinoco/main.c events = evstat & hw->inten; events 229 drivers/net/wireless/marvell/libertas/debugfs.c int events = 0; events 252 drivers/net/wireless/marvell/libertas/debugfs.c events = le16_to_cpu(subscribed->events); events 255 drivers/net/wireless/marvell/libertas/debugfs.c !!(events & event_mask)); events 274 drivers/net/wireless/marvell/libertas/debugfs.c struct cmd_ds_802_11_subscribe_event *events; events 291 drivers/net/wireless/marvell/libertas/debugfs.c events = kzalloc(sizeof(*events), GFP_KERNEL); events 292 drivers/net/wireless/marvell/libertas/debugfs.c if (!events) { events 297 drivers/net/wireless/marvell/libertas/debugfs.c events->hdr.size = cpu_to_le16(sizeof(*events)); events 298 drivers/net/wireless/marvell/libertas/debugfs.c events->action = cpu_to_le16(CMD_ACT_GET); events 300 drivers/net/wireless/marvell/libertas/debugfs.c ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); events 304 drivers/net/wireless/marvell/libertas/debugfs.c curr_mask = le16_to_cpu(events->events); events 313 drivers/net/wireless/marvell/libertas/debugfs.c tlv = (void *)events->tlv; events 315 drivers/net/wireless/marvell/libertas/debugfs.c events->action = cpu_to_le16(CMD_ACT_SET); events 316 drivers/net/wireless/marvell/libertas/debugfs.c events->events = cpu_to_le16(new_mask); events 324 drivers/net/wireless/marvell/libertas/debugfs.c events->hdr.size = cpu_to_le16(sizeof(events->hdr) + 4 + sizeof(*tlv)); events 326 drivers/net/wireless/marvell/libertas/debugfs.c ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); events 331 drivers/net/wireless/marvell/libertas/debugfs.c kfree(events); events 445 drivers/net/wireless/marvell/libertas/host.h __le16 events; events 1762 drivers/net/wireless/marvell/mwifiex/cfg80211.c subsc_evt.events = BITMASK_BCN_RSSI_LOW | BITMASK_BCN_RSSI_HIGH; events 2207 drivers/net/wireless/marvell/mwifiex/fw.h __le16 events; events 399 drivers/net/wireless/marvell/mwifiex/ioctl.h u16 events; events 1313 drivers/net/wireless/marvell/mwifiex/sta_cmd.c subsc_evt->events = cpu_to_le16(subsc_evt_cfg->events); events 1315 drivers/net/wireless/marvell/mwifiex/sta_cmd.c event_bitmap = subsc_evt_cfg->events; events 133 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c subsc_evt->events = BITMASK_BCN_RSSI_LOW | BITMASK_BCN_RSSI_HIGH; events 945 drivers/net/wireless/marvell/mwifiex/sta_cmdresp.c le16_to_cpu(cmd_sub_event->events)); events 3733 drivers/nvme/host/core.c if (test_and_clear_bit(NVME_AER_NOTICE_NS_CHANGED, &ctrl->events)) { events 3915 drivers/nvme/host/core.c set_bit(NVME_AER_NOTICE_NS_CHANGED, &ctrl->events); events 248 drivers/nvme/host/nvme.h unsigned long events; events 403 drivers/parisc/led.c unsigned long events[NR_VM_EVENT_ITEMS]; events 406 drivers/parisc/led.c all_vm_events(events); events 410 drivers/parisc/led.c changed = (events[PGPGIN] != last_pgpgin) || events 411 drivers/parisc/led.c (events[PGPGOUT] != last_pgpgout); events 412 drivers/parisc/led.c last_pgpgin = events[PGPGIN]; events 413 drivers/parisc/led.c last_pgpgout = events[PGPGOUT]; events 158 drivers/pci/hotplug/pciehp.h void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events); events 227 drivers/pci/hotplug/pciehp_ctrl.c void pciehp_handle_presence_or_link_change(struct controller *ctrl, u32 events) events 243 drivers/pci/hotplug/pciehp_ctrl.c if (events & PCI_EXP_SLTSTA_DLLSC) events 246 drivers/pci/hotplug/pciehp_ctrl.c if (events & PCI_EXP_SLTSTA_PDC) events 532 drivers/pci/hotplug/pciehp_hpc.c u16 status, events; events 569 drivers/pci/hotplug/pciehp_hpc.c events = status & (PCI_EXP_SLTSTA_ABP | PCI_EXP_SLTSTA_PFD | events 578 drivers/pci/hotplug/pciehp_hpc.c events &= ~PCI_EXP_SLTSTA_PFD; events 580 drivers/pci/hotplug/pciehp_hpc.c if (!events) { events 586 drivers/pci/hotplug/pciehp_hpc.c pcie_capability_write_word(pdev, PCI_EXP_SLTSTA, events); events 587 drivers/pci/hotplug/pciehp_hpc.c ctrl_dbg(ctrl, "pending interrupts %#06x from Slot Status\n", events); events 595 drivers/pci/hotplug/pciehp_hpc.c if (events & PCI_EXP_SLTSTA_CC) { events 600 drivers/pci/hotplug/pciehp_hpc.c if (events == PCI_EXP_SLTSTA_CC) events 603 drivers/pci/hotplug/pciehp_hpc.c events &= ~PCI_EXP_SLTSTA_CC; events 607 drivers/pci/hotplug/pciehp_hpc.c ctrl_dbg(ctrl, "ignoring hotplug event %#06x\n", events); events 612 drivers/pci/hotplug/pciehp_hpc.c atomic_or(events, &ctrl->pending_events); events 621 drivers/pci/hotplug/pciehp_hpc.c u32 events; events 635 drivers/pci/hotplug/pciehp_hpc.c events = atomic_xchg(&ctrl->pending_events, 0); events 636 drivers/pci/hotplug/pciehp_hpc.c if (!events) { events 642 drivers/pci/hotplug/pciehp_hpc.c if (events & PCI_EXP_SLTSTA_ABP) { events 649 drivers/pci/hotplug/pciehp_hpc.c if ((events & PCI_EXP_SLTSTA_PFD) && !ctrl->power_fault_detected) { events 661 drivers/pci/hotplug/pciehp_hpc.c if (events & DISABLE_SLOT) events 663 drivers/pci/hotplug/pciehp_hpc.c else if (events & (PCI_EXP_SLTSTA_PDC | PCI_EXP_SLTSTA_DLLSC)) events 664 drivers/pci/hotplug/pciehp_hpc.c pciehp_handle_presence_or_link_change(ctrl, events); events 53 drivers/pci/pcie/bw_notification.c u16 link_status, events; events 57 drivers/pci/pcie/bw_notification.c events = link_status & PCI_EXP_LNKSTA_LBMS; events 59 drivers/pci/pcie/bw_notification.c if (ret != PCIBIOS_SUCCESSFUL || !events) events 62 drivers/pci/pcie/bw_notification.c pcie_capability_write_word(port, PCI_EXP_LNKSTA, events); events 269 drivers/pcmcia/bcm63xx_pcmcia.c unsigned int stat, events; events 279 drivers/pcmcia/bcm63xx_pcmcia.c events = (stat ^ skt->old_status) & skt->requested_state.csc_mask; events 283 drivers/pcmcia/bcm63xx_pcmcia.c if (events) events 284 drivers/pcmcia/bcm63xx_pcmcia.c pcmcia_parse_events(&skt->socket, events); events 622 drivers/pcmcia/cs.c unsigned int events; events 626 drivers/pcmcia/cs.c events = skt->thread_events; events 633 drivers/pcmcia/cs.c if (events & SS_DETECT) events 666 drivers/pcmcia/cs.c if (events || sysfs_events) events 700 drivers/pcmcia/cs.c void pcmcia_parse_events(struct pcmcia_socket *s, u_int events) events 703 drivers/pcmcia/cs.c dev_dbg(&s->dev, "parse_events: events %08x\n", events); events 706 drivers/pcmcia/cs.c s->thread_events |= events; events 725 drivers/pcmcia/cs.c void pcmcia_parse_uevents(struct pcmcia_socket *s, u_int events) events 728 drivers/pcmcia/cs.c dev_dbg(&s->dev, "parse_uevents: events %08x\n", events); events 731 drivers/pcmcia/cs.c s->sysfs_events |= events; events 121 drivers/pcmcia/cs_internal.h void pcmcia_parse_uevents(struct pcmcia_socket *socket, unsigned int events); events 302 drivers/pcmcia/i82092.c unsigned int events, active=0; events 325 drivers/pcmcia/i82092.c events = 0; events 328 drivers/pcmcia/i82092.c events |= SS_DETECT; events 334 drivers/pcmcia/i82092.c events |= (csc & I365_CSC_STSCHG) ? SS_STSCHG : 0; events 337 drivers/pcmcia/i82092.c events |= (csc & I365_CSC_BVD1) ? SS_BATDEAD : 0; events 338 drivers/pcmcia/i82092.c events |= (csc & I365_CSC_BVD2) ? SS_BATWARN : 0; events 339 drivers/pcmcia/i82092.c events |= (csc & I365_CSC_READY) ? SS_READY : 0; events 342 drivers/pcmcia/i82092.c if (events) { events 343 drivers/pcmcia/i82092.c pcmcia_parse_events(&sockets[i].socket, events); events 345 drivers/pcmcia/i82092.c active |= events; events 834 drivers/pcmcia/i82365.c u_int events, active; events 852 drivers/pcmcia/i82365.c events = (csc & I365_CSC_DETECT) ? SS_DETECT : 0; events 855 drivers/pcmcia/i82365.c events |= (csc & I365_CSC_STSCHG) ? SS_STSCHG : 0; events 857 drivers/pcmcia/i82365.c events |= (csc & I365_CSC_BVD1) ? SS_BATDEAD : 0; events 858 drivers/pcmcia/i82365.c events |= (csc & I365_CSC_BVD2) ? SS_BATWARN : 0; events 859 drivers/pcmcia/i82365.c events |= (csc & I365_CSC_READY) ? SS_READY : 0; events 862 drivers/pcmcia/i82365.c pr_debug("socket %d event 0x%02x\n", i, events); events 864 drivers/pcmcia/i82365.c if (events) events 865 drivers/pcmcia/i82365.c pcmcia_parse_events(&socket[i].socket, events); events 867 drivers/pcmcia/i82365.c active |= events; events 179 drivers/pcmcia/pd6729.c unsigned int events, active = 0; events 200 drivers/pcmcia/pd6729.c events = 0; events 203 drivers/pcmcia/pd6729.c events |= SS_DETECT; events 211 drivers/pcmcia/pd6729.c events |= (csc & I365_CSC_STSCHG) events 215 drivers/pcmcia/pd6729.c events |= (csc & I365_CSC_BVD1) events 217 drivers/pcmcia/pd6729.c events |= (csc & I365_CSC_BVD2) events 219 drivers/pcmcia/pd6729.c events |= (csc & I365_CSC_READY) events 223 drivers/pcmcia/pd6729.c if (events) events 224 drivers/pcmcia/pd6729.c pcmcia_parse_events(&socket[i].socket, events); events 226 drivers/pcmcia/pd6729.c active |= events; events 435 drivers/pcmcia/soc_common.c unsigned int events; events 446 drivers/pcmcia/soc_common.c events = (status ^ skt->status) & skt->cs_state.csc_mask; events 451 drivers/pcmcia/soc_common.c events == 0 ? "<NONE>" : "", events 452 drivers/pcmcia/soc_common.c events & SS_DETECT ? "DETECT " : "", events 453 drivers/pcmcia/soc_common.c events & SS_READY ? "READY " : "", events 454 drivers/pcmcia/soc_common.c events & SS_BATDEAD ? "BATDEAD " : "", events 455 drivers/pcmcia/soc_common.c events & SS_BATWARN ? "BATWARN " : "", events 456 drivers/pcmcia/soc_common.c events & SS_STSCHG ? "STSCHG " : ""); events 458 drivers/pcmcia/soc_common.c if (events) events 459 drivers/pcmcia/soc_common.c pcmcia_parse_events(&skt->socket, events); events 460 drivers/pcmcia/soc_common.c } while (events); events 534 drivers/pcmcia/tcic.c u_int events; events 558 drivers/pcmcia/tcic.c events = (latch & TCIC_SSTAT_CD) ? SS_DETECT : 0; events 559 drivers/pcmcia/tcic.c events |= (latch & TCIC_SSTAT_WP) ? SS_WRPROT : 0; events 561 drivers/pcmcia/tcic.c events |= (latch & TCIC_SSTAT_LBAT1) ? SS_STSCHG : 0; events 563 drivers/pcmcia/tcic.c events |= (latch & TCIC_SSTAT_RDY) ? SS_READY : 0; events 564 drivers/pcmcia/tcic.c events |= (latch & TCIC_SSTAT_LBAT1) ? SS_BATDEAD : 0; events 565 drivers/pcmcia/tcic.c events |= (latch & TCIC_SSTAT_LBAT2) ? SS_BATWARN : 0; events 567 drivers/pcmcia/tcic.c if (events) { events 568 drivers/pcmcia/tcic.c pcmcia_parse_events(&socket_table[i].socket, events); events 480 drivers/pcmcia/vrc4171_card.c unsigned int events = 0; events 488 drivers/pcmcia/vrc4171_card.c events |= SS_STSCHG; events 492 drivers/pcmcia/vrc4171_card.c events |= SS_BATDEAD; events 494 drivers/pcmcia/vrc4171_card.c events |= SS_BATWARN; events 498 drivers/pcmcia/vrc4171_card.c events |= SS_READY; events 500 drivers/pcmcia/vrc4171_card.c events |= SS_DETECT; events 502 drivers/pcmcia/vrc4171_card.c return events; events 508 drivers/pcmcia/vrc4171_card.c unsigned int events; events 517 drivers/pcmcia/vrc4171_card.c events = get_events(CARD_SLOTA); events 518 drivers/pcmcia/vrc4171_card.c if (events != 0) { events 519 drivers/pcmcia/vrc4171_card.c pcmcia_parse_events(&socket->pcmcia_socket, events); events 530 drivers/pcmcia/vrc4171_card.c events = get_events(CARD_SLOTB); events 531 drivers/pcmcia/vrc4171_card.c if (events != 0) { events 532 drivers/pcmcia/vrc4171_card.c pcmcia_parse_events(&socket->pcmcia_socket, events); events 135 drivers/pcmcia/vrc4173_cardu.c socket->events = 0; events 403 drivers/pcmcia/vrc4173_cardu.c uint16_t events; events 406 drivers/pcmcia/vrc4173_cardu.c events = socket->events; events 407 drivers/pcmcia/vrc4173_cardu.c socket->events = 0; events 411 drivers/pcmcia/vrc4173_cardu.c socket->handler(socket->info, events); events 416 drivers/pcmcia/vrc4173_cardu.c uint16_t events = 0; events 423 drivers/pcmcia/vrc4173_cardu.c events |= SS_DETECT; events 426 drivers/pcmcia/vrc4173_cardu.c events |= SS_READY; events 430 drivers/pcmcia/vrc4173_cardu.c events |= SS_STSCHG; events 434 drivers/pcmcia/vrc4173_cardu.c if (status == BV_DETECT_WARN) events |= SS_BATWARN; events 435 drivers/pcmcia/vrc4173_cardu.c else events |= SS_BATDEAD; events 440 drivers/pcmcia/vrc4173_cardu.c return events; events 446 drivers/pcmcia/vrc4173_cardu.c uint16_t events; events 450 drivers/pcmcia/vrc4173_cardu.c events = get_events(socket); events 451 drivers/pcmcia/vrc4173_cardu.c if (events) { events 453 drivers/pcmcia/vrc4173_cardu.c socket->events |= events; events 241 drivers/pcmcia/vrc4173_cardu.h uint16_t events; events 509 drivers/pcmcia/yenta_socket.c unsigned int events; events 523 drivers/pcmcia/yenta_socket.c events = (cb_event & (CB_CD1EVENT | CB_CD2EVENT)) ? SS_DETECT : 0 ; events 524 drivers/pcmcia/yenta_socket.c events |= (csc & I365_CSC_DETECT) ? SS_DETECT : 0; events 526 drivers/pcmcia/yenta_socket.c events |= (csc & I365_CSC_STSCHG) ? SS_STSCHG : 0; events 528 drivers/pcmcia/yenta_socket.c events |= (csc & I365_CSC_BVD1) ? SS_BATDEAD : 0; events 529 drivers/pcmcia/yenta_socket.c events |= (csc & I365_CSC_BVD2) ? SS_BATWARN : 0; events 530 drivers/pcmcia/yenta_socket.c events |= (csc & I365_CSC_READY) ? SS_READY : 0; events 533 drivers/pcmcia/yenta_socket.c if (events) events 534 drivers/pcmcia/yenta_socket.c pcmcia_parse_events(&socket->socket, events); events 72 drivers/perf/arm-cci.c struct perf_event **events; events 650 drivers/perf/arm-cci.c struct perf_event *event = cci_hw->events[i]; events 902 drivers/perf/arm-cci.c struct perf_event *event = cci_hw->events[i]; events 964 drivers/perf/arm-cci.c struct perf_event *event = cci_pmu->hw_events.events[i]; events 1031 drivers/perf/arm-cci.c struct cci_pmu_hw_events *events = &cci_pmu->hw_events; events 1034 drivers/perf/arm-cci.c raw_spin_lock_irqsave(&events->pmu_lock, flags); events 1044 drivers/perf/arm-cci.c struct perf_event *event = events->events[idx]; events 1064 drivers/perf/arm-cci.c raw_spin_unlock_irqrestore(&events->pmu_lock, flags); events 1203 drivers/perf/arm-cci.c hw_events->events[idx] = event; events 1223 drivers/perf/arm-cci.c hw_events->events[idx] = NULL; events 1627 drivers/perf/arm-cci.c cci_pmu->hw_events.events = devm_kcalloc(dev, events 1629 drivers/perf/arm-cci.c sizeof(*cci_pmu->hw_events.events), events 1631 drivers/perf/arm-cci.c if (!cci_pmu->hw_events.events) events 94 drivers/perf/arm_dsu_pmu.c struct perf_event *events[DSU_PMU_MAX_HW_CNTRS]; events 403 drivers/perf/arm_dsu_pmu.c struct perf_event *event = hw_events->events[i]; events 456 drivers/perf/arm_dsu_pmu.c hw_events->events[idx] = event; events 474 drivers/perf/arm_dsu_pmu.c hw_events->events[idx] = NULL; events 241 drivers/perf/arm_pmu.c hw_events->events[idx] = NULL; events 271 drivers/perf/arm_pmu.c hw_events->events[idx] = event; events 667 drivers/perf/arm_pmu.c event = hw_events->events[idx]; events 823 drivers/perf/arm_pmu.c struct pmu_hw_events *events; events 825 drivers/perf/arm_pmu.c events = per_cpu_ptr(pmu->hw_events, cpu); events 826 drivers/perf/arm_pmu.c raw_spin_lock_init(&events->pmu_lock); events 827 drivers/perf/arm_pmu.c events->percpu_pmu = pmu; events 103 drivers/perf/arm_smmuv3_pmu.c struct perf_event *events[SMMU_PMCG_MAX_COUNTERS]; events 295 drivers/perf/arm_smmuv3_pmu.c smmu_pmu_check_global_filter(smmu_pmu->events[idx], event)) { events 442 drivers/perf/arm_smmuv3_pmu.c smmu_pmu->events[idx] = event; events 464 drivers/perf/arm_smmuv3_pmu.c smmu_pmu->events[idx] = NULL; events 618 drivers/perf/arm_smmuv3_pmu.c struct perf_event *event = smmu_pmu->events[idx]; events 74 drivers/perf/fsl_imx8_ddr_perf.c struct perf_event *events[NUM_COUNTERS]; events 222 drivers/perf/fsl_imx8_ddr_perf.c if (pmu->events[EVENT_CYCLES_COUNTER] == NULL) events 229 drivers/perf/fsl_imx8_ddr_perf.c if (pmu->events[i] == NULL) events 238 drivers/perf/fsl_imx8_ddr_perf.c pmu->events[counter] = NULL; events 243 drivers/perf/fsl_imx8_ddr_perf.c struct perf_event *event = pmu->events[counter]; events 371 drivers/perf/fsl_imx8_ddr_perf.c if (pmu->events[i] && events 372 drivers/perf/fsl_imx8_ddr_perf.c !ddr_perf_filters_compatible(event, pmu->events[i])) events 389 drivers/perf/fsl_imx8_ddr_perf.c pmu->events[counter] = event; events 431 drivers/perf/fsl_imx8_ddr_perf.c if (ddr_pmu->events[EVENT_CYCLES_COUNTER] == NULL) events 442 drivers/perf/fsl_imx8_ddr_perf.c if (ddr_pmu->events[EVENT_CYCLES_COUNTER] == NULL) events 497 drivers/perf/fsl_imx8_ddr_perf.c if (!pmu->events[i]) events 500 drivers/perf/fsl_imx8_ddr_perf.c event = pmu->events[i]; events 179 drivers/perf/qcom_l2_pmu.c struct perf_event *events[MAX_L2_CTRS]; events 439 drivers/perf/qcom_l2_pmu.c struct perf_event *event = cluster->events[idx]; events 645 drivers/perf/qcom_l2_pmu.c cluster->events[idx] = event; events 666 drivers/perf/qcom_l2_pmu.c cluster->events[idx] = NULL; events 158 drivers/perf/qcom_l3_pmu.c struct perf_event *events[L3_NUM_COUNTERS]; events 405 drivers/perf/qcom_l3_pmu.c event = l3pmu->events[idx]; events 564 drivers/perf/qcom_l3_pmu.c l3pmu->events[idx] = event; events 583 drivers/perf/qcom_l3_pmu.c l3pmu->events[hwc->idx] = NULL; events 77 drivers/perf/thunderx2_pmu.c struct perf_event *events[TX2_PMU_MAX_COUNTERS]; events 498 drivers/perf/thunderx2_pmu.c tx2_pmu->events[hwc->idx] = event; events 520 drivers/perf/thunderx2_pmu.c tx2_pmu->events[hwc->idx] = NULL; events 541 drivers/perf/thunderx2_pmu.c struct perf_event *event = tx2_pmu->events[idx]; events 361 drivers/pinctrl/bcm/pinctrl-bcm2835.c unsigned long events; events 365 drivers/pinctrl/bcm/pinctrl-bcm2835.c events = bcm2835_gpio_rd(pc, GPEDS0 + bank * 4); events 366 drivers/pinctrl/bcm/pinctrl-bcm2835.c events &= mask; events 367 drivers/pinctrl/bcm/pinctrl-bcm2835.c events &= pc->enabled_irq_map[bank]; events 368 drivers/pinctrl/bcm/pinctrl-bcm2835.c for_each_set_bit(offset, &events, 32) { events 1119 drivers/pinctrl/bcm/pinctrl-bcm2835.c unsigned long events; events 1131 drivers/pinctrl/bcm/pinctrl-bcm2835.c events = bcm2835_gpio_rd(pc, GPEDS0 + i * 4); events 1132 drivers/pinctrl/bcm/pinctrl-bcm2835.c for_each_set_bit(offset, &events, 32) events 44 drivers/platform/chrome/cros_ec_chardev.c struct list_head events; events 117 drivers/platform/chrome/cros_ec_chardev.c list_add_tail(&event->node, &priv->events); events 132 drivers/platform/chrome/cros_ec_chardev.c if (!block && list_empty(&priv->events)) { events 143 drivers/platform/chrome/cros_ec_chardev.c !list_empty(&priv->events)); events 149 drivers/platform/chrome/cros_ec_chardev.c event = list_first_entry(&priv->events, struct ec_event, node); events 174 drivers/platform/chrome/cros_ec_chardev.c INIT_LIST_HEAD(&priv->events); events 195 drivers/platform/chrome/cros_ec_chardev.c if (list_empty(&priv->events)) events 263 drivers/platform/chrome/cros_ec_chardev.c list_for_each_entry_safe(event, e, &priv->events, node) { events 191 drivers/platform/chrome/wilco_ec/event.c struct ec_event_queue *events; events 246 drivers/platform/chrome/wilco_ec/event.c old_event = event_queue_push(dev_data->events, queue_event); events 332 drivers/platform/chrome/wilco_ec/event.c if (!event_queue_empty(dev_data->events)) events 366 drivers/platform/chrome/wilco_ec/event.c while (event_queue_empty(dev_data->events)) { events 372 drivers/platform/chrome/wilco_ec/event.c !event_queue_empty(dev_data->events) || events 382 drivers/platform/chrome/wilco_ec/event.c event = event_queue_pop(dev_data->events); events 424 drivers/platform/chrome/wilco_ec/event.c event_queue_free(dev_data->events); events 470 drivers/platform/chrome/wilco_ec/event.c dev_data->events = event_queue_new(queue_size); events 471 drivers/platform/chrome/wilco_ec/event.c if (!dev_data->events) { events 83 drivers/platform/x86/intel_telemetry_pltdrv.c u64 events[TELEM_MAX_EVENTS_SRAM]; events 589 drivers/platform/x86/intel_telemetry_pltdrv.c u32 read_buf, events, event_regs; events 600 drivers/platform/x86/intel_telemetry_pltdrv.c events = (read_buf & TELEM_INFO_SRAMEVTS_MASK) >> events 603 drivers/platform/x86/intel_telemetry_pltdrv.c if ((events < TELEM_MAX_EVENTS_SRAM) || events 607 drivers/platform/x86/intel_telemetry_pltdrv.c events, event_regs); events 623 drivers/platform/x86/intel_telemetry_pltdrv.c events = (read_buf & TELEM_INFO_SRAMEVTS_MASK) >> events 626 drivers/platform/x86/intel_telemetry_pltdrv.c if ((events < TELEM_MAX_EVENTS_SRAM) || events 630 drivers/platform/x86/intel_telemetry_pltdrv.c events, event_regs); events 904 drivers/platform/x86/intel_telemetry_pltdrv.c ssram_region->events[index] = events 962 drivers/platform/x86/intel_telemetry_pltdrv.c evtlog[index].telem_evtlog = ssram_region.events[index]; events 973 drivers/platform/x86/intel_telemetry_pltdrv.c ssram_region.events[index]; events 3351 drivers/platform/x86/sony-laptop.c struct sonypi_event *events; events 4620 drivers/platform/x86/sony-laptop.c for (j = 0; dev->event_types[i].events[j].event; j++) { events 4621 drivers/platform/x86/sony-laptop.c if (ev == dev->event_types[i].events[j].data) { events 4623 drivers/platform/x86/sony-laptop.c dev->event_types[i].events[j].event; events 103 drivers/power/supply/ab8500_btemp.c struct ab8500_btemp_events events; events 604 drivers/power/supply/ab8500_btemp.c if (di->events.ac_conn || di->events.usb_conn) events 627 drivers/power/supply/ab8500_btemp.c di->events.batt_rem = true; events 650 drivers/power/supply/ab8500_btemp.c di->events.btemp_low = true; events 651 drivers/power/supply/ab8500_btemp.c di->events.btemp_high = false; events 652 drivers/power/supply/ab8500_btemp.c di->events.btemp_medhigh = false; events 653 drivers/power/supply/ab8500_btemp.c di->events.btemp_lowmed = false; events 673 drivers/power/supply/ab8500_btemp.c di->events.btemp_high = true; events 674 drivers/power/supply/ab8500_btemp.c di->events.btemp_medhigh = false; events 675 drivers/power/supply/ab8500_btemp.c di->events.btemp_lowmed = false; events 676 drivers/power/supply/ab8500_btemp.c di->events.btemp_low = false; events 695 drivers/power/supply/ab8500_btemp.c di->events.btemp_lowmed = true; events 696 drivers/power/supply/ab8500_btemp.c di->events.btemp_medhigh = false; events 697 drivers/power/supply/ab8500_btemp.c di->events.btemp_high = false; events 698 drivers/power/supply/ab8500_btemp.c di->events.btemp_low = false; events 717 drivers/power/supply/ab8500_btemp.c di->events.btemp_medhigh = true; events 718 drivers/power/supply/ab8500_btemp.c di->events.btemp_lowmed = false; events 719 drivers/power/supply/ab8500_btemp.c di->events.btemp_high = false; events 720 drivers/power/supply/ab8500_btemp.c di->events.btemp_low = false; events 766 drivers/power/supply/ab8500_btemp.c if (di->events.btemp_low) { events 771 drivers/power/supply/ab8500_btemp.c } else if (di->events.btemp_high) { events 776 drivers/power/supply/ab8500_btemp.c } else if (di->events.btemp_lowmed) { events 781 drivers/power/supply/ab8500_btemp.c } else if (di->events.btemp_medhigh) { events 828 drivers/power/supply/ab8500_btemp.c if (di->events.batt_rem) events 878 drivers/power/supply/ab8500_btemp.c if (!ret.intval && di->events.ac_conn) { events 879 drivers/power/supply/ab8500_btemp.c di->events.ac_conn = false; events 882 drivers/power/supply/ab8500_btemp.c else if (ret.intval && !di->events.ac_conn) { events 883 drivers/power/supply/ab8500_btemp.c di->events.ac_conn = true; events 884 drivers/power/supply/ab8500_btemp.c if (!di->events.usb_conn) events 890 drivers/power/supply/ab8500_btemp.c if (!ret.intval && di->events.usb_conn) { events 891 drivers/power/supply/ab8500_btemp.c di->events.usb_conn = false; events 894 drivers/power/supply/ab8500_btemp.c else if (ret.intval && !di->events.usb_conn) { events 895 drivers/power/supply/ab8500_btemp.c di->events.usb_conn = true; events 896 drivers/power/supply/ab8500_btemp.c if (!di->events.ac_conn) events 254 drivers/power/supply/abx500_chargalg.c struct abx500_chargalg_events events; events 292 drivers/power/supply/abx500_chargalg.c di->events.safety_timer_expired = true; events 316 drivers/power/supply/abx500_chargalg.c di->events.maintenance_timer_expired = true; events 454 drivers/power/supply/abx500_chargalg.c di->events.safety_timer_expired = false; events 470 drivers/power/supply/abx500_chargalg.c di->events.safety_timer_expired = false; events 488 drivers/power/supply/abx500_chargalg.c di->events.maintenance_timer_expired = false; events 502 drivers/power/supply/abx500_chargalg.c di->events.maintenance_timer_expired = false; events 727 drivers/power/supply/abx500_chargalg.c di->events.btemp_underover = false; events 728 drivers/power/supply/abx500_chargalg.c di->events.btemp_lowhigh = false; events 739 drivers/power/supply/abx500_chargalg.c di->events.btemp_underover = false; events 740 drivers/power/supply/abx500_chargalg.c di->events.btemp_lowhigh = true; events 746 drivers/power/supply/abx500_chargalg.c di->events.btemp_underover = true; events 747 drivers/power/supply/abx500_chargalg.c di->events.btemp_lowhigh = false; events 794 drivers/power/supply/abx500_chargalg.c di->events.usb_cv_active || di->events.ac_cv_active) && events 846 drivers/power/supply/abx500_chargalg.c if (di->events.vbus_collapsed) { events 986 drivers/power/supply/abx500_chargalg.c di->events.batt_rem = false; events 989 drivers/power/supply/abx500_chargalg.c di->events.batt_rem = true; events 1080 drivers/power/supply/abx500_chargalg.c di->events.mainextchnotok = true; events 1081 drivers/power/supply/abx500_chargalg.c di->events.main_thermal_prot = false; events 1082 drivers/power/supply/abx500_chargalg.c di->events.main_ovv = false; events 1083 drivers/power/supply/abx500_chargalg.c di->events.ac_wd_expired = false; events 1086 drivers/power/supply/abx500_chargalg.c di->events.ac_wd_expired = true; events 1087 drivers/power/supply/abx500_chargalg.c di->events.mainextchnotok = false; events 1088 drivers/power/supply/abx500_chargalg.c di->events.main_ovv = false; events 1089 drivers/power/supply/abx500_chargalg.c di->events.main_thermal_prot = false; events 1093 drivers/power/supply/abx500_chargalg.c di->events.main_thermal_prot = true; events 1094 drivers/power/supply/abx500_chargalg.c di->events.mainextchnotok = false; events 1095 drivers/power/supply/abx500_chargalg.c di->events.main_ovv = false; events 1096 drivers/power/supply/abx500_chargalg.c di->events.ac_wd_expired = false; events 1099 drivers/power/supply/abx500_chargalg.c di->events.main_ovv = true; events 1100 drivers/power/supply/abx500_chargalg.c di->events.mainextchnotok = false; events 1101 drivers/power/supply/abx500_chargalg.c di->events.main_thermal_prot = false; events 1102 drivers/power/supply/abx500_chargalg.c di->events.ac_wd_expired = false; events 1105 drivers/power/supply/abx500_chargalg.c di->events.main_thermal_prot = false; events 1106 drivers/power/supply/abx500_chargalg.c di->events.mainextchnotok = false; events 1107 drivers/power/supply/abx500_chargalg.c di->events.main_ovv = false; events 1108 drivers/power/supply/abx500_chargalg.c di->events.ac_wd_expired = false; events 1118 drivers/power/supply/abx500_chargalg.c di->events.usbchargernotok = true; events 1119 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot = false; events 1120 drivers/power/supply/abx500_chargalg.c di->events.vbus_ovv = false; events 1121 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired = false; events 1124 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired = true; events 1125 drivers/power/supply/abx500_chargalg.c di->events.usbchargernotok = false; events 1126 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot = false; events 1127 drivers/power/supply/abx500_chargalg.c di->events.vbus_ovv = false; events 1131 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot = true; events 1132 drivers/power/supply/abx500_chargalg.c di->events.usbchargernotok = false; events 1133 drivers/power/supply/abx500_chargalg.c di->events.vbus_ovv = false; events 1134 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired = false; events 1137 drivers/power/supply/abx500_chargalg.c di->events.vbus_ovv = true; events 1138 drivers/power/supply/abx500_chargalg.c di->events.usbchargernotok = false; events 1139 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot = false; events 1140 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired = false; events 1143 drivers/power/supply/abx500_chargalg.c di->events.usbchargernotok = false; events 1144 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot = false; events 1145 drivers/power/supply/abx500_chargalg.c di->events.vbus_ovv = false; events 1146 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired = false; events 1178 drivers/power/supply/abx500_chargalg.c di->events.ac_cv_active = true; events 1180 drivers/power/supply/abx500_chargalg.c di->events.ac_cv_active = false; events 1187 drivers/power/supply/abx500_chargalg.c di->events.usb_cv_active = true; events 1189 drivers/power/supply/abx500_chargalg.c di->events.usb_cv_active = false; events 1201 drivers/power/supply/abx500_chargalg.c di->events.batt_unknown = false; events 1203 drivers/power/supply/abx500_chargalg.c di->events.batt_unknown = true; events 1240 drivers/power/supply/abx500_chargalg.c di->events.vbus_collapsed = true; events 1242 drivers/power/supply/abx500_chargalg.c di->events.vbus_collapsed = false; events 1317 drivers/power/supply/abx500_chargalg.c (di->events.batt_unknown && !di->bm->chg_unknown_bat)) { events 1319 drivers/power/supply/abx500_chargalg.c di->events.safety_timer_expired = false; events 1331 drivers/power/supply/abx500_chargalg.c else if (di->events.safety_timer_expired) { events 1342 drivers/power/supply/abx500_chargalg.c else if (di->events.batt_rem) { events 1347 drivers/power/supply/abx500_chargalg.c else if (di->events.mainextchnotok || di->events.usbchargernotok) { events 1353 drivers/power/supply/abx500_chargalg.c !di->events.vbus_collapsed) events 1357 drivers/power/supply/abx500_chargalg.c else if (di->events.vbus_ovv || events 1358 drivers/power/supply/abx500_chargalg.c di->events.main_ovv || events 1359 drivers/power/supply/abx500_chargalg.c di->events.batt_ovv || events 1366 drivers/power/supply/abx500_chargalg.c else if (di->events.main_thermal_prot || events 1367 drivers/power/supply/abx500_chargalg.c di->events.usb_thermal_prot) { events 1373 drivers/power/supply/abx500_chargalg.c else if (di->events.btemp_underover) { events 1379 drivers/power/supply/abx500_chargalg.c else if (di->events.ac_wd_expired || events 1380 drivers/power/supply/abx500_chargalg.c di->events.usb_wd_expired) { events 1385 drivers/power/supply/abx500_chargalg.c else if (di->events.btemp_lowhigh) { events 1408 drivers/power/supply/abx500_chargalg.c di->events.ac_cv_active, events 1409 drivers/power/supply/abx500_chargalg.c di->events.usb_cv_active, events 1450 drivers/power/supply/abx500_chargalg.c if (!di->events.batt_rem) events 1460 drivers/power/supply/abx500_chargalg.c if (!di->events.main_thermal_prot && events 1461 drivers/power/supply/abx500_chargalg.c !di->events.usb_thermal_prot) events 1471 drivers/power/supply/abx500_chargalg.c if (!di->events.vbus_ovv && events 1472 drivers/power/supply/abx500_chargalg.c !di->events.main_ovv && events 1473 drivers/power/supply/abx500_chargalg.c !di->events.batt_ovv && events 1485 drivers/power/supply/abx500_chargalg.c if (!di->events.mainextchnotok && events 1486 drivers/power/supply/abx500_chargalg.c !di->events.usbchargernotok) events 1564 drivers/power/supply/abx500_chargalg.c if (di->events.maintenance_timer_expired) { events 1584 drivers/power/supply/abx500_chargalg.c if (di->events.maintenance_timer_expired) { events 1603 drivers/power/supply/abx500_chargalg.c if (!di->events.btemp_lowhigh) events 1613 drivers/power/supply/abx500_chargalg.c if (!di->events.ac_wd_expired && events 1614 drivers/power/supply/abx500_chargalg.c !di->events.usb_wd_expired) events 1624 drivers/power/supply/abx500_chargalg.c if (!di->events.btemp_underover) events 1722 drivers/power/supply/abx500_chargalg.c if (di->events.batt_ovv) { events 1724 drivers/power/supply/abx500_chargalg.c } else if (di->events.btemp_underover) { events 458 drivers/power/supply/da9052-battery.c unsigned long events, void *data) events 673 drivers/rtc/interface.c unsigned long num, unsigned long events) events 326 drivers/rtc/rtc-ab8500.c unsigned long events = RTC_IRQF | RTC_AF; events 329 drivers/rtc/rtc-ab8500.c rtc_update_irq(rtc, 1, events); events 117 drivers/rtc/rtc-asm9260.c unsigned long events = 0; events 129 drivers/rtc/rtc-asm9260.c events |= RTC_AF | RTC_IRQF; events 131 drivers/rtc/rtc-asm9260.c rtc_update_irq(priv->rtc, 1, events); events 280 drivers/rtc/rtc-at91rm9200.c unsigned long events = 0; events 287 drivers/rtc/rtc-at91rm9200.c events |= (RTC_AF | RTC_IRQF); events 298 drivers/rtc/rtc-at91rm9200.c rtc_update_irq(rtc, 1, events); events 301 drivers/rtc/rtc-at91rm9200.c __func__, events >> 8, events & 0x000000FF); events 303 drivers/rtc/rtc-at91rm9200.c cached_events |= events; events 77 drivers/rtc/rtc-at91sam9.c unsigned long events; events 273 drivers/rtc/rtc-at91sam9.c rtc->events |= (RTC_AF | RTC_IRQF); events 277 drivers/rtc/rtc-at91sam9.c rtc->events |= (RTC_UF | RTC_IRQF); events 284 drivers/rtc/rtc-at91sam9.c if (!rtc->events) events 287 drivers/rtc/rtc-at91sam9.c rtc_update_irq(rtc->rtcdev, 1, rtc->events); events 288 drivers/rtc/rtc-at91sam9.c rtc->events = 0; events 291 drivers/rtc/rtc-at91sam9.c rtc->events >> 8, rtc->events & 0x000000FF); events 162 drivers/rtc/rtc-davinci.c unsigned long events = 0; events 179 drivers/rtc/rtc-davinci.c events |= RTC_IRQF | RTC_AF; events 184 drivers/rtc/rtc-davinci.c events |= RTC_IRQF | RTC_PF; events 192 drivers/rtc/rtc-davinci.c rtc_update_irq(davinci_rtc->rtc, 1, events); events 351 drivers/rtc/rtc-ds1511.c unsigned long events = 0; events 358 drivers/rtc/rtc-ds1511.c events = RTC_IRQF; events 360 drivers/rtc/rtc-ds1511.c events |= RTC_UF; events 362 drivers/rtc/rtc-ds1511.c events |= RTC_AF; events 363 drivers/rtc/rtc-ds1511.c rtc_update_irq(pdata->rtc, 1, events); events 366 drivers/rtc/rtc-ds1511.c return events ? IRQ_HANDLED : IRQ_NONE; events 186 drivers/rtc/rtc-ds1553.c unsigned long events = 0; events 191 drivers/rtc/rtc-ds1553.c events = RTC_IRQF; events 193 drivers/rtc/rtc-ds1553.c events |= RTC_UF; events 195 drivers/rtc/rtc-ds1553.c events |= RTC_AF; events 196 drivers/rtc/rtc-ds1553.c rtc_update_irq(pdata->rtc, 1, events); events 199 drivers/rtc/rtc-ds1553.c return events ? IRQ_HANDLED : IRQ_NONE; events 632 drivers/rtc/rtc-ds1685.c unsigned long events = 0; events 654 drivers/rtc/rtc-ds1685.c events = RTC_IRQF; events 659 drivers/rtc/rtc-ds1685.c events |= RTC_PF; events 666 drivers/rtc/rtc-ds1685.c events |= RTC_AF; events 673 drivers/rtc/rtc-ds1685.c events |= RTC_UF; events 684 drivers/rtc/rtc-ds1685.c rtc_update_irq(rtc->dev, num_irqs, events); events 687 drivers/rtc/rtc-ds1685.c return events ? IRQ_HANDLED : IRQ_NONE; events 236 drivers/rtc/rtc-jz4740.c unsigned long events = 0; events 241 drivers/rtc/rtc-jz4740.c events |= (RTC_UF | RTC_IRQF); events 244 drivers/rtc/rtc-jz4740.c events |= (RTC_AF | RTC_IRQF); events 246 drivers/rtc/rtc-jz4740.c rtc_update_irq(rtc->rtc, 1, events); events 168 drivers/rtc/rtc-lpc24xx.c unsigned long events = RTC_IRQF; events 175 drivers/rtc/rtc-lpc24xx.c events |= RTC_AF; events 181 drivers/rtc/rtc-lpc24xx.c rtc_update_irq(rtc->rtc, 1, events); events 162 drivers/rtc/rtc-m41t80.c unsigned long events = 0; events 182 drivers/rtc/rtc-m41t80.c events |= RTC_AF; events 185 drivers/rtc/rtc-m41t80.c if (events) { events 186 drivers/rtc/rtc-m41t80.c rtc_update_irq(m41t80->rtc, 1, events); events 209 drivers/rtc/rtc-mxc.c u32 events = 0; events 218 drivers/rtc/rtc-mxc.c events |= (RTC_AF | RTC_IRQF); events 224 drivers/rtc/rtc-mxc.c events |= (RTC_PF | RTC_IRQF); events 226 drivers/rtc/rtc-mxc.c rtc_update_irq(pdata->rtc, 1, events); events 218 drivers/rtc/rtc-omap.c unsigned long events = 0; events 228 drivers/rtc/rtc-omap.c events |= RTC_IRQF | RTC_AF; events 233 drivers/rtc/rtc-omap.c events |= RTC_IRQF | RTC_UF; events 235 drivers/rtc/rtc-omap.c rtc_update_irq(rtc->rtc, 1, events); events 233 drivers/rtc/rtc-pl031.c unsigned long events = 0; events 238 drivers/rtc/rtc-pl031.c events |= (RTC_AF | RTC_IRQF); events 239 drivers/rtc/rtc-pl031.c rtc_update_irq(ldata->rtc, 1, events); events 136 drivers/rtc/rtc-pxa.c unsigned long events = 0; events 153 drivers/rtc/rtc-pxa.c events |= RTC_AF | RTC_IRQF; events 155 drivers/rtc/rtc-pxa.c events |= RTC_UF | RTC_IRQF; events 157 drivers/rtc/rtc-pxa.c events |= RTC_PF | RTC_IRQF; events 159 drivers/rtc/rtc-pxa.c rtc_update_irq(pxa_rtc->rtc, 1, events); events 173 drivers/rtc/rtc-rc5t583.c unsigned long events = 0; events 182 drivers/rtc/rtc-rc5t583.c events = RTC_IRQF | RTC_AF; events 192 drivers/rtc/rtc-rc5t583.c rtc_update_irq(rc5t583_rtc->rtc, 1, events); events 168 drivers/rtc/rtc-rv3028.c unsigned long events = 0; events 182 drivers/rtc/rtc-rv3028.c events |= RTC_PF; events 188 drivers/rtc/rtc-rv3028.c events |= RTC_AF; events 194 drivers/rtc/rtc-rv3028.c events |= RTC_UF; events 197 drivers/rtc/rtc-rv3028.c if (events) { events 198 drivers/rtc/rtc-rv3028.c rtc_update_irq(rv3028->rtc, 1, events); events 333 drivers/rtc/rtc-rv3029c2.c unsigned long events = 0; events 356 drivers/rtc/rtc-rv3029c2.c events |= RTC_AF; events 359 drivers/rtc/rtc-rv3029c2.c if (events) { events 360 drivers/rtc/rtc-rv3029c2.c rtc_update_irq(rv3029->rtc, 1, events); events 142 drivers/rtc/rtc-rv8803.c unsigned long events = 0; events 162 drivers/rtc/rtc-rv8803.c events |= RTC_PF; events 168 drivers/rtc/rtc-rv8803.c events |= RTC_AF; events 174 drivers/rtc/rtc-rv8803.c events |= RTC_UF; events 177 drivers/rtc/rtc-rv8803.c if (events) { events 178 drivers/rtc/rtc-rv8803.c rtc_update_irq(rv8803->rtc, 1, events); events 51 drivers/rtc/rtc-sa1100.c unsigned long events = 0; events 83 drivers/rtc/rtc-sa1100.c events |= RTC_AF | RTC_IRQF; events 85 drivers/rtc/rtc-sa1100.c events |= RTC_UF | RTC_IRQF; events 87 drivers/rtc/rtc-sa1100.c rtc_update_irq(rtc, 1, events); events 242 drivers/rtc/rtc-sirfsoc.c unsigned long events = 0x0; events 270 drivers/rtc/rtc-sirfsoc.c events |= RTC_IRQF | RTC_AF; events 271 drivers/rtc/rtc-sirfsoc.c rtc_update_irq(rtcdrv->rtc, 1, events); events 236 drivers/rtc/rtc-snvs.c u32 events = 0; events 244 drivers/rtc/rtc-snvs.c events |= (RTC_AF | RTC_IRQF); events 249 drivers/rtc/rtc-snvs.c rtc_update_irq(data->rtc, 1, events); events 258 drivers/rtc/rtc-snvs.c return events ? IRQ_HANDLED : IRQ_NONE; events 156 drivers/rtc/rtc-spear.c unsigned long flags, events = 0; events 165 drivers/rtc/rtc-spear.c events = RTC_IRQF | RTC_AF; events 166 drivers/rtc/rtc-spear.c rtc_update_irq(config->rtc, 1, events); events 194 drivers/rtc/rtc-stk17ta8.c unsigned long events = 0; events 199 drivers/rtc/rtc-stk17ta8.c events = RTC_IRQF; events 201 drivers/rtc/rtc-stk17ta8.c events |= RTC_UF; events 203 drivers/rtc/rtc-stk17ta8.c events |= RTC_AF; events 204 drivers/rtc/rtc-stk17ta8.c rtc_update_irq(pdata->rtc, 1, events); events 207 drivers/rtc/rtc-stk17ta8.c return events ? IRQ_HANDLED : IRQ_NONE; events 113 drivers/rtc/rtc-stm32.c const struct stm32_rtc_events events; events 209 drivers/rtc/rtc-stm32.c const struct stm32_rtc_events *evts = &rtc->data->events; events 340 drivers/rtc/rtc-stm32.c const struct stm32_rtc_events *evts = &rtc->data->events; events 408 drivers/rtc/rtc-stm32.c const struct stm32_rtc_events *evts = &rtc->data->events; events 563 drivers/rtc/rtc-stm32.c .events = { events 585 drivers/rtc/rtc-stm32.c .events = { events 616 drivers/rtc/rtc-stm32.c .events = { events 235 drivers/rtc/rtc-tegra.c unsigned long events = 0, flags; events 251 drivers/rtc/rtc-tegra.c events |= RTC_IRQF | RTC_AF; events 255 drivers/rtc/rtc-tegra.c events |= RTC_IRQF | RTC_PF; events 257 drivers/rtc/rtc-tegra.c rtc_update_irq(info->rtc, 1, events); events 331 drivers/rtc/rtc-tps65910.c unsigned long events = 0; events 342 drivers/rtc/rtc-tps65910.c events = RTC_IRQF | RTC_AF; events 349 drivers/rtc/rtc-tps65910.c rtc_update_irq(tps_rtc->rtc, 1, events); events 432 drivers/rtc/rtc-twl.c unsigned long events; events 447 drivers/rtc/rtc-twl.c events = RTC_IRQF | RTC_AF; events 449 drivers/rtc/rtc-twl.c events = RTC_IRQF | RTC_PF; events 475 drivers/rtc/rtc-twl.c rtc_update_irq(twl_rtc->rtc, 1, events); events 182 drivers/rtc/rtc-tx4939.c unsigned long events = RTC_IRQF; events 186 drivers/rtc/rtc-tx4939.c events |= RTC_AF; events 190 drivers/rtc/rtc-tx4939.c rtc_update_irq(pdata->rtc, 1, events); events 83 drivers/rtc/rtc-vt8500.c unsigned long events = 0; events 94 drivers/rtc/rtc-vt8500.c events |= RTC_AF | RTC_IRQF; events 96 drivers/rtc/rtc-vt8500.c rtc_update_irq(vt8500_rtc->rtc, 1, events); events 505 drivers/s390/cio/chsc.c char *events[3] = {"configure", "deconfigure", "cancel deconfigure"}; events 517 drivers/s390/cio/chsc.c events[data->op], chpid.cssid, chpid.id); events 163 drivers/s390/cio/vfio_ccw_ops.c unsigned long events = VFIO_IOMMU_NOTIFY_DMA_UNMAP; events 169 drivers/s390/cio/vfio_ccw_ops.c &events, &private->nb); events 1190 drivers/s390/crypto/vfio_ap_ops.c unsigned long events; events 1198 drivers/s390/crypto/vfio_ap_ops.c events = VFIO_GROUP_NOTIFY_SET_KVM; events 1201 drivers/s390/crypto/vfio_ap_ops.c &events, &matrix_mdev->group_notifier); events 1208 drivers/s390/crypto/vfio_ap_ops.c events = VFIO_IOMMU_NOTIFY_DMA_UNMAP; events 1210 drivers/s390/crypto/vfio_ap_ops.c &events, &matrix_mdev->iommu_notifier); events 381 drivers/s390/scsi/zfcp_aux.c INIT_LIST_HEAD(&adapter->events.list); events 382 drivers/s390/scsi/zfcp_aux.c INIT_WORK(&adapter->events.work, zfcp_fc_post_event); events 383 drivers/s390/scsi/zfcp_aux.c spin_lock_init(&adapter->events.list_lock); events 198 drivers/s390/scsi/zfcp_def.h struct zfcp_fc_events events; events 103 drivers/s390/scsi/zfcp_fc.c struct zfcp_fc_events *events = container_of(work, events 105 drivers/s390/scsi/zfcp_fc.c struct zfcp_adapter *adapter = container_of(events, struct zfcp_adapter, events 106 drivers/s390/scsi/zfcp_fc.c events); events 108 drivers/s390/scsi/zfcp_fc.c spin_lock_bh(&events->list_lock); events 109 drivers/s390/scsi/zfcp_fc.c list_splice_init(&events->list, &tmp_lh); events 110 drivers/s390/scsi/zfcp_fc.c spin_unlock_bh(&events->list_lock); events 139 drivers/s390/scsi/zfcp_fc.c spin_lock(&adapter->events.list_lock); events 140 drivers/s390/scsi/zfcp_fc.c list_add_tail(&event->list, &adapter->events.list); events 141 drivers/s390/scsi/zfcp_fc.c spin_unlock(&adapter->events.list_lock); events 143 drivers/s390/scsi/zfcp_fc.c queue_work(adapter->work_queue, &adapter->events.work); events 1973 drivers/scsi/aacraid/commsup.c u32 events = 0; events 1976 drivers/scsi/aacraid/commsup.c events = SA_AIF_HOTPLUG; events 1978 drivers/scsi/aacraid/commsup.c events = SA_AIF_HARDWARE; events 1980 drivers/scsi/aacraid/commsup.c events = SA_AIF_PDEV_CHANGE; events 1982 drivers/scsi/aacraid/commsup.c events = SA_AIF_LDEV_CHANGE; events 1984 drivers/scsi/aacraid/commsup.c events = SA_AIF_BPSTAT_CHANGE; events 1986 drivers/scsi/aacraid/commsup.c events = SA_AIF_BPCFG_CHANGE; events 1988 drivers/scsi/aacraid/commsup.c switch (events) { events 2005 drivers/scsi/aacraid/commsup.c events = src_readl(dev, MUnit.IDR); events 2006 drivers/scsi/aacraid/commsup.c if (events & (1<<23)) { events 126 drivers/scsi/aacraid/src.c u32 events = src_readl(dev, MUnit.SCR0); events 128 drivers/scsi/aacraid/src.c aac_intr_normal(dev, events, 1, 0, NULL); events 129 drivers/scsi/aacraid/src.c writel(events, &dev->IndexRegs->Mailbox[0]); events 8362 drivers/scsi/hpsa.c (h->events & HPSA_EVENT_NOTIFY_ACCEL_IO_PATH_STATE_CHANGE || events 8363 drivers/scsi/hpsa.c h->events & HPSA_EVENT_NOTIFY_ACCEL_IO_PATH_CONFIG_CHANGE)) { events 8365 drivers/scsi/hpsa.c if (h->events & HPSA_EVENT_NOTIFY_ACCEL_IO_PATH_STATE_CHANGE) events 8367 drivers/scsi/hpsa.c if (h->events & HPSA_EVENT_NOTIFY_ACCEL_IO_PATH_CONFIG_CHANGE) events 8376 drivers/scsi/hpsa.c h->events, event_type); events 8377 drivers/scsi/hpsa.c writel(h->events, &(h->cfgtable->clear_event_notify)); events 8385 drivers/scsi/hpsa.c writel(h->events, &(h->cfgtable->clear_event_notify)); events 8407 drivers/scsi/hpsa.c h->events = readl(&(h->cfgtable->event_notify)); events 8408 drivers/scsi/hpsa.c return h->events & RESCAN_REQUIRED_EVENT_BITS; events 280 drivers/scsi/hpsa.h u32 events; events 742 drivers/scsi/ibmvscsi/ibmvfc.c int index = evt - pool->events; events 745 drivers/scsi/ibmvscsi/ibmvfc.c if (evt != pool->events + index) /* unaligned */ events 1202 drivers/scsi/ibmvscsi/ibmvfc.c pool->events = kcalloc(pool->size, sizeof(*pool->events), GFP_KERNEL); events 1203 drivers/scsi/ibmvscsi/ibmvfc.c if (!pool->events) events 1211 drivers/scsi/ibmvscsi/ibmvfc.c kfree(pool->events); events 1216 drivers/scsi/ibmvscsi/ibmvfc.c struct ibmvfc_event *evt = &pool->events[i]; events 1242 drivers/scsi/ibmvscsi/ibmvfc.c list_del(&pool->events[i].queue); events 1243 drivers/scsi/ibmvscsi/ibmvfc.c BUG_ON(atomic_read(&pool->events[i].free) != 1); events 1244 drivers/scsi/ibmvscsi/ibmvfc.c if (pool->events[i].ext_list) events 1246 drivers/scsi/ibmvscsi/ibmvfc.c pool->events[i].ext_list, events 1247 drivers/scsi/ibmvscsi/ibmvfc.c pool->events[i].ext_list_token); events 1250 drivers/scsi/ibmvscsi/ibmvfc.c kfree(pool->events); events 4259 drivers/scsi/ibmvscsi/ibmvfc.c static void ibmvfc_log_ae(struct ibmvfc_host *vhost, int events) events 4261 drivers/scsi/ibmvscsi/ibmvfc.c if (events & IBMVFC_AE_RSCN) events 4263 drivers/scsi/ibmvscsi/ibmvfc.c if ((events & IBMVFC_AE_LINKDOWN) && events 4266 drivers/scsi/ibmvscsi/ibmvfc.c if ((events & IBMVFC_AE_LINKUP) && events 645 drivers/scsi/ibmvscsi/ibmvfc.h struct ibmvfc_event *events; events 448 drivers/scsi/ibmvscsi/ibmvscsi.c pool->events = kcalloc(pool->size, sizeof(*pool->events), GFP_KERNEL); events 449 drivers/scsi/ibmvscsi/ibmvscsi.c if (!pool->events) events 457 drivers/scsi/ibmvscsi/ibmvscsi.c kfree(pool->events); events 462 drivers/scsi/ibmvscsi/ibmvscsi.c struct srp_event_struct *evt = &pool->events[i]; events 490 drivers/scsi/ibmvscsi/ibmvscsi.c if (atomic_read(&pool->events[i].free) != 1) events 492 drivers/scsi/ibmvscsi/ibmvscsi.c if (pool->events[i].ext_list) { events 495 drivers/scsi/ibmvscsi/ibmvscsi.c pool->events[i].ext_list, events 496 drivers/scsi/ibmvscsi/ibmvscsi.c pool->events[i].ext_list_token); events 502 drivers/scsi/ibmvscsi/ibmvscsi.c kfree(pool->events); events 518 drivers/scsi/ibmvscsi/ibmvscsi.c int index = evt - pool->events; events 521 drivers/scsi/ibmvscsi/ibmvscsi.c if (evt != pool->events + index) /* unaligned */ events 537 drivers/scsi/ibmvscsi/ibmvscsi.c "(not in pool %p)\n", evt, pool->events); events 563 drivers/scsi/ibmvscsi/ibmvscsi.c if (!atomic_dec_if_positive(&pool->events[offset].free)) { events 565 drivers/scsi/ibmvscsi/ibmvscsi.c return &pool->events[offset]; events 70 drivers/scsi/ibmvscsi/ibmvscsi.h struct srp_event_struct *events; events 1954 drivers/scsi/mvsas/mv_sas.c void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events) events 458 drivers/scsi/mvsas/mv_sas.h void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events); events 1691 drivers/scsi/mvumi.c param = &er->events[i]; events 152 drivers/scsi/mvumi.h struct mvumi_driver_event events[MAX_EVENTS_RETURNED]; events 3381 drivers/scsi/sd.c gd->events |= DISK_EVENT_MEDIA_CHANGE; events 1153 drivers/scsi/smartpqi/smartpqi.h struct pqi_event events[PQI_NUM_SUPPORTED_EVENTS]; events 3187 drivers/scsi/smartpqi/smartpqi_init.c event = ctrl_info->events; events 3320 drivers/scsi/smartpqi/smartpqi_init.c event = &ctrl_info->events[event_index]; events 237 drivers/scsi/sr.c unsigned int events; events 244 drivers/scsi/sr.c events = sr_get_events(cd->device); events 245 drivers/scsi/sr.c cd->get_event_changed |= events & DISK_EVENT_MEDIA_CHANGE; events 254 drivers/scsi/sr.c events &= ~DISK_EVENT_MEDIA_CHANGE; events 264 drivers/scsi/sr.c events |= DISK_EVENT_MEDIA_CHANGE; events 270 drivers/scsi/sr.c return events; events 288 drivers/scsi/sr.c events |= DISK_EVENT_MEDIA_CHANGE; events 294 drivers/scsi/sr.c return events; events 311 drivers/scsi/sr.c return events; events 719 drivers/scsi/sr.c disk->events = DISK_EVENT_MEDIA_CHANGE | DISK_EVENT_EJECT_REQUEST; events 179 drivers/spi/spi-fsl-cpm.c void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) events 194 drivers/spi/spi-fsl-cpm.c mpc8xxx_spi_write_reg(®_base->event, events); events 25 drivers/spi/spi-fsl-cpm.h extern void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events); events 34 drivers/spi/spi-fsl-cpm.h static inline void fsl_spi_cpm_irq(struct mpc8xxx_spi *mspi, u32 events) { } events 214 drivers/spi/spi-fsl-espi.c static void fsl_espi_fill_tx_fifo(struct fsl_espi *espi, u32 events) events 221 drivers/spi/spi-fsl-espi.c tx_fifo_avail = events ? SPIE_TXCNT(events) : FSL_ESPI_FIFO_SIZE; events 271 drivers/spi/spi-fsl-espi.c static void fsl_espi_read_rx_fifo(struct fsl_espi *espi, u32 events) events 273 drivers/spi/spi-fsl-espi.c u32 rx_fifo_avail = SPIE_RXCNT(events); events 528 drivers/spi/spi-fsl-espi.c static void fsl_espi_cpu_irq(struct fsl_espi *espi, u32 events) events 531 drivers/spi/spi-fsl-espi.c fsl_espi_read_rx_fifo(espi, events); events 534 drivers/spi/spi-fsl-espi.c fsl_espi_fill_tx_fifo(espi, events); events 540 drivers/spi/spi-fsl-espi.c events = fsl_espi_read_reg(espi, ESPI_SPIE); events 542 drivers/spi/spi-fsl-espi.c if (!(events & SPIE_DON)) events 546 drivers/spi/spi-fsl-espi.c if (SPIE_RXCNT(events) || SPIE_TXCNT(events) != FSL_ESPI_FIFO_SIZE) { events 549 drivers/spi/spi-fsl-espi.c SPIE_RXCNT(events), SPIE_TXCNT(events)); events 558 drivers/spi/spi-fsl-espi.c u32 events; events 563 drivers/spi/spi-fsl-espi.c events = fsl_espi_read_reg(espi, ESPI_SPIE); events 564 drivers/spi/spi-fsl-espi.c if (!events) { events 569 drivers/spi/spi-fsl-espi.c dev_vdbg(espi->dev, "%s: events %x\n", __func__, events); events 571 drivers/spi/spi-fsl-espi.c fsl_espi_cpu_irq(espi, events); events 574 drivers/spi/spi-fsl-espi.c fsl_espi_write_reg(espi, ESPI_SPIE, events); events 497 drivers/spi/spi-fsl-spi.c static void fsl_spi_cpu_irq(struct mpc8xxx_spi *mspi, u32 events) events 502 drivers/spi/spi-fsl-spi.c if (events & SPIE_NE) { events 509 drivers/spi/spi-fsl-spi.c if ((events & SPIE_NF) == 0) events 511 drivers/spi/spi-fsl-spi.c while (((events = events 517 drivers/spi/spi-fsl-spi.c mpc8xxx_spi_write_reg(®_base->event, events); events 533 drivers/spi/spi-fsl-spi.c u32 events; events 537 drivers/spi/spi-fsl-spi.c events = mpc8xxx_spi_read_reg(®_base->event); events 538 drivers/spi/spi-fsl-spi.c if (events) events 541 drivers/spi/spi-fsl-spi.c dev_dbg(mspi->dev, "%s: events %x\n", __func__, events); events 544 drivers/spi/spi-fsl-spi.c fsl_spi_cpm_irq(mspi, events); events 546 drivers/spi/spi-fsl-spi.c fsl_spi_cpu_irq(mspi, events); events 310 drivers/staging/comedi/comedi_buf.c async->events = 0; events 636 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_OVERFLOW; events 648 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_BLOCK; events 688 drivers/staging/comedi/comedi_buf.c s->async->events |= COMEDI_CB_BLOCK; events 2839 drivers/staging/comedi/comedi_fops.c unsigned int events; events 2845 drivers/staging/comedi/comedi_fops.c events = async->events; events 2846 drivers/staging/comedi/comedi_fops.c async->events = 0; events 2852 drivers/staging/comedi/comedi_fops.c if (events & COMEDI_CB_CANCEL_MASK) events 2859 drivers/staging/comedi/comedi_fops.c if (events & COMEDI_CB_ERROR_MASK) events 2862 drivers/staging/comedi/comedi_fops.c if (async->cb_mask & events) { events 364 drivers/staging/comedi/comedidev.h unsigned int events; events 569 drivers/staging/comedi/drivers.c async->events |= COMEDI_CB_EOS; events 593 drivers/staging/comedi/drivers.c unsigned int events = s->async->events; events 595 drivers/staging/comedi/drivers.c if (events == 0) events 596 drivers/staging/comedi/drivers.c return events; events 598 drivers/staging/comedi/drivers.c if ((events & COMEDI_CB_CANCEL_MASK) && s->cancel) events 603 drivers/staging/comedi/drivers.c return events; events 206 drivers/staging/comedi/drivers/addi_apci_2032.c s->async->events |= COMEDI_CB_EOA; events 442 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_ERROR; events 451 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_EOS; events 454 drivers/staging/comedi/drivers/addi_apci_3120.c if ((async->events & COMEDI_CB_CANCEL_MASK) || events 529 drivers/staging/comedi/drivers/addi_apci_3120.c async->events |= COMEDI_CB_EOA; events 364 drivers/staging/comedi/drivers/addi_apci_3xxx.c s->async->events |= COMEDI_CB_EOA; events 493 drivers/staging/comedi/drivers/adl_pci9111.c async->events |= COMEDI_CB_ERROR; events 505 drivers/staging/comedi/drivers/adl_pci9111.c async->events |= COMEDI_CB_EOA; events 632 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_EOA; events 663 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_EOA; events 666 drivers/staging/comedi/drivers/adl_pci9118.c if (s->async->events & COMEDI_CB_CANCEL_MASK) events 699 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; events 705 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; events 713 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; events 719 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; events 724 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR; events 729 drivers/staging/comedi/drivers/adl_pci9118.c s->async->events |= COMEDI_CB_ERROR | COMEDI_CB_OVERFLOW; events 404 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; events 410 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; events 419 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; events 427 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_EOA; events 447 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_ERROR; events 453 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_ERROR; events 463 drivers/staging/comedi/drivers/adv_pci1710.c s->async->events |= COMEDI_CB_ERROR; events 472 drivers/staging/comedi/drivers/adv_pci1710.c async->events |= COMEDI_CB_EOA; events 258 drivers/staging/comedi/drivers/amplc_dio200_common.c s->async->events |= COMEDI_CB_EOA; events 523 drivers/staging/comedi/drivers/amplc_pci224.c s->async->events |= COMEDI_CB_EOA; events 543 drivers/staging/comedi/drivers/amplc_pci224.c s->async->events |= COMEDI_CB_OVERFLOW; events 1077 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_OVERFLOW; events 1085 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_EOA; events 1102 drivers/staging/comedi/drivers/amplc_pci230.c unsigned int events = 0; events 1108 drivers/staging/comedi/drivers/amplc_pci230.c events |= COMEDI_CB_EOA; events 1110 drivers/staging/comedi/drivers/amplc_pci230.c if (events == 0) { events 1114 drivers/staging/comedi/drivers/amplc_pci230.c events |= COMEDI_CB_OVERFLOW | COMEDI_CB_ERROR; events 1124 drivers/staging/comedi/drivers/amplc_pci230.c events |= COMEDI_CB_OVERFLOW | COMEDI_CB_ERROR; events 1127 drivers/staging/comedi/drivers/amplc_pci230.c if (events == 0) { events 1169 drivers/staging/comedi/drivers/amplc_pci230.c events |= COMEDI_CB_OVERFLOW | COMEDI_CB_ERROR; events 1172 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= events; events 1173 drivers/staging/comedi/drivers/amplc_pci230.c return !(async->events & COMEDI_CB_CANCEL_MASK); events 2040 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_ERROR; events 2068 drivers/staging/comedi/drivers/amplc_pci230.c async->events |= COMEDI_CB_EOA; events 2074 drivers/staging/comedi/drivers/amplc_pci230.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) events 1120 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; events 1123 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_ERROR; events 1160 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; events 1179 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_EOA; events 1195 drivers/staging/comedi/drivers/cb_pcidas.c async->events |= COMEDI_CB_ERROR; events 2829 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_ERROR; events 2860 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_EOA; events 3036 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_EOA; events 3038 drivers/staging/comedi/drivers/cb_pcidas64.c async->events |= COMEDI_CB_ERROR; events 233 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_EOA; events 468 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; events 481 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; events 491 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_EOA; events 493 drivers/staging/comedi/drivers/comedi_test.c async->events |= COMEDI_CB_OVERFLOW; events 497 drivers/staging/comedi/drivers/das16.c async->events |= COMEDI_CB_ERROR; events 515 drivers/staging/comedi/drivers/das16.c async->events |= COMEDI_CB_EOA; events 420 drivers/staging/comedi/drivers/das16m1.c async->events |= COMEDI_CB_EOA; events 429 drivers/staging/comedi/drivers/das16m1.c async->events |= COMEDI_CB_ERROR; events 471 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_ERROR; events 485 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_EOA; events 488 drivers/staging/comedi/drivers/das1800.c async->events |= COMEDI_CB_EOA; events 187 drivers/staging/comedi/drivers/das6402.c async->events |= COMEDI_CB_OVERFLOW; events 196 drivers/staging/comedi/drivers/das6402.c async->events |= COMEDI_CB_EOA; events 479 drivers/staging/comedi/drivers/das800.c async->events |= COMEDI_CB_EOA; events 486 drivers/staging/comedi/drivers/das800.c async->events |= COMEDI_CB_ERROR; events 491 drivers/staging/comedi/drivers/das800.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 428 drivers/staging/comedi/drivers/dmm32at.c s->async->events |= COMEDI_CB_EOA; events 207 drivers/staging/comedi/drivers/dt2811.c async->events |= COMEDI_CB_OVERFLOW; events 221 drivers/staging/comedi/drivers/dt2811.c async->events |= COMEDI_CB_EOA; events 221 drivers/staging/comedi/drivers/dt2814.c s->async->events |= COMEDI_CB_EOA; events 454 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_OVERFLOW; events 484 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_EOA; events 528 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_ERROR; events 534 drivers/staging/comedi/drivers/dt282x.c s_ao->async->events |= COMEDI_CB_ERROR; events 550 drivers/staging/comedi/drivers/dt282x.c s->async->events |= COMEDI_CB_EOA; events 332 drivers/staging/comedi/drivers/dt3000.c s->async->events |= COMEDI_CB_ERROR; events 336 drivers/staging/comedi/drivers/dt3000.c s->async->events |= COMEDI_CB_EOA; events 235 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_ERROR; events 240 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_ERROR; events 244 drivers/staging/comedi/drivers/gsc_hpdi.c async->events |= COMEDI_CB_EOA; events 941 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_ERROR; events 949 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_ERROR; events 969 drivers/staging/comedi/drivers/me4000.c s->async->events |= COMEDI_CB_EOA; events 287 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_OVERFLOW; events 299 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_BLOCK; events 326 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_OVERFLOW; events 343 drivers/staging/comedi/drivers/mite.c async->events |= COMEDI_CB_BLOCK; events 404 drivers/staging/comedi/drivers/mite.c s->async->events |= COMEDI_CB_ERROR; events 155 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_ERROR; events 160 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_ERROR; events 203 drivers/staging/comedi/drivers/ni_at_a2150.c async->events |= COMEDI_CB_EOA; events 793 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; events 847 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; events 867 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_ERROR; events 876 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_EOA; events 883 drivers/staging/comedi/drivers/ni_labpc_common.c async->events |= COMEDI_CB_EOA; events 999 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; events 1088 drivers/staging/comedi/drivers/ni_mio_common.c async->events |= COMEDI_CB_ERROR; events 1223 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOA; events 1237 drivers/staging/comedi/drivers/ni_mio_common.c if ((s->async->events & COMEDI_CB_EOS)) events 1243 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOS; events 1300 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_ERROR; events 1309 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_ERROR; events 1311 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; events 1373 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; events 1378 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_EOA; events 1390 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; events 3737 drivers/staging/comedi/drivers/ni_mio_common.c s->async->events |= COMEDI_CB_OVERFLOW; events 434 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; events 440 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_ERROR; events 445 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; events 449 drivers/staging/comedi/drivers/ni_pcidio.c async->events |= COMEDI_CB_EOA; events 462 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_OVERFLOW; events 465 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_ERROR; events 473 drivers/staging/comedi/drivers/ni_tiocmd.c s->async->events |= COMEDI_CB_OVERFLOW; events 202 drivers/staging/comedi/drivers/pcl711.c s->async->events |= COMEDI_CB_EOA; events 766 drivers/staging/comedi/drivers/pcl812.c s->async->events |= COMEDI_CB_EOA; events 783 drivers/staging/comedi/drivers/pcl812.c s->async->events |= COMEDI_CB_ERROR; events 217 drivers/staging/comedi/drivers/pcl816.c s->async->events |= COMEDI_CB_EOA; events 439 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; events 451 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_EOA; events 466 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; events 511 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; events 518 drivers/staging/comedi/drivers/pcl818.c s->async->events |= COMEDI_CB_ERROR; events 351 drivers/staging/comedi/drivers/pcmmio.c s->async->events |= COMEDI_CB_EOA; events 330 drivers/staging/comedi/drivers/pcmuio.c s->async->events |= COMEDI_CB_EOA; events 230 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_OVERFLOW; events 240 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_EOA; events 253 drivers/staging/comedi/drivers/quatech_daqp_cs.c s->async->events |= COMEDI_CB_ERROR; events 670 drivers/staging/comedi/drivers/rtd520.c s->async->events |= COMEDI_CB_ERROR; events 673 drivers/staging/comedi/drivers/rtd520.c s->async->events |= COMEDI_CB_EOA; events 1217 drivers/staging/comedi/drivers/s626.c async->events |= COMEDI_CB_EOA; events 1219 drivers/staging/comedi/drivers/s626.c if (async->events & COMEDI_CB_CANCEL_MASK) events 269 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_EOA; events 273 drivers/staging/comedi/drivers/usbdux.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 283 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 321 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 329 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 337 drivers/staging/comedi/drivers/usbdux.c if (async->events & COMEDI_CB_CANCEL_MASK) events 384 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_EOA; events 397 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_OVERFLOW; events 410 drivers/staging/comedi/drivers/usbdux.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 430 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 456 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 464 drivers/staging/comedi/drivers/usbdux.c async->events |= COMEDI_CB_ERROR; events 472 drivers/staging/comedi/drivers/usbdux.c if (async->events & COMEDI_CB_CANCEL_MASK) events 243 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_EOA; events 247 drivers/staging/comedi/drivers/usbduxfast.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 253 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; events 279 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; events 287 drivers/staging/comedi/drivers/usbduxfast.c async->events |= COMEDI_CB_ERROR; events 295 drivers/staging/comedi/drivers/usbduxfast.c if (async->events & COMEDI_CB_CANCEL_MASK) events 231 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_EOA; events 236 drivers/staging/comedi/drivers/usbduxsigma.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 245 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 283 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 290 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 298 drivers/staging/comedi/drivers/usbduxsigma.c if (async->events & COMEDI_CB_CANCEL_MASK) events 344 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_EOA; events 357 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_OVERFLOW; events 368 drivers/staging/comedi/drivers/usbduxsigma.c if (!(async->events & COMEDI_CB_CANCEL_MASK)) { events 384 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 410 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 417 drivers/staging/comedi/drivers/usbduxsigma.c async->events |= COMEDI_CB_ERROR; events 425 drivers/staging/comedi/drivers/usbduxsigma.c if (async->events & COMEDI_CB_CANCEL_MASK) events 659 drivers/staging/greybus/tools/loopback_test.c t->fds[fds_idx].events = POLLERR | POLLPRI; events 305 drivers/staging/isdn/gigaset/common.c ev = cs->events + head; events 346 drivers/staging/isdn/gigaset/common.c event = cs->events + tail; events 421 drivers/staging/isdn/gigaset/ev-layer.c event = cs->events + tail; events 1873 drivers/staging/isdn/gigaset/ev-layer.c ev = cs->events + head; events 488 drivers/staging/isdn/gigaset/gigaset.h struct event_t events[MAX_EVENTS]; events 252 drivers/staging/media/imx/imx7-mipi-csis.c struct mipi_csis_event events[MIPI_CSIS_NUM_EVENTS]; events 525 drivers/staging/media/imx/imx7-mipi-csis.c state->events[i].counter = 0; events 538 drivers/staging/media/imx/imx7-mipi-csis.c if (state->events[i].counter > 0 || state->debug) events 539 drivers/staging/media/imx/imx7-mipi-csis.c dev_info(dev, "%s events: %d\n", state->events[i].name, events 540 drivers/staging/media/imx/imx7-mipi-csis.c state->events[i].counter); events 773 drivers/staging/media/imx/imx7-mipi-csis.c if (!(status & state->events[i].mask)) events 775 drivers/staging/media/imx/imx7-mipi-csis.c state->events[i].counter++; events 1011 drivers/staging/media/imx/imx7-mipi-csis.c memcpy(state->events, mipi_csis_events, sizeof(state->events)); events 245 drivers/staging/media/omap4iss/iss_ipipeif.c void omap4iss_ipipeif_isr(struct iss_ipipeif_device *ipipeif, u32 events) events 251 drivers/staging/media/omap4iss/iss_ipipeif.c if ((events & ISP5_IRQ_ISIF_INT(0)) && events 84 drivers/staging/media/omap4iss/iss_ipipeif.h void omap4iss_ipipeif_isr(struct iss_ipipeif_device *ipipeif, u32 events); events 286 drivers/staging/media/omap4iss/iss_resizer.c void omap4iss_resizer_isr(struct iss_resizer_device *resizer, u32 events) events 292 drivers/staging/media/omap4iss/iss_resizer.c if (events & (ISP5_IRQ_RSZ_FIFO_IN_BLK_ERR | events 295 drivers/staging/media/omap4iss/iss_resizer.c events & ISP5_IRQ_RSZ_FIFO_IN_BLK_ERR ? 1 : 0, events 296 drivers/staging/media/omap4iss/iss_resizer.c events & ISP5_IRQ_RSZ_FIFO_OVF ? 1 : 0); events 304 drivers/staging/media/omap4iss/iss_resizer.c if (events & ISP5_IRQ_RSZ_INT_DMA) events 67 drivers/staging/media/omap4iss/iss_resizer.h void omap4iss_resizer_isr(struct iss_resizer_device *resizer, u32 events); events 108 drivers/staging/nvec/nvec.c unsigned int events) events 173 drivers/staging/nvec/nvec.h unsigned int events); events 1482 drivers/thermal/thermal_core.c enum events event) events 361 drivers/tty/serial/cpm_uart/cpm_uart_core.c u8 events; events 370 drivers/tty/serial/cpm_uart/cpm_uart_core.c events = in_8(&smcp->smc_smce); events 371 drivers/tty/serial/cpm_uart/cpm_uart_core.c out_8(&smcp->smc_smce, events); events 372 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & SMCM_BRKE) events 374 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & SMCM_RX) events 376 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & SMCM_TX) events 379 drivers/tty/serial/cpm_uart/cpm_uart_core.c events = in_be16(&sccp->scc_scce); events 380 drivers/tty/serial/cpm_uart/cpm_uart_core.c out_be16(&sccp->scc_scce, events); events 381 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & UART_SCCM_BRKE) events 383 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & UART_SCCM_RX) events 385 drivers/tty/serial/cpm_uart/cpm_uart_core.c if (events & UART_SCCM_TX) events 388 drivers/tty/serial/cpm_uart/cpm_uart_core.c return (events) ? IRQ_HANDLED : IRQ_NONE; events 568 drivers/tty/serial/ucc_uart.c u16 events; events 571 drivers/tty/serial/ucc_uart.c events = in_be16(&uccp->ucce); events 572 drivers/tty/serial/ucc_uart.c out_be16(&uccp->ucce, events); events 574 drivers/tty/serial/ucc_uart.c if (events & UCC_UART_UCCE_BRKE) events 577 drivers/tty/serial/ucc_uart.c if (events & UCC_UART_UCCE_RX) events 580 drivers/tty/serial/ucc_uart.c if (events & UCC_UART_UCCE_TX) events 583 drivers/tty/serial/ucc_uart.c return events ? IRQ_HANDLED : IRQ_NONE; events 2661 drivers/tty/synclink.c int events; events 2680 drivers/tty/synclink.c events = mask & events 2685 drivers/tty/synclink.c if (events) { events 2739 drivers/tty/synclink.c events = mask & events 2750 drivers/tty/synclink.c if (events) events 2771 drivers/tty/synclink.c PUT_USER(rc, events, mask_ptr); events 2725 drivers/tty/synclink_gt.c int events; events 2741 drivers/tty/synclink_gt.c events = mask & events 2746 drivers/tty/synclink_gt.c if (events) { events 2796 drivers/tty/synclink_gt.c events = mask & events 2807 drivers/tty/synclink_gt.c if (events) events 2829 drivers/tty/synclink_gt.c rc = put_user(events, mask_ptr); events 3003 drivers/tty/synclinkmp.c int events; events 3023 drivers/tty/synclinkmp.c events = mask & events 3028 drivers/tty/synclinkmp.c if (events) { events 3083 drivers/tty/synclinkmp.c events = mask & events 3094 drivers/tty/synclinkmp.c if (events) events 3116 drivers/tty/synclinkmp.c PUT_USER(rc, events, mask_ptr); events 649 drivers/usb/core/hub.c if (hub->disconnected || work_pending(&hub->events)) events 664 drivers/usb/core/hub.c if (queue_work(hub_wq, &hub->events)) events 1860 drivers/usb/core/hub.c INIT_WORK(&hub->events, hub_event); events 5396 drivers/usb/core/hub.c hub = container_of(work, struct usb_hub, events); events 72 drivers/usb/core/hub.h struct work_struct events; events 476 drivers/usb/gadget/function/f_fs.c struct usb_functionfs_event events[ARRAY_SIZE(ffs->ev.types)]; events 477 drivers/usb/gadget/function/f_fs.c const size_t size = n * sizeof *events; events 480 drivers/usb/gadget/function/f_fs.c memset(events, 0, size); events 483 drivers/usb/gadget/function/f_fs.c events[i].type = ffs->ev.types[i]; events 484 drivers/usb/gadget/function/f_fs.c if (events[i].type == FUNCTIONFS_SETUP) { events 485 drivers/usb/gadget/function/f_fs.c events[i].u.setup = ffs->ev.setup; events 498 drivers/usb/gadget/function/f_fs.c return unlikely(copy_to_user(buf, events, size)) ? -EFAULT : size; events 402 drivers/usb/host/ehci-timer.c unsigned long events; events 408 drivers/usb/host/ehci-timer.c events = ehci->enabled_hrtimer_events; events 417 drivers/usb/host/ehci-timer.c for_each_set_bit(e, &events, EHCI_HRTIMER_NUM_EVENTS) { events 1344 drivers/usb/host/fotg210-hcd.c unsigned long events; events 1350 drivers/usb/host/fotg210-hcd.c events = fotg210->enabled_hrtimer_events; events 1359 drivers/usb/host/fotg210-hcd.c for_each_set_bit(e, &events, FOTG210_HRTIMER_NUM_EVENTS) { events 3940 drivers/usb/typec/tcpm/tcpm.c u32 events; events 3946 drivers/usb/typec/tcpm/tcpm.c events = port->pd_events; events 3949 drivers/usb/typec/tcpm/tcpm.c if (events & TCPM_RESET_EVENT) events 3951 drivers/usb/typec/tcpm/tcpm.c if (events & TCPM_VBUS_EVENT) { events 3960 drivers/usb/typec/tcpm/tcpm.c if (events & TCPM_CC_EVENT) { events 219 drivers/vfio/pci/vfio_pci_nvlink2.c unsigned long events = VFIO_GROUP_NOTIFY_SET_KVM; events 265 drivers/vfio/pci/vfio_pci_nvlink2.c &events, &data->group_notifier); events 1998 drivers/vfio/vfio.c unsigned long *events, events 2013 drivers/vfio/vfio.c events, nb); events 2055 drivers/vfio/vfio.c unsigned long *events, events 2061 drivers/vfio/vfio.c if (*events & VFIO_GROUP_NOTIFY_SET_KVM) events 2065 drivers/vfio/vfio.c *events &= ~VFIO_GROUP_NOTIFY_SET_KVM; events 2068 drivers/vfio/vfio.c if (*events) events 2107 drivers/vfio/vfio.c unsigned long *events, struct notifier_block *nb) events 2112 drivers/vfio/vfio.c if (!dev || !nb || !events || (*events == 0)) events 2121 drivers/vfio/vfio.c ret = vfio_register_iommu_notifier(group, events, nb); events 2124 drivers/vfio/vfio.c ret = vfio_register_group_notifier(group, events, nb); events 2324 drivers/vfio/vfio_iommu_type1.c unsigned long *events, events 2330 drivers/vfio/vfio_iommu_type1.c *events &= ~VFIO_IOMMU_NOTIFY_DMA_UNMAP; events 2333 drivers/vfio/vfio_iommu_type1.c if (*events) events 113 drivers/vfio/virqfd.c __poll_t events; events 166 drivers/vfio/virqfd.c events = vfs_poll(irqfd.file, &virqfd->pt); events 172 drivers/vfio/virqfd.c if (events & EPOLLIN) { events 1014 drivers/virt/vboxguest/vboxguest_core.c u32 events; events 1018 drivers/virt/vboxguest/vboxguest_core.c events = gdev->pending_events & event_mask; events 1019 drivers/virt/vboxguest/vboxguest_core.c wakeup = events || session->cancel_waiters; events 1031 drivers/virt/vboxguest/vboxguest_core.c u32 events = gdev->pending_events & event_mask; events 1033 drivers/virt/vboxguest/vboxguest_core.c gdev->pending_events &= ~events; events 1034 drivers/virt/vboxguest/vboxguest_core.c return events; events 1042 drivers/virt/vboxguest/vboxguest_core.c u32 event_mask = wait->u.in.events; events 1055 drivers/virt/vboxguest/vboxguest_core.c wait->u.out.events = 0; events 1069 drivers/virt/vboxguest/vboxguest_core.c wait->u.out.events = events 1079 drivers/virt/vboxguest/vboxguest_core.c } while (ret == 0 && wait->u.out.events == 0); events 1603 drivers/virt/vboxguest/vboxguest_core.c u32 events = 0; events 1611 drivers/virt/vboxguest/vboxguest_core.c req->events = 0; events 1618 drivers/virt/vboxguest/vboxguest_core.c events = req->events; events 1620 drivers/virt/vboxguest/vboxguest_core.c if (events & VMMDEV_EVENT_MOUSE_POSITION_CHANGED) { events 1622 drivers/virt/vboxguest/vboxguest_core.c events &= ~VMMDEV_EVENT_MOUSE_POSITION_CHANGED; events 1625 drivers/virt/vboxguest/vboxguest_core.c if (events & VMMDEV_EVENT_HGCM) { events 1627 drivers/virt/vboxguest/vboxguest_core.c events &= ~VMMDEV_EVENT_HGCM; events 1630 drivers/virt/vboxguest/vboxguest_core.c if (events & VMMDEV_EVENT_BALLOON_CHANGE_REQUEST) { events 1632 drivers/virt/vboxguest/vboxguest_core.c events &= ~VMMDEV_EVENT_BALLOON_CHANGE_REQUEST; events 1635 drivers/virt/vboxguest/vboxguest_core.c if (events) { events 1637 drivers/virt/vboxguest/vboxguest_core.c gdev->pending_events |= events; events 229 drivers/virt/vboxguest/vmmdev.h u32 events; events 283 drivers/virtio/virtio_balloon.c unsigned long events[NR_VM_EVENT_ITEMS]; events 289 drivers/virtio/virtio_balloon.c all_vm_events(events); events 297 drivers/virtio/virtio_balloon.c pages_to_bytes(events[PSWPIN])); events 299 drivers/virtio/virtio_balloon.c pages_to_bytes(events[PSWPOUT])); events 300 drivers/virtio/virtio_balloon.c update_stat(vb, idx++, VIRTIO_BALLOON_S_MAJFLT, events[PGMAJFAULT]); events 301 drivers/virtio/virtio_balloon.c update_stat(vb, idx++, VIRTIO_BALLOON_S_MINFLT, events[PGFAULT]); events 304 drivers/virtio/virtio_balloon.c events[HTLB_BUDDY_PGALLOC]); events 306 drivers/virtio/virtio_balloon.c events[HTLB_BUDDY_PGALLOC_FAIL]); events 185 fs/aio.c __poll_t events; events 1633 fs/aio.c struct poll_table_struct pt = { ._key = req->events }; events 1638 fs/aio.c mask = vfs_poll(req->file, &pt) & req->events; events 1687 fs/aio.c if (mask && !(mask & req->events)) events 1757 fs/aio.c req->events = demangle_poll(iocb->aio_buf) | EPOLLERR | EPOLLHUP; events 1764 fs/aio.c apt.pt._key = req->events; events 1772 fs/aio.c mask = vfs_poll(req->file, &apt.pt) & req->events; events 2055 fs/aio.c struct io_event __user *events, events 2064 fs/aio.c ret = read_events(ioctx, min_nr, nr, events, until); events 2088 fs/aio.c struct io_event __user *, events, events 2097 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); events 2114 fs/aio.c struct io_event __user *, events, events 2133 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); events 2149 fs/aio.c struct io_event __user *, events, events 2169 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &ts : NULL); events 2186 fs/aio.c struct io_event __user *, events, events 2195 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); events 2216 fs/aio.c struct io_event __user *, events, events 2235 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); events 2251 fs/aio.c struct io_event __user *, events, events 2270 fs/aio.c ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? &t : NULL); events 1487 fs/block_dev.c unsigned int events; events 1489 fs/block_dev.c events = disk_clear_events(disk, DISK_EVENT_MEDIA_CHANGE | events 1491 fs/block_dev.c if (!(events & DISK_EVENT_MEDIA_CHANGE)) events 38 fs/cachefiles/namei.c object->fscache.events, object->fscache.event_mask); events 129 fs/eventfd.c __poll_t events = 0; events 175 fs/eventfd.c events |= EPOLLIN; events 177 fs/eventfd.c events |= EPOLLERR; events 179 fs/eventfd.c events |= EPOLLOUT; events 181 fs/eventfd.c return events; events 257 fs/eventpoll.c struct epoll_event __user *events; events 890 fs/eventpoll.c pt->_key = epi->event.events; events 892 fs/eventpoll.c return vfs_poll(epi->ffd.file, pt) & epi->event.events; events 900 fs/eventpoll.c locked) & epi->event.events; events 959 fs/eventpoll.c epi->ffd.fd, epi->event.events, events 1230 fs/eventpoll.c if (!(epi->event.events & ~EP_PRIVATE_BITS)) events 1239 fs/eventpoll.c if (pollflags && !(pollflags & epi->event.events)) events 1262 fs/eventpoll.c if ((epi->event.events & EPOLLEXCLUSIVE) && events 1266 fs/eventpoll.c if (epi->event.events & EPOLLIN) events 1270 fs/eventpoll.c if (epi->event.events & EPOLLOUT) events 1290 fs/eventpoll.c if (!(epi->event.events & EPOLLEXCLUSIVE)) events 1326 fs/eventpoll.c if (epi->event.events & EPOLLEXCLUSIVE) events 1522 fs/eventpoll.c if (epi->event.events & EPOLLWAKEUP) { events 1644 fs/eventpoll.c epi->event.events = event->events; /* need barrier below */ events 1646 fs/eventpoll.c if (epi->event.events & EPOLLWAKEUP) { events 1707 fs/eventpoll.c struct epoll_event __user *uevent = esed->events; events 1753 fs/eventpoll.c if (__put_user(revents, &uevent->events) || events 1763 fs/eventpoll.c if (epi->event.events & EPOLLONESHOT) events 1764 fs/eventpoll.c epi->event.events &= EP_PRIVATE_BITS; events 1765 fs/eventpoll.c else if (!(epi->event.events & EPOLLET)) { events 1786 fs/eventpoll.c struct epoll_event __user *events, int maxevents) events 1791 fs/eventpoll.c esed.events = events; events 1825 fs/eventpoll.c static int ep_poll(struct eventpoll *ep, struct epoll_event __user *events, events 1941 fs/eventpoll.c !(res = ep_send_events(ep, events, maxevents)) && !timed_out) events 2157 fs/eventpoll.c if (ep_op_has_event(op) && (epds.events & EPOLLEXCLUSIVE)) { events 2161 fs/eventpoll.c (epds.events & ~EPOLLEXCLUSIVE_OK_BITS))) events 2221 fs/eventpoll.c epds.events |= EPOLLERR | EPOLLHUP; events 2236 fs/eventpoll.c if (!(epi->event.events & EPOLLEXCLUSIVE)) { events 2237 fs/eventpoll.c epds.events |= EPOLLERR | EPOLLHUP; events 2264 fs/eventpoll.c static int do_epoll_wait(int epfd, struct epoll_event __user *events, events 2276 fs/eventpoll.c if (!access_ok(events, maxevents * sizeof(struct epoll_event))) events 2299 fs/eventpoll.c error = ep_poll(ep, events, maxevents, timeout); events 2306 fs/eventpoll.c SYSCALL_DEFINE4(epoll_wait, int, epfd, struct epoll_event __user *, events, events 2309 fs/eventpoll.c return do_epoll_wait(epfd, events, maxevents, timeout); events 2316 fs/eventpoll.c SYSCALL_DEFINE6(epoll_pwait, int, epfd, struct epoll_event __user *, events, events 2330 fs/eventpoll.c error = do_epoll_wait(epfd, events, maxevents, timeout); events 2338 fs/eventpoll.c struct epoll_event __user *, events, events 2353 fs/eventpoll.c err = do_epoll_wait(epfd, events, maxevents, timeout); events 510 fs/fscache/cookie.c object->debug_id, cookie->def->name, object->events); events 314 fs/fscache/internal.h if (!test_and_set_bit(event, &object->events) && events 227 fs/fscache/object-list.c FILTER(obj->events & obj->event_mask, events 244 fs/fscache/object-list.c obj->events, events 71 fs/fscache/object.c { .events = (emask), .transit_to = STATE(state) } events 171 fs/fscache/object.c unsigned long events, event_mask; events 178 fs/fscache/object.c object->debug_id, object->state->name, object->events); events 185 fs/fscache/object.c events = object->events; events 188 fs/fscache/object.c if (events & object->oob_event_mask) { events 190 fs/fscache/object.c object->debug_id, events & object->oob_event_mask); events 192 fs/fscache/object.c for (t = object->oob_table; t->events; t++) { events 193 fs/fscache/object.c if (events & t->events) { events 196 fs/fscache/object.c event = fls(events & t->events) - 1; events 198 fs/fscache/object.c clear_bit(event, &object->events); events 207 fs/fscache/object.c if (events & event_mask) { events 208 fs/fscache/object.c for (t = state->transitions; t->events; t++) { events 209 fs/fscache/object.c if (events & t->events) { events 211 fs/fscache/object.c event = fls(events & t->events) - 1; events 214 fs/fscache/object.c clear_bit(event, &object->events); events 261 fs/fscache/object.c for (t = state->transitions; t->events; t++) events 262 fs/fscache/object.c event_mask |= t->events; events 267 fs/fscache/object.c events = object->events; events 268 fs/fscache/object.c if (events & event_mask) events 321 fs/fscache/object.c object->events = 0; events 333 fs/fscache/object.c for (t = object->oob_table; t->events; t++) events 334 fs/fscache/object.c object->oob_event_mask |= t->events; events 336 fs/fscache/object.c for (t = object->state->transitions; t->events; t++) events 337 fs/fscache/object.c object->event_mask |= t->events; events 131 fs/fscache/operation.c kdebug("objevent=%lx [%lx]", object->events, object->event_mask); events 2987 fs/fuse/file.c inarg.events = mangle_poll(poll_requested_events(wait)); events 288 fs/io_uring.c __poll_t events; events 1793 fs/io_uring.c struct poll_table_struct pt = { ._key = poll->events }; events 1801 fs/io_uring.c mask = vfs_poll(poll->file, &pt) & poll->events; events 1837 fs/io_uring.c if (mask && !(mask & poll->events)) events 1884 fs/io_uring.c u16 events; events 1895 fs/io_uring.c events = READ_ONCE(sqe->poll_events); events 1896 fs/io_uring.c poll->events = demangle_poll(events) | EPOLLERR | EPOLLHUP; events 1903 fs/io_uring.c ipt.pt._key = poll->events; events 1913 fs/io_uring.c mask = vfs_poll(poll->file, &ipt.pt) & poll->events; events 23 fs/nfs/iostat.h unsigned long events[__NFSIOS_COUNTSMAX]; events 29 fs/nfs/iostat.h this_cpu_inc(server->io_stats->events[stat]); events 882 fs/nfs/super.c totals.events[i] += stats->events[i]; events 895 fs/nfs/super.c seq_printf(m, "%lu ", totals.events[i]); events 857 fs/select.c filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP; events 64 fs/signalfd.c __poll_t events = 0; events 72 fs/signalfd.c events |= EPOLLIN; events 75 fs/signalfd.c return events; events 233 fs/timerfd.c __poll_t events = 0; events 240 fs/timerfd.c events |= EPOLLIN; events 243 fs/timerfd.c return events; events 523 include/linux/compat.h struct io_event __user *events, events 529 include/linux/compat.h struct io_event __user *events, events 538 include/linux/compat.h struct epoll_event __user *events, events 329 include/linux/drbd_genl.h GENL_mc_group(events) events 333 include/linux/drbd_genl.h DRBD_EVENT, 1, events, events 495 include/linux/drbd_genl.h DRBD_RESOURCE_STATE, 34, events, events 502 include/linux/drbd_genl.h DRBD_DEVICE_STATE, 35, events, events 509 include/linux/drbd_genl.h DRBD_CONNECTION_STATE, 36, events, events 516 include/linux/drbd_genl.h DRBD_PEER_DEVICE_STATE, 37, events, events 530 include/linux/drbd_genl.h DRBD_HELPER, 40, events, events 535 include/linux/drbd_genl.h DRBD_INITIAL_STATE_DONE, 41, events, events 1729 include/linux/efi.h u8 events[]; events 30 include/linux/flex_proportions.h struct percpu_counter events; events 46 include/linux/flex_proportions.h unsigned long events; events 78 include/linux/flex_proportions.h struct percpu_counter events; events 331 include/linux/fscache-cache.h unsigned long events; events 361 include/linux/fscache-cache.h unsigned long events; /* events to be processed by this object events 446 include/linux/fscache-cache.h set_bit(FSCACHE_OBJECT_EV_ERROR, &object->events); events 194 include/linux/genhd.h unsigned short events; /* supported events */ events 65 include/linux/i3c/ccc.h u8 events; events 307 include/linux/input.h void (*events)(struct input_handle *handle, events 90 include/linux/memcontrol.h unsigned long events[NR_VM_EVENT_ITEMS]; events 293 include/linux/mfd/adp5520.h struct notifier_block *nb, unsigned int events); events 296 include/linux/mfd/adp5520.h struct notifier_block *nb, unsigned int events); events 205 include/linux/mfd/da903x.h struct notifier_block *nb, unsigned int events); events 207 include/linux/mfd/da903x.h struct notifier_block *nb, unsigned int events); events 285 include/linux/mlx5/driver.h int events; events 578 include/linux/mlx5/driver.h struct mlx5_events *events; events 55 include/linux/mm_types_task.h int events; /* for synchronization threshold */ events 49 include/linux/perf/arm_pmu.h struct perf_event *events[ARMPMU_MAX_HWEVENTS]; events 160 include/linux/qed/qed_rdma_if.h struct qed_rdma_events events; events 216 include/linux/qed/qed_rdma_if.h struct qed_rdma_events *events; events 187 include/linux/rtc.h unsigned long num, unsigned long events); events 126 include/linux/scif.h __poll_t events; events 298 include/linux/syscalls.h struct io_event __user *events, events 303 include/linux/syscalls.h struct io_event __user *events, events 308 include/linux/syscalls.h struct io_event __user *events, events 314 include/linux/syscalls.h struct io_event __user *events, events 362 include/linux/syscalls.h asmlinkage long sys_epoll_pwait(int epfd, struct epoll_event __user *events, events 1104 include/linux/syscalls.h asmlinkage long sys_epoll_wait(int epfd, struct epoll_event __user *events, events 334 include/linux/thermal.h enum events event; events 549 include/linux/thermal.h enum events event); events 552 include/linux/thermal.h enum events event) events 81 include/linux/vfio.h unsigned long *events, events 23 include/linux/vmpressure.h struct list_head events; events 96 include/media/cec.h struct list_head events[CEC_NUM_EVENTS]; /* queued events */ events 501 include/media/dvb_frontend.h struct dvb_frontend_event events[MAX_EVENT]; events 327 include/media/rc-core.h struct ir_raw_event *events, unsigned int max); events 81 include/media/v4l2-event.h struct v4l2_kevent events[]; events 76 include/net/netfilter/nf_conntrack_ecache.h int (*fcn)(unsigned int events, struct nf_ct_event *item); events 162 include/net/netfilter/nf_conntrack_ecache.h int (*fcn)(unsigned int events, struct nf_exp_event *item); events 256 include/pcmcia/ss.h unsigned int events); events 98 include/sound/control.h struct list_head events; /* waiting events for read */ events 195 include/sound/soc-topology.h const struct snd_soc_tplg_widget_events *events, int num_events, events 300 include/sound/vx_core.h void vx_pcm_update_intr(struct vx_core *chip, unsigned int events); events 84 include/trace/define_trace.h # define __TRACE_INCLUDE(system) <trace/events/system.h> events 38 include/uapi/asm-generic/poll.h short events; events 417 include/uapi/drm/vc4_drm.h __u8 events[DRM_VC4_MAX_PERF_COUNTERS]; events 78 include/uapi/linux/eventpoll.h __poll_t events; events 85 include/uapi/linux/eventpoll.h if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) events 86 include/uapi/linux/eventpoll.h epev->events &= ~EPOLLWAKEUP; events 91 include/uapi/linux/eventpoll.h epev->events &= ~EPOLLWAKEUP; events 766 include/uapi/linux/fuse.h uint32_t events; events 294 include/uapi/linux/raid/md_p.h __le64 events; /* incremented when superblock updated */ events 213 include/uapi/linux/vboxguest.h __u32 events; events 217 include/uapi/linux/vboxguest.h __u32 events; events 493 include/uapi/sound/asequencer.h int events; /* read-only - queue size */ events 5011 kernel/events/core.c __poll_t events = EPOLLHUP; events 5016 kernel/events/core.c return events; events 5025 kernel/events/core.c events = atomic_xchg(&rb->poll, 0); events 5027 kernel/events/core.c return events; events 6514 kernel/events/core.c int events = local_inc_return(&rb->events); events 6516 kernel/events/core.c if (events >= wakeup_events) { events 6517 kernel/events/core.c local_sub(wakeup_events, &rb->events); events 8186 kernel/events/core.c int events = atomic_read(&event->event_limit); events 8204 kernel/events/core.c if (events && atomic_dec_and_test(&event->event_limit)) { events 11432 kernel/events/core.c LIST_HEAD(events); events 11447 kernel/events/core.c list_add(&event->migrate_entry, &events); events 11463 kernel/events/core.c list_for_each_entry_safe(event, tmp, &events, migrate_entry) { events 11479 kernel/events/core.c list_for_each_entry_safe(event, tmp, &events, migrate_entry) { events 28 kernel/events/internal.h local_t events; /* event limit */ events 4927 kernel/trace/ring_buffer.c unsigned long events; events 5014 kernel/trace/ring_buffer.c data->events++; events 5160 kernel/trace/ring_buffer.c total_events = data->events + data->events_nested; events 8420 kernel/trace/trace.c INIT_LIST_HEAD(&tr->events); events 9218 kernel/trace/trace.c INIT_LIST_HEAD(&global_trace.events); events 308 kernel/trace/trace.h struct list_head events; events 64 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) events 69 kernel/trace/trace_events.c list_for_each_entry_safe(file, ___n, &tr->events, list) events 497 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 623 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 741 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 905 kernel/trace/trace_events.c list_for_each_entry_continue(file, &tr->events, list) { events 927 kernel/trace/trace_events.c file = list_entry(&tr->events, struct trace_event_file, list); events 944 kernel/trace/trace_events.c list_for_each_entry_continue(file, &tr->events, list) { events 960 kernel/trace/trace_events.c file = list_entry(&tr->events, struct trace_event_file, list); events 1106 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 1603 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 2258 kernel/trace/trace_events.c list_add(&file->list, &tr->events); events 2476 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 2842 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 2880 kernel/trace/trace_events.c list_for_each_entry_safe(file, next, &tr->events, list) events 3256 kernel/trace/trace_events.c list_for_each_entry(file, &tr->events, list) { events 1056 kernel/trace/trace_events_filter.c list_for_each_entry(file, &tr->events, list) { events 1074 kernel/trace/trace_events_filter.c list_for_each_entry(file, &tr->events, list) { events 1603 kernel/trace/trace_events_filter.c list_for_each_entry(file, &tr->events, list) { events 479 kernel/trace/trace_events_trigger.c list_for_each_entry(file, &tr->events, list) { events 1660 kernel/trace/trace_kprobe.c list_for_each_entry(file, &tr->events, list) events 1736 kernel/trace/trace_kprobe.c list_for_each_entry(file, &tr->events, list) events 1355 kernel/trace/trace_output.c static struct trace_event *events[] __initdata = { events 1374 kernel/trace/trace_output.c for (i = 0; events[i]; i++) { events 1375 kernel/trace/trace_output.c event = events[i]; events 44 lib/flex_proportions.c err = percpu_counter_init(&p->events, 1, gfp); events 53 lib/flex_proportions.c percpu_counter_destroy(&p->events); events 66 lib/flex_proportions.c s64 events; events 70 lib/flex_proportions.c events = percpu_counter_sum(&p->events); events 74 lib/flex_proportions.c if (events <= 1) { events 80 lib/flex_proportions.c events -= events >> periods; events 82 lib/flex_proportions.c percpu_counter_add(&p->events, -events); events 96 lib/flex_proportions.c pl->events = 0; events 123 lib/flex_proportions.c pl->events >>= period - pl->period; events 125 lib/flex_proportions.c pl->events = 0; events 134 lib/flex_proportions.c pl->events++; events 135 lib/flex_proportions.c percpu_counter_add(&p->events, 1); events 149 lib/flex_proportions.c num = pl->events; events 150 lib/flex_proportions.c den = percpu_counter_read_positive(&p->events); events 176 lib/flex_proportions.c err = percpu_counter_init(&pl->events, 0, gfp); events 186 lib/flex_proportions.c percpu_counter_destroy(&pl->events); events 206 lib/flex_proportions.c s64 val = percpu_counter_read(&pl->events); events 209 lib/flex_proportions.c val = percpu_counter_sum(&pl->events); events 211 lib/flex_proportions.c percpu_counter_add_batch(&pl->events, events 214 lib/flex_proportions.c percpu_counter_set(&pl->events, 0); events 223 lib/flex_proportions.c percpu_counter_add_batch(&pl->events, 1, PROP_BATCH); events 224 lib/flex_proportions.c percpu_counter_add(&p->events, 1); events 237 lib/flex_proportions.c num = percpu_counter_read_positive(&pl->events); events 238 lib/flex_proportions.c den = percpu_counter_read_positive(&p->events); events 271 lib/flex_proportions.c percpu_counter_add_batch(&pl->events, 1, PROP_BATCH); events 272 lib/flex_proportions.c percpu_counter_add(&p->events, 1); events 814 mm/memcontrol.c x = count + __this_cpu_read(memcg->vmstats_percpu->events[idx]); events 822 mm/memcontrol.c __this_cpu_add(memcg->vmstats_local->events[idx], x); events 827 mm/memcontrol.c __this_cpu_write(memcg->vmstats_percpu->events[idx], x); events 841 mm/memcontrol.c x += per_cpu(memcg->vmstats_local->events[event], cpu); events 2344 mm/memcontrol.c x = this_cpu_xchg(memcg->vmstats_percpu->events[i], 0); events 3507 mm/memcontrol.c unsigned long events[NR_VM_EVENT_ITEMS]; events 3512 mm/memcontrol.c events[i] = 0; events 3516 mm/memcontrol.c events[i] += per_cpu(memcg->vmstats_percpu->events[i], events 3521 mm/memcontrol.c atomic_long_add(events[i], &mi->vmevents[i]); events 6212 mm/memcontrol.c static void __memory_events_show(struct seq_file *m, atomic_long_t *events) events 6214 mm/memcontrol.c seq_printf(m, "low %lu\n", atomic_long_read(&events[MEMCG_LOW])); events 6215 mm/memcontrol.c seq_printf(m, "high %lu\n", atomic_long_read(&events[MEMCG_HIGH])); events 6216 mm/memcontrol.c seq_printf(m, "max %lu\n", atomic_long_read(&events[MEMCG_MAX])); events 6217 mm/memcontrol.c seq_printf(m, "oom %lu\n", atomic_long_read(&events[MEMCG_OOM])); events 6219 mm/memcontrol.c atomic_long_read(&events[MEMCG_OOM_KILL])); events 156 mm/memory.c current->rss_stat.events = 0; events 177 mm/memory.c if (unlikely(task->rss_stat.events++ > TASK_RSS_EVENTS_THRESH)) events 166 mm/vmpressure.c list_for_each_entry(ev, &vmpr->events, node) { events 406 mm/vmpressure.c list_add(&ev->node, &vmpr->events); events 432 mm/vmpressure.c list_for_each_entry(ev, &vmpr->events, node) { events 453 mm/vmpressure.c INIT_LIST_HEAD(&vmpr->events); events 327 net/bluetooth/hci_core.c u8 events[8] = { 0xff, 0xff, 0xfb, 0xff, 0x00, 0x00, 0x00, 0x00 }; events 336 net/bluetooth/hci_core.c events[4] |= 0x01; /* Flow Specification Complete */ events 339 net/bluetooth/hci_core.c memset(events, 0, sizeof(events)); events 340 net/bluetooth/hci_core.c events[1] |= 0x20; /* Command Complete */ events 341 net/bluetooth/hci_core.c events[1] |= 0x40; /* Command Status */ events 342 net/bluetooth/hci_core.c events[1] |= 0x80; /* Hardware Error */ events 349 net/bluetooth/hci_core.c events[0] |= 0x10; /* Disconnection Complete */ events 350 net/bluetooth/hci_core.c events[2] |= 0x04; /* Number of Completed Packets */ events 351 net/bluetooth/hci_core.c events[3] |= 0x02; /* Data Buffer Overflow */ events 358 net/bluetooth/hci_core.c events[1] |= 0x08; /* Read Remote Version Information events 363 net/bluetooth/hci_core.c events[0] |= 0x80; /* Encryption Change */ events 364 net/bluetooth/hci_core.c events[5] |= 0x80; /* Encryption Key Refresh Complete */ events 370 net/bluetooth/hci_core.c events[4] |= 0x02; /* Inquiry Result with RSSI */ events 373 net/bluetooth/hci_core.c events[4] |= 0x04; /* Read Remote Extended Features Complete */ events 376 net/bluetooth/hci_core.c events[5] |= 0x08; /* Synchronous Connection Complete */ events 377 net/bluetooth/hci_core.c events[5] |= 0x10; /* Synchronous Connection Changed */ events 381 net/bluetooth/hci_core.c events[5] |= 0x20; /* Sniff Subrating */ events 384 net/bluetooth/hci_core.c events[5] |= 0x80; /* Encryption Key Refresh Complete */ events 387 net/bluetooth/hci_core.c events[5] |= 0x40; /* Extended Inquiry Result */ events 390 net/bluetooth/hci_core.c events[7] |= 0x01; /* Enhanced Flush Complete */ events 393 net/bluetooth/hci_core.c events[6] |= 0x80; /* Link Supervision Timeout Changed */ events 396 net/bluetooth/hci_core.c events[6] |= 0x01; /* IO Capability Request */ events 397 net/bluetooth/hci_core.c events[6] |= 0x02; /* IO Capability Response */ events 398 net/bluetooth/hci_core.c events[6] |= 0x04; /* User Confirmation Request */ events 399 net/bluetooth/hci_core.c events[6] |= 0x08; /* User Passkey Request */ events 400 net/bluetooth/hci_core.c events[6] |= 0x10; /* Remote OOB Data Request */ events 401 net/bluetooth/hci_core.c events[6] |= 0x20; /* Simple Pairing Complete */ events 402 net/bluetooth/hci_core.c events[7] |= 0x04; /* User Passkey Notification */ events 403 net/bluetooth/hci_core.c events[7] |= 0x08; /* Keypress Notification */ events 404 net/bluetooth/hci_core.c events[7] |= 0x10; /* Remote Host Supported events 410 net/bluetooth/hci_core.c events[7] |= 0x20; /* LE Meta-Event */ events 412 net/bluetooth/hci_core.c hci_req_add(req, HCI_OP_SET_EVENT_MASK, sizeof(events), events); events 542 net/bluetooth/hci_core.c u8 events[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; events 549 net/bluetooth/hci_core.c events[1] |= 0x40; /* Triggered Clock Capture */ events 550 net/bluetooth/hci_core.c events[1] |= 0x80; /* Synchronization Train Complete */ events 551 net/bluetooth/hci_core.c events[2] |= 0x10; /* Slave Page Response Timeout */ events 552 net/bluetooth/hci_core.c events[2] |= 0x20; /* CSB Channel Map Change */ events 560 net/bluetooth/hci_core.c events[2] |= 0x01; /* Synchronization Train Received */ events 561 net/bluetooth/hci_core.c events[2] |= 0x02; /* CSB Receive */ events 562 net/bluetooth/hci_core.c events[2] |= 0x04; /* CSB Timeout */ events 563 net/bluetooth/hci_core.c events[2] |= 0x08; /* Truncated Page Complete */ events 569 net/bluetooth/hci_core.c events[2] |= 0x80; events 581 net/bluetooth/hci_core.c sizeof(events), events); events 614 net/bluetooth/hci_core.c u8 events[8]; events 616 net/bluetooth/hci_core.c memset(events, 0, sizeof(events)); events 619 net/bluetooth/hci_core.c events[0] |= 0x10; /* LE Long Term Key Request */ events 625 net/bluetooth/hci_core.c events[0] |= 0x20; /* LE Remote Connection events 633 net/bluetooth/hci_core.c events[0] |= 0x40; /* LE Data Length Change */ events 639 net/bluetooth/hci_core.c events[1] |= 0x04; /* LE Direct Advertising events 647 net/bluetooth/hci_core.c events[2] |= 0x08; /* LE Channel Selection events 655 net/bluetooth/hci_core.c events[0] |= 0x02; /* LE Advertising Report */ events 661 net/bluetooth/hci_core.c events[0] |= 0x01; /* LE Connection Complete */ events 667 net/bluetooth/hci_core.c events[0] |= 0x04; /* LE Connection Update events 675 net/bluetooth/hci_core.c events[0] |= 0x08; /* LE Read Remote Used events 683 net/bluetooth/hci_core.c events[0] |= 0x80; /* LE Read Local P-256 events 691 net/bluetooth/hci_core.c events[1] |= 0x01; /* LE Generate DHKey Complete */ events 697 net/bluetooth/hci_core.c events[1] |= 0x08; /* LE PHY Update Complete */ events 704 net/bluetooth/hci_core.c events[1] |= 0x10; /* LE Extended Advertising events 712 net/bluetooth/hci_core.c events[1] |= 0x02; /* LE Enhanced Connection events 720 net/bluetooth/hci_core.c events[2] |= 0x02; /* LE Advertising Set events 724 net/bluetooth/hci_core.c hci_req_add(req, HCI_OP_LE_SET_EVENT_MASK, sizeof(events), events 725 net/bluetooth/hci_core.c events); events 181 net/netfilter/nf_conntrack_ecache.c unsigned long events, missed; events 196 net/netfilter/nf_conntrack_ecache.c events = xchg(&e->cache, 0); events 206 net/netfilter/nf_conntrack_ecache.c if (!((events | missed) & e->ctmask)) events 213 net/netfilter/nf_conntrack_ecache.c ret = notify->fcn(events | missed, &item); events 220 net/netfilter/nf_conntrack_ecache.c e->missed |= events; events 680 net/netfilter/nf_conntrack_netlink.c ctnetlink_conntrack_event(unsigned int events, struct nf_ct_event *item) events 693 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_DESTROY)) { events 696 net/netfilter/nf_conntrack_netlink.c } else if (events & ((1 << IPCT_NEW) | (1 << IPCT_RELATED))) { events 700 net/netfilter/nf_conntrack_netlink.c } else if (events) { events 756 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_DESTROY)) { events 764 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_PROTOINFO) events 768 net/netfilter/nf_conntrack_netlink.c if ((events & (1 << IPCT_HELPER) || nfct_help(ct)) events 773 net/netfilter/nf_conntrack_netlink.c if ((events & (1 << IPCT_SECMARK) || ct->secmark) events 777 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_LABEL) && events 781 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_RELATED) && events 785 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_SEQADJ) && events 789 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPCT_SYNPROXY) && events 795 net/netfilter/nf_conntrack_netlink.c if ((events & (1 << IPCT_MARK) || ct->mark) events 2137 net/netfilter/nf_conntrack_netlink.c enum ip_conntrack_events events; events 2151 net/netfilter/nf_conntrack_netlink.c events = 1 << IPCT_RELATED; events 2153 net/netfilter/nf_conntrack_netlink.c events = 1 << IPCT_NEW; events 2157 net/netfilter/nf_conntrack_netlink.c events |= (1 << IPCT_LABEL); events 2166 net/netfilter/nf_conntrack_netlink.c events, events 2830 net/netfilter/nf_conntrack_netlink.c ctnetlink_expect_event(unsigned int events, struct nf_exp_event *item) events 2840 net/netfilter/nf_conntrack_netlink.c if (events & (1 << IPEXP_DESTROY)) { events 2843 net/netfilter/nf_conntrack_netlink.c } else if (events & (1 << IPEXP_NEW)) { events 76 net/rfkill/core.c struct list_head events; events 282 net/rfkill/core.c list_add_tail(&ev->list, &data->events); events 1113 net/rfkill/core.c INIT_LIST_HEAD(&data->events); events 1129 net/rfkill/core.c list_add_tail(&ev->list, &data->events); events 1143 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) events 1157 net/rfkill/core.c if (!list_empty(&data->events)) events 1174 net/rfkill/core.c while (list_empty(&data->events)) { events 1184 net/rfkill/core.c !list_empty(&data->events)); events 1191 net/rfkill/core.c ev = list_first_entry(&data->events, struct rfkill_int_event, events 1268 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) events 452 net/rxrpc/ar-internal.h unsigned long events; events 593 net/rxrpc/ar-internal.h unsigned long events; events 405 net/rxrpc/call_accept.c set_bit(RXRPC_CONN_EV_CHALLENGE, &call->conn->events); events 28 net/rxrpc/call_event.c !test_and_set_bit(RXRPC_CALL_EV_PING, &call->events)) events 104 net/rxrpc/call_event.c if (test_bit(RXRPC_CALL_EV_ACK, &call->events)) { events 107 net/rxrpc/call_event.c _debug("immediate ACK %lx", call->events); events 108 net/rxrpc/call_event.c if (!test_and_set_bit(RXRPC_CALL_EV_ACK, &call->events) && events 308 net/rxrpc/call_event.c call->debug_id, rxrpc_call_states[call->state], call->events); events 316 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_ABORT, &call->events)) { events 332 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_EXPIRED, &call->events); events 339 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_EXPIRED, &call->events); events 345 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_EXPIRED, &call->events); events 352 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_ACK, &call->events); events 359 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_ACK_LOST, &call->events); events 368 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_PING, &call->events); events 375 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_PING, &call->events); events 382 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_RESEND, &call->events); events 386 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_EXPIRED, &call->events)) { events 394 net/rxrpc/call_event.c set_bit(RXRPC_CALL_EV_ABORT, &call->events); events 399 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_ACK_LOST, &call->events)) { events 406 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_ACK, &call->events) || events 414 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_PING, &call->events)) { events 419 net/rxrpc/call_event.c if (test_and_clear_bit(RXRPC_CALL_EV_RESEND, &call->events)) { events 444 net/rxrpc/call_event.c if (call->events && call->state < RXRPC_CALL_COMPLETE) events 469 net/rxrpc/call_object.c call, call->events, call->flags); events 641 net/rxrpc/call_object.c call->flags, call->events); events 447 net/rxrpc/conn_event.c if (test_and_clear_bit(RXRPC_CONN_EV_CHALLENGE, &conn->events)) events 30 net/rxrpc/input.c set_bit(RXRPC_CALL_EV_ABORT, &call->events); events 172 net/rxrpc/input.c if (resend && !test_and_set_bit(RXRPC_CALL_EV_RESEND, &call->events)) events 677 net/rxrpc/input.c if (resend && !test_and_set_bit(RXRPC_CALL_EV_RESEND, &call->events)) events 1095 net/rxrpc/input.c set_bit(RXRPC_CALL_EV_ABORT, &call->events); events 369 net/rxrpc/output.c (test_and_clear_bit(RXRPC_CALL_EV_ACK_LOST, &call->events) || events 171 net/rxrpc/sendmsg.c if (!test_and_set_bit(RXRPC_CALL_EV_RESEND, &call->events)) events 1242 net/socket.c __poll_t events = poll_requested_events(wait), flag = 0; events 1249 net/socket.c if (events & POLL_BUSY_LOOP) events 685 net/sunrpc/xprtsock.c __poll_t events = xs_poll_socket(transport); events 687 net/sunrpc/xprtsock.c return (events & (EPOLLIN | EPOLLRDNORM)) && !(events & EPOLLRDHUP); events 98 net/tipc/group.c bool events; events 185 net/tipc/group.c grp->events = mreq->flags & TIPC_GROUP_MEMBER_EVTS; events 549 net/tipc/group.c if (!grp->events) events 545 samples/bpf/xdp_router_ipv4_user.c fds_route.events = POLL_IN; events 563 samples/bpf/xdp_router_ipv4_user.c fds_arp.events = POLL_IN; events 596 samples/bpf/xdpsock_user.c fds[i].events = POLLIN; events 643 samples/bpf/xdpsock_user.c fds[0].events = POLLOUT; events 716 samples/bpf/xdpsock_user.c fds[i].events = POLLOUT | POLLIN; events 191 samples/connector/ucon.c pfd.events = POLLIN; events 479 samples/mic/mpssd/mpssd.c pollfd.events = POLLIN; events 555 samples/mic/mpssd/mpssd.c net_poll[NET_FD_VIRTIO_NET].events = POLLIN; events 557 samples/mic/mpssd/mpssd.c net_poll[NET_FD_TUN].events = POLLIN; events 776 samples/mic/mpssd/mpssd.c console_poll[MONITOR_FD].events = POLLIN; events 779 samples/mic/mpssd/mpssd.c console_poll[VIRTIO_CONSOLE_FD].events = POLLIN; events 1193 samples/mic/mpssd/mpssd.c block_poll.events = POLLIN; events 1442 samples/mic/mpssd/mpssd.c ufds[0].events = POLLERR | POLLPRI; events 179 samples/timers/hpet_example.c pfd.events = POLLIN; events 523 samples/trace_events/trace-events-sample.h #define TRACE_INCLUDE_FILE trace-events-sample events 430 samples/uhid/uhid-example.c pfds[0].events = POLLIN; events 432 samples/uhid/uhid-example.c pfds[1].events = POLLIN; events 78 security/selinux/avc.c u32 events; events 795 security/selinux/avc.c int __init avc_add_callback(int (*callback)(u32 event), u32 events) events 807 security/selinux/avc.c c->events = events; events 972 security/selinux/avc.c if (c->events & AVC_CALLBACK_RESET) { events 181 security/selinux/include/avc.h int avc_add_callback(int (*callback)(u32 event), u32 events); events 65 sound/core/control.c INIT_LIST_HEAD(&ctl->events); events 95 sound/core/control.c while (!list_empty(&ctl->events)) { events 96 sound/core/control.c cread = snd_kctl_event(ctl->events.next); events 160 sound/core/control.c list_for_each_entry(ev, &ctl->events, list) { events 170 sound/core/control.c list_add_tail(&ev->list, &ctl->events); events 1603 sound/core/control.c while (list_empty(&ctl->events)) { events 1621 sound/core/control.c kev = snd_kctl_event(ctl->events.next); events 1654 sound/core/control.c if (!list_empty(&ctl->events)) events 1660 sound/core/seq/seq_clientmgr.c status->events = queue->tickq->cells + queue->timeq->cells; events 488 sound/drivers/vx/vx_core.c unsigned int events; events 493 sound/drivers/vx/vx_core.c if (vx_test_irq_src(chip, &events) < 0) events 497 sound/drivers/vx/vx_core.c if (events & 0x000800) events 498 sound/drivers/vx/vx_core.c printk(KERN_ERR "DSP Stream underrun ! IRQ events = 0x%x\n", events); events 506 sound/drivers/vx/vx_core.c if (events & FATAL_DSP_ERROR) { events 514 sound/drivers/vx/vx_core.c if (events & TIME_CODE_EVENT_PENDING) events 518 sound/drivers/vx/vx_core.c if (events & FREQUENCY_CHANGE_EVENT_PENDING) events 522 sound/drivers/vx/vx_core.c vx_pcm_update_intr(chip, events); events 1098 sound/drivers/vx/vx_pcm.c void vx_pcm_update_intr(struct vx_core *chip, unsigned int events) events 1105 sound/drivers/vx/vx_pcm.c if (events & EVENT_MASK) { events 1107 sound/drivers/vx/vx_pcm.c if (events & ASYNC_EVENTS_PENDING) events 1109 sound/drivers/vx/vx_pcm.c if (events & END_OF_BUFFER_EVENTS_PENDING) events 1124 sound/drivers/vx/vx_pcm.c if (events & ASYNC_EVENTS_PENDING) events 1127 sound/drivers/vx/vx_pcm.c if (events & END_OF_BUFFER_EVENTS_PENDING) { events 59 sound/firewire/bebob/bebob_hwdep.c __poll_t events; events 65 sound/firewire/bebob/bebob_hwdep.c events = EPOLLIN | EPOLLRDNORM; events 67 sound/firewire/bebob/bebob_hwdep.c events = 0; events 70 sound/firewire/bebob/bebob_hwdep.c return events; events 58 sound/firewire/dice/dice-hwdep.c __poll_t events; events 64 sound/firewire/dice/dice-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 66 sound/firewire/dice/dice-hwdep.c events = 0; events 69 sound/firewire/dice/dice-hwdep.c return events; events 66 sound/firewire/digi00x/digi00x-hwdep.c __poll_t events; events 72 sound/firewire/digi00x/digi00x-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 74 sound/firewire/digi00x/digi00x-hwdep.c events = 0; events 77 sound/firewire/digi00x/digi00x-hwdep.c return events; events 58 sound/firewire/fireface/ff-hwdep.c __poll_t events; events 64 sound/firewire/fireface/ff-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 66 sound/firewire/fireface/ff-hwdep.c events = 0; events 69 sound/firewire/fireface/ff-hwdep.c return events; events 190 sound/firewire/fireworks/fireworks_hwdep.c __poll_t events; events 196 sound/firewire/fireworks/fireworks_hwdep.c events = EPOLLIN | EPOLLRDNORM; events 198 sound/firewire/fireworks/fireworks_hwdep.c events = 0; events 201 sound/firewire/fireworks/fireworks_hwdep.c return events | EPOLLOUT; events 65 sound/firewire/motu/motu-hwdep.c __poll_t events; events 71 sound/firewire/motu/motu-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 73 sound/firewire/motu/motu-hwdep.c events = 0; events 76 sound/firewire/motu/motu-hwdep.c return events | EPOLLOUT; events 58 sound/firewire/oxfw/oxfw-hwdep.c __poll_t events; events 64 sound/firewire/oxfw/oxfw-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 66 sound/firewire/oxfw/oxfw-hwdep.c events = 0; events 69 sound/firewire/oxfw/oxfw-hwdep.c return events; events 131 sound/firewire/tascam/tascam-hwdep.c __poll_t events; events 137 sound/firewire/tascam/tascam-hwdep.c events = EPOLLIN | EPOLLRDNORM; events 139 sound/firewire/tascam/tascam-hwdep.c events = 0; events 142 sound/firewire/tascam/tascam-hwdep.c return events; events 915 sound/pci/asihpi/hpi_internal.h u32 events; events 926 sound/pci/asihpi/hpi_internal.h u32 events; events 348 sound/soc/codecs/da7219-aad.c u8 events[DA7219_AAD_IRQ_REG_MAX]; events 354 sound/soc/codecs/da7219-aad.c events, DA7219_AAD_IRQ_REG_MAX); events 356 sound/soc/codecs/da7219-aad.c if (!events[DA7219_AAD_IRQ_REG_A] && !events[DA7219_AAD_IRQ_REG_B]) events 364 sound/soc/codecs/da7219-aad.c events, DA7219_AAD_IRQ_REG_MAX); events 367 sound/soc/codecs/da7219-aad.c events[DA7219_AAD_IRQ_REG_A], events[DA7219_AAD_IRQ_REG_B], events 372 sound/soc/codecs/da7219-aad.c if (events[DA7219_AAD_IRQ_REG_A] & events 380 sound/soc/codecs/da7219-aad.c if (events[DA7219_AAD_IRQ_REG_A] & events 407 sound/soc/codecs/da7219-aad.c if (events[DA7219_AAD_IRQ_REG_B] & events 417 sound/soc/codecs/da7219-aad.c if (events[DA7219_AAD_IRQ_REG_B] & events 426 sound/soc/codecs/da7219-aad.c if (events[DA7219_AAD_IRQ_REG_A] & DA7219_E_JACK_REMOVED_MASK) { events 661 sound/soc/soc-topology.c const struct snd_soc_tplg_widget_events *events, events 669 sound/soc/soc-topology.c if (event_type == events[i].type) { events 672 sound/soc/soc-topology.c w->event = events[i].event_handler; events 378 tools/arch/x86/include/uapi/asm/kvm.h struct kvm_vcpu_events events; events 443 tools/arch/x86/include/uapi/asm/kvm.h __u64 events[0]; events 969 tools/firewire/nosy-dump.c pollfds[0].events = POLLIN; events 971 tools/firewire/nosy-dump.c pollfds[1].events = POLLIN; events 1441 tools/hv/hv_kvp_daemon.c pfd.events = POLLIN; events 257 tools/hv/hv_vss_daemon.c pfd.events = POLLIN; events 640 tools/iio/iio_generic_buffer.c .events = POLLIN, events 151 tools/include/nolibc/nolibc.h short int events; events 56 tools/leds/led_hw_brightness_mon.c pollfd.events = POLLPRI; events 81 tools/lib/api/fd/array.c fda->entries[fda->nr].events = revents; events 5332 tools/lib/bpf/libbpf.c struct epoll_event *events; events 5371 tools/lib/bpf/libbpf.c free(pb->events); events 5527 tools/lib/bpf/libbpf.c pb->events = calloc(pb->cpu_cnt, sizeof(*pb->events)); events 5528 tools/lib/bpf/libbpf.c if (!pb->events) { events 5565 tools/lib/bpf/libbpf.c pb->events[i].events = EPOLLIN; events 5566 tools/lib/bpf/libbpf.c pb->events[i].data.ptr = cpu_buf; events 5568 tools/lib/bpf/libbpf.c &pb->events[i]) < 0) { events 5649 tools/lib/bpf/libbpf.c cnt = epoll_wait(pb->epoll_fd, pb->events, pb->cpu_cnt, timeout_ms); events 5651 tools/lib/bpf/libbpf.c struct perf_cpu_buf *cpu_buf = pb->events[i].data.ptr; events 21 tools/lib/traceevent/event-parse-api.c if (tep && tep->events && index < tep->nr_events) events 22 tools/lib/traceevent/event-parse-api.c return tep->events[index]; events 51 tools/lib/traceevent/event-parse-local.h struct tep_event **events; events 820 tools/lib/traceevent/event-parse.c struct tep_event **events = realloc(tep->events, sizeof(event) * events 822 tools/lib/traceevent/event-parse.c if (!events) events 825 tools/lib/traceevent/event-parse.c tep->events = events; events 828 tools/lib/traceevent/event-parse.c if (tep->events[i]->id > event->id) events 832 tools/lib/traceevent/event-parse.c memmove(&tep->events[i + 1], events 833 tools/lib/traceevent/event-parse.c &tep->events[i], events 836 tools/lib/traceevent/event-parse.c tep->events[i] = event; events 3458 tools/lib/traceevent/event-parse.c if (!tep->events) { events 3463 tools/lib/traceevent/event-parse.c event = tep->events[0]; events 3550 tools/lib/traceevent/event-parse.c eventptr = bsearch(&pkey, tep->events, tep->nr_events, events 3551 tools/lib/traceevent/event-parse.c sizeof(*tep->events), events_id_cmp); events 3583 tools/lib/traceevent/event-parse.c event = tep->events[i]; events 5750 tools/lib/traceevent/event-parse.c struct tep_event **events; events 5755 tools/lib/traceevent/event-parse.c events = malloc(sizeof(*events) * (tep->nr_events + 1)); events 5756 tools/lib/traceevent/event-parse.c if (!events) events 5759 tools/lib/traceevent/event-parse.c memcpy(events, tep->events, sizeof(*events) * tep->nr_events); events 5760 tools/lib/traceevent/event-parse.c events[tep->nr_events] = NULL; events 5761 tools/lib/traceevent/event-parse.c return events; events 5764 tools/lib/traceevent/event-parse.c static void list_events_sort(struct tep_event **events, int nr_events, events 5784 tools/lib/traceevent/event-parse.c qsort(events, nr_events, sizeof(*events), sort); events 5800 tools/lib/traceevent/event-parse.c struct tep_event **events; events 5805 tools/lib/traceevent/event-parse.c events = tep->sort_events; events 5806 tools/lib/traceevent/event-parse.c if (events && tep->last_type == sort_type) events 5807 tools/lib/traceevent/event-parse.c return events; events 5809 tools/lib/traceevent/event-parse.c if (!events) { events 5810 tools/lib/traceevent/event-parse.c events = list_events_copy(tep); events 5811 tools/lib/traceevent/event-parse.c if (!events) events 5814 tools/lib/traceevent/event-parse.c tep->sort_events = events; events 5819 tools/lib/traceevent/event-parse.c return events; events 5823 tools/lib/traceevent/event-parse.c list_events_sort(events, tep->nr_events, sort_type); events 5826 tools/lib/traceevent/event-parse.c return events; events 5842 tools/lib/traceevent/event-parse.c struct tep_event **events; events 5847 tools/lib/traceevent/event-parse.c events = list_events_copy(tep); events 5848 tools/lib/traceevent/event-parse.c if (!events) events 5853 tools/lib/traceevent/event-parse.c return events; events 5855 tools/lib/traceevent/event-parse.c list_events_sort(events, tep->nr_events, sort_type); events 5857 tools/lib/traceevent/event-parse.c return events; events 7054 tools/lib/traceevent/event-parse.c tep_free_event(tep->events[i]); events 7062 tools/lib/traceevent/event-parse.c free(tep->events); events 231 tools/lib/traceevent/parse-filter.c static int add_event(struct event_list **events, events 240 tools/lib/traceevent/parse-filter.c list->next = *events; events 241 tools/lib/traceevent/parse-filter.c *events = list; events 259 tools/lib/traceevent/parse-filter.c find_event(struct tep_handle *tep, struct event_list **events, events 303 tools/lib/traceevent/parse-filter.c event = tep->events[i]; events 306 tools/lib/traceevent/parse-filter.c if (add_event(events, event) < 0) { events 325 tools/lib/traceevent/parse-filter.c static void free_events(struct event_list *events) events 329 tools/lib/traceevent/parse-filter.c while (events) { events 330 tools/lib/traceevent/parse-filter.c event = events; events 331 tools/lib/traceevent/parse-filter.c events = events->next; events 1264 tools/lib/traceevent/parse-filter.c struct event_list *events = NULL; events 1296 tools/lib/traceevent/parse-filter.c free_events(events); events 1312 tools/lib/traceevent/parse-filter.c free_events(events); events 1318 tools/lib/traceevent/parse-filter.c ret = find_event(tep, &events, strim(sys_name), strim(event_name)); events 1320 tools/lib/traceevent/parse-filter.c free_events(events); events 1332 tools/lib/traceevent/parse-filter.c for (event = events; event; event = event->next) { events 1349 tools/lib/traceevent/parse-filter.c free_events(events); events 120 tools/perf/bench/epoll-ctl.c ev.events = EPOLLHUP; /* anything */ events 138 tools/perf/bench/epoll-ctl.c ev.events = EPOLLIN; events 146 tools/perf/bench/epoll-ctl.c ev.events = EPOLLOUT; events 217 tools/perf/bench/epoll-ctl.c ev.events = EPOLLIN; events 221 tools/perf/bench/epoll-wait.c ev.events = EPOLLIN | EPOLLET; events 227 tools/perf/bench/epoll-wait.c ev.events |= EPOLLIN | EPOLLONESHOT; events 260 tools/perf/bench/epoll-wait.c ev.events = EPOLLHUP; /* anything */ events 298 tools/perf/bench/epoll-wait.c int ret = 0, events = EPOLLIN; events 301 tools/perf/bench/epoll-wait.c events |= EPOLLONESHOT; events 303 tools/perf/bench/epoll-wait.c events |= EPOLLET; events 337 tools/perf/bench/epoll-wait.c ev.events = events; events 70 tools/perf/bench/sched-messaging.c struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; events 284 tools/perf/builtin-ftrace.c .events = POLLIN, events 45 tools/perf/builtin-probe.c struct perf_probe_event events[MAX_PROBES]; events 55 tools/perf/builtin-probe.c struct perf_probe_event *pev = ¶ms.events[params.nevents]; events 256 tools/perf/builtin-probe.c struct perf_probe_event *pev = ¶ms.events[params.nevents]; events 317 tools/perf/builtin-probe.c clear_perf_probe_event(params.events + i); events 676 tools/perf/builtin-probe.c ret = show_available_vars(params.events, params.nevents, events 700 tools/perf/builtin-probe.c ret = perf_add_probe_events(params.events, params.nevents); events 490 tools/perf/builtin-top.c struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; events 666 tools/perf/builtin-top.c struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; events 103 tools/perf/builtin-trace.c } events; events 1988 tools/perf/builtin-trace.c if (evsel != trace->syscalls.events.sys_enter) events 2384 tools/perf/builtin-trace.c if (evsel == trace->syscalls.events.augmented) { events 2749 tools/perf/builtin-trace.c trace->syscalls.events.sys_enter = sys_enter; events 2750 tools/perf/builtin-trace.c trace->syscalls.events.sys_exit = sys_exit; events 2774 tools/perf/builtin-trace.c if (!perf_evsel__append_tp_filter(trace->syscalls.events.sys_enter, events 2776 tools/perf/builtin-trace.c sys_exit = trace->syscalls.events.sys_exit; events 3133 tools/perf/builtin-trace.c if (trace->syscalls.events.sys_enter) events 3389 tools/perf/builtin-trace.c if (trace->syscalls.events.sys_exit) { events 3391 tools/perf/builtin-trace.c trace->syscalls.events.sys_exit->filter); events 4226 tools/perf/builtin-trace.c trace.syscalls.events.augmented = evsel; events 4313 tools/perf/builtin-trace.c if (trace.syscalls.events.augmented) { events 4322 tools/perf/builtin-trace.c if (trace.syscalls.events.augmented->priv == NULL && events 4324 tools/perf/builtin-trace.c struct evsel *augmented = trace.syscalls.events.augmented; events 124 tools/perf/tests/fdarray.c if (fda->entries[_idx].events != (_revents)) { \ events 1798 tools/perf/tests/parse-events.c static int test_events(struct evlist_test *events, unsigned cnt) events 1804 tools/perf/tests/parse-events.c struct evlist_test *e = &events[i]; events 38 tools/perf/tests/parse-no-sample-id-all.c static int process_events(union perf_event **events, size_t count) events 45 tools/perf/tests/parse-no-sample-id-all.c err = process_event(&evlist, events[i]); events 94 tools/perf/tests/parse-no-sample-id-all.c union perf_event *events[] = { events 100 tools/perf/tests/parse-no-sample-id-all.c err = process_events(events, ARRAY_SIZE(events)); events 211 tools/perf/tests/switch-tracking.c static int add_event(struct evlist *evlist, struct list_head *events, events 223 tools/perf/tests/switch-tracking.c list_add(&node->list, events); events 240 tools/perf/tests/switch-tracking.c static void free_event_nodes(struct list_head *events) events 244 tools/perf/tests/switch-tracking.c while (!list_empty(events)) { events 245 tools/perf/tests/switch-tracking.c node = list_entry(events->next, struct event_node, list); events 265 tools/perf/tests/switch-tracking.c LIST_HEAD(events); events 277 tools/perf/tests/switch-tracking.c ret = add_event(evlist, &events, event); events 293 tools/perf/tests/switch-tracking.c list_for_each_entry(node, &events, list) events 310 tools/perf/tests/switch-tracking.c free_event_nodes(&events); events 1411 tools/perf/util/bpf-loader.c unsigned int key, events; events 1444 tools/perf/util/bpf-loader.c events = xy->entries / (xy->row_size / xy->entry_size); events 1446 tools/perf/util/bpf-loader.c if (key >= events) { events 1578 tools/perf/util/header.c static void free_event_desc(struct evsel *events) events 1582 tools/perf/util/header.c if (!events) events 1585 tools/perf/util/header.c for (evsel = events; evsel->core.attr.size; evsel++) { events 1590 tools/perf/util/header.c free(events); events 1595 tools/perf/util/header.c struct evsel *evsel, *events = NULL; events 1614 tools/perf/util/header.c events = calloc(nre + 1, sizeof(*events)); events 1615 tools/perf/util/header.c if (!events) events 1622 tools/perf/util/header.c for (i = 0, evsel = events; i < nre; evsel++, i++) { events 1664 tools/perf/util/header.c return events; events 1666 tools/perf/util/header.c free_event_desc(events); events 1667 tools/perf/util/header.c events = NULL; events 1679 tools/perf/util/header.c struct evsel *evsel, *events; events 1683 tools/perf/util/header.c if (ff->events) events 1684 tools/perf/util/header.c events = ff->events; events 1686 tools/perf/util/header.c events = read_event_desc(ff); events 1688 tools/perf/util/header.c if (!events) { events 1693 tools/perf/util/header.c for (evsel = events; evsel->core.attr.size; evsel++) { events 1711 tools/perf/util/header.c free_event_desc(events); events 1712 tools/perf/util/header.c ff->events = NULL; events 2135 tools/perf/util/header.c struct evsel *evsel, *events = read_event_desc(ff); events 2137 tools/perf/util/header.c if (!events) events 2145 tools/perf/util/header.c ff->events = events; events 2148 tools/perf/util/header.c for (evsel = events; evsel->core.attr.size; evsel++) events 2152 tools/perf/util/header.c free_event_desc(events); events 101 tools/perf/util/header.h struct evsel *events; events 402 tools/perf/util/metricgroup.c static int metricgroup__add_metric(const char *metric, struct strbuf *events, events 432 tools/perf/util/metricgroup.c if (events->len > 0) events 433 tools/perf/util/metricgroup.c strbuf_addf(events, ","); events 443 tools/perf/util/metricgroup.c strbuf_addf(events, "}:W,"); events 444 tools/perf/util/metricgroup.c strbuf_addf(events, "duration_time"); events 448 tools/perf/util/metricgroup.c strbuf_addf(events, "%s%s", events 454 tools/perf/util/metricgroup.c strbuf_addf(events, "}:W"); events 473 tools/perf/util/metricgroup.c static int metricgroup__add_metric_list(const char *list, struct strbuf *events, events 484 tools/perf/util/metricgroup.c strbuf_init(events, 100); events 485 tools/perf/util/metricgroup.c strbuf_addf(events, "%s", ""); events 488 tools/perf/util/metricgroup.c ret = metricgroup__add_metric(p, events, group_list); events 30 tools/perf/util/ordered-events.c list_add(&new->list, &oe->events); events 43 tools/perf/util/ordered-events.c if (p == &oe->events) { events 44 tools/perf/util/ordered-events.c list_add_tail(&new->list, &oe->events); events 54 tools/perf/util/ordered-events.c if (p == &oe->events) { events 55 tools/perf/util/ordered-events.c list_add(&new->list, &oe->events); events 225 tools/perf/util/ordered-events.c struct list_head *head = &oe->events; events 294 tools/perf/util/ordered-events.c struct list_head *head = &oe->events; events 353 tools/perf/util/ordered-events.c if (list_empty(&oe->events)) events 356 tools/perf/util/ordered-events.c event = list_first_entry(&oe->events, struct ordered_event, list); events 363 tools/perf/util/ordered-events.c INIT_LIST_HEAD(&oe->events); events 41 tools/perf/util/ordered-events.h struct list_head events; events 92 tools/perf/util/parse-events.y %type <head> events events 161 tools/perf/util/parse-events.y PE_NAME '{' events '}' events 170 tools/perf/util/parse-events.y '{' events '}' events 179 tools/perf/util/parse-events.y events: events 180 tools/perf/util/parse-events.y events ',' event events 475 tools/testing/selftests/bpf/test_flow_dissector.c static int do_poll(int fd, short events, int timeout) events 481 tools/testing/selftests/bpf/test_flow_dissector.c pfd.events = events; events 113 tools/testing/selftests/bpf/test_lirc_mode2_user.c struct pollfd pfd = { .fd = inputfd, .events = POLLIN }; events 644 tools/testing/selftests/bpf/test_select_reuseport.c ev.events = EPOLLIN; events 316 tools/testing/selftests/bpf/test_sock_fields.c ev.events = EPOLLIN; events 90 tools/testing/selftests/cgroup/test_freezer.c .events = POLLIN, events 167 tools/testing/selftests/ir/ir_loopback.c struct pollfd pfd = { .fd = rlircfd, .events = POLLIN }; events 62 tools/testing/selftests/kcmp/kcmp_test.c ev.events = EPOLLIN | EPOLLOUT; events 130 tools/testing/selftests/kvm/include/kvm_util.h struct kvm_vcpu_events *events); events 132 tools/testing/selftests/kvm/include/kvm_util.h struct kvm_vcpu_events *events); events 1258 tools/testing/selftests/kvm/lib/kvm_util.c struct kvm_vcpu_events *events) events 1265 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vcpu->fd, KVM_GET_VCPU_EVENTS, events); events 1271 tools/testing/selftests/kvm/lib/kvm_util.c struct kvm_vcpu_events *events) events 1278 tools/testing/selftests/kvm/lib/kvm_util.c ret = ioctl(vcpu->fd, KVM_SET_VCPU_EVENTS, events); events 989 tools/testing/selftests/kvm/lib/x86_64/processor.c struct kvm_vcpu_events events; events 1047 tools/testing/selftests/kvm/lib/x86_64/processor.c r = ioctl(vcpu->fd, KVM_GET_VCPU_EVENTS, &state->events); events 1122 tools/testing/selftests/kvm/lib/x86_64/processor.c r = ioctl(vcpu->fd, KVM_SET_VCPU_EVENTS, &state->events); events 86 tools/testing/selftests/kvm/x86_64/sync_regs_test.c struct kvm_vcpu_events events; events 152 tools/testing/selftests/kvm/x86_64/sync_regs_test.c vcpu_events_get(vm, VCPU_ID, &events); events 153 tools/testing/selftests/kvm/x86_64/sync_regs_test.c compare_vcpu_events(&events, &run->s.regs.events); events 180 tools/testing/selftests/kvm/x86_64/sync_regs_test.c vcpu_events_get(vm, VCPU_ID, &events); events 181 tools/testing/selftests/kvm/x86_64/sync_regs_test.c compare_vcpu_events(&events, &run->s.regs.events); events 142 tools/testing/selftests/net/msg_zerocopy.c static int do_poll(int fd, int events) events 147 tools/testing/selftests/net/msg_zerocopy.c pfd.events = events; events 155 tools/testing/selftests/net/msg_zerocopy.c return ret && (pfd.revents & events); events 233 tools/testing/selftests/net/psock_tpacket.c pfd.events = POLLIN | POLLERR; events 412 tools/testing/selftests/net/psock_tpacket.c pfd.events = POLLOUT | POLLERR; events 594 tools/testing/selftests/net/psock_tpacket.c pfd.events = POLLIN | POLLERR; events 203 tools/testing/selftests/net/reuseport_addr_any.c ev.events = EPOLLIN; events 226 tools/testing/selftests/net/reuseport_bpf.c ev.events = EPOLLIN; events 196 tools/testing/selftests/net/reuseport_bpf_cpu.c ev.events = EPOLLIN; events 206 tools/testing/selftests/net/reuseport_bpf_numa.c ev.events = EPOLLIN; events 139 tools/testing/selftests/net/reuseport_dualstack.c ev.events = EPOLLIN; events 256 tools/testing/selftests/net/tcp_fastopen_backup_key.c ev.events = EPOLLIN; events 150 tools/testing/selftests/net/tcp_mmap.c struct pollfd pfd = { .fd = fd, .events = POLLIN, }; events 770 tools/testing/selftests/net/tls.c fd.events = POLLIN; events 787 tools/testing/selftests/net/tls.c fd.events = POLLIN; events 802 tools/testing/selftests/net/tls.c fd.events = POLLIN; events 814 tools/testing/selftests/net/tls.c fd.events = POLLIN; events 97 tools/testing/selftests/net/udpgso_bench_rx.c pfd.events = POLLIN; events 33 tools/testing/selftests/pidfd/pidfd_poll_test.c fds.events = POLLIN; events 361 tools/testing/selftests/pidfd/pidfd_test.c struct epoll_event event, events[MAX_EVENTS]; events 368 tools/testing/selftests/pidfd/pidfd_test.c event.events = EPOLLIN; events 377 tools/testing/selftests/pidfd/pidfd_test.c c = epoll_wait(epoll_fd, events, MAX_EVENTS, 5000); events 378 tools/testing/selftests/pidfd/pidfd_test.c if (c != 1 || !(events[0].events & EPOLLIN)) events 381 tools/testing/selftests/pidfd/pidfd_test.c test_name, c, events[0].events, errno); events 29 tools/testing/selftests/powerpc/pmu/count_instructions.c static int do_count_loop(struct event *events, u64 instructions, events 42 tools/testing/selftests/powerpc/pmu/count_instructions.c event_read(&events[0]); events 43 tools/testing/selftests/powerpc/pmu/count_instructions.c event_read(&events[1]); events 46 tools/testing/selftests/powerpc/pmu/count_instructions.c difference = events[0].result.value - expected; events 47 tools/testing/selftests/powerpc/pmu/count_instructions.c percentage = (double)difference / events[0].result.value * 100; events 50 tools/testing/selftests/powerpc/pmu/count_instructions.c event_report(&events[0]); events 51 tools/testing/selftests/powerpc/pmu/count_instructions.c event_report(&events[1]); events 55 tools/testing/selftests/powerpc/pmu/count_instructions.c printf("Actual %llu\n", events[0].result.value); events 59 tools/testing/selftests/powerpc/pmu/count_instructions.c event_reset(&events[0]); events 60 tools/testing/selftests/powerpc/pmu/count_instructions.c event_reset(&events[1]); events 67 tools/testing/selftests/powerpc/pmu/count_instructions.c if (difference / events[0].result.value) events 74 tools/testing/selftests/powerpc/pmu/count_instructions.c static u64 determine_overhead(struct event *events) events 79 tools/testing/selftests/powerpc/pmu/count_instructions.c do_count_loop(events, 0, 0, false); events 80 tools/testing/selftests/powerpc/pmu/count_instructions.c overhead = events[0].result.value; events 83 tools/testing/selftests/powerpc/pmu/count_instructions.c do_count_loop(events, 0, 0, false); events 84 tools/testing/selftests/powerpc/pmu/count_instructions.c current = events[0].result.value; events 96 tools/testing/selftests/powerpc/pmu/count_instructions.c struct event events[2]; events 99 tools/testing/selftests/powerpc/pmu/count_instructions.c setup_event(&events[0], PERF_COUNT_HW_INSTRUCTIONS, "instructions"); events 100 tools/testing/selftests/powerpc/pmu/count_instructions.c setup_event(&events[1], PERF_COUNT_HW_CPU_CYCLES, "cycles"); events 102 tools/testing/selftests/powerpc/pmu/count_instructions.c if (event_open(&events[0])) { events 107 tools/testing/selftests/powerpc/pmu/count_instructions.c if (event_open_with_group(&events[1], events[0].fd)) { events 112 tools/testing/selftests/powerpc/pmu/count_instructions.c overhead = determine_overhead(events); events 116 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 1000000, overhead, true)); events 119 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 10000000, overhead, true)); events 122 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 100000000, overhead, true)); events 125 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 1000000000, overhead, true)); events 128 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 16000000000, overhead, true)); events 131 tools/testing/selftests/powerpc/pmu/count_instructions.c FAIL_IF(do_count_loop(events, 64000000000, overhead, true)); events 133 tools/testing/selftests/powerpc/pmu/count_instructions.c event_close(&events[0]); events 134 tools/testing/selftests/powerpc/pmu/count_instructions.c event_close(&events[1]); events 18 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c struct event events[6]; events 23 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[0], 0x1001C, "PM_CMPLU_STALL_THRD"); events 24 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[1], 0x2D016, "PM_CMPLU_STALL_FXU"); events 25 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[2], 0x30006, "PM_CMPLU_STALL_OTHER_CMPL"); events 26 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[3], 0x4000A, "PM_CMPLU_STALL"); events 27 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[4], 0x600f4, "PM_RUN_CYC"); events 28 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_init_named(&events[5], 0x500fa, "PM_RUN_INST_CMPL"); events 30 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_leader_ebb_init(&events[0]); events 32 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_ebb_init(&events[i]); events 36 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c events[i].attr.exclude_kernel = 1; events 37 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c events[i].attr.exclude_hv = 1; events 38 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c events[i].attr.exclude_idle = 1; events 40 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c FAIL_IF(event_open_with_group(&events[i], group_fd)); events 42 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c group_fd = events[0].fd; events 53 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c FAIL_IF(ioctl(events[0].fd, PERF_EVENT_IOC_ENABLE, PERF_IOC_FLAG_GROUP)); events 54 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c FAIL_IF(event_read(&events[0])); events 83 tools/testing/selftests/powerpc/pmu/ebb/multi_counter_test.c event_close(&events[i]); events 25 tools/testing/selftests/powerpc/pmu/per_event_excludes.c struct event *e, events[4]; events 37 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e = &events[0]; events 42 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e = &events[1]; events 49 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e = &events[2]; events 56 tools/testing/selftests/powerpc/pmu/per_event_excludes.c e = &events[3]; events 63 tools/testing/selftests/powerpc/pmu/per_event_excludes.c FAIL_IF(event_open(&events[0])); events 71 tools/testing/selftests/powerpc/pmu/per_event_excludes.c FAIL_IF(event_open_with_group(&events[i], events[0].fd)); events 86 tools/testing/selftests/powerpc/pmu/per_event_excludes.c FAIL_IF(event_read(&events[i])); events 87 tools/testing/selftests/powerpc/pmu/per_event_excludes.c event_report(&events[i]); events 95 tools/testing/selftests/powerpc/pmu/per_event_excludes.c FAIL_IF(events[i].result.running != events[i].result.enabled); events 103 tools/testing/selftests/powerpc/pmu/per_event_excludes.c FAIL_IF(events[0].result.value < events[i].result.value); events 106 tools/testing/selftests/powerpc/pmu/per_event_excludes.c event_close(&events[i]); events 3145 tools/testing/selftests/seccomp/seccomp_bpf.c pollfd.events = POLLIN | POLLOUT; events 3164 tools/testing/selftests/seccomp/seccomp_bpf.c pollfd.events = POLLIN | POLLOUT; events 63 tools/testing/selftests/sync/sync.c fds.events = POLLIN | POLLERR; events 500 tools/testing/selftests/vm/userfaultfd.c pollfd[0].events = POLLIN; events 502 tools/testing/selftests/vm/userfaultfd.c pollfd[1].events = POLLIN; events 171 tools/usb/ffs-aio-example/simple/device_app/aio_simple.c pfds[0].events = POLLIN; events 549 tools/usb/usbip/src/usbipd.c fds[i].events = POLLIN; events 55 tools/virtio/virtio-trace/trace-agent-ctl.c poll_fd.events = POLLIN; events 110 tools/virtio/virtio_test.c dev->fds[info->idx].events = POLLIN; events 1080 virt/kvm/arm/arm.c struct kvm_vcpu_events *events) events 1082 virt/kvm/arm/arm.c memset(events, 0, sizeof(*events)); events 1084 virt/kvm/arm/arm.c return __kvm_arm_vcpu_get_events(vcpu, events); events 1088 virt/kvm/arm/arm.c struct kvm_vcpu_events *events) events 1093 virt/kvm/arm/arm.c for (i = 0; i < ARRAY_SIZE(events->reserved); i++) events 1094 virt/kvm/arm/arm.c if (events->reserved[i]) events 1098 virt/kvm/arm/arm.c for (i = 0; i < ARRAY_SIZE(events->exception.pad); i++) events 1099 virt/kvm/arm/arm.c if (events->exception.pad[i]) events 1102 virt/kvm/arm/arm.c return __kvm_arm_vcpu_set_events(vcpu, events); events 1190 virt/kvm/arm/arm.c struct kvm_vcpu_events events; events 1192 virt/kvm/arm/arm.c if (kvm_arm_vcpu_get_events(vcpu, &events)) events 1195 virt/kvm/arm/arm.c if (copy_to_user(argp, &events, sizeof(events))) events 1201 virt/kvm/arm/arm.c struct kvm_vcpu_events events; events 1203 virt/kvm/arm/arm.c if (copy_from_user(&events, argp, sizeof(events))) events 1206 virt/kvm/arm/arm.c return kvm_arm_vcpu_set_events(vcpu, &events); events 288 virt/kvm/eventfd.c __poll_t events; events 401 virt/kvm/eventfd.c events = vfs_poll(f.file, &irqfd->pt); events 403 virt/kvm/eventfd.c if (events & EPOLLIN)