ev 609 arch/alpha/kernel/perf_event.c int ev; ev 618 arch/alpha/kernel/perf_event.c ev = alpha_pmu->event_map[attr->config]; ev 624 arch/alpha/kernel/perf_event.c ev = attr->config; ev 629 arch/alpha/kernel/perf_event.c if (ev < 0) { ev 630 arch/alpha/kernel/perf_event.c return ev; ev 642 arch/alpha/kernel/perf_event.c hwc->event_base = ev; ev 1734 arch/powerpc/perf/core-book3s.c static int can_go_on_limited_pmc(struct perf_event *event, u64 ev, ev 1746 arch/powerpc/perf/core-book3s.c if (ppmu->limited_pmc_event(ev)) ev 1757 arch/powerpc/perf/core-book3s.c n = ppmu->get_alternatives(ev, flags, alt); ev 1767 arch/powerpc/perf/core-book3s.c static u64 normal_pmc_alternative(u64 ev, unsigned long flags) ev 1773 arch/powerpc/perf/core-book3s.c n = ppmu->get_alternatives(ev, flags, alt); ev 1803 arch/powerpc/perf/core-book3s.c int ev; ev 1818 arch/powerpc/perf/core-book3s.c ev = (*ppmu->cache_events)[type][op][result]; ev 1819 arch/powerpc/perf/core-book3s.c if (ev == 0) ev 1821 arch/powerpc/perf/core-book3s.c if (ev == -1) ev 1823 arch/powerpc/perf/core-book3s.c *eventp = ev; ev 1827 arch/powerpc/perf/core-book3s.c static bool is_event_blacklisted(u64 ev) ev 1832 arch/powerpc/perf/core-book3s.c if (ppmu->blacklist_ev[i] == ev) ev 1841 arch/powerpc/perf/core-book3s.c u64 ev; ev 1862 arch/powerpc/perf/core-book3s.c ev = event->attr.config; ev 1863 arch/powerpc/perf/core-book3s.c if (ev >= ppmu->n_generic || ppmu->generic_events[ev] == 0) ev 1866 arch/powerpc/perf/core-book3s.c if (ppmu->blacklist_ev && is_event_blacklisted(ev)) ev 1868 arch/powerpc/perf/core-book3s.c ev = ppmu->generic_events[ev]; ev 1871 arch/powerpc/perf/core-book3s.c err = hw_perf_cache_event(event->attr.config, &ev); ev 1875 arch/powerpc/perf/core-book3s.c if (ppmu->blacklist_ev && is_event_blacklisted(ev)) ev 1879 arch/powerpc/perf/core-book3s.c ev = event->attr.config; ev 1881 arch/powerpc/perf/core-book3s.c if (ppmu->blacklist_ev && is_event_blacklisted(ev)) ev 1888 arch/powerpc/perf/core-book3s.c event->hw.config_base = ev; ev 1914 arch/powerpc/perf/core-book3s.c if (can_go_on_limited_pmc(event, ev, flags)) { ev 1916 arch/powerpc/perf/core-book3s.c } else if (ppmu->limited_pmc_event(ev)) { ev 1922 arch/powerpc/perf/core-book3s.c ev = normal_pmc_alternative(ev, flags); ev 1923 arch/powerpc/perf/core-book3s.c if (!ev) ev 1945 arch/powerpc/perf/core-book3s.c events[n] = ev; ev 458 arch/powerpc/perf/core-fsl-emb.c int ev; ev 473 arch/powerpc/perf/core-fsl-emb.c ev = (*ppmu->cache_events)[type][op][result]; ev 474 arch/powerpc/perf/core-fsl-emb.c if (ev == 0) ev 476 arch/powerpc/perf/core-fsl-emb.c if (ev == -1) ev 478 arch/powerpc/perf/core-fsl-emb.c *eventp = ev; ev 484 arch/powerpc/perf/core-fsl-emb.c u64 ev; ev 499 arch/powerpc/perf/core-fsl-emb.c ev = event->attr.config; ev 500 arch/powerpc/perf/core-fsl-emb.c if (ev >= ppmu->n_generic || ppmu->generic_events[ev] == 0) ev 502 arch/powerpc/perf/core-fsl-emb.c ev = ppmu->generic_events[ev]; ev 506 arch/powerpc/perf/core-fsl-emb.c err = hw_perf_cache_event(event->attr.config, &ev); ev 512 arch/powerpc/perf/core-fsl-emb.c ev = event->attr.config; ev 519 arch/powerpc/perf/core-fsl-emb.c event->hw.config = ppmu->xlate_event(ev); ev 550 arch/powerpc/perf/core-fsl-emb.c (u32)((ev << 16) & PMLCA_EVENT_MASK); ev 191 arch/powerpc/perf/hv-24x7.c static char *event_name(struct hv_24x7_event_data *ev, int *len) ev 193 arch/powerpc/perf/hv-24x7.c *len = be16_to_cpu(ev->event_name_len) - 2; ev 194 arch/powerpc/perf/hv-24x7.c return (char *)ev->remainder; ev 197 arch/powerpc/perf/hv-24x7.c static char *event_desc(struct hv_24x7_event_data *ev, int *len) ev 199 arch/powerpc/perf/hv-24x7.c unsigned nl = be16_to_cpu(ev->event_name_len); ev 200 arch/powerpc/perf/hv-24x7.c __be16 *desc_len = (__be16 *)(ev->remainder + nl - 2); ev 203 arch/powerpc/perf/hv-24x7.c return (char *)ev->remainder + nl; ev 206 arch/powerpc/perf/hv-24x7.c static char *event_long_desc(struct hv_24x7_event_data *ev, int *len) ev 208 arch/powerpc/perf/hv-24x7.c unsigned nl = be16_to_cpu(ev->event_name_len); ev 209 arch/powerpc/perf/hv-24x7.c __be16 *desc_len_ = (__be16 *)(ev->remainder + nl - 2); ev 211 arch/powerpc/perf/hv-24x7.c __be16 *long_desc_len = (__be16 *)(ev->remainder + nl + desc_len - 2); ev 214 arch/powerpc/perf/hv-24x7.c return (char *)ev->remainder + nl + desc_len; ev 217 arch/powerpc/perf/hv-24x7.c static bool event_fixed_portion_is_within(struct hv_24x7_event_data *ev, ev 220 arch/powerpc/perf/hv-24x7.c void *start = ev; ev 233 arch/powerpc/perf/hv-24x7.c static void *event_end(struct hv_24x7_event_data *ev, void *end) ev 235 arch/powerpc/perf/hv-24x7.c void *start = ev; ev 238 arch/powerpc/perf/hv-24x7.c unsigned nl = be16_to_cpu(ev->event_name_len); ev 251 arch/powerpc/perf/hv-24x7.c dl_ = (__be16 *)(ev->remainder + nl - 2); ev 266 arch/powerpc/perf/hv-24x7.c ldl_ = (__be16 *)(ev->remainder + nl + dl - 2); ev 268 arch/powerpc/perf/mpc7450-pmu.c u32 ev, pmc, thresh; ev 287 arch/powerpc/perf/mpc7450-pmu.c ev = event[event_index[class][i]]; ev 289 arch/powerpc/perf/mpc7450-pmu.c pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; ev 301 arch/powerpc/perf/mpc7450-pmu.c tuse = mpc7450_threshold_use(ev); ev 303 arch/powerpc/perf/mpc7450-pmu.c thresh = (ev >> PM_THRESH_SH) & PM_THRESH_MSK; ev 305 arch/powerpc/perf/mpc7450-pmu.c if (tuse == 2 && (ev & PM_THRMULT_MSKS)) ev 308 arch/powerpc/perf/mpc7450-pmu.c ev &= pmcsel_mask[pmc - 1]; ev 309 arch/powerpc/perf/mpc7450-pmu.c ev <<= pmcsel_shift[pmc - 1]; ev 311 arch/powerpc/perf/mpc7450-pmu.c mmcr0 |= ev; ev 313 arch/powerpc/perf/mpc7450-pmu.c mmcr1 |= ev; ev 179 arch/powerpc/perf/power6-pmu.c unsigned int pmc, ev, b, u, s, psel; ev 194 arch/powerpc/perf/power6-pmu.c ev = event[i]; ev 195 arch/powerpc/perf/power6-pmu.c pmc = (ev >> PM_PMC_SH) & PM_PMC_MSK; ev 208 arch/powerpc/perf/power6-pmu.c psel = ev & PM_PMCSEL_MSK; ev 209 arch/powerpc/perf/power6-pmu.c if (ev & PM_BUSEVENT_MSK) { ev 211 arch/powerpc/perf/power6-pmu.c b = (ev >> PM_BYTE_SH) & PM_BYTE_MSK; ev 212 arch/powerpc/perf/power6-pmu.c u = (ev >> PM_UNIT_SH) & PM_UNIT_MSK; ev 220 arch/powerpc/perf/power6-pmu.c s = (ev >> PM_SUBUNIT_SH) & PM_SUBUNIT_MSK; ev 236 arch/powerpc/perf/power6-pmu.c if (ev & PM_LLA) { ev 238 arch/powerpc/perf/power6-pmu.c if (ev & PM_LLAV) ev 83 arch/s390/appldata/appldata_mem.c unsigned long ev[NR_VM_EVENT_ITEMS]; ev 89 arch/s390/appldata/appldata_mem.c all_vm_events(ev); ev 90 arch/s390/appldata/appldata_mem.c mem_data->pgpgin = ev[PGPGIN] >> 1; ev 91 arch/s390/appldata/appldata_mem.c mem_data->pgpgout = ev[PGPGOUT] >> 1; ev 92 arch/s390/appldata/appldata_mem.c mem_data->pswpin = ev[PSWPIN]; ev 93 arch/s390/appldata/appldata_mem.c mem_data->pswpout = ev[PSWPOUT]; ev 94 arch/s390/appldata/appldata_mem.c mem_data->pgalloc = ev[PGALLOC_NORMAL]; ev 95 arch/s390/appldata/appldata_mem.c mem_data->pgalloc += ev[PGALLOC_DMA]; ev 96 arch/s390/appldata/appldata_mem.c mem_data->pgfault = ev[PGFAULT]; ev 97 arch/s390/appldata/appldata_mem.c mem_data->pgmajfault = ev[PGMAJFAULT]; ev 208 arch/s390/kernel/perf_cpum_cf.c u64 ev; ev 217 arch/s390/kernel/perf_cpum_cf.c ev = attr->config; ev 223 arch/s390/kernel/perf_cpum_cf.c ev = attr->config; ev 226 arch/s390/kernel/perf_cpum_cf.c if (ev >= ARRAY_SIZE(cpumf_generic_events_user)) ev 228 arch/s390/kernel/perf_cpum_cf.c ev = cpumf_generic_events_user[ev]; ev 236 arch/s390/kernel/perf_cpum_cf.c if (ev >= ARRAY_SIZE(cpumf_generic_events_basic)) ev 238 arch/s390/kernel/perf_cpum_cf.c ev = cpumf_generic_events_basic[ev]; ev 246 arch/s390/kernel/perf_cpum_cf.c if (ev == -1) ev 249 arch/s390/kernel/perf_cpum_cf.c if (ev > PERF_CPUM_CF_MAX_CTR) ev 253 arch/s390/kernel/perf_cpum_cf.c set = get_counter_set(ev); ev 266 arch/s390/kernel/perf_cpum_cf.c hwc->config = ev; ev 94 arch/sh/kernel/perf_event.c int ev; ev 109 arch/sh/kernel/perf_event.c ev = (*sh_pmu->cache_events)[type][op][result]; ev 110 arch/sh/kernel/perf_event.c if (ev == 0) ev 112 arch/sh/kernel/perf_event.c if (ev == -1) ev 114 arch/sh/kernel/perf_event.c *evp = ev; ev 233 arch/x86/events/amd/iommu.c static inline struct amd_iommu *perf_event_2_iommu(struct perf_event *ev) ev 235 arch/x86/events/amd/iommu.c return (container_of(ev->pmu, struct perf_amd_iommu, pmu))->iommu; ev 238 arch/x86/events/amd/iommu.c static void perf_iommu_enable_event(struct perf_event *ev) ev 240 arch/x86/events/amd/iommu.c struct amd_iommu *iommu = perf_event_2_iommu(ev); ev 241 arch/x86/events/amd/iommu.c struct hw_perf_event *hwc = &ev->hw; ev 512 arch/x86/oprofile/op_model_p4.c struct p4_event_binding *ev = NULL; ev 528 arch/x86/oprofile/op_model_p4.c ev = &(p4_events[counter_config[ctr].event - 1]); ev 531 arch/x86/oprofile/op_model_p4.c if (ev->bindings[i].virt_counter & counter_bit) { ev 534 arch/x86/oprofile/op_model_p4.c rdmsr(ev->bindings[i].escr_address, escr, high); ev 543 arch/x86/oprofile/op_model_p4.c ESCR_SET_EVENT_SELECT(escr, ev->event_select); ev 545 arch/x86/oprofile/op_model_p4.c wrmsr(ev->bindings[i].escr_address, escr, high); ev 552 arch/x86/oprofile/op_model_p4.c CCCR_SET_ESCR_SELECT(cccr, ev->escr_select); ev 283 arch/xtensa/kernel/perf_event.c struct xtensa_pmu_events *ev = this_cpu_ptr(&xtensa_pmu_events); ev 287 arch/xtensa/kernel/perf_event.c if (__test_and_set_bit(idx, ev->used_mask)) { ev 288 arch/xtensa/kernel/perf_event.c idx = find_first_zero_bit(ev->used_mask, ev 293 arch/xtensa/kernel/perf_event.c __set_bit(idx, ev->used_mask); ev 296 arch/xtensa/kernel/perf_event.c ev->event[idx] = event; ev 309 arch/xtensa/kernel/perf_event.c struct xtensa_pmu_events *ev = this_cpu_ptr(&xtensa_pmu_events); ev 312 arch/xtensa/kernel/perf_event.c __clear_bit(event->hw.idx, ev->used_mask); ev 362 arch/xtensa/kernel/perf_event.c struct xtensa_pmu_events *ev = this_cpu_ptr(&xtensa_pmu_events); ev 365 arch/xtensa/kernel/perf_event.c for (i = find_first_bit(ev->used_mask, XCHAL_NUM_PERF_COUNTERS); ev 367 arch/xtensa/kernel/perf_event.c i = find_next_bit(ev->used_mask, XCHAL_NUM_PERF_COUNTERS, i + 1)) { ev 369 arch/xtensa/kernel/perf_event.c struct perf_event *event = ev->event[i]; ev 42 block/genhd.c static void disk_check_events(struct disk_events *ev, ev 1654 block/genhd.c struct disk_events *ev = disk->ev; ev 1661 block/genhd.c if (ev->poll_msecs >= 0) ev 1662 block/genhd.c intv_msecs = ev->poll_msecs; ev 1686 block/genhd.c struct disk_events *ev = disk->ev; ev 1690 block/genhd.c if (!ev) ev 1697 block/genhd.c mutex_lock(&ev->block_mutex); ev 1699 block/genhd.c spin_lock_irqsave(&ev->lock, flags); ev 1700 block/genhd.c cancel = !ev->block++; ev 1701 block/genhd.c spin_unlock_irqrestore(&ev->lock, flags); ev 1704 block/genhd.c cancel_delayed_work_sync(&disk->ev->dwork); ev 1706 block/genhd.c mutex_unlock(&ev->block_mutex); ev 1711 block/genhd.c struct disk_events *ev = disk->ev; ev 1715 block/genhd.c spin_lock_irqsave(&ev->lock, flags); ev 1717 block/genhd.c if (WARN_ON_ONCE(ev->block <= 0)) ev 1720 block/genhd.c if (--ev->block) ev 1726 block/genhd.c &ev->dwork, 0); ev 1729 block/genhd.c &ev->dwork, intv); ev 1731 block/genhd.c spin_unlock_irqrestore(&ev->lock, flags); ev 1746 block/genhd.c if (disk->ev) ev 1764 block/genhd.c struct disk_events *ev = disk->ev; ev 1766 block/genhd.c if (!ev) ev 1769 block/genhd.c spin_lock_irq(&ev->lock); ev 1770 block/genhd.c ev->clearing |= mask; ev 1771 block/genhd.c if (!ev->block) ev 1773 block/genhd.c &ev->dwork, 0); ev 1774 block/genhd.c spin_unlock_irq(&ev->lock); ev 1791 block/genhd.c struct disk_events *ev = disk->ev; ev 1795 block/genhd.c if (!ev) { ev 1810 block/genhd.c spin_lock_irq(&ev->lock); ev 1811 block/genhd.c clearing |= ev->clearing; ev 1812 block/genhd.c ev->clearing = 0; ev 1813 block/genhd.c spin_unlock_irq(&ev->lock); ev 1815 block/genhd.c disk_check_events(ev, &clearing); ev 1820 block/genhd.c __disk_unblock_events(disk, ev->clearing ? true : false); ev 1823 block/genhd.c spin_lock_irq(&ev->lock); ev 1824 block/genhd.c pending = ev->pending & mask; ev 1825 block/genhd.c ev->pending &= ~mask; ev 1826 block/genhd.c spin_unlock_irq(&ev->lock); ev 1839 block/genhd.c struct disk_events *ev = container_of(dwork, struct disk_events, dwork); ev 1841 block/genhd.c disk_check_events(ev, &ev->clearing); ev 1844 block/genhd.c static void disk_check_events(struct disk_events *ev, ev 1847 block/genhd.c struct gendisk *disk = ev->disk; ev 1858 block/genhd.c spin_lock_irq(&ev->lock); ev 1860 block/genhd.c events &= ~ev->pending; ev 1861 block/genhd.c ev->pending |= events; ev 1865 block/genhd.c if (!ev->block && intv) ev 1867 block/genhd.c &ev->dwork, intv); ev 1869 block/genhd.c spin_unlock_irq(&ev->lock); ev 1935 block/genhd.c if (!disk->ev) ev 1938 block/genhd.c return sprintf(buf, "%ld\n", disk->ev->poll_msecs); ev 1954 block/genhd.c if (!disk->ev) ev 1958 block/genhd.c disk->ev->poll_msecs = intv; ev 1986 block/genhd.c struct disk_events *ev; ev 1995 block/genhd.c list_for_each_entry(ev, &disk_events, node) ev 1996 block/genhd.c disk_flush_events(ev->disk, 0); ev 2019 block/genhd.c struct disk_events *ev; ev 2024 block/genhd.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 2025 block/genhd.c if (!ev) { ev 2030 block/genhd.c INIT_LIST_HEAD(&ev->node); ev 2031 block/genhd.c ev->disk = disk; ev 2032 block/genhd.c spin_lock_init(&ev->lock); ev 2033 block/genhd.c mutex_init(&ev->block_mutex); ev 2034 block/genhd.c ev->block = 1; ev 2035 block/genhd.c ev->poll_msecs = -1; ev 2036 block/genhd.c INIT_DELAYED_WORK(&ev->dwork, disk_events_workfn); ev 2038 block/genhd.c disk->ev = ev; ev 2048 block/genhd.c if (!disk->ev) ev 2052 block/genhd.c list_add_tail(&disk->ev->node, &disk_events); ev 2064 block/genhd.c if (disk->ev) { ev 2068 block/genhd.c list_del_init(&disk->ev->node); ev 2078 block/genhd.c WARN_ON_ONCE(disk->ev && disk->ev->block != 1); ev 2079 block/genhd.c kfree(disk->ev); ev 109 drivers/atm/eni.c static const char *ev[EV]; ev 116 drivers/atm/eni.c ev[ec] = s; ev 130 drivers/atm/eni.c printk(ev[i] ? ev[i] : "(null)",ev_a[i],ev_b[i]); ev 89 drivers/atm/zatm.c static const char *ev[EV]; ev 96 drivers/atm/zatm.c ev[ec] = s; ev 111 drivers/atm/zatm.c printk(ev[i] ? ev[i] : "(null)",ev_a[i],ev_b[i]); ev 1358 drivers/block/drbd/drbd_receiver.c enum epoch_event ev) ev 1370 drivers/block/drbd/drbd_receiver.c switch (ev & ~EV_CLEANUP) { ev 1384 drivers/block/drbd/drbd_receiver.c (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { ev 1385 drivers/block/drbd/drbd_receiver.c if (!(ev & EV_CLEANUP)) { ev 1400 drivers/block/drbd/drbd_receiver.c ev = EV_BECAME_LAST | (ev & EV_CLEANUP); ev 88 drivers/clocksource/nomadik-mtu.c static int nmdk_clkevt_next(unsigned long evt, struct clock_event_device *ev) ev 81 drivers/clocksource/timer-owl.c struct clock_event_device *ev) ev 105 drivers/clocksource/timer-rda.c struct clock_event_device *ev) ev 107 drivers/clocksource/timer-rda.c struct timer_of *to = to_timer_of(ev); ev 65 drivers/connector/cn_proc.c struct proc_event *ev; ev 73 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 74 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 75 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 76 drivers/connector/cn_proc.c ev->what = PROC_EVENT_FORK; ev 79 drivers/connector/cn_proc.c ev->event_data.fork.parent_pid = parent->pid; ev 80 drivers/connector/cn_proc.c ev->event_data.fork.parent_tgid = parent->tgid; ev 82 drivers/connector/cn_proc.c ev->event_data.fork.child_pid = task->pid; ev 83 drivers/connector/cn_proc.c ev->event_data.fork.child_tgid = task->tgid; ev 87 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 95 drivers/connector/cn_proc.c struct proc_event *ev; ev 102 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 103 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 104 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 105 drivers/connector/cn_proc.c ev->what = PROC_EVENT_EXEC; ev 106 drivers/connector/cn_proc.c ev->event_data.exec.process_pid = task->pid; ev 107 drivers/connector/cn_proc.c ev->event_data.exec.process_tgid = task->tgid; ev 111 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 119 drivers/connector/cn_proc.c struct proc_event *ev; ev 127 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 128 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 129 drivers/connector/cn_proc.c ev->what = which_id; ev 130 drivers/connector/cn_proc.c ev->event_data.id.process_pid = task->pid; ev 131 drivers/connector/cn_proc.c ev->event_data.id.process_tgid = task->tgid; ev 135 drivers/connector/cn_proc.c ev->event_data.id.r.ruid = from_kuid_munged(&init_user_ns, cred->uid); ev 136 drivers/connector/cn_proc.c ev->event_data.id.e.euid = from_kuid_munged(&init_user_ns, cred->euid); ev 138 drivers/connector/cn_proc.c ev->event_data.id.r.rgid = from_kgid_munged(&init_user_ns, cred->gid); ev 139 drivers/connector/cn_proc.c ev->event_data.id.e.egid = from_kgid_munged(&init_user_ns, cred->egid); ev 145 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 149 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 157 drivers/connector/cn_proc.c struct proc_event *ev; ev 164 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 165 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 166 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 167 drivers/connector/cn_proc.c ev->what = PROC_EVENT_SID; ev 168 drivers/connector/cn_proc.c ev->event_data.sid.process_pid = task->pid; ev 169 drivers/connector/cn_proc.c ev->event_data.sid.process_tgid = task->tgid; ev 173 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 181 drivers/connector/cn_proc.c struct proc_event *ev; ev 188 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 189 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 190 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 191 drivers/connector/cn_proc.c ev->what = PROC_EVENT_PTRACE; ev 192 drivers/connector/cn_proc.c ev->event_data.ptrace.process_pid = task->pid; ev 193 drivers/connector/cn_proc.c ev->event_data.ptrace.process_tgid = task->tgid; ev 195 drivers/connector/cn_proc.c ev->event_data.ptrace.tracer_pid = current->pid; ev 196 drivers/connector/cn_proc.c ev->event_data.ptrace.tracer_tgid = current->tgid; ev 198 drivers/connector/cn_proc.c ev->event_data.ptrace.tracer_pid = 0; ev 199 drivers/connector/cn_proc.c ev->event_data.ptrace.tracer_tgid = 0; ev 205 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 213 drivers/connector/cn_proc.c struct proc_event *ev; ev 220 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 221 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 222 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 223 drivers/connector/cn_proc.c ev->what = PROC_EVENT_COMM; ev 224 drivers/connector/cn_proc.c ev->event_data.comm.process_pid = task->pid; ev 225 drivers/connector/cn_proc.c ev->event_data.comm.process_tgid = task->tgid; ev 226 drivers/connector/cn_proc.c get_task_comm(ev->event_data.comm.comm, task); ev 230 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 238 drivers/connector/cn_proc.c struct proc_event *ev; ev 246 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 247 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 248 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 249 drivers/connector/cn_proc.c ev->what = PROC_EVENT_COREDUMP; ev 250 drivers/connector/cn_proc.c ev->event_data.coredump.process_pid = task->pid; ev 251 drivers/connector/cn_proc.c ev->event_data.coredump.process_tgid = task->tgid; ev 256 drivers/connector/cn_proc.c ev->event_data.coredump.parent_pid = parent->pid; ev 257 drivers/connector/cn_proc.c ev->event_data.coredump.parent_tgid = parent->tgid; ev 263 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 271 drivers/connector/cn_proc.c struct proc_event *ev; ev 279 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 280 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 281 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 282 drivers/connector/cn_proc.c ev->what = PROC_EVENT_EXIT; ev 283 drivers/connector/cn_proc.c ev->event_data.exit.process_pid = task->pid; ev 284 drivers/connector/cn_proc.c ev->event_data.exit.process_tgid = task->tgid; ev 285 drivers/connector/cn_proc.c ev->event_data.exit.exit_code = task->exit_code; ev 286 drivers/connector/cn_proc.c ev->event_data.exit.exit_signal = task->exit_signal; ev 291 drivers/connector/cn_proc.c ev->event_data.exit.parent_pid = parent->pid; ev 292 drivers/connector/cn_proc.c ev->event_data.exit.parent_tgid = parent->tgid; ev 298 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 314 drivers/connector/cn_proc.c struct proc_event *ev; ev 321 drivers/connector/cn_proc.c ev = (struct proc_event *)msg->data; ev 322 drivers/connector/cn_proc.c memset(&ev->event_data, 0, sizeof(ev->event_data)); ev 324 drivers/connector/cn_proc.c ev->timestamp_ns = ktime_get_ns(); ev 325 drivers/connector/cn_proc.c ev->cpu = -1; ev 326 drivers/connector/cn_proc.c ev->what = PROC_EVENT_NONE; ev 327 drivers/connector/cn_proc.c ev->event_data.ack.err = err; ev 330 drivers/connector/cn_proc.c msg->len = sizeof(*ev); ev 372 drivers/dma/pl330.c int ev; ev 741 drivers/dma/pl330.c static inline u32 _emit_SEV(unsigned dry_run, u8 buf[], u8 ev) ev 748 drivers/dma/pl330.c ev &= 0x1f; ev 749 drivers/dma/pl330.c ev <<= 3; ev 750 drivers/dma/pl330.c buf[1] = ev; ev 752 drivers/dma/pl330.c PL330_DBGCMD_DUMP(SZ_DMASEV, "\tDMASEV %u\n", ev >> 3); ev 986 drivers/dma/pl330.c if (inten & (1 << thrd->ev)) ev 987 drivers/dma/pl330.c writel(1 << thrd->ev, regs + INTCLR); ev 989 drivers/dma/pl330.c writel(inten & ~(1 << thrd->ev), regs + INTEN); ev 1041 drivers/dma/pl330.c writel(readl(regs + INTEN) | (1 << thrd->ev), regs + INTEN); ev 1416 drivers/dma/pl330.c off += _emit_SEV(dry_run, &buf[off], thrd->ev); ev 1633 drivers/dma/pl330.c int id, ev, ret = 0; ev 1672 drivers/dma/pl330.c for (ev = 0; ev < pl330->pcfg.num_events; ev++) { ev 1673 drivers/dma/pl330.c if (val & (1 << ev)) { /* Event occurred */ ev 1679 drivers/dma/pl330.c if (inten & (1 << ev)) ev 1680 drivers/dma/pl330.c writel(1 << ev, regs + INTCLR); ev 1684 drivers/dma/pl330.c id = pl330->events[ev]; ev 1733 drivers/dma/pl330.c int ev; ev 1735 drivers/dma/pl330.c for (ev = 0; ev < pl330->pcfg.num_events; ev++) ev 1736 drivers/dma/pl330.c if (pl330->events[ev] == -1) { ev 1737 drivers/dma/pl330.c pl330->events[ev] = thrd->id; ev 1738 drivers/dma/pl330.c return ev; ev 1766 drivers/dma/pl330.c thrd->ev = _alloc_event(thrd); ev 1767 drivers/dma/pl330.c if (thrd->ev >= 0) { ev 1783 drivers/dma/pl330.c static inline void _free_event(struct pl330_thread *thrd, int ev) ev 1788 drivers/dma/pl330.c if (ev >= 0 && ev < pl330->pcfg.num_events ev 1789 drivers/dma/pl330.c && pl330->events[ev] == thrd->id) ev 1790 drivers/dma/pl330.c pl330->events[ev] = -1; ev 1803 drivers/dma/pl330.c _free_event(thrd, thrd->ev); ev 1140 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define amdgpu_asic_set_vce_clocks(adev, ev, ec) (adev)->asic_funcs->set_vce_clocks((adev), (ev), (ec)) ev 95 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev) ev 113 drivers/gpu/drm/amd/amdkfd/kfd_events.c id = idr_alloc(&p->event_idr, ev, 0, p->signal_mapped_size / 8, ev 118 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->event_id = id; ev 153 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 171 drivers/gpu/drm/amd/amdkfd/kfd_events.c for (ev = NULL; id < KFD_SIGNAL_EVENT_LIMIT && !ev; id += 1U << bits) { ev 175 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = idr_find(&p->event_idr, id); ev 178 drivers/gpu/drm/amd/amdkfd/kfd_events.c return ev; ev 183 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev) ev 196 drivers/gpu/drm/amd/amdkfd/kfd_events.c ret = allocate_event_notification_slot(p, ev); ev 204 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->user_signal_address = &p->signal_page->user_address[ev->event_id]; ev 206 drivers/gpu/drm/amd/amdkfd/kfd_events.c p->signal_event_count, ev->event_id, ev 207 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->user_signal_address); ev 212 drivers/gpu/drm/amd/amdkfd/kfd_events.c static int create_other_event(struct kfd_process *p, struct kfd_event *ev) ev 219 drivers/gpu/drm/amd/amdkfd/kfd_events.c int id = idr_alloc(&p->event_idr, ev, KFD_FIRST_NONSIGNAL_EVENT_ID, ev 225 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->event_id = id; ev 238 drivers/gpu/drm/amd/amdkfd/kfd_events.c static void destroy_event(struct kfd_process *p, struct kfd_event *ev) ev 243 drivers/gpu/drm/amd/amdkfd/kfd_events.c list_for_each_entry(waiter, &ev->wq.head, wait.entry) ev 245 drivers/gpu/drm/amd/amdkfd/kfd_events.c wake_up_all(&ev->wq); ev 247 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == KFD_EVENT_TYPE_SIGNAL || ev 248 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->type == KFD_EVENT_TYPE_DEBUG) ev 251 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_remove(&p->event_idr, ev->event_id); ev 252 drivers/gpu/drm/amd/amdkfd/kfd_events.c kfree(ev); ev 257 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 260 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_for_each_entry(&p->event_idr, ev, id) ev 261 drivers/gpu/drm/amd/amdkfd/kfd_events.c destroy_event(p, ev); ev 287 drivers/gpu/drm/amd/amdkfd/kfd_events.c static bool event_can_be_gpu_signaled(const struct kfd_event *ev) ev 289 drivers/gpu/drm/amd/amdkfd/kfd_events.c return ev->type == KFD_EVENT_TYPE_SIGNAL || ev 290 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->type == KFD_EVENT_TYPE_DEBUG; ev 293 drivers/gpu/drm/amd/amdkfd/kfd_events.c static bool event_can_be_cpu_signaled(const struct kfd_event *ev) ev 295 drivers/gpu/drm/amd/amdkfd/kfd_events.c return ev->type == KFD_EVENT_TYPE_SIGNAL; ev 328 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 330 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (!ev) ev 333 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->type = event_type; ev 334 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->auto_reset = auto_reset; ev 335 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->signaled = false; ev 337 drivers/gpu/drm/amd/amdkfd/kfd_events.c init_waitqueue_head(&ev->wq); ev 346 drivers/gpu/drm/amd/amdkfd/kfd_events.c ret = create_signal_event(devkfd, p, ev); ev 350 drivers/gpu/drm/amd/amdkfd/kfd_events.c *event_slot_index = ev->event_id; ev 354 drivers/gpu/drm/amd/amdkfd/kfd_events.c ret = create_other_event(p, ev); ev 359 drivers/gpu/drm/amd/amdkfd/kfd_events.c *event_id = ev->event_id; ev 360 drivers/gpu/drm/amd/amdkfd/kfd_events.c *event_trigger_data = ev->event_id; ev 362 drivers/gpu/drm/amd/amdkfd/kfd_events.c kfree(ev); ev 373 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 378 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = lookup_event_by_id(p, event_id); ev 380 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev) ev 381 drivers/gpu/drm/amd/amdkfd/kfd_events.c destroy_event(p, ev); ev 389 drivers/gpu/drm/amd/amdkfd/kfd_events.c static void set_event(struct kfd_event *ev) ev 398 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->signaled = !ev->auto_reset || !waitqueue_active(&ev->wq); ev 400 drivers/gpu/drm/amd/amdkfd/kfd_events.c list_for_each_entry(waiter, &ev->wq.head, wait.entry) ev 403 drivers/gpu/drm/amd/amdkfd/kfd_events.c wake_up_all(&ev->wq); ev 410 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 414 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = lookup_event_by_id(p, event_id); ev 416 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev && event_can_be_cpu_signaled(ev)) ev 417 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 425 drivers/gpu/drm/amd/amdkfd/kfd_events.c static void reset_event(struct kfd_event *ev) ev 427 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->signaled = false; ev 434 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 438 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = lookup_event_by_id(p, event_id); ev 440 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev && event_can_be_cpu_signaled(ev)) ev 441 drivers/gpu/drm/amd/amdkfd/kfd_events.c reset_event(ev); ev 450 drivers/gpu/drm/amd/amdkfd/kfd_events.c static void acknowledge_signal(struct kfd_process *p, struct kfd_event *ev) ev 452 drivers/gpu/drm/amd/amdkfd/kfd_events.c page_slots(p->signal_page)[ev->event_id] = UNSIGNALED_EVENT_SLOT; ev 456 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev) ev 458 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev && event_can_be_gpu_signaled(ev)) { ev 459 drivers/gpu/drm/amd/amdkfd/kfd_events.c acknowledge_signal(p, ev); ev 460 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 467 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev = NULL; ev 482 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = lookup_signaled_event_by_partial_id(p, partial_id, ev 484 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev) { ev 485 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event_from_interrupt(p, ev); ev 503 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_for_each_entry(&p->event_idr, ev, id) { ev 508 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event_from_interrupt(p, ev); ev 517 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev = lookup_event_by_id(p, id); ev 518 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event_from_interrupt(p, ev); ev 548 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev = lookup_event_by_id(p, event_id); ev 550 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (!ev) ev 553 drivers/gpu/drm/amd/amdkfd/kfd_events.c waiter->event = ev; ev 554 drivers/gpu/drm/amd/amdkfd/kfd_events.c waiter->activated = ev->signaled; ev 555 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->signaled = ev->signaled && !ev->auto_reset; ev 562 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev = waiter->event; ev 568 drivers/gpu/drm/amd/amdkfd/kfd_events.c add_wait_queue(&ev->wq, &waiter->wait); ev 835 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 842 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_for_each_entry_continue(&p->event_idr, ev, id) ev 843 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == type) { ev 847 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->event_id, ev->type); ev 848 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 849 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == KFD_EVENT_TYPE_MEMORY && ev_data) ev 850 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->memory_exception_data = *ev_data; ev 977 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 1001 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_for_each_entry_continue(&p->event_idr, ev, id) ev 1002 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == KFD_EVENT_TYPE_MEMORY) { ev 1003 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->memory_exception_data = memory_exception_data; ev 1004 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 1016 drivers/gpu/drm/amd/amdkfd/kfd_events.c struct kfd_event *ev; ev 1038 drivers/gpu/drm/amd/amdkfd/kfd_events.c idr_for_each_entry_continue(&p->event_idr, ev, id) { ev 1039 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == KFD_EVENT_TYPE_HW_EXCEPTION) { ev 1040 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->hw_exception_data = hw_exception_data; ev 1041 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 1043 drivers/gpu/drm/amd/amdkfd/kfd_events.c if (ev->type == KFD_EVENT_TYPE_MEMORY && ev 1045 drivers/gpu/drm/amd/amdkfd/kfd_events.c ev->memory_exception_data = memory_exception_data; ev 1046 drivers/gpu/drm/amd/amdkfd/kfd_events.c set_event(ev); ev 241 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c static int msm_hdmi_hdcp_msleep(struct hdmi_hdcp_ctrl *hdcp_ctrl, u32 ms, u32 ev) ev 246 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c !!test_bit(ev, &hdcp_ctrl->auth_event), ev 250 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c __func__, ev); ev 251 drivers/gpu/drm/msm/hdmi/hdmi_hdcp.c clear_bit(ev, &hdcp_ctrl->auth_event); ev 2748 drivers/gpu/drm/radeon/radeon.h #define radeon_set_vce_clocks(rdev, ev, ec) (rdev)->asic->pm.set_vce_clocks((rdev), (ev), (ec)) ev 72 drivers/hid/uhid.c static void uhid_queue(struct uhid_device *uhid, struct uhid_event *ev) ev 79 drivers/hid/uhid.c uhid->outq[uhid->head] = ev; ev 84 drivers/hid/uhid.c kfree(ev); ev 91 drivers/hid/uhid.c struct uhid_event *ev; ev 93 drivers/hid/uhid.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 94 drivers/hid/uhid.c if (!ev) ev 97 drivers/hid/uhid.c ev->type = event; ev 100 drivers/hid/uhid.c uhid_queue(uhid, ev); ev 109 drivers/hid/uhid.c struct uhid_event *ev; ev 112 drivers/hid/uhid.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 113 drivers/hid/uhid.c if (!ev) ev 116 drivers/hid/uhid.c ev->type = UHID_START; ev 119 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_FEATURE_REPORTS; ev 121 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_OUTPUT_REPORTS; ev 123 drivers/hid/uhid.c ev->u.start.dev_flags |= UHID_DEV_NUMBERED_INPUT_REPORTS; ev 126 drivers/hid/uhid.c uhid_queue(uhid, ev); ev 163 drivers/hid/uhid.c struct uhid_event *ev, ev 171 drivers/hid/uhid.c uhid->report_type = ev->type + 1; ev 173 drivers/hid/uhid.c uhid_queue(uhid, ev); ev 192 drivers/hid/uhid.c const struct uhid_event *ev) ev 199 drivers/hid/uhid.c if (uhid->report_type != ev->type || uhid->report_id != id) ev 204 drivers/hid/uhid.c memcpy(&uhid->report_buf, ev, sizeof(*ev)); ev 217 drivers/hid/uhid.c struct uhid_event *ev; ev 223 drivers/hid/uhid.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 224 drivers/hid/uhid.c if (!ev) ev 227 drivers/hid/uhid.c ev->type = UHID_GET_REPORT; ev 228 drivers/hid/uhid.c ev->u.get_report.rnum = rnum; ev 229 drivers/hid/uhid.c ev->u.get_report.rtype = rtype; ev 233 drivers/hid/uhid.c kfree(ev); ev 238 drivers/hid/uhid.c ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.get_report.id); ev 259 drivers/hid/uhid.c struct uhid_event *ev; ev 265 drivers/hid/uhid.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 266 drivers/hid/uhid.c if (!ev) ev 269 drivers/hid/uhid.c ev->type = UHID_SET_REPORT; ev 270 drivers/hid/uhid.c ev->u.set_report.rnum = rnum; ev 271 drivers/hid/uhid.c ev->u.set_report.rtype = rtype; ev 272 drivers/hid/uhid.c ev->u.set_report.size = count; ev 273 drivers/hid/uhid.c memcpy(ev->u.set_report.data, buf, count); ev 277 drivers/hid/uhid.c kfree(ev); ev 282 drivers/hid/uhid.c ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.set_report.id); ev 332 drivers/hid/uhid.c struct uhid_event *ev; ev 348 drivers/hid/uhid.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 349 drivers/hid/uhid.c if (!ev) ev 352 drivers/hid/uhid.c ev->type = UHID_OUTPUT; ev 353 drivers/hid/uhid.c ev->u.output.size = count; ev 354 drivers/hid/uhid.c ev->u.output.rtype = rtype; ev 355 drivers/hid/uhid.c memcpy(ev->u.output.data, buf, count); ev 358 drivers/hid/uhid.c uhid_queue(uhid, ev); ev 470 drivers/hid/uhid.c const struct uhid_event *ev) ev 480 drivers/hid/uhid.c rd_size = ev->u.create2.rd_size; ev 484 drivers/hid/uhid.c rd_data = kmemdup(ev->u.create2.rd_data, rd_size, GFP_KERNEL); ev 498 drivers/hid/uhid.c len = min(sizeof(hid->name), sizeof(ev->u.create2.name)) - 1; ev 499 drivers/hid/uhid.c strncpy(hid->name, ev->u.create2.name, len); ev 500 drivers/hid/uhid.c len = min(sizeof(hid->phys), sizeof(ev->u.create2.phys)) - 1; ev 501 drivers/hid/uhid.c strncpy(hid->phys, ev->u.create2.phys, len); ev 502 drivers/hid/uhid.c len = min(sizeof(hid->uniq), sizeof(ev->u.create2.uniq)) - 1; ev 503 drivers/hid/uhid.c strncpy(hid->uniq, ev->u.create2.uniq, len); ev 506 drivers/hid/uhid.c hid->bus = ev->u.create2.bus; ev 507 drivers/hid/uhid.c hid->vendor = ev->u.create2.vendor; ev 508 drivers/hid/uhid.c hid->product = ev->u.create2.product; ev 509 drivers/hid/uhid.c hid->version = ev->u.create2.version; ev 510 drivers/hid/uhid.c hid->country = ev->u.create2.country; ev 533 drivers/hid/uhid.c struct uhid_event *ev) ev 537 drivers/hid/uhid.c orig = ev->u.create; ev 541 drivers/hid/uhid.c if (copy_from_user(&ev->u.create2.rd_data, orig.rd_data, orig.rd_size)) ev 544 drivers/hid/uhid.c memcpy(ev->u.create2.name, orig.name, sizeof(orig.name)); ev 545 drivers/hid/uhid.c memcpy(ev->u.create2.phys, orig.phys, sizeof(orig.phys)); ev 546 drivers/hid/uhid.c memcpy(ev->u.create2.uniq, orig.uniq, sizeof(orig.uniq)); ev 547 drivers/hid/uhid.c ev->u.create2.rd_size = orig.rd_size; ev 548 drivers/hid/uhid.c ev->u.create2.bus = orig.bus; ev 549 drivers/hid/uhid.c ev->u.create2.vendor = orig.vendor; ev 550 drivers/hid/uhid.c ev->u.create2.product = orig.product; ev 551 drivers/hid/uhid.c ev->u.create2.version = orig.version; ev 552 drivers/hid/uhid.c ev->u.create2.country = orig.country; ev 554 drivers/hid/uhid.c return uhid_dev_create2(uhid, ev); ev 573 drivers/hid/uhid.c static int uhid_dev_input(struct uhid_device *uhid, struct uhid_event *ev) ev 578 drivers/hid/uhid.c hid_input_report(uhid->hid, HID_INPUT_REPORT, ev->u.input.data, ev 579 drivers/hid/uhid.c min_t(size_t, ev->u.input.size, UHID_DATA_MAX), 0); ev 584 drivers/hid/uhid.c static int uhid_dev_input2(struct uhid_device *uhid, struct uhid_event *ev) ev 589 drivers/hid/uhid.c hid_input_report(uhid->hid, HID_INPUT_REPORT, ev->u.input2.data, ev 590 drivers/hid/uhid.c min_t(size_t, ev->u.input2.size, UHID_DATA_MAX), 0); ev 596 drivers/hid/uhid.c struct uhid_event *ev) ev 601 drivers/hid/uhid.c uhid_report_wake_up(uhid, ev->u.get_report_reply.id, ev); ev 606 drivers/hid/uhid.c struct uhid_event *ev) ev 611 drivers/hid/uhid.c uhid_report_wake_up(uhid, ev->u.set_report_reply.id, ev); ev 66 drivers/iio/industrialio-event.c struct iio_event_data ev; ev 75 drivers/iio/industrialio-event.c ev.id = ev_code; ev 76 drivers/iio/industrialio-event.c ev.timestamp = timestamp; ev 78 drivers/iio/industrialio-event.c copied = kfifo_put(&ev_int->det_events, ev); ev 58 drivers/iio/light/cm3605.c u64 ev; ev 60 drivers/iio/light/cm3605.c ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, CM3605_PROX_CHANNEL, ev 62 drivers/iio/light/cm3605.c iio_push_event(indio_dev, ev, iio_get_time_ns(indio_dev)); ev 816 drivers/iio/light/us5182d.c u64 ev; ev 825 drivers/iio/light/us5182d.c ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, 1, IIO_EV_TYPE_THRESH, dir); ev 827 drivers/iio/light/us5182d.c iio_push_event(indio_dev, ev, iio_get_time_ns(indio_dev)); ev 481 drivers/iio/proximity/sx9500.c u64 ev; ev 491 drivers/iio/proximity/sx9500.c ev = IIO_UNMOD_EVENT_CODE(IIO_PROXIMITY, chan, ev 493 drivers/iio/proximity/sx9500.c iio_push_event(indio_dev, ev, iio_get_time_ns(indio_dev)); ev 134 drivers/infiniband/core/cma.c struct rdma_cm_event *ev, u8 *data_len) ev 138 drivers/infiniband/core/cma.c if (rdma_is_consumer_reject(id, ev->status)) { ev 139 drivers/infiniband/core/cma.c *data_len = ev->param.conn.private_data_len; ev 140 drivers/infiniband/core/cma.c p = ev->param.conn.private_data; ev 644 drivers/infiniband/hw/hfi1/file_ops.c unsigned long flags, *ev; ev 674 drivers/infiniband/hw/hfi1/file_ops.c ev = dd->events + uctxt_offset(uctxt) + fdata->subctxt; ev 675 drivers/infiniband/hw/hfi1/file_ops.c *ev = 0; ev 123 drivers/infiniband/hw/hfi1/intr.c static void signal_ib_event(struct hfi1_pportdata *ppd, enum ib_event_type ev) ev 137 drivers/infiniband/hw/hfi1/intr.c event.event = ev; ev 155 drivers/infiniband/hw/hfi1/intr.c enum ib_event_type ev; ev 228 drivers/infiniband/hw/hfi1/intr.c ev = IB_EVENT_PORT_ERR; ev 236 drivers/infiniband/hw/hfi1/intr.c signal_ib_event(ppd, ev); ev 829 drivers/infiniband/hw/hfi1/qp.c struct ib_event ev; ev 840 drivers/infiniband/hw/hfi1/qp.c ev.device = qp->ibqp.device; ev 841 drivers/infiniband/hw/hfi1/qp.c ev.element.qp = &qp->ibqp; ev 842 drivers/infiniband/hw/hfi1/qp.c ev.event = IB_EVENT_PATH_MIG; ev 843 drivers/infiniband/hw/hfi1/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 934 drivers/infiniband/hw/hfi1/qp.c struct ib_event ev; ev 955 drivers/infiniband/hw/hfi1/qp.c ev.device = qp->ibqp.device; ev 956 drivers/infiniband/hw/hfi1/qp.c ev.element.qp = &qp->ibqp; ev 957 drivers/infiniband/hw/hfi1/qp.c ev.event = IB_EVENT_QP_LAST_WQE_REACHED; ev 958 drivers/infiniband/hw/hfi1/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 3999 drivers/infiniband/hw/hfi1/tid_rdma.c struct ib_event ev; ev 4001 drivers/infiniband/hw/hfi1/tid_rdma.c ev.device = qp->ibqp.device; ev 4002 drivers/infiniband/hw/hfi1/tid_rdma.c ev.element.qp = &qp->ibqp; ev 4003 drivers/infiniband/hw/hfi1/tid_rdma.c ev.event = IB_EVENT_QP_FATAL; ev 4004 drivers/infiniband/hw/hfi1/tid_rdma.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 545 drivers/infiniband/hw/hfi1/user_exp_rcv.c unsigned long *ev = uctxt->dd->events + ev 572 drivers/infiniband/hw/hfi1/user_exp_rcv.c clear_bit(_HFI1_EVENT_TID_MMU_NOTIFY_BIT, ev); ev 930 drivers/infiniband/hw/hfi1/user_exp_rcv.c unsigned long *ev; ev 941 drivers/infiniband/hw/hfi1/user_exp_rcv.c ev = uctxt->dd->events + ev 943 drivers/infiniband/hw/hfi1/user_exp_rcv.c set_bit(_HFI1_EVENT_TID_MMU_NOTIFY_BIT, ev); ev 72 drivers/infiniband/hw/qib/qib_intr.c static void signal_ib_event(struct qib_pportdata *ppd, enum ib_event_type ev) ev 79 drivers/infiniband/hw/qib/qib_intr.c event.event = ev; ev 89 drivers/infiniband/hw/qib/qib_intr.c enum ib_event_type ev = 0; ev 123 drivers/infiniband/hw/qib/qib_intr.c ev = IB_EVENT_PORT_ERR; ev 153 drivers/infiniband/hw/qib/qib_intr.c ev = IB_EVENT_PORT_ACTIVE; ev 158 drivers/infiniband/hw/qib/qib_intr.c ev = IB_EVENT_PORT_ERR; ev 169 drivers/infiniband/hw/qib/qib_intr.c if (ev) ev 170 drivers/infiniband/hw/qib/qib_intr.c signal_ib_event(ppd, ev); ev 46 drivers/infiniband/hw/qib/qib_ruc.c struct ib_event ev; ev 53 drivers/infiniband/hw/qib/qib_ruc.c ev.device = qp->ibqp.device; ev 54 drivers/infiniband/hw/qib/qib_ruc.c ev.element.qp = &qp->ibqp; ev 55 drivers/infiniband/hw/qib/qib_ruc.c ev.event = IB_EVENT_PATH_MIG; ev 56 drivers/infiniband/hw/qib/qib_ruc.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 111 drivers/infiniband/sw/rdmavt/cq.c struct ib_event ev; ev 113 drivers/infiniband/sw/rdmavt/cq.c ev.device = cq->ibcq.device; ev 114 drivers/infiniband/sw/rdmavt/cq.c ev.element.cq = &cq->ibcq; ev 115 drivers/infiniband/sw/rdmavt/cq.c ev.event = IB_EVENT_CQ_ERR; ev 116 drivers/infiniband/sw/rdmavt/cq.c cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); ev 751 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 753 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 754 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &qp->ibqp; ev 755 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_QP_LAST_WQE_REACHED; ev 756 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 1452 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 1688 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 1689 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &qp->ibqp; ev 1690 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_QP_LAST_WQE_REACHED; ev 1691 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 1694 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 1695 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &qp->ibqp; ev 1696 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_PATH_MIG; ev 1697 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 2489 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 2493 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 2494 drivers/infiniband/sw/rdmavt/qp.c ev.element.srq = qp->ibqp.srq; ev 2495 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_SRQ_LIMIT_REACHED; ev 2496 drivers/infiniband/sw/rdmavt/qp.c handler(&ev, srq->ibsrq.srq_context); ev 2516 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 2518 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 2519 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &qp->ibqp; ev 2520 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_COMM_EST; ev 2521 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 2536 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 2538 drivers/infiniband/sw/rdmavt/qp.c ev.device = qp->ibqp.device; ev 2539 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &qp->ibqp; ev 2540 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_QP_LAST_WQE_REACHED; ev 2541 drivers/infiniband/sw/rdmavt/qp.c qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); ev 3256 drivers/infiniband/sw/rdmavt/qp.c struct ib_event ev; ev 3258 drivers/infiniband/sw/rdmavt/qp.c ev.device = sqp->ibqp.device; ev 3259 drivers/infiniband/sw/rdmavt/qp.c ev.element.qp = &sqp->ibqp; ev 3260 drivers/infiniband/sw/rdmavt/qp.c ev.event = IB_EVENT_QP_LAST_WQE_REACHED; ev 3261 drivers/infiniband/sw/rdmavt/qp.c sqp->ibqp.event_handler(&ev, sqp->ibqp.qp_context); ev 495 drivers/infiniband/sw/rxe/rxe_comp.c struct ib_event ev; ev 497 drivers/infiniband/sw/rxe/rxe_comp.c ev.device = qp->ibqp.device; ev 498 drivers/infiniband/sw/rxe/rxe_comp.c ev.element.qp = &qp->ibqp; ev 499 drivers/infiniband/sw/rxe/rxe_comp.c ev.event = IB_EVENT_SQ_DRAINED; ev 500 drivers/infiniband/sw/rxe/rxe_comp.c qp->ibqp.event_handler(&ev, ev 134 drivers/infiniband/sw/rxe/rxe_cq.c struct ib_event ev; ev 142 drivers/infiniband/sw/rxe/rxe_cq.c ev.device = cq->ibcq.device; ev 143 drivers/infiniband/sw/rxe/rxe_cq.c ev.element.cq = &cq->ibcq; ev 144 drivers/infiniband/sw/rxe/rxe_cq.c ev.event = IB_EVENT_CQ_ERR; ev 145 drivers/infiniband/sw/rxe/rxe_cq.c cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); ev 551 drivers/infiniband/sw/rxe/rxe_net.c struct ib_event ev; ev 553 drivers/infiniband/sw/rxe/rxe_net.c ev.device = &rxe->ib_dev; ev 554 drivers/infiniband/sw/rxe/rxe_net.c ev.element.port_num = 1; ev 555 drivers/infiniband/sw/rxe/rxe_net.c ev.event = event; ev 557 drivers/infiniband/sw/rxe/rxe_net.c ib_dispatch_event(&ev); ev 163 drivers/infiniband/sw/rxe/rxe_req.c struct ib_event ev; ev 165 drivers/infiniband/sw/rxe/rxe_req.c ev.device = qp->ibqp.device; ev 166 drivers/infiniband/sw/rxe/rxe_req.c ev.element.qp = &qp->ibqp; ev 167 drivers/infiniband/sw/rxe/rxe_req.c ev.event = IB_EVENT_SQ_DRAINED; ev 168 drivers/infiniband/sw/rxe/rxe_req.c qp->ibqp.event_handler(&ev, ev 321 drivers/infiniband/sw/rxe/rxe_resp.c struct ib_event ev; ev 351 drivers/infiniband/sw/rxe/rxe_resp.c ev.device = qp->ibqp.device; ev 352 drivers/infiniband/sw/rxe/rxe_resp.c ev.element.srq = qp->ibqp.srq; ev 353 drivers/infiniband/sw/rxe/rxe_resp.c ev.event = IB_EVENT_SRQ_LIMIT_REACHED; ev 354 drivers/infiniband/sw/rxe/rxe_resp.c srq->ibsrq.event_handler(&ev, srq->ibsrq.srq_context); ev 106 drivers/input/evdev.c struct input_event *ev; ev 117 drivers/input/evdev.c ev = &client->buffer[i]; ev 118 drivers/input/evdev.c is_report = ev->type == EV_SYN && ev->code == SYN_REPORT; ev 120 drivers/input/evdev.c if (ev->type == type) { ev 128 drivers/input/evdev.c client->buffer[head] = *ev; ev 147 drivers/input/evdev.c struct input_event ev; ev 149 drivers/input/evdev.c ev.input_event_sec = ts.tv_sec; ev 150 drivers/input/evdev.c ev.input_event_usec = ts.tv_nsec / NSEC_PER_USEC; ev 151 drivers/input/evdev.c ev.type = EV_SYN; ev 152 drivers/input/evdev.c ev.code = SYN_DROPPED; ev 153 drivers/input/evdev.c ev.value = 0; ev 155 drivers/input/evdev.c client->buffer[client->head++] = ev; ev 1491 drivers/input/input.c #define INPUT_DEV_CAP_ATTR(ev, bm) \ ev 1498 drivers/input/input.c input_dev->bm##bit, ev##_MAX, \ ev 1504 drivers/input/input.c INPUT_DEV_CAP_ATTR(EV, ev); ev 575 drivers/input/misc/uinput.c struct input_event ev; ev 588 drivers/input/misc/uinput.c if (input_event_from_user(buffer + bytes, &ev)) ev 591 drivers/input/misc/uinput.c input_event(udev->dev, ev.type, ev.code, ev.value); ev 412 drivers/md/persistent-data/dm-space-map-common.c void *context, enum allocation_event *ev) ev 481 drivers/md/persistent-data/dm-space-map-common.c *ev = SM_ALLOC; ev 488 drivers/md/persistent-data/dm-space-map-common.c *ev = SM_FREE; ev 493 drivers/md/persistent-data/dm-space-map-common.c *ev = SM_NONE; ev 505 drivers/md/persistent-data/dm-space-map-common.c uint32_t ref_count, enum allocation_event *ev) ev 507 drivers/md/persistent-data/dm-space-map-common.c return sm_ll_mutate(ll, b, set_ref_count, &ref_count, ev); ev 516 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) ev 518 drivers/md/persistent-data/dm-space-map-common.c return sm_ll_mutate(ll, b, inc_ref_count, NULL, ev); ev 532 drivers/md/persistent-data/dm-space-map-common.c int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev) ev 534 drivers/md/persistent-data/dm-space-map-common.c return sm_ll_mutate(ll, b, dec_ref_count, NULL, ev); ev 114 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_insert(struct ll_disk *ll, dm_block_t b, uint32_t ref_count, enum allocation_event *ev); ev 115 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_inc(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev); ev 116 drivers/md/persistent-data/dm-space-map-common.h int sm_ll_dec(struct ll_disk *ll, dm_block_t b, enum allocation_event *ev); ev 91 drivers/md/persistent-data/dm-space-map-disk.c enum allocation_event ev; ev 94 drivers/md/persistent-data/dm-space-map-disk.c r = sm_ll_insert(&smd->ll, b, count, &ev); ev 96 drivers/md/persistent-data/dm-space-map-disk.c switch (ev) { ev 129 drivers/md/persistent-data/dm-space-map-disk.c enum allocation_event ev; ev 132 drivers/md/persistent-data/dm-space-map-disk.c r = sm_ll_inc(&smd->ll, b, &ev); ev 133 drivers/md/persistent-data/dm-space-map-disk.c if (!r && (ev == SM_ALLOC)) ev 147 drivers/md/persistent-data/dm-space-map-disk.c enum allocation_event ev; ev 150 drivers/md/persistent-data/dm-space-map-disk.c r = sm_ll_dec(&smd->ll, b, &ev); ev 151 drivers/md/persistent-data/dm-space-map-disk.c if (!r && (ev == SM_FREE)) { ev 167 drivers/md/persistent-data/dm-space-map-disk.c enum allocation_event ev; ev 178 drivers/md/persistent-data/dm-space-map-disk.c r = sm_ll_inc(&smd->ll, *b, &ev); ev 180 drivers/md/persistent-data/dm-space-map-disk.c BUG_ON(ev != SM_ALLOC); ev 196 drivers/md/persistent-data/dm-space-map-metadata.c enum allocation_event ev; ev 200 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_inc(&smm->ll, op->block, &ev); ev 204 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_dec(&smm->ll, op->block, &ev); ev 396 drivers/md/persistent-data/dm-space-map-metadata.c enum allocation_event ev; ev 405 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_insert(&smm->ll, b, count, &ev); ev 414 drivers/md/persistent-data/dm-space-map-metadata.c enum allocation_event ev; ev 421 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_inc(&smm->ll, b, &ev); ev 431 drivers/md/persistent-data/dm-space-map-metadata.c enum allocation_event ev; ev 438 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_dec(&smm->ll, b, &ev); ev 448 drivers/md/persistent-data/dm-space-map-metadata.c enum allocation_event ev; ev 464 drivers/md/persistent-data/dm-space-map-metadata.c r = sm_ll_inc(&smm->ll, *b, &ev); ev 122 drivers/media/cec/cec-adap.c entry->ev.lost_msgs.lost_msgs += ev 126 drivers/media/cec/cec-adap.c entry->ev = *new_ev; ev 127 drivers/media/cec/cec-adap.c entry->ev.ts = ts; ev 150 drivers/media/cec/cec-adap.c entry->ev.flags |= CEC_EVENT_FL_DROPPED_EVENTS; ev 159 drivers/media/cec/cec-adap.c const struct cec_event *ev) ev 166 drivers/media/cec/cec-adap.c cec_queue_event_fh(fh, ev, ts); ev 174 drivers/media/cec/cec-adap.c struct cec_event ev = { ev 184 drivers/media/cec/cec-adap.c cec_queue_event_fh(fh, &ev, ktime_to_ns(ts)); ev 192 drivers/media/cec/cec-adap.c struct cec_event ev = { ev 200 drivers/media/cec/cec-adap.c cec_queue_event_fh(fh, &ev, ktime_to_ns(ts)); ev 208 drivers/media/cec/cec-adap.c struct cec_event ev = { ev 216 drivers/media/cec/cec-adap.c cec_queue_event_fh(fh, &ev, ktime_to_ns(ts)); ev 316 drivers/media/cec/cec-adap.c struct cec_event ev = { ev 320 drivers/media/cec/cec-adap.c ev.state_change.phys_addr = adap->phys_addr; ev 321 drivers/media/cec/cec-adap.c ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; ev 322 drivers/media/cec/cec-adap.c cec_queue_event(adap, &ev); ev 290 drivers/media/cec/cec-api.c struct cec_event_entry *ev = NULL; ev 312 drivers/media/cec/cec-api.c if (entry && entry->ev.ts <= ts) { ev 313 drivers/media/cec/cec-api.c ev = entry; ev 315 drivers/media/cec/cec-api.c ts = ev->ev.ts; ev 319 drivers/media/cec/cec-api.c if (!ev) { ev 323 drivers/media/cec/cec-api.c list_del(&ev->list); ev 325 drivers/media/cec/cec-api.c if (copy_to_user(parg, &ev->ev, sizeof(ev->ev))) ev 328 drivers/media/cec/cec-api.c kfree(ev); ev 456 drivers/media/cec/cec-api.c struct cec_event ev = { ev 460 drivers/media/cec/cec-api.c ev.event = adap->cec_pin_is_high ? CEC_EVENT_PIN_CEC_HIGH : ev 462 drivers/media/cec/cec-api.c cec_queue_event_fh(fh, &ev, 0); ev 539 drivers/media/cec/cec-api.c struct cec_event ev = { ev 579 drivers/media/cec/cec-api.c ev.state_change.phys_addr = adap->phys_addr; ev 580 drivers/media/cec/cec-api.c ev.state_change.log_addr_mask = adap->log_addrs.log_addr_mask; ev 581 drivers/media/cec/cec-api.c cec_queue_event_fh(fh, &ev, 0); ev 586 drivers/media/cec/cec-api.c ev.event = err ? CEC_EVENT_PIN_HPD_HIGH : ev 588 drivers/media/cec/cec-api.c cec_queue_event_fh(fh, &ev, 0); ev 594 drivers/media/cec/cec-api.c ev.event = err ? CEC_EVENT_PIN_5V_HIGH : ev 596 drivers/media/cec/cec-api.c cec_queue_event_fh(fh, &ev, 0); ev 118 drivers/media/cec/cec-pin.c u8 ev = v; ev 122 drivers/media/cec/cec-pin.c ev |= CEC_PIN_EVENT_FL_DROPPED; ev 124 drivers/media/cec/cec-pin.c pin->work_pin_events[pin->work_pin_events_wr] = ev; ev 29 drivers/media/common/siano/smsir.c struct ir_raw_event ev = { ev 34 drivers/media/common/siano/smsir.c ir_raw_event_store(coredev->ir.dev, &ev); ev 529 drivers/media/pci/cx88/cx88-input.c struct ir_raw_event ev = {}; ev 545 drivers/media/pci/cx88/cx88-input.c ev.pulse = samples & 0x80000000 ? false : true; ev 546 drivers/media/pci/cx88/cx88-input.c bits = min(todo, 32U - fls(ev.pulse ? samples : ~samples)); ev 547 drivers/media/pci/cx88/cx88-input.c ev.duration = (bits * (NSEC_PER_SEC / 1000)) / ir_samplerate; ev 548 drivers/media/pci/cx88/cx88-input.c ir_raw_event_store_with_filter(ir->dev, &ev); ev 1757 drivers/media/pci/ivtv/ivtv-ioctl.c struct video_event *ev = arg; ev 1763 drivers/media/pci/ivtv/ivtv-ioctl.c memset(ev, 0, sizeof(*ev)); ev 1768 drivers/media/pci/ivtv/ivtv-ioctl.c ev->type = VIDEO_EVENT_DECODER_STOPPED; ev 1772 drivers/media/pci/ivtv/ivtv-ioctl.c ev->type = VIDEO_EVENT_VSYNC; ev 1785 drivers/media/pci/ivtv/ivtv-ioctl.c ev->u.vsync_field = vsync_field; ev 1787 drivers/media/pci/ivtv/ivtv-ioctl.c if (ev->type) ev 917 drivers/media/pci/ivtv/ivtv-streams.c static const struct v4l2_event ev = { ev 974 drivers/media/pci/ivtv/ivtv-streams.c v4l2_event_queue(&s->vdev, &ev); ev 529 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c struct v4l2_event ev = { ev 539 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c v4l2_event_queue(solo_enc->vfd, &ev); ev 1105 drivers/media/pci/ttpci/av7110_av.c struct video_event ev; ev 1108 drivers/media/pci/ttpci/av7110_av.c ret = dvb_video_get_event(av7110, &ev, flags); ev 1111 drivers/media/pci/ttpci/av7110_av.c .type = ev.type, ev 1112 drivers/media/pci/ttpci/av7110_av.c .timestamp = ev.timestamp, ev 1113 drivers/media/pci/ttpci/av7110_av.c .u.size = ev.u.size, ev 1443 drivers/media/pci/tw5864/tw5864-video.c struct v4l2_event ev = { ev 1451 drivers/media/pci/tw5864/tw5864-video.c v4l2_event_queue(&input->vdev, &ev); ev 1333 drivers/media/platform/aspeed-video.c static const struct v4l2_event ev = { ev 1338 drivers/media/platform/aspeed-video.c v4l2_event_queue(&video->vdev, &ev); ev 1138 drivers/media/platform/qcom/venus/vdec.c const struct v4l2_event ev = { .type = V4L2_EVENT_EOS }; ev 1140 drivers/media/platform/qcom/venus/vdec.c v4l2_event_queue_fh(&inst->fh, &ev); ev 1169 drivers/media/platform/qcom/venus/vdec.c static const struct v4l2_event ev = { ev 1209 drivers/media/platform/qcom/venus/vdec.c v4l2_event_queue_fh(&inst->fh, &ev); ev 616 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c const struct v4l2_event ev = { ev 637 drivers/media/platform/s5p-mfc/s5p_mfc_dec.c v4l2_event_queue_fh(&ctx->fh, &ev); ev 1611 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c const struct v4l2_event ev = { ev 1627 drivers/media/platform/s5p-mfc/s5p_mfc_enc.c v4l2_event_queue_fh(&ctx->fh, &ev); ev 767 drivers/media/platform/sti/delta/delta-v4l2.c const struct v4l2_event ev = {.type = V4L2_EVENT_EOS}; ev 785 drivers/media/platform/sti/delta/delta-v4l2.c v4l2_event_queue_fh(&ctx->fh, &ev); ev 786 drivers/media/platform/vivid/vivid-vid-common.c struct v4l2_event ev = { ev 793 drivers/media/platform/vivid/vivid-vid-common.c ev.id = i; ev 796 drivers/media/platform/vivid/vivid-vid-common.c v4l2_event_queue(&dev->vid_cap_dev, &ev); ev 798 drivers/media/platform/vivid/vivid-vid-common.c v4l2_event_queue(&dev->vbi_cap_dev, &ev); ev 339 drivers/media/rc/ene_ir.c struct ir_raw_event ev = { ev 344 drivers/media/rc/ene_ir.c ir_raw_event_store(dev->rdev, &ev); ev 726 drivers/media/rc/ene_ir.c struct ir_raw_event ev = {}; ev 801 drivers/media/rc/ene_ir.c ev.duration = US_TO_NS(hw_sample); ev 802 drivers/media/rc/ene_ir.c ev.pulse = pulse; ev 803 drivers/media/rc/ene_ir.c ir_raw_event_store_with_filter(dev->rdev, &ev); ev 175 drivers/media/rc/ir-hix5hd2.c struct ir_raw_event ev = {}; ev 184 drivers/media/rc/ir-hix5hd2.c ev.duration = US_TO_NS(data_l); ev 185 drivers/media/rc/ir-hix5hd2.c ev.pulse = true; ev 186 drivers/media/rc/ir-hix5hd2.c ir_raw_event_store(priv->rdev, &ev); ev 189 drivers/media/rc/ir-hix5hd2.c ev.duration = US_TO_NS(data_h); ev 190 drivers/media/rc/ir-hix5hd2.c ev.pulse = false; ev 191 drivers/media/rc/ir-hix5hd2.c ir_raw_event_store(priv->rdev, &ev); ev 93 drivers/media/rc/ir-imon-decoder.c static int ir_imon_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 97 drivers/media/rc/ir-imon-decoder.c if (!is_timing_event(ev)) { ev 98 drivers/media/rc/ir-imon-decoder.c if (ev.reset) ev 105 drivers/media/rc/ir-imon-decoder.c data->state, data->count, TO_US(ev.duration), ev 106 drivers/media/rc/ir-imon-decoder.c TO_STR(ev.pulse)); ev 119 drivers/media/rc/ir-imon-decoder.c if (!ev.pulse && ev.duration > MS_TO_NS(10)) ev 125 drivers/media/rc/ir-imon-decoder.c if (!geq_margin(ev.duration, IMON_UNIT, IMON_UNIT / 2)) ev 128 drivers/media/rc/ir-imon-decoder.c decrease_duration(&ev, IMON_UNIT); ev 132 drivers/media/rc/ir-imon-decoder.c if (ev.pulse) { ev 140 drivers/media/rc/ir-imon-decoder.c data->last_chk = ev.pulse; ev 141 drivers/media/rc/ir-imon-decoder.c else if (ev.pulse) ev 147 drivers/media/rc/ir-imon-decoder.c if (!ev.pulse) ev 161 drivers/media/rc/ir-imon-decoder.c if (ev.pulse) ev 172 drivers/media/rc/ir-imon-decoder.c data->state, data->count, TO_US(ev.duration), ev 173 drivers/media/rc/ir-imon-decoder.c TO_STR(ev.pulse)); ev 38 drivers/media/rc/ir-jvc-decoder.c static int ir_jvc_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 42 drivers/media/rc/ir-jvc-decoder.c if (!is_timing_event(ev)) { ev 43 drivers/media/rc/ir-jvc-decoder.c if (ev.reset) ev 48 drivers/media/rc/ir-jvc-decoder.c if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) ev 52 drivers/media/rc/ir-jvc-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 58 drivers/media/rc/ir-jvc-decoder.c if (!ev.pulse) ev 61 drivers/media/rc/ir-jvc-decoder.c if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) ev 71 drivers/media/rc/ir-jvc-decoder.c if (ev.pulse) ev 74 drivers/media/rc/ir-jvc-decoder.c if (!eq_margin(ev.duration, JVC_HEADER_SPACE, JVC_UNIT / 2)) ev 81 drivers/media/rc/ir-jvc-decoder.c if (!ev.pulse) ev 84 drivers/media/rc/ir-jvc-decoder.c if (!eq_margin(ev.duration, JVC_BIT_PULSE, JVC_UNIT / 2)) ev 91 drivers/media/rc/ir-jvc-decoder.c if (ev.pulse) ev 95 drivers/media/rc/ir-jvc-decoder.c if (eq_margin(ev.duration, JVC_BIT_1_SPACE, JVC_UNIT / 2)) { ev 97 drivers/media/rc/ir-jvc-decoder.c decrease_duration(&ev, JVC_BIT_1_SPACE); ev 98 drivers/media/rc/ir-jvc-decoder.c } else if (eq_margin(ev.duration, JVC_BIT_0_SPACE, JVC_UNIT / 2)) ev 99 drivers/media/rc/ir-jvc-decoder.c decrease_duration(&ev, JVC_BIT_0_SPACE); ev 111 drivers/media/rc/ir-jvc-decoder.c if (!ev.pulse) ev 114 drivers/media/rc/ir-jvc-decoder.c if (!eq_margin(ev.duration, JVC_TRAILER_PULSE, JVC_UNIT / 2)) ev 121 drivers/media/rc/ir-jvc-decoder.c if (ev.pulse) ev 124 drivers/media/rc/ir-jvc-decoder.c if (!geq_margin(ev.duration, JVC_TRAILER_SPACE, JVC_UNIT / 2)) ev 148 drivers/media/rc/ir-jvc-decoder.c if (!ev.pulse) ev 151 drivers/media/rc/ir-jvc-decoder.c if (eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) ev 160 drivers/media/rc/ir-jvc-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 216 drivers/media/rc/ir-mce_kbd-decoder.c static int ir_mce_kbd_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 223 drivers/media/rc/ir-mce_kbd-decoder.c if (!is_timing_event(ev)) { ev 224 drivers/media/rc/ir-mce_kbd-decoder.c if (ev.reset) ev 229 drivers/media/rc/ir-mce_kbd-decoder.c if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) ev 234 drivers/media/rc/ir-mce_kbd-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 236 drivers/media/rc/ir-mce_kbd-decoder.c if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) ev 242 drivers/media/rc/ir-mce_kbd-decoder.c if (!ev.pulse) ev 248 drivers/media/rc/ir-mce_kbd-decoder.c if (!eq_margin(ev.duration, MCIR2_PREFIX_PULSE, MCIR2_UNIT)) ev 257 drivers/media/rc/ir-mce_kbd-decoder.c if (geq_margin(ev.duration, MCIR2_MAX_LEN, MCIR2_UNIT / 2)) ev 261 drivers/media/rc/ir-mce_kbd-decoder.c if (ev.pulse) ev 268 drivers/media/rc/ir-mce_kbd-decoder.c decrease_duration(&ev, MCIR2_BIT_END); ev 293 drivers/media/rc/ir-mce_kbd-decoder.c if (geq_margin(ev.duration, MCIR2_MAX_LEN, MCIR2_UNIT / 2)) ev 297 drivers/media/rc/ir-mce_kbd-decoder.c if (ev.pulse) ev 309 drivers/media/rc/ir-mce_kbd-decoder.c decrease_duration(&ev, MCIR2_BIT_END); ev 313 drivers/media/rc/ir-mce_kbd-decoder.c if (ev.pulse) ev 356 drivers/media/rc/ir-mce_kbd-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 39 drivers/media/rc/ir-nec-decoder.c static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 46 drivers/media/rc/ir-nec-decoder.c if (!is_timing_event(ev)) { ev 47 drivers/media/rc/ir-nec-decoder.c if (ev.reset) ev 53 drivers/media/rc/ir-nec-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 58 drivers/media/rc/ir-nec-decoder.c if (!ev.pulse) ev 61 drivers/media/rc/ir-nec-decoder.c if (eq_margin(ev.duration, NEC_HEADER_PULSE, NEC_UNIT * 2)) { ev 64 drivers/media/rc/ir-nec-decoder.c } else if (eq_margin(ev.duration, NECX_HEADER_PULSE, NEC_UNIT / 2)) ev 74 drivers/media/rc/ir-nec-decoder.c if (ev.pulse) ev 77 drivers/media/rc/ir-nec-decoder.c if (eq_margin(ev.duration, NEC_HEADER_SPACE, NEC_UNIT)) { ev 80 drivers/media/rc/ir-nec-decoder.c } else if (eq_margin(ev.duration, NEC_REPEAT_SPACE, NEC_UNIT / 2)) { ev 88 drivers/media/rc/ir-nec-decoder.c if (!ev.pulse) ev 91 drivers/media/rc/ir-nec-decoder.c if (!eq_margin(ev.duration, NEC_BIT_PULSE, NEC_UNIT / 2)) ev 98 drivers/media/rc/ir-nec-decoder.c if (ev.pulse) ev 102 drivers/media/rc/ir-nec-decoder.c geq_margin(ev.duration, NEC_TRAILER_SPACE, NEC_UNIT / 2)) { ev 111 drivers/media/rc/ir-nec-decoder.c if (eq_margin(ev.duration, NEC_BIT_1_SPACE, NEC_UNIT / 2)) ev 113 drivers/media/rc/ir-nec-decoder.c else if (!eq_margin(ev.duration, NEC_BIT_0_SPACE, NEC_UNIT / 2)) ev 125 drivers/media/rc/ir-nec-decoder.c if (!ev.pulse) ev 128 drivers/media/rc/ir-nec-decoder.c if (!eq_margin(ev.duration, NEC_TRAILER_PULSE, NEC_UNIT / 2)) ev 135 drivers/media/rc/ir-nec-decoder.c if (ev.pulse) ev 138 drivers/media/rc/ir-nec-decoder.c if (!geq_margin(ev.duration, NEC_TRAILER_SPACE, NEC_UNIT / 2)) ev 166 drivers/media/rc/ir-nec-decoder.c data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 40 drivers/media/rc/ir-rc5-decoder.c static int ir_rc5_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 47 drivers/media/rc/ir-rc5-decoder.c if (!is_timing_event(ev)) { ev 48 drivers/media/rc/ir-rc5-decoder.c if (ev.reset) ev 53 drivers/media/rc/ir-rc5-decoder.c if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) ev 58 drivers/media/rc/ir-rc5-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 60 drivers/media/rc/ir-rc5-decoder.c if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) ev 66 drivers/media/rc/ir-rc5-decoder.c if (!ev.pulse) ev 71 drivers/media/rc/ir-rc5-decoder.c decrease_duration(&ev, RC5_BIT_START); ev 75 drivers/media/rc/ir-rc5-decoder.c if (!ev.pulse && geq_margin(ev.duration, RC5_TRAILER, RC5_UNIT / 2)) { ev 80 drivers/media/rc/ir-rc5-decoder.c if (!eq_margin(ev.duration, RC5_BIT_START, RC5_UNIT / 2)) ev 84 drivers/media/rc/ir-rc5-decoder.c if (!ev.pulse) ev 96 drivers/media/rc/ir-rc5-decoder.c decrease_duration(&ev, RC5_BIT_END); ev 100 drivers/media/rc/ir-rc5-decoder.c if (!ev.pulse && geq_margin(ev.duration, RC5X_SPACE, RC5_UNIT / 2)) { ev 102 drivers/media/rc/ir-rc5-decoder.c decrease_duration(&ev, RC5X_SPACE); ev 109 drivers/media/rc/ir-rc5-decoder.c if (ev.pulse) ev 167 drivers/media/rc/ir-rc5-decoder.c data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse)); ev 80 drivers/media/rc/ir-rc6-decoder.c static int ir_rc6_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 87 drivers/media/rc/ir-rc6-decoder.c if (!is_timing_event(ev)) { ev 88 drivers/media/rc/ir-rc6-decoder.c if (ev.reset) ev 93 drivers/media/rc/ir-rc6-decoder.c if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2)) ev 98 drivers/media/rc/ir-rc6-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 100 drivers/media/rc/ir-rc6-decoder.c if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2)) ev 106 drivers/media/rc/ir-rc6-decoder.c if (!ev.pulse) ev 112 drivers/media/rc/ir-rc6-decoder.c if (!eq_margin(ev.duration, RC6_PREFIX_PULSE, RC6_UNIT)) ev 120 drivers/media/rc/ir-rc6-decoder.c if (ev.pulse) ev 123 drivers/media/rc/ir-rc6-decoder.c if (!eq_margin(ev.duration, RC6_PREFIX_SPACE, RC6_UNIT / 2)) ev 131 drivers/media/rc/ir-rc6-decoder.c if (!eq_margin(ev.duration, RC6_BIT_START, RC6_UNIT / 2)) ev 135 drivers/media/rc/ir-rc6-decoder.c if (ev.pulse) ev 147 drivers/media/rc/ir-rc6-decoder.c decrease_duration(&ev, RC6_BIT_END); ev 151 drivers/media/rc/ir-rc6-decoder.c if (!eq_margin(ev.duration, RC6_TOGGLE_START, RC6_UNIT / 2)) ev 154 drivers/media/rc/ir-rc6-decoder.c data->toggle = ev.pulse; ev 165 drivers/media/rc/ir-rc6-decoder.c decrease_duration(&ev, RC6_TOGGLE_END); ev 183 drivers/media/rc/ir-rc6-decoder.c if (eq_margin(ev.duration, RC6_BIT_START, RC6_UNIT / 2)) { ev 187 drivers/media/rc/ir-rc6-decoder.c if (ev.pulse) ev 192 drivers/media/rc/ir-rc6-decoder.c } else if (RC6_MODE_6A == rc6_mode(data) && !ev.pulse && ev 193 drivers/media/rc/ir-rc6-decoder.c geq_margin(ev.duration, RC6_SUFFIX_SPACE, RC6_UNIT / 2)) { ev 205 drivers/media/rc/ir-rc6-decoder.c decrease_duration(&ev, RC6_BIT_END); ev 209 drivers/media/rc/ir-rc6-decoder.c if (ev.pulse) ev 273 drivers/media/rc/ir-rc6-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 59 drivers/media/rc/ir-rcmm-decoder.c static int ir_rcmm_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 71 drivers/media/rc/ir-rcmm-decoder.c if (!is_timing_event(ev)) { ev 72 drivers/media/rc/ir-rcmm-decoder.c if (ev.reset) ev 79 drivers/media/rc/ir-rcmm-decoder.c if (!ev.pulse) ev 82 drivers/media/rc/ir-rcmm-decoder.c if (!eq_margin(ev.duration, RCMM_PREFIX_PULSE, RCMM_UNIT / 2)) ev 91 drivers/media/rc/ir-rcmm-decoder.c if (ev.pulse) ev 94 drivers/media/rc/ir-rcmm-decoder.c if (!eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT / 2)) ev 101 drivers/media/rc/ir-rcmm-decoder.c if (!ev.pulse) ev 104 drivers/media/rc/ir-rcmm-decoder.c if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2)) ev 111 drivers/media/rc/ir-rcmm-decoder.c if (ev.pulse) ev 114 drivers/media/rc/ir-rcmm-decoder.c if (eq_margin(ev.duration, RCMM_PULSE_0, RCMM_UNIT / 2)) ev 116 drivers/media/rc/ir-rcmm-decoder.c else if (eq_margin(ev.duration, RCMM_PULSE_1, RCMM_UNIT / 2)) ev 118 drivers/media/rc/ir-rcmm-decoder.c else if (eq_margin(ev.duration, RCMM_PULSE_2, RCMM_UNIT / 2)) ev 120 drivers/media/rc/ir-rcmm-decoder.c else if (eq_margin(ev.duration, RCMM_PULSE_3, RCMM_UNIT / 2)) ev 144 drivers/media/rc/ir-rcmm-decoder.c if (!ev.pulse) ev 147 drivers/media/rc/ir-rcmm-decoder.c if (!eq_margin(ev.duration, RCMM_UNIT, RCMM_UNIT / 2)) ev 178 drivers/media/rc/ir-rcmm-decoder.c static int ir_rcmm_rawencoder(struct ir_raw_event **ev, unsigned int max, ev 184 drivers/media/rc/ir-rcmm-decoder.c ret = ir_raw_gen_pulse_space(ev, &max, RCMM_PREFIX_PULSE, RCMM_PULSE_0); ev 191 drivers/media/rc/ir-rcmm-decoder.c ret = ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, space); ev 196 drivers/media/rc/ir-rcmm-decoder.c return ir_raw_gen_pulse_space(ev, &max, RCMM_UNIT, RCMM_PULSE_3 * 2); ev 46 drivers/media/rc/ir-sanyo-decoder.c static int ir_sanyo_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 53 drivers/media/rc/ir-sanyo-decoder.c if (!is_timing_event(ev)) { ev 54 drivers/media/rc/ir-sanyo-decoder.c if (ev.reset) { ev 62 drivers/media/rc/ir-sanyo-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 67 drivers/media/rc/ir-sanyo-decoder.c if (!ev.pulse) ev 70 drivers/media/rc/ir-sanyo-decoder.c if (eq_margin(ev.duration, SANYO_HEADER_PULSE, SANYO_UNIT / 2)) { ev 79 drivers/media/rc/ir-sanyo-decoder.c if (ev.pulse) ev 82 drivers/media/rc/ir-sanyo-decoder.c if (eq_margin(ev.duration, SANYO_HEADER_SPACE, SANYO_UNIT / 2)) { ev 90 drivers/media/rc/ir-sanyo-decoder.c if (!ev.pulse) ev 93 drivers/media/rc/ir-sanyo-decoder.c if (!eq_margin(ev.duration, SANYO_BIT_PULSE, SANYO_UNIT / 2)) ev 100 drivers/media/rc/ir-sanyo-decoder.c if (ev.pulse) ev 103 drivers/media/rc/ir-sanyo-decoder.c if (!data->count && geq_margin(ev.duration, SANYO_REPEAT_SPACE, SANYO_UNIT / 2)) { ev 111 drivers/media/rc/ir-sanyo-decoder.c if (eq_margin(ev.duration, SANYO_BIT_1_SPACE, SANYO_UNIT / 2)) ev 113 drivers/media/rc/ir-sanyo-decoder.c else if (!eq_margin(ev.duration, SANYO_BIT_0_SPACE, SANYO_UNIT / 2)) ev 125 drivers/media/rc/ir-sanyo-decoder.c if (!ev.pulse) ev 128 drivers/media/rc/ir-sanyo-decoder.c if (!eq_margin(ev.duration, SANYO_TRAILER_PULSE, SANYO_UNIT / 2)) ev 135 drivers/media/rc/ir-sanyo-decoder.c if (ev.pulse) ev 138 drivers/media/rc/ir-sanyo-decoder.c if (!geq_margin(ev.duration, SANYO_TRAILER_SPACE, SANYO_UNIT / 2)) ev 161 drivers/media/rc/ir-sanyo-decoder.c data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 38 drivers/media/rc/ir-sharp-decoder.c static int ir_sharp_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 43 drivers/media/rc/ir-sharp-decoder.c if (!is_timing_event(ev)) { ev 44 drivers/media/rc/ir-sharp-decoder.c if (ev.reset) ev 50 drivers/media/rc/ir-sharp-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 55 drivers/media/rc/ir-sharp-decoder.c if (!ev.pulse) ev 58 drivers/media/rc/ir-sharp-decoder.c if (!eq_margin(ev.duration, SHARP_BIT_PULSE, ev 63 drivers/media/rc/ir-sharp-decoder.c data->pulse_len = ev.duration; ev 68 drivers/media/rc/ir-sharp-decoder.c if (!ev.pulse) ev 71 drivers/media/rc/ir-sharp-decoder.c if (!eq_margin(ev.duration, SHARP_BIT_PULSE, ev 75 drivers/media/rc/ir-sharp-decoder.c data->pulse_len = ev.duration; ev 80 drivers/media/rc/ir-sharp-decoder.c if (ev.pulse) ev 84 drivers/media/rc/ir-sharp-decoder.c if (eq_margin(data->pulse_len + ev.duration, SHARP_BIT_1_PERIOD, ev 87 drivers/media/rc/ir-sharp-decoder.c else if (!eq_margin(data->pulse_len + ev.duration, ev 101 drivers/media/rc/ir-sharp-decoder.c if (!ev.pulse) ev 104 drivers/media/rc/ir-sharp-decoder.c if (!eq_margin(ev.duration, SHARP_BIT_PULSE, ev 121 drivers/media/rc/ir-sharp-decoder.c if (ev.pulse) ev 124 drivers/media/rc/ir-sharp-decoder.c if (!eq_margin(ev.duration, SHARP_ECHO_SPACE, ev 133 drivers/media/rc/ir-sharp-decoder.c if (ev.pulse) ev 136 drivers/media/rc/ir-sharp-decoder.c if (!geq_margin(ev.duration, SHARP_TRAILER_SPACE, ev 162 drivers/media/rc/ir-sharp-decoder.c data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 34 drivers/media/rc/ir-sony-decoder.c static int ir_sony_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 41 drivers/media/rc/ir-sony-decoder.c if (!is_timing_event(ev)) { ev 42 drivers/media/rc/ir-sony-decoder.c if (ev.reset) ev 47 drivers/media/rc/ir-sony-decoder.c if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2)) ev 51 drivers/media/rc/ir-sony-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 56 drivers/media/rc/ir-sony-decoder.c if (!ev.pulse) ev 59 drivers/media/rc/ir-sony-decoder.c if (!eq_margin(ev.duration, SONY_HEADER_PULSE, SONY_UNIT / 2)) ev 67 drivers/media/rc/ir-sony-decoder.c if (ev.pulse) ev 70 drivers/media/rc/ir-sony-decoder.c if (!eq_margin(ev.duration, SONY_HEADER_SPACE, SONY_UNIT / 2)) ev 77 drivers/media/rc/ir-sony-decoder.c if (!ev.pulse) ev 81 drivers/media/rc/ir-sony-decoder.c if (eq_margin(ev.duration, SONY_BIT_1_PULSE, SONY_UNIT / 2)) ev 83 drivers/media/rc/ir-sony-decoder.c else if (!eq_margin(ev.duration, SONY_BIT_0_PULSE, SONY_UNIT / 2)) ev 91 drivers/media/rc/ir-sony-decoder.c if (ev.pulse) ev 94 drivers/media/rc/ir-sony-decoder.c if (!geq_margin(ev.duration, SONY_BIT_SPACE, SONY_UNIT / 2)) ev 97 drivers/media/rc/ir-sony-decoder.c decrease_duration(&ev, SONY_BIT_SPACE); ev 99 drivers/media/rc/ir-sony-decoder.c if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2)) { ev 108 drivers/media/rc/ir-sony-decoder.c if (ev.pulse) ev 111 drivers/media/rc/ir-sony-decoder.c if (!geq_margin(ev.duration, SONY_TRAILER_SPACE, SONY_UNIT / 2)) ev 157 drivers/media/rc/ir-sony-decoder.c data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 34 drivers/media/rc/ir-xmp-decoder.c static int ir_xmp_decode(struct rc_dev *dev, struct ir_raw_event ev) ev 38 drivers/media/rc/ir-xmp-decoder.c if (!is_timing_event(ev)) { ev 39 drivers/media/rc/ir-xmp-decoder.c if (ev.reset) ev 45 drivers/media/rc/ir-xmp-decoder.c data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse)); ev 50 drivers/media/rc/ir-xmp-decoder.c if (!ev.pulse) ev 53 drivers/media/rc/ir-xmp-decoder.c if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) { ev 61 drivers/media/rc/ir-xmp-decoder.c if (!ev.pulse) ev 64 drivers/media/rc/ir-xmp-decoder.c if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) ev 70 drivers/media/rc/ir-xmp-decoder.c if (ev.pulse) ev 73 drivers/media/rc/ir-xmp-decoder.c if (geq_margin(ev.duration, XMP_TRAILER_SPACE, XMP_NIBBLE_PREFIX)) { ev 81 drivers/media/rc/ir-xmp-decoder.c data->count, ev.duration); ev 146 drivers/media/rc/ir-xmp-decoder.c } else if (geq_margin(ev.duration, XMP_HALFFRAME_SPACE, XMP_NIBBLE_PREFIX)) { ev 150 drivers/media/rc/ir-xmp-decoder.c data->count, ev.duration); ev 161 drivers/media/rc/ir-xmp-decoder.c data->count, ev.duration); ev 166 drivers/media/rc/ir-xmp-decoder.c } else if (geq_margin(ev.duration, XMP_NIBBLE_PREFIX, XMP_UNIT)) { ev 170 drivers/media/rc/ir-xmp-decoder.c data->count, ev.duration); ev 174 drivers/media/rc/ir-xmp-decoder.c data->durations[data->count] = ev.duration; ev 186 drivers/media/rc/ir-xmp-decoder.c data->count, data->state, TO_US(ev.duration), TO_STR(ev.pulse)); ev 167 drivers/media/rc/ite-cir.c struct ir_raw_event ev = {}; ev 177 drivers/media/rc/ite-cir.c ev.pulse = true; ev 178 drivers/media/rc/ite-cir.c ev.duration = ev 180 drivers/media/rc/ite-cir.c ir_raw_event_store_with_filter(dev->rdev, &ev); ev 185 drivers/media/rc/ite-cir.c ev.pulse = false; ev 186 drivers/media/rc/ite-cir.c ev.duration = ITE_BITS_TO_NS(next_zero - next_one, sample_period); ev 187 drivers/media/rc/ite-cir.c ir_raw_event_store_with_filter(dev->rdev, &ev); ev 194 drivers/media/rc/ite-cir.c ev.pulse = true; ev 195 drivers/media/rc/ite-cir.c ev.duration = ev 199 drivers/media/rc/ite-cir.c (dev->rdev, &ev); ev 38 drivers/media/rc/lirc_dev.c void ir_lirc_raw_event(struct rc_dev *dev, struct ir_raw_event ev) ev 45 drivers/media/rc/lirc_dev.c if (ev.reset) { ev 57 drivers/media/rc/lirc_dev.c } else if (ev.carrier_report) { ev 58 drivers/media/rc/lirc_dev.c sample = LIRC_FREQUENCY(ev.carrier); ev 62 drivers/media/rc/lirc_dev.c } else if (ev.timeout) { ev 68 drivers/media/rc/lirc_dev.c dev->gap_duration = ev.duration; ev 70 drivers/media/rc/lirc_dev.c sample = LIRC_TIMEOUT(ev.duration / 1000); ev 92 drivers/media/rc/lirc_dev.c sample = ev.pulse ? LIRC_PULSE(ev.duration / 1000) : ev 93 drivers/media/rc/lirc_dev.c LIRC_SPACE(ev.duration / 1000); ev 95 drivers/media/rc/lirc_dev.c TO_US(ev.duration), TO_STR(ev.pulse)); ev 1329 drivers/media/rc/mceusb.c struct ir_raw_event ev = { ev 1335 drivers/media/rc/mceusb.c &ev)) ev 160 drivers/media/rc/rc-core-priv.h static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) ev 162 drivers/media/rc/rc-core-priv.h if (duration > ev->duration) ev 163 drivers/media/rc/rc-core-priv.h ev->duration = 0; ev 165 drivers/media/rc/rc-core-priv.h ev->duration -= duration; ev 169 drivers/media/rc/rc-core-priv.h static inline bool is_timing_event(struct ir_raw_event ev) ev 171 drivers/media/rc/rc-core-priv.h return !ev.carrier_report && !ev.reset; ev 180 drivers/media/rc/rc-core-priv.h static inline void init_ir_raw_event_duration(struct ir_raw_event *ev, ev 184 drivers/media/rc/rc-core-priv.h *ev = (struct ir_raw_event) { ev 208 drivers/media/rc/rc-core-priv.h int ir_raw_gen_manchester(struct ir_raw_event **ev, unsigned int max, ev 225 drivers/media/rc/rc-core-priv.h static inline int ir_raw_gen_pulse_space(struct ir_raw_event **ev, ev 232 drivers/media/rc/rc-core-priv.h init_ir_raw_event_duration((*ev)++, 1, pulse_width); ev 235 drivers/media/rc/rc-core-priv.h init_ir_raw_event_duration((*ev)++, 0, space_width); ev 260 drivers/media/rc/rc-core-priv.h int ir_raw_gen_pd(struct ir_raw_event **ev, unsigned int max, ev 280 drivers/media/rc/rc-core-priv.h int ir_raw_gen_pl(struct ir_raw_event **ev, unsigned int max, ev 303 drivers/media/rc/rc-core-priv.h void ir_lirc_raw_event(struct rc_dev *dev, struct ir_raw_event ev); ev 312 drivers/media/rc/rc-core-priv.h struct ir_raw_event ev) { } ev 23 drivers/media/rc/rc-ir-raw.c struct ir_raw_event ev; ev 30 drivers/media/rc/rc-ir-raw.c while (kfifo_out(&raw->kfifo, &ev, 1)) { ev 31 drivers/media/rc/rc-ir-raw.c if (is_timing_event(ev)) { ev 32 drivers/media/rc/rc-ir-raw.c if (ev.duration == 0) ev 35 drivers/media/rc/rc-ir-raw.c !is_transition(&ev, &raw->prev_ev)) ev 37 drivers/media/rc/rc-ir-raw.c TO_STR(ev.pulse)); ev 38 drivers/media/rc/rc-ir-raw.c if (raw->prev_ev.reset && ev.pulse == 0) ev 44 drivers/media/rc/rc-ir-raw.c handler->decode(dev, ev); ev 45 drivers/media/rc/rc-ir-raw.c ir_lirc_raw_event(dev, ev); ev 46 drivers/media/rc/rc-ir-raw.c raw->prev_ev = ev; ev 74 drivers/media/rc/rc-ir-raw.c int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev) ev 80 drivers/media/rc/rc-ir-raw.c TO_US(ev->duration), TO_STR(ev->pulse)); ev 82 drivers/media/rc/rc-ir-raw.c if (!kfifo_put(&dev->raw->kfifo, *ev)) { ev 105 drivers/media/rc/rc-ir-raw.c struct ir_raw_event ev = {}; ev 111 drivers/media/rc/rc-ir-raw.c ev.duration = ktime_to_ns(ktime_sub(now, dev->raw->last_event)); ev 112 drivers/media/rc/rc-ir-raw.c ev.pulse = !pulse; ev 114 drivers/media/rc/rc-ir-raw.c return ir_raw_event_store_with_timeout(dev, &ev); ev 129 drivers/media/rc/rc-ir-raw.c int ir_raw_event_store_with_timeout(struct rc_dev *dev, struct ir_raw_event *ev) ev 140 drivers/media/rc/rc-ir-raw.c rc = ir_raw_event_store(dev, ev); ev 169 drivers/media/rc/rc-ir-raw.c int ir_raw_event_store_with_filter(struct rc_dev *dev, struct ir_raw_event *ev) ev 175 drivers/media/rc/rc-ir-raw.c if (dev->idle && !ev->pulse) ev 181 drivers/media/rc/rc-ir-raw.c dev->raw->this_ev = *ev; ev 182 drivers/media/rc/rc-ir-raw.c else if (ev->pulse == dev->raw->this_ev.pulse) ev 183 drivers/media/rc/rc-ir-raw.c dev->raw->this_ev.duration += ev->duration; ev 186 drivers/media/rc/rc-ir-raw.c dev->raw->this_ev = *ev; ev 190 drivers/media/rc/rc-ir-raw.c if (!ev->pulse && dev->timeout && ev 318 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_manchester(struct ir_raw_event **ev, unsigned int max, ev 331 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev), 1, timings->leader_pulse); ev 335 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration(++(*ev), 0, ev 340 drivers/media/rc/rc-ir-raw.c --(*ev); ev 348 drivers/media/rc/rc-ir-raw.c if (need_pulse == !!(*ev)->pulse) { ev 349 drivers/media/rc/rc-ir-raw.c (*ev)->duration += timings->clock; ev 353 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration(++(*ev), need_pulse, ev 359 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration(++(*ev), !need_pulse, ev 365 drivers/media/rc/rc-ir-raw.c if (!(*ev)->pulse) ev 366 drivers/media/rc/rc-ir-raw.c (*ev)->duration += timings->trailer_space; ev 370 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration(++(*ev), 0, ev 377 drivers/media/rc/rc-ir-raw.c ++(*ev); ev 400 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_pd(struct ir_raw_event **ev, unsigned int max, ev 409 drivers/media/rc/rc-ir-raw.c ret = ir_raw_gen_pulse_space(ev, &max, timings->header_pulse, ev 418 drivers/media/rc/rc-ir-raw.c ret = ir_raw_gen_pulse_space(ev, &max, ev 427 drivers/media/rc/rc-ir-raw.c ret = ir_raw_gen_pulse_space(ev, &max, ev 435 drivers/media/rc/rc-ir-raw.c ret = ir_raw_gen_pulse_space(ev, &max, timings->trailer_pulse, ev 459 drivers/media/rc/rc-ir-raw.c int ir_raw_gen_pl(struct ir_raw_event **ev, unsigned int max, ev 470 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 1, timings->header_pulse); ev 476 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 0, ev 481 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 1, pulse); ev 487 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 0, ev 492 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 1, pulse); ev 499 drivers/media/rc/rc-ir-raw.c init_ir_raw_event_duration((*ev)++, 0, timings->trailer_space); ev 565 drivers/media/rc/rc-ir-raw.c struct ir_raw_event ev = { ev 570 drivers/media/rc/rc-ir-raw.c ir_raw_event_store(dev, &ev); ev 351 drivers/media/rc/redrat3.c struct ir_raw_event ev = { ev 356 drivers/media/rc/redrat3.c ir_raw_event_store(rr3->rc, &ev); ev 268 drivers/media/rc/serial_ir.c struct ir_raw_event ev = {}; ev 273 drivers/media/rc/serial_ir.c ev.duration = space; ev 274 drivers/media/rc/serial_ir.c ev.pulse = false; ev 275 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 276 drivers/media/rc/serial_ir.c ev.duration = pulse; ev 277 drivers/media/rc/serial_ir.c ev.pulse = true; ev 278 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 303 drivers/media/rc/serial_ir.c ev.duration = space; ev 304 drivers/media/rc/serial_ir.c ev.pulse = false; ev 305 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 306 drivers/media/rc/serial_ir.c ev.duration = pulse; ev 307 drivers/media/rc/serial_ir.c ev.pulse = true; ev 308 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 314 drivers/media/rc/serial_ir.c ev.duration = l; ev 315 drivers/media/rc/serial_ir.c ev.pulse = is_pulse; ev 316 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 467 drivers/media/rc/serial_ir.c struct ir_raw_event ev = { ev 471 drivers/media/rc/serial_ir.c ir_raw_event_store_with_filter(serial_ir.rcdev, &ev); ev 95 drivers/media/rc/sir_ir.c struct ir_raw_event ev = {}; ev 109 drivers/media/rc/sir_ir.c ev.pulse = true; ev 113 drivers/media/rc/sir_ir.c ev.duration = US_TO_NS(val); ev 115 drivers/media/rc/sir_ir.c ir_raw_event_store_with_filter(rcdev, &ev); ev 66 drivers/media/rc/st_rc.c struct ir_raw_event ev = { .timeout = true, .duration = rdev->timeout }; ev 67 drivers/media/rc/st_rc.c ir_raw_event_store(rdev, &ev); ev 99 drivers/media/rc/st_rc.c struct ir_raw_event ev = {}; ev 137 drivers/media/rc/st_rc.c ev.duration = US_TO_NS(mark); ev 138 drivers/media/rc/st_rc.c ev.pulse = true; ev 139 drivers/media/rc/st_rc.c ir_raw_event_store(dev->rdev, &ev); ev 142 drivers/media/rc/st_rc.c ev.duration = US_TO_NS(symbol); ev 143 drivers/media/rc/st_rc.c ev.pulse = false; ev 144 drivers/media/rc/st_rc.c ir_raw_event_store(dev->rdev, &ev); ev 316 drivers/media/rc/winbond-cir.c struct ir_raw_event ev = { ev 322 drivers/media/rc/winbond-cir.c ir_raw_event_store(data->dev, &ev); ev 1711 drivers/media/usb/dvb-usb-v2/rtl28xxu.c struct ir_raw_event ev = {}; ev 1778 drivers/media/usb/dvb-usb-v2/rtl28xxu.c ev.pulse = buf[i] >> 7; ev 1779 drivers/media/usb/dvb-usb-v2/rtl28xxu.c ev.duration = 50800 * (buf[i] & 0x7f); ev 1780 drivers/media/usb/dvb-usb-v2/rtl28xxu.c ir_raw_event_store_with_filter(d->rc_dev, &ev); ev 611 drivers/media/usb/dvb-usb/technisat-usb2.c struct ir_raw_event ev; ev 655 drivers/media/usb/dvb-usb/technisat-usb2.c ev.pulse = 0; ev 658 drivers/media/usb/dvb-usb/technisat-usb2.c ev.pulse = 0; ev 659 drivers/media/usb/dvb-usb/technisat-usb2.c ev.duration = 888888*2; ev 660 drivers/media/usb/dvb-usb/technisat-usb2.c ir_raw_event_store(d->rc_dev, &ev); ev 664 drivers/media/usb/dvb-usb/technisat-usb2.c ev.pulse = !ev.pulse; ev 665 drivers/media/usb/dvb-usb/technisat-usb2.c ev.duration = (buf[i] * FIRMWARE_CLOCK_DIVISOR * ev 667 drivers/media/usb/dvb-usb/technisat-usb2.c ir_raw_event_store(d->rc_dev, &ev); ev 392 drivers/media/usb/go7007/go7007-driver.c struct v4l2_event ev = { ev 401 drivers/media/usb/go7007/go7007-driver.c v4l2_event_queue(&go->vdev, &ev); ev 1201 drivers/media/usb/uvc/uvc_ctrl.c struct v4l2_event *ev, ev 1210 drivers/media/usb/uvc/uvc_ctrl.c memset(ev, 0, sizeof(*ev)); ev 1211 drivers/media/usb/uvc/uvc_ctrl.c ev->type = V4L2_EVENT_CTRL; ev 1212 drivers/media/usb/uvc/uvc_ctrl.c ev->id = v4l2_ctrl.id; ev 1213 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.value = value; ev 1214 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.changes = changes; ev 1215 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.type = v4l2_ctrl.type; ev 1216 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.flags = v4l2_ctrl.flags; ev 1217 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.minimum = v4l2_ctrl.minimum; ev 1218 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.maximum = v4l2_ctrl.maximum; ev 1219 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.step = v4l2_ctrl.step; ev 1220 drivers/media/usb/uvc/uvc_ctrl.c ev->u.ctrl.default_value = v4l2_ctrl.default_value; ev 1236 drivers/media/usb/uvc/uvc_ctrl.c struct v4l2_event ev; ev 1241 drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_fill_event(chain, &ev, ctrl, mapping, value, changes); ev 1247 drivers/media/usb/uvc/uvc_ctrl.c v4l2_event_queue_fh(sev->fh, &ev); ev 1421 drivers/media/usb/uvc/uvc_ctrl.c struct v4l2_event ev; ev 1428 drivers/media/usb/uvc/uvc_ctrl.c uvc_ctrl_fill_event(handle->chain, &ev, ctrl, mapping, val, ev 1433 drivers/media/usb/uvc/uvc_ctrl.c v4l2_event_queue_fh(sev->fh, &ev); ev 1463 drivers/media/v4l2-core/v4l2-ctrls.c static void fill_event(struct v4l2_event *ev, struct v4l2_ctrl *ctrl, u32 changes) ev 1465 drivers/media/v4l2-core/v4l2-ctrls.c memset(ev, 0, sizeof(*ev)); ev 1466 drivers/media/v4l2-core/v4l2-ctrls.c ev->type = V4L2_EVENT_CTRL; ev 1467 drivers/media/v4l2-core/v4l2-ctrls.c ev->id = ctrl->id; ev 1468 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.changes = changes; ev 1469 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.type = ctrl->type; ev 1470 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.flags = user_flags(ctrl); ev 1472 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.value64 = 0; ev 1474 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.value64 = *ctrl->p_cur.p_s64; ev 1475 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.minimum = ctrl->minimum; ev 1476 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.maximum = ctrl->maximum; ev 1479 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.step = 1; ev 1481 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.step = ctrl->step; ev 1482 drivers/media/v4l2-core/v4l2-ctrls.c ev->u.ctrl.default_value = ctrl->default_value; ev 1487 drivers/media/v4l2-core/v4l2-ctrls.c struct v4l2_event ev; ev 1492 drivers/media/v4l2-core/v4l2-ctrls.c fill_event(&ev, ctrl, changes); ev 1497 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_event_queue_fh(sev->fh, &ev); ev 4333 drivers/media/v4l2-core/v4l2-ctrls.c struct v4l2_event ev; ev 4338 drivers/media/v4l2-core/v4l2-ctrls.c fill_event(&ev, ctrl, changes); ev 4342 drivers/media/v4l2-core/v4l2-ctrls.c v4l2_event_queue_fh(sev->fh, &ev); ev 100 drivers/media/v4l2-core/v4l2-event.c const struct v4l2_event *ev, u64 ts) ev 107 drivers/media/v4l2-core/v4l2-event.c sev = v4l2_event_subscribed(fh, ev->type, ev->id); ev 124 drivers/media/v4l2-core/v4l2-event.c sev->ops->replace(&kev->event, ev); ev 136 drivers/media/v4l2-core/v4l2-event.c kev->event.type = ev->type; ev 138 drivers/media/v4l2-core/v4l2-event.c kev->event.u = ev->u; ev 139 drivers/media/v4l2-core/v4l2-event.c kev->event.id = ev->id; ev 150 drivers/media/v4l2-core/v4l2-event.c void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev) ev 164 drivers/media/v4l2-core/v4l2-event.c __v4l2_event_queue_fh(fh, ev, ts); ev 170 drivers/media/v4l2-core/v4l2-event.c void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev) ev 176 drivers/media/v4l2-core/v4l2-event.c __v4l2_event_queue_fh(fh, ev, ts); ev 797 drivers/media/v4l2-core/v4l2-subdev.c const struct v4l2_event *ev) ev 799 drivers/media/v4l2-core/v4l2-subdev.c v4l2_event_queue(sd->devnode, ev); ev 800 drivers/media/v4l2-core/v4l2-subdev.c v4l2_subdev_notify(sd, V4L2_DEVICE_NOTIFY_EVENT, (void *)ev); ev 2416 drivers/mfd/db8500-prcmu.c u32 ev; ev 2425 drivers/mfd/db8500-prcmu.c ev = readl(tcdm_base + PRCM_ACK_MB0_WAKEUP_1_8500); ev 2427 drivers/mfd/db8500-prcmu.c ev = readl(tcdm_base + PRCM_ACK_MB0_WAKEUP_0_8500); ev 2429 drivers/mfd/db8500-prcmu.c if (ev & (WAKEUP_BIT_AC_WAKE_ACK | WAKEUP_BIT_AC_SLEEP_ACK)) ev 2431 drivers/mfd/db8500-prcmu.c if (ev & WAKEUP_BIT_SYSCLK_OK) ev 2434 drivers/mfd/db8500-prcmu.c ev &= mb0_transfer.req.dbb_irqs; ev 2437 drivers/mfd/db8500-prcmu.c if (ev & prcmu_irq_bit[n]) ev 248 drivers/misc/vmw_vmci/vmci_context.c struct vmci_event_ctx ev; ev 250 drivers/misc/vmw_vmci/vmci_context.c ev.msg.hdr.dst = vmci_handle_arr_get_entry(subscriber_array, i); ev 251 drivers/misc/vmw_vmci/vmci_context.c ev.msg.hdr.src = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, ev 253 drivers/misc/vmw_vmci/vmci_context.c ev.msg.hdr.payload_size = sizeof(ev) - sizeof(ev.msg.hdr); ev 254 drivers/misc/vmw_vmci/vmci_context.c ev.msg.event_data.event = VMCI_EVENT_CTX_REMOVED; ev 255 drivers/misc/vmw_vmci/vmci_context.c ev.payload.context_id = context_id; ev 258 drivers/misc/vmw_vmci/vmci_context.c &ev.msg.hdr, false); ev 261 drivers/misc/vmw_vmci/vmci_context.c ev.msg.event_data.event, ev 262 drivers/misc/vmw_vmci/vmci_context.c ev.msg.hdr.dst.context); ev 848 drivers/misc/vmw_vmci/vmci_queue_pair.c struct vmci_event_qp ev; ev 850 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.dst = vmci_make_handle(context_id, VMCI_EVENT_HANDLER); ev 851 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.src = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, ev 853 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.payload_size = sizeof(ev) - sizeof(ev.msg.hdr); ev 854 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.event_data.event = ev 856 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.payload.peer_id = context_id; ev 857 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.payload.handle = handle; ev 859 drivers/misc/vmw_vmci/vmci_queue_pair.c return vmci_event_dispatch(&ev.msg.hdr); ev 1449 drivers/misc/vmw_vmci/vmci_queue_pair.c struct vmci_event_qp ev; ev 1463 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.dst = vmci_make_handle(peer_id, VMCI_EVENT_HANDLER); ev 1464 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.src = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, ev 1466 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.hdr.payload_size = sizeof(ev) - sizeof(ev.msg.hdr); ev 1467 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.msg.event_data.event = attach ? ev 1469 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.payload.handle = handle; ev 1470 drivers/misc/vmw_vmci/vmci_queue_pair.c ev.payload.peer_id = my_id; ev 1473 drivers/misc/vmw_vmci/vmci_queue_pair.c &ev.msg.hdr, false); ev 156 drivers/net/dsa/mv88e6xxx/ptp.c struct ptp_clock_event ev; ev 186 drivers/net/dsa/mv88e6xxx/ptp.c ev.type = PTP_CLOCK_EXTTS; ev 189 drivers/net/dsa/mv88e6xxx/ptp.c ev.index = 0; ev 191 drivers/net/dsa/mv88e6xxx/ptp.c ev.timestamp = timecounter_cyc2time(&chip->tstamp_tc, raw_ts); ev 194 drivers/net/dsa/mv88e6xxx/ptp.c ptp_clock_event(chip->ptp_clock, &ev); ev 343 drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c if (int_events & fep->ev) { ev 152 drivers/net/ethernet/freescale/fs_enet/fs_enet.h u32 ev; /* event mask */ ev 139 drivers/net/ethernet/freescale/fs_enet/mac-fcc.c fep->ev = FCC_EVENT; ev 123 drivers/net/ethernet/freescale/fs_enet/mac-fec.c fep->ev = FEC_EVENT; ev 126 drivers/net/ethernet/freescale/fs_enet/mac-scc.c fep->ev = SCC_EVENT | SCCE_ENET_TXE; ev 186 drivers/net/ethernet/sfc/mcdi.h void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev); ev 351 drivers/net/ethernet/sfc/mcdi.h void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev); ev 103 drivers/net/ethernet/sfc/mcdi_mon.c void efx_mcdi_sensor_event(struct efx_nic *efx, efx_qword_t *ev) ev 109 drivers/net/ethernet/sfc/mcdi_mon.c type = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_MONITOR); ev 110 drivers/net/ethernet/sfc/mcdi_mon.c state = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_STATE); ev 111 drivers/net/ethernet/sfc/mcdi_mon.c value = EFX_QWORD_FIELD(*ev, MCDI_EVENT_SENSOREVT_VALUE); ev 1152 drivers/net/ethernet/sfc/mcdi_port.c void efx_mcdi_process_link_change(struct efx_nic *efx, efx_qword_t *ev) ev 1156 drivers/net/ethernet/sfc/mcdi_port.c speed = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_SPEED); ev 1160 drivers/net/ethernet/sfc/mcdi_port.c flags = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LINK_FLAGS); ev 1161 drivers/net/ethernet/sfc/mcdi_port.c fcntl = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_FCNTL); ev 1162 drivers/net/ethernet/sfc/mcdi_port.c lpa = EFX_QWORD_FIELD(*ev, MCDI_EVENT_LINKCHANGE_LP_CAP); ev 459 drivers/net/ethernet/sfc/nic.h void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev); ev 462 drivers/net/ethernet/sfc/nic.h void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev); ev 1917 drivers/net/ethernet/sfc/ptp.c void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev) ev 1920 drivers/net/ethernet/sfc/ptp.c int code = EFX_QWORD_FIELD(*ev, MCDI_EVENT_CODE); ev 1942 drivers/net/ethernet/sfc/ptp.c ptp->evt_frags[ptp->evt_frag_idx++] = *ev; ev 1943 drivers/net/ethernet/sfc/ptp.c if (!MCDI_EVENT_FIELD(*ev, CONT)) { ev 1968 drivers/net/ethernet/sfc/ptp.c void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev) ev 1979 drivers/net/ethernet/sfc/ptp.c channel->sync_timestamp_major = MCDI_EVENT_FIELD(*ev, PTP_TIME_MAJOR); ev 1981 drivers/net/ethernet/sfc/ptp.c (MCDI_EVENT_FIELD(*ev, PTP_TIME_MINOR_MS_8BITS) & 0xFC) ev 564 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c char *ev, ev 581 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_ADDR_LEN); ev 587 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); ev 594 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_FREQ_LEN); ev 600 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = ev + iwe_stream_lcp_len(info); ev 613 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, ev 618 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c tmp = iwe_stream_add_value(info, ev, tmp, stop, &iwe, ev 622 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (iwe_stream_lcp_len(info) < (tmp - ev)) ev 623 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = tmp; ev 632 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); ev 642 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_UINT_LEN); ev 652 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_QUAL_LEN); ev 662 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); ev 677 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); ev 685 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); ev 690 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c return ev; ev 700 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c char *ev = extra; ev 701 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c char *stop = ev + wrqu->data.length; ev 727 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = gelic_wl_translate_scan(netdev, info, ev 728 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev, stop, ev 733 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (stop - ev <= IW_EV_ADDR_LEN) { ev 739 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c wrqu->data.length = ev - extra; ev 71 drivers/net/fddi/skfp/queue.c struct event_queue *ev ; /* pointer into queue */ ev 74 drivers/net/fddi/skfp/queue.c ev = smc->q.ev_get ; ev 75 drivers/net/fddi/skfp/queue.c PRINTF("dispatch get %x put %x\n",ev,smc->q.ev_put) ; ev 76 drivers/net/fddi/skfp/queue.c while (ev != smc->q.ev_put) { ev 77 drivers/net/fddi/skfp/queue.c PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; ev 78 drivers/net/fddi/skfp/queue.c switch(class = ev->class) { ev 80 drivers/net/fddi/skfp/queue.c ecm(smc,(int)ev->event) ; ev 83 drivers/net/fddi/skfp/queue.c cfm(smc,(int)ev->event) ; ev 86 drivers/net/fddi/skfp/queue.c rmt(smc,(int)ev->event) ; ev 89 drivers/net/fddi/skfp/queue.c smt_event(smc,(int)ev->event) ; ev 93 drivers/net/fddi/skfp/queue.c timer_test_event(smc,(int)ev->event) ; ev 101 drivers/net/fddi/skfp/queue.c pcm(smc,class - EVENT_PCMA,(int)ev->event) ; ev 108 drivers/net/fddi/skfp/queue.c if (++ev == &smc->q.ev_queue[MAX_EVENT]) ev 109 drivers/net/fddi/skfp/queue.c ev = smc->q.ev_queue ; ev 112 drivers/net/fddi/skfp/queue.c smc->q.ev_get = ev; ev 622 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_in_ord_ind *ev, ev 626 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_in_ord_msdu_desc *msdu_desc = ev->msdu_descs32; ev 635 drivers/net/wireless/ath/ath10k/htt_rx.c msdu_count = __le16_to_cpu(ev->msdu_count); ev 636 drivers/net/wireless/ath/ath10k/htt_rx.c is_offload = !!(ev->info & HTT_RX_IN_ORD_IND_INFO_OFFLOAD_MASK); ev 684 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_in_ord_ind *ev, ev 688 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_in_ord_msdu_desc_ext *msdu_desc = ev->msdu_descs64; ev 697 drivers/net/wireless/ath/ath10k/htt_rx.c msdu_count = __le16_to_cpu(ev->msdu_count); ev 698 drivers/net/wireless/ath/ath10k/htt_rx.c is_offload = !!(ev->info & HTT_RX_IN_ORD_IND_INFO_OFFLOAD_MASK); ev 2747 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_addba *ev = &resp->rx_addba; ev 2752 drivers/net/wireless/ath/ath10k/htt_rx.c info0 = __le16_to_cpu(ev->info0); ev 2758 drivers/net/wireless/ath/ath10k/htt_rx.c tid, peer_id, ev->window_size); ev 2779 drivers/net/wireless/ath/ath10k/htt_rx.c peer->addr, tid, ev->window_size); ev 2787 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_rx_delba *ev = &resp->rx_delba; ev 2792 drivers/net/wireless/ath/ath10k/htt_rx.c info0 = __le16_to_cpu(ev->info0); ev 3694 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_security_indication *ev) ev 3702 drivers/net/wireless/ath/ath10k/htt_rx.c peer = ath10k_peer_find_by_id(ar, __le16_to_cpu(ev->peer_id)); ev 3705 drivers/net/wireless/ath/ath10k/htt_rx.c __le16_to_cpu(ev->peer_id)); ev 3709 drivers/net/wireless/ath/ath10k/htt_rx.c sec_type = MS(ev->flags, HTT_SECURITY_TYPE); ev 3711 drivers/net/wireless/ath/ath10k/htt_rx.c if (ev->flags & HTT_SECURITY_IS_UNICAST) ev 3764 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_peer_map_event ev = { ev 3768 drivers/net/wireless/ath/ath10k/htt_rx.c memcpy(ev.addr, resp->peer_map.addr, sizeof(ev.addr)); ev 3769 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_peer_map_event(htt, &ev); ev 3773 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_peer_unmap_event ev = { ev 3776 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_peer_unmap_event(htt, &ev); ev 3819 drivers/net/wireless/ath/ath10k/htt_rx.c struct htt_security_indication *ev = &resp->security_indication; ev 3821 drivers/net/wireless/ath/ath10k/htt_rx.c ath10k_htt_rx_sec_ind_handler(ar, ev); ev 3824 drivers/net/wireless/ath/ath10k/htt_rx.c __le16_to_cpu(ev->peer_id), ev 3825 drivers/net/wireless/ath/ath10k/htt_rx.c !!(ev->flags & HTT_SECURITY_IS_UNICAST), ev 3826 drivers/net/wireless/ath/ath10k/htt_rx.c MS(ev->flags, HTT_SECURITY_TYPE)); ev 200 drivers/net/wireless/ath/ath10k/txrx.c struct htt_peer_map_event *ev) ev 205 drivers/net/wireless/ath/ath10k/txrx.c if (ev->peer_id >= ATH10K_MAX_NUM_PEER_IDS) { ev 208 drivers/net/wireless/ath/ath10k/txrx.c ev->peer_id); ev 213 drivers/net/wireless/ath/ath10k/txrx.c peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); ev 219 drivers/net/wireless/ath/ath10k/txrx.c peer->vdev_id = ev->vdev_id; ev 220 drivers/net/wireless/ath/ath10k/txrx.c ether_addr_copy(peer->addr, ev->addr); ev 226 drivers/net/wireless/ath/ath10k/txrx.c ev->vdev_id, ev->addr, ev->peer_id); ev 228 drivers/net/wireless/ath/ath10k/txrx.c WARN_ON(ar->peer_map[ev->peer_id] && (ar->peer_map[ev->peer_id] != peer)); ev 229 drivers/net/wireless/ath/ath10k/txrx.c ar->peer_map[ev->peer_id] = peer; ev 230 drivers/net/wireless/ath/ath10k/txrx.c set_bit(ev->peer_id, peer->peer_ids); ev 236 drivers/net/wireless/ath/ath10k/txrx.c struct htt_peer_unmap_event *ev) ev 241 drivers/net/wireless/ath/ath10k/txrx.c if (ev->peer_id >= ATH10K_MAX_NUM_PEER_IDS) { ev 244 drivers/net/wireless/ath/ath10k/txrx.c ev->peer_id); ev 249 drivers/net/wireless/ath/ath10k/txrx.c peer = ath10k_peer_find_by_id(ar, ev->peer_id); ev 252 drivers/net/wireless/ath/ath10k/txrx.c ev->peer_id); ev 257 drivers/net/wireless/ath/ath10k/txrx.c peer->vdev_id, peer->addr, ev->peer_id); ev 259 drivers/net/wireless/ath/ath10k/txrx.c ar->peer_map[ev->peer_id] = NULL; ev 260 drivers/net/wireless/ath/ath10k/txrx.c clear_bit(ev->peer_id, peer->peer_ids); ev 23 drivers/net/wireless/ath/ath10k/txrx.h struct htt_peer_map_event *ev); ev 25 drivers/net/wireless/ath/ath10k/txrx.h struct htt_peer_unmap_event *ev); ev 172 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_bcn_tx_status_ev *ev; ev 184 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_OFFLOAD_BCN_TX_STATUS_EVENT]; ev 185 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 190 drivers/net/wireless/ath/ath10k/wmi-tlv.c tx_status = __le32_to_cpu(ev->tx_status); ev 191 drivers/net/wireless/ath/ath10k/wmi-tlv.c vdev_id = __le32_to_cpu(ev->vdev_id); ev 226 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_diag_data_ev *ev; ev 238 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_DIAG_DATA_CONTAINER_EVENT]; ev 240 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !data) { ev 245 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_items = __le32_to_cpu(ev->num_items); ev 317 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_p2p_noa_ev *ev; ev 328 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_P2P_NOA_EVENT]; ev 331 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !noa) { ev 336 drivers/net/wireless/ath/ath10k/wmi-tlv.c vdev_id = __le32_to_cpu(ev->vdev_id); ev 351 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_tx_pause_ev *ev; ev 362 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_TX_PAUSE_EVENT]; ev 363 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 368 drivers/net/wireless/ath/ath10k/wmi-tlv.c pause_id = __le32_to_cpu(ev->pause_id); ev 369 drivers/net/wireless/ath/ath10k/wmi-tlv.c action = __le32_to_cpu(ev->action); ev 370 drivers/net/wireless/ath/ath10k/wmi-tlv.c vdev_map = __le32_to_cpu(ev->vdev_map); ev 371 drivers/net/wireless/ath/ath10k/wmi-tlv.c peer_id = __le32_to_cpu(ev->peer_id); ev 372 drivers/net/wireless/ath/ath10k/wmi-tlv.c tid_map = __le32_to_cpu(ev->tid_map); ev 415 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_pdev_temperature_event *ev; ev 417 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = (struct wmi_tlv_pdev_temperature_event *)skb->data; ev 418 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (WARN_ON(skb->len < sizeof(*ev))) ev 421 drivers/net/wireless/ath/ath10k/wmi-tlv.c ath10k_thermal_event_temperature(ar, __le32_to_cpu(ev->temperature)); ev 428 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_tdls_peer_event *ev; ev 437 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_TDLS_PEER_EVENT]; ev 438 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 444 drivers/net/wireless/ath/ath10k/wmi-tlv.c switch (__le32_to_cpu(ev->peer_reason)) { ev 449 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev->peer_macaddr.addr, ev 456 drivers/net/wireless/ath/ath10k/wmi-tlv.c arvif = ath10k_get_arvif(ar, __le32_to_cpu(ev->vdev_id)); ev 661 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_scan_event *ev; ev 671 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_SCAN_EVENT]; ev 672 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 677 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->event_type = ev->event_type; ev 678 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->reason = ev->reason; ev 679 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->channel_freq = ev->channel_freq; ev 680 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->scan_req_id = ev->scan_req_id; ev 681 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->scan_id = ev->scan_id; ev 682 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vdev_id = ev->vdev_id; ev 693 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_mgmt_tx_compl_ev *ev; ev 703 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_MGMT_TX_COMPL_EVENT]; ev 705 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->desc_id = ev->desc_id; ev 706 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->status = ev->status; ev 707 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->pdev_id = ev->pdev_id; ev 708 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->ppdu_id = ev->ppdu_id; ev 711 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->ack_rssi = ev->ack_rssi; ev 795 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_mgmt_rx_ev *ev; ev 807 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_MGMT_RX_HDR]; ev 810 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !frame) { ev 815 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->channel = ev->channel; ev 816 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->buf_len = ev->buf_len; ev 817 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->status = ev->status; ev 818 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->snr = ev->snr; ev 819 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->phy_mode = ev->phy_mode; ev 820 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->rate = ev->rate; ev 844 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_chan_info_event *ev; ev 854 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_CHAN_INFO_EVENT]; ev 855 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 860 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->err_code = ev->err_code; ev 861 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->freq = ev->freq; ev 862 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->cmd_flags = ev->cmd_flags; ev 863 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->noise_floor = ev->noise_floor; ev 864 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->rx_clear_count = ev->rx_clear_count; ev 865 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->cycle_count = ev->cycle_count; ev 868 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->mac_clk_mhz = ev->mac_clk_mhz; ev 879 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_vdev_start_response_event *ev; ev 889 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_VDEV_START_RESPONSE_EVENT]; ev 890 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 895 drivers/net/wireless/ath/ath10k/wmi-tlv.c skb_pull(skb, sizeof(*ev)); ev 896 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vdev_id = ev->vdev_id; ev 897 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->req_id = ev->req_id; ev 898 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->resp_type = ev->resp_type; ev 899 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->status = ev->status; ev 910 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_peer_sta_kickout_event *ev; ev 920 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_PEER_STA_KICKOUT_EVENT]; ev 921 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 926 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->mac_addr = ev->peer_macaddr.addr; ev 933 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_host_swba_event *ev; ev 995 drivers/net/wireless/ath/ath10k/wmi-tlv.c swba->ev = ptr; ev 1036 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!swba.ev) ev 1039 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vdev_map = swba.ev->vdev_map; ev 1057 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_phyerr_ev *ev; ev 1068 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_COMB_PHYERR_RX_HDR]; ev 1071 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !phyerrs) { ev 1076 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->num_phyerrs = __le32_to_cpu(ev->num_phyerrs); ev 1077 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->tsf_l32 = __le32_to_cpu(ev->tsf_l32); ev 1078 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->tsf_u32 = __le32_to_cpu(ev->tsf_u32); ev 1079 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->buf_len = __le32_to_cpu(ev->buf_len); ev 1119 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_svc_rdy_ev *ev; ev 1133 drivers/net/wireless/ath/ath10k/wmi-tlv.c svc_rdy->ev = ptr; ev 1160 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_svc_rdy_ev *ev; ev 1173 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = svc_rdy.ev; ev 1178 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !reg || !svc_bmap || !mem_reqs) ev 1186 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver0), WMI_TLV_ABI_VER0, ev 1187 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns0), WMI_TLV_ABI_VER_NS0, ev 1188 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns1), WMI_TLV_ABI_VER_NS1, ev 1189 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns2), WMI_TLV_ABI_VER_NS2, ev 1190 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns3), WMI_TLV_ABI_VER_NS3); ev 1192 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (__le32_to_cpu(ev->abi.abi_ver0) != WMI_TLV_ABI_VER0 || ev 1193 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns0) != WMI_TLV_ABI_VER_NS0 || ev 1194 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns1) != WMI_TLV_ABI_VER_NS1 || ev 1195 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns2) != WMI_TLV_ABI_VER_NS2 || ev 1196 drivers/net/wireless/ath/ath10k/wmi-tlv.c __le32_to_cpu(ev->abi.abi_ver_ns3) != WMI_TLV_ABI_VER_NS3) { ev 1200 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->min_tx_power = ev->hw_min_tx_power; ev 1201 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->max_tx_power = ev->hw_max_tx_power; ev 1202 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->ht_cap = ev->ht_cap_info; ev 1203 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vht_cap = ev->vht_cap_info; ev 1204 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->sw_ver0 = ev->abi.abi_ver0; ev 1205 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->sw_ver1 = ev->abi.abi_ver1; ev 1206 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->fw_build = ev->fw_build_vers; ev 1207 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->phy_capab = ev->phy_capability; ev 1208 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->num_rf_chains = ev->num_rf_chains; ev 1212 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->num_mem_reqs = ev->num_mem_reqs; ev 1231 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_rdy_ev *ev; ev 1241 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_READY_EVENT]; ev 1242 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 1247 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->sw_version = ev->abi.abi_ver0; ev 1248 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->abi_version = ev->abi.abi_ver1; ev 1249 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->status = ev->status; ev 1250 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->mac_addr = ev->mac_addr.addr; ev 1330 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_stats_ev *ev; ev 1350 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_STATS_EVENT]; ev 1353 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev || !data) { ev 1359 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 1360 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_vdev_stats = __le32_to_cpu(ev->num_vdev_stats); ev 1361 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 1362 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_bcnflt_stats = __le32_to_cpu(ev->num_bcnflt_stats); ev 1363 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_chan_stats = __le32_to_cpu(ev->num_chan_stats); ev 1364 drivers/net/wireless/ath/ath10k/wmi-tlv.c stats_id = __le32_to_cpu(ev->stats_id); ev 1365 drivers/net/wireless/ath/ath10k/wmi-tlv.c num_peer_stats_extd = __le32_to_cpu(ev->num_peer_stats_extd); ev 1469 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_roam_ev *ev; ev 1479 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_ROAM_EVENT]; ev 1480 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 1485 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vdev_id = ev->vdev_id; ev 1486 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->reason = ev->reason; ev 1487 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->rssi = ev->rssi; ev 1498 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_tlv_wow_event_info *ev; ev 1508 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_WOW_EVENT_INFO]; ev 1509 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 1514 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->vdev_id = __le32_to_cpu(ev->vdev_id); ev 1515 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->flag = __le32_to_cpu(ev->flag); ev 1516 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->wake_reason = __le32_to_cpu(ev->wake_reason); ev 1517 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->data_len = __le32_to_cpu(ev->data_len); ev 1528 drivers/net/wireless/ath/ath10k/wmi-tlv.c const struct wmi_echo_event *ev; ev 1538 drivers/net/wireless/ath/ath10k/wmi-tlv.c ev = tb[WMI_TLV_TAG_STRUCT_ECHO_EVENT]; ev 1539 drivers/net/wireless/ath/ath10k/wmi-tlv.c if (!ev) { ev 1544 drivers/net/wireless/ath/ath10k/wmi-tlv.c arg->value = ev->value; ev 2117 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_scan_event *ev = (void *)skb->data; ev 2119 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 2122 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 2123 drivers/net/wireless/ath/ath10k/wmi.c arg->event_type = ev->event_type; ev 2124 drivers/net/wireless/ath/ath10k/wmi.c arg->reason = ev->reason; ev 2125 drivers/net/wireless/ath/ath10k/wmi.c arg->channel_freq = ev->channel_freq; ev 2126 drivers/net/wireless/ath/ath10k/wmi.c arg->scan_req_id = ev->scan_req_id; ev 2127 drivers/net/wireless/ath/ath10k/wmi.c arg->scan_id = ev->scan_id; ev 2128 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_id = ev->vdev_id; ev 2283 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10_4_mgmt_rx_event *ev; ev 2290 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_10_4_mgmt_rx_event *)skb->data; ev 2291 drivers/net/wireless/ath/ath10k/wmi.c ev_hdr = &ev->hdr; ev 2292 drivers/net/wireless/ath/ath10k/wmi.c pull_len = sizeof(*ev); ev 2581 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_chan_info_event *ev = (void *)skb->data; ev 2583 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 2586 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 2587 drivers/net/wireless/ath/ath10k/wmi.c arg->err_code = ev->err_code; ev 2588 drivers/net/wireless/ath/ath10k/wmi.c arg->freq = ev->freq; ev 2589 drivers/net/wireless/ath/ath10k/wmi.c arg->cmd_flags = ev->cmd_flags; ev 2590 drivers/net/wireless/ath/ath10k/wmi.c arg->noise_floor = ev->noise_floor; ev 2591 drivers/net/wireless/ath/ath10k/wmi.c arg->rx_clear_count = ev->rx_clear_count; ev 2592 drivers/net/wireless/ath/ath10k/wmi.c arg->cycle_count = ev->cycle_count; ev 2601 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10_4_chan_info_event *ev = (void *)skb->data; ev 2603 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 2606 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 2607 drivers/net/wireless/ath/ath10k/wmi.c arg->err_code = ev->err_code; ev 2608 drivers/net/wireless/ath/ath10k/wmi.c arg->freq = ev->freq; ev 2609 drivers/net/wireless/ath/ath10k/wmi.c arg->cmd_flags = ev->cmd_flags; ev 2610 drivers/net/wireless/ath/ath10k/wmi.c arg->noise_floor = ev->noise_floor; ev 2611 drivers/net/wireless/ath/ath10k/wmi.c arg->rx_clear_count = ev->rx_clear_count; ev 2612 drivers/net/wireless/ath/ath10k/wmi.c arg->cycle_count = ev->cycle_count; ev 2613 drivers/net/wireless/ath/ath10k/wmi.c arg->chan_tx_pwr_range = ev->chan_tx_pwr_range; ev 2614 drivers/net/wireless/ath/ath10k/wmi.c arg->chan_tx_pwr_tp = ev->chan_tx_pwr_tp; ev 2615 drivers/net/wireless/ath/ath10k/wmi.c arg->rx_frame_count = ev->rx_frame_count; ev 2929 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_stats_event *ev = (void *)skb->data; ev 2933 drivers/net/wireless/ath/ath10k/wmi.c if (!skb_pull(skb, sizeof(*ev))) ev 2936 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 2937 drivers/net/wireless/ath/ath10k/wmi.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 2983 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_stats_event *ev = (void *)skb->data; ev 2987 drivers/net/wireless/ath/ath10k/wmi.c if (!skb_pull(skb, sizeof(*ev))) ev 2990 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 2991 drivers/net/wireless/ath/ath10k/wmi.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 3041 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_10_2_stats_event *ev = (void *)skb->data; ev 3047 drivers/net/wireless/ath/ath10k/wmi.c if (!skb_pull(skb, sizeof(*ev))) ev 3050 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 3051 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_ext_stats = __le32_to_cpu(ev->num_pdev_ext_stats); ev 3052 drivers/net/wireless/ath/ath10k/wmi.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 3118 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_10_2_stats_event *ev = (void *)skb->data; ev 3124 drivers/net/wireless/ath/ath10k/wmi.c if (!skb_pull(skb, sizeof(*ev))) ev 3127 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 3128 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_ext_stats = __le32_to_cpu(ev->num_pdev_ext_stats); ev 3129 drivers/net/wireless/ath/ath10k/wmi.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 3204 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_10_2_stats_event *ev = (void *)skb->data; ev 3213 drivers/net/wireless/ath/ath10k/wmi.c if (!skb_pull(skb, sizeof(*ev))) ev 3216 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_stats = __le32_to_cpu(ev->num_pdev_stats); ev 3217 drivers/net/wireless/ath/ath10k/wmi.c num_pdev_ext_stats = __le32_to_cpu(ev->num_pdev_ext_stats); ev 3218 drivers/net/wireless/ath/ath10k/wmi.c num_vdev_stats = __le32_to_cpu(ev->num_vdev_stats); ev 3219 drivers/net/wireless/ath/ath10k/wmi.c num_peer_stats = __le32_to_cpu(ev->num_peer_stats); ev 3220 drivers/net/wireless/ath/ath10k/wmi.c num_bcnflt_stats = __le32_to_cpu(ev->num_bcnflt_stats); ev 3221 drivers/net/wireless/ath/ath10k/wmi.c stats_id = __le32_to_cpu(ev->stats_id); ev 3351 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_vdev_start_response_event *ev = (void *)skb->data; ev 3353 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 3356 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 3357 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_id = ev->vdev_id; ev 3358 drivers/net/wireless/ath/ath10k/wmi.c arg->req_id = ev->req_id; ev 3359 drivers/net/wireless/ath/ath10k/wmi.c arg->resp_type = ev->resp_type; ev 3360 drivers/net/wireless/ath/ath10k/wmi.c arg->status = ev->status; ev 3407 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_peer_sta_kickout_event *ev = (void *)skb->data; ev 3409 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 3412 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 3413 drivers/net/wireless/ath/ath10k/wmi.c arg->mac_addr = ev->peer_macaddr.addr; ev 3592 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_host_swba_event *ev = (void *)skb->data; ev 3596 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 3599 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 3600 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_map = ev->vdev_map; ev 3602 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0, map = __le32_to_cpu(ev->vdev_map); map; map >>= 1) { ev 3612 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->bcn_info[i].tim_info.tim_len) > ev 3613 drivers/net/wireless/ath/ath10k/wmi.c sizeof(ev->bcn_info[i].tim_info.tim_bitmap)) { ev 3618 drivers/net/wireless/ath/ath10k/wmi.c arg->tim_info[i].tim_len = ev->bcn_info[i].tim_info.tim_len; ev 3619 drivers/net/wireless/ath/ath10k/wmi.c arg->tim_info[i].tim_mcast = ev->bcn_info[i].tim_info.tim_mcast; ev 3621 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_bitmap; ev 3623 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_changed; ev 3625 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_num_ps_pending; ev 3627 drivers/net/wireless/ath/ath10k/wmi.c arg->noa_info[i] = &ev->bcn_info[i].p2p_noa_info; ev 3638 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10_2_4_host_swba_event *ev = (void *)skb->data; ev 3642 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 3645 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 3646 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_map = ev->vdev_map; ev 3648 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0, map = __le32_to_cpu(ev->vdev_map); map; map >>= 1) { ev 3658 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->bcn_info[i].tim_info.tim_len) > ev 3659 drivers/net/wireless/ath/ath10k/wmi.c sizeof(ev->bcn_info[i].tim_info.tim_bitmap)) { ev 3664 drivers/net/wireless/ath/ath10k/wmi.c arg->tim_info[i].tim_len = ev->bcn_info[i].tim_info.tim_len; ev 3665 drivers/net/wireless/ath/ath10k/wmi.c arg->tim_info[i].tim_mcast = ev->bcn_info[i].tim_info.tim_mcast; ev 3667 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_bitmap; ev 3669 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_changed; ev 3671 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_num_ps_pending; ev 3682 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10_4_host_swba_event *ev = (void *)skb->data; ev 3686 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 3689 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 3690 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_map = ev->vdev_map; ev 3692 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0, map = __le32_to_cpu(ev->vdev_map); map; map >>= 1) { ev 3702 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->bcn_info[i].tim_info.tim_len) > ev 3703 drivers/net/wireless/ath/ath10k/wmi.c sizeof(ev->bcn_info[i].tim_info.tim_bitmap)) { ev 3708 drivers/net/wireless/ath/ath10k/wmi.c tim_len = __le32_to_cpu(ev->bcn_info[i].tim_info.tim_len); ev 3717 drivers/net/wireless/ath/ath10k/wmi.c arg->tim_info[i].tim_mcast = ev->bcn_info[i].tim_info.tim_mcast; ev 3719 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_bitmap; ev 3721 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_changed; ev 3723 drivers/net/wireless/ath/ath10k/wmi.c ev->bcn_info[i].tim_info.tim_num_ps_pending; ev 4229 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_phyerr_event *ev = (void *)skb->data; ev 4231 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 4234 drivers/net/wireless/ath/ath10k/wmi.c arg->num_phyerrs = __le32_to_cpu(ev->num_phyerrs); ev 4235 drivers/net/wireless/ath/ath10k/wmi.c arg->tsf_l32 = __le32_to_cpu(ev->tsf_l32); ev 4236 drivers/net/wireless/ath/ath10k/wmi.c arg->tsf_u32 = __le32_to_cpu(ev->tsf_u32); ev 4237 drivers/net/wireless/ath/ath10k/wmi.c arg->buf_len = skb->len - sizeof(*ev); ev 4238 drivers/net/wireless/ath/ath10k/wmi.c arg->phyerrs = ev->phyerrs; ev 4247 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10_4_phyerr_event *ev = (void *)skb->data; ev 4249 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 4255 drivers/net/wireless/ath/ath10k/wmi.c arg->tsf_l32 = __le32_to_cpu(ev->tsf_l32); ev 4256 drivers/net/wireless/ath/ath10k/wmi.c arg->tsf_u32 = __le32_to_cpu(ev->tsf_u32); ev 4419 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_dfs_status_ev_arg *ev = (void *)skb->data; ev 4421 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 4424 drivers/net/wireless/ath/ath10k/wmi.c arg->status = ev->status; ev 4564 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_wow_ev_arg ev = {}; ev 4569 drivers/net/wireless/ath/ath10k/wmi.c ret = ath10k_wmi_pull_wow_event(ar, skb, &ev); ev 4576 drivers/net/wireless/ath/ath10k/wmi.c wow_reason(ev.wake_reason)); ev 4585 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_config_event *ev, ev 4595 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, ev->rates_array[rate_idx], ev->max_reg_allow_pow[ch]); ev 4597 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->num_tx_chain) <= 1) ev 4610 drivers/net/wireless/ath/ath10k/wmi.c ev->max_reg_allow_pow_agstbc[ch - 1][stm_idx]); ev 4614 drivers/net/wireless/ath/ath10k/wmi.c ev->max_reg_allow_pow_agtxbf[ch - 1][stm_idx]); ev 4618 drivers/net/wireless/ath/ath10k/wmi.c ev->max_reg_allow_pow_agcdd[ch - 1][stm_idx]); ev 4631 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_config_event *ev, ev 4640 drivers/net/wireless/ath/ath10k/wmi.c flags = __le32_to_cpu(ev->flags); ev 4671 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0; i < __le32_to_cpu(ev->rate_max); i++) { ev 4678 drivers/net/wireless/ath/ath10k/wmi.c if (j >= __le32_to_cpu(ev->num_tx_chain)) ev 4681 drivers/net/wireless/ath/ath10k/wmi.c tpc[j] = ath10k_tpc_config_get_rate(ar, ev, i, j + 1, ev 4796 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_config_event *ev; ev 4799 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_pdev_tpc_config_event *)skb->data; ev 4801 drivers/net/wireless/ath/ath10k/wmi.c num_tx_chain = __le32_to_cpu(ev->num_tx_chain); ev 4816 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); ev 4817 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); ev 4818 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->ctl = __le32_to_cpu(ev->ctl); ev 4819 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); ev 4820 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); ev 4822 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_antenna_reduction); ev 4823 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); ev 4824 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); ev 4825 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); ev 4826 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); ev 4828 drivers/net/wireless/ath/ath10k/wmi.c ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, ev 4831 drivers/net/wireless/ath/ath10k/wmi.c ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, ev 4834 drivers/net/wireless/ath/ath10k/wmi.c ath10k_tpc_config_disp_tables(ar, ev, tpc_stats, ev 4842 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->chan_freq), ev 4843 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->phy_mode), ev 4844 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->ctl), ev 4845 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->reg_domain), ev 4846 drivers/net/wireless/ath/ath10k/wmi.c a_sle32_to_cpu(ev->twice_antenna_gain), ev 4847 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_antenna_reduction), ev 4848 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->power_limit), ev 4849 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_max_rd_power) / 2, ev 4850 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->num_tx_chain), ev 4851 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->rate_max)); ev 4856 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_final_table_event *ev, ev 4870 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->chan_freq) <= 2483) { ev 4895 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->chan_freq) >= 5180) { ev 4922 drivers/net/wireless/ath/ath10k/wmi.c pream_idx, __le32_to_cpu(ev->chan_freq)); ev 4928 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, ev->rates_array[rate_idx], ev 4929 drivers/net/wireless/ath/ath10k/wmi.c ev->max_reg_allow_pow[ch]); ev 4931 drivers/net/wireless/ath/ath10k/wmi.c tpc = min_t(u8, min_t(u8, ev->rates_array[rate_idx], ev 4932 drivers/net/wireless/ath/ath10k/wmi.c ev->max_reg_allow_pow[ch]), ev 4933 drivers/net/wireless/ath/ath10k/wmi.c ev->ctl_power_table[0][pream][stm_idx]); ev 4935 drivers/net/wireless/ath/ath10k/wmi.c if (__le32_to_cpu(ev->num_tx_chain) <= 1) ev 4946 drivers/net/wireless/ath/ath10k/wmi.c pow_agstbc = ev->max_reg_allow_pow_agstbc[ch - 1][stm_idx]; ev 4951 drivers/net/wireless/ath/ath10k/wmi.c ev->ctl_power_table[0][pream][stm_idx]); ev 4954 drivers/net/wireless/ath/ath10k/wmi.c pow_agtxbf = ev->max_reg_allow_pow_agtxbf[ch - 1][stm_idx]; ev 4959 drivers/net/wireless/ath/ath10k/wmi.c ev->ctl_power_table[1][pream][stm_idx]); ev 4962 drivers/net/wireless/ath/ath10k/wmi.c pow_agcdd = ev->max_reg_allow_pow_agcdd[ch - 1][stm_idx]; ev 4967 drivers/net/wireless/ath/ath10k/wmi.c ev->ctl_power_table[0][pream][stm_idx]); ev 4981 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_final_table_event *ev, ev 4990 drivers/net/wireless/ath/ath10k/wmi.c flags = __le32_to_cpu(ev->flags); ev 5021 drivers/net/wireless/ath/ath10k/wmi.c for (i = 0; i < __le32_to_cpu(ev->rate_max); i++) { ev 5028 drivers/net/wireless/ath/ath10k/wmi.c if (j >= __le32_to_cpu(ev->num_tx_chain)) ev 5031 drivers/net/wireless/ath/ath10k/wmi.c tpc[j] = ath10k_wmi_tpc_final_get_rate(ar, ev, i, j + 1, ev 5049 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_tpc_final_table_event *ev; ev 5052 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_pdev_tpc_final_table_event *)skb->data; ev 5058 drivers/net/wireless/ath/ath10k/wmi.c num_tx_chain = __le32_to_cpu(ev->num_tx_chain); ev 5063 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->chan_freq = __le32_to_cpu(ev->chan_freq); ev 5064 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->phy_mode = __le32_to_cpu(ev->phy_mode); ev 5065 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->ctl = __le32_to_cpu(ev->ctl); ev 5066 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->reg_domain = __le32_to_cpu(ev->reg_domain); ev 5067 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->twice_antenna_gain = a_sle32_to_cpu(ev->twice_antenna_gain); ev 5069 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_antenna_reduction); ev 5070 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->power_limit = __le32_to_cpu(ev->power_limit); ev 5071 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->twice_max_rd_power = __le32_to_cpu(ev->twice_max_rd_power); ev 5072 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->num_tx_chain = __le32_to_cpu(ev->num_tx_chain); ev 5073 drivers/net/wireless/ath/ath10k/wmi.c tpc_stats->rate_max = __le32_to_cpu(ev->rate_max); ev 5075 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, ev 5078 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, ev 5081 drivers/net/wireless/ath/ath10k/wmi.c ath10k_wmi_tpc_stats_final_disp_tables(ar, ev, tpc_stats, ev 5089 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->chan_freq), ev 5090 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->phy_mode), ev 5091 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->ctl), ev 5092 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->reg_domain), ev 5093 drivers/net/wireless/ath/ath10k/wmi.c a_sle32_to_cpu(ev->twice_antenna_gain), ev 5094 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_antenna_reduction), ev 5095 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->power_limit), ev 5096 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->twice_max_rd_power) / 2, ev 5097 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->num_tx_chain), ev 5098 drivers/net/wireless/ath/ath10k/wmi.c __le32_to_cpu(ev->rate_max)); ev 5104 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_tdls_peer_event *ev; ev 5112 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) { ev 5118 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_tdls_peer_event *)skb->data; ev 5119 drivers/net/wireless/ath/ath10k/wmi.c vdev_id = __le32_to_cpu(ev->vdev_id); ev 5120 drivers/net/wireless/ath/ath10k/wmi.c peer_status = __le32_to_cpu(ev->peer_status); ev 5121 drivers/net/wireless/ath/ath10k/wmi.c peer_reason = __le32_to_cpu(ev->peer_reason); ev 5124 drivers/net/wireless/ath/ath10k/wmi.c peer = ath10k_peer_find(ar, vdev_id, ev->peer_macaddr.addr); ev 5129 drivers/net/wireless/ath/ath10k/wmi.c ev->peer_macaddr.addr); ev 5153 drivers/net/wireless/ath/ath10k/wmi.c ieee80211_tdls_oper_request(arvif->vif, ev->peer_macaddr.addr, ev 5159 drivers/net/wireless/ath/ath10k/wmi.c ev->peer_macaddr.addr, peer_reason); ev 5172 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_peer_sta_ps_state_chg_event *ev; ev 5179 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_peer_sta_ps_state_chg_event *)skb->data; ev 5180 drivers/net/wireless/ath/ath10k/wmi.c ether_addr_copy(peer_addr, ev->peer_macaddr.addr); ev 5193 drivers/net/wireless/ath/ath10k/wmi.c arsta->peer_ps_state = __le32_to_cpu(ev->peer_ps_state); ev 5335 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_service_ready_event *ev; ev 5338 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 5341 drivers/net/wireless/ath/ath10k/wmi.c ev = (void *)skb->data; ev 5342 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 5343 drivers/net/wireless/ath/ath10k/wmi.c arg->min_tx_power = ev->hw_min_tx_power; ev 5344 drivers/net/wireless/ath/ath10k/wmi.c arg->max_tx_power = ev->hw_max_tx_power; ev 5345 drivers/net/wireless/ath/ath10k/wmi.c arg->ht_cap = ev->ht_cap_info; ev 5346 drivers/net/wireless/ath/ath10k/wmi.c arg->vht_cap = ev->vht_cap_info; ev 5347 drivers/net/wireless/ath/ath10k/wmi.c arg->sw_ver0 = ev->sw_version; ev 5348 drivers/net/wireless/ath/ath10k/wmi.c arg->sw_ver1 = ev->sw_version_1; ev 5349 drivers/net/wireless/ath/ath10k/wmi.c arg->phy_capab = ev->phy_capability; ev 5350 drivers/net/wireless/ath/ath10k/wmi.c arg->num_rf_chains = ev->num_rf_chains; ev 5351 drivers/net/wireless/ath/ath10k/wmi.c arg->eeprom_rd = ev->hal_reg_capabilities.eeprom_rd; ev 5352 drivers/net/wireless/ath/ath10k/wmi.c arg->low_5ghz_chan = ev->hal_reg_capabilities.low_5ghz_chan; ev 5353 drivers/net/wireless/ath/ath10k/wmi.c arg->high_5ghz_chan = ev->hal_reg_capabilities.high_5ghz_chan; ev 5354 drivers/net/wireless/ath/ath10k/wmi.c arg->num_mem_reqs = ev->num_mem_reqs; ev 5355 drivers/net/wireless/ath/ath10k/wmi.c arg->service_map = ev->wmi_service_bitmap; ev 5356 drivers/net/wireless/ath/ath10k/wmi.c arg->service_map_len = sizeof(ev->wmi_service_bitmap); ev 5361 drivers/net/wireless/ath/ath10k/wmi.c arg->mem_reqs[i] = &ev->mem_reqs[i]; ev 5374 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_10x_service_ready_event *ev; ev 5377 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 5380 drivers/net/wireless/ath/ath10k/wmi.c ev = (void *)skb->data; ev 5381 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 5382 drivers/net/wireless/ath/ath10k/wmi.c arg->min_tx_power = ev->hw_min_tx_power; ev 5383 drivers/net/wireless/ath/ath10k/wmi.c arg->max_tx_power = ev->hw_max_tx_power; ev 5384 drivers/net/wireless/ath/ath10k/wmi.c arg->ht_cap = ev->ht_cap_info; ev 5385 drivers/net/wireless/ath/ath10k/wmi.c arg->vht_cap = ev->vht_cap_info; ev 5386 drivers/net/wireless/ath/ath10k/wmi.c arg->sw_ver0 = ev->sw_version; ev 5387 drivers/net/wireless/ath/ath10k/wmi.c arg->phy_capab = ev->phy_capability; ev 5388 drivers/net/wireless/ath/ath10k/wmi.c arg->num_rf_chains = ev->num_rf_chains; ev 5389 drivers/net/wireless/ath/ath10k/wmi.c arg->eeprom_rd = ev->hal_reg_capabilities.eeprom_rd; ev 5390 drivers/net/wireless/ath/ath10k/wmi.c arg->low_5ghz_chan = ev->hal_reg_capabilities.low_5ghz_chan; ev 5391 drivers/net/wireless/ath/ath10k/wmi.c arg->high_5ghz_chan = ev->hal_reg_capabilities.high_5ghz_chan; ev 5392 drivers/net/wireless/ath/ath10k/wmi.c arg->num_mem_reqs = ev->num_mem_reqs; ev 5393 drivers/net/wireless/ath/ath10k/wmi.c arg->service_map = ev->wmi_service_bitmap; ev 5394 drivers/net/wireless/ath/ath10k/wmi.c arg->service_map_len = sizeof(ev->wmi_service_bitmap); ev 5399 drivers/net/wireless/ath/ath10k/wmi.c arg->mem_reqs[i] = &ev->mem_reqs[i]; ev 5574 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_ready_event *ev = (void *)skb->data; ev 5576 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 5579 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 5580 drivers/net/wireless/ath/ath10k/wmi.c arg->sw_version = ev->sw_version; ev 5581 drivers/net/wireless/ath/ath10k/wmi.c arg->abi_version = ev->abi_version; ev 5582 drivers/net/wireless/ath/ath10k/wmi.c arg->status = ev->status; ev 5583 drivers/net/wireless/ath/ath10k/wmi.c arg->mac_addr = ev->mac_addr.addr; ev 5591 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_roam_ev *ev = (void *)skb->data; ev 5593 drivers/net/wireless/ath/ath10k/wmi.c if (skb->len < sizeof(*ev)) ev 5596 drivers/net/wireless/ath/ath10k/wmi.c skb_pull(skb, sizeof(*ev)); ev 5597 drivers/net/wireless/ath/ath10k/wmi.c arg->vdev_id = ev->vdev_id; ev 5598 drivers/net/wireless/ath/ath10k/wmi.c arg->reason = ev->reason; ev 5607 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_echo_event *ev = (void *)skb->data; ev 5609 drivers/net/wireless/ath/ath10k/wmi.c arg->value = ev->value; ev 5655 drivers/net/wireless/ath/ath10k/wmi.c const struct wmi_pdev_temperature_event *ev; ev 5657 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_pdev_temperature_event *)skb->data; ev 5658 drivers/net/wireless/ath/ath10k/wmi.c if (WARN_ON(skb->len < sizeof(*ev))) ev 5661 drivers/net/wireless/ath/ath10k/wmi.c ath10k_thermal_event_temperature(ar, __le32_to_cpu(ev->temperature)); ev 5668 drivers/net/wireless/ath/ath10k/wmi.c struct wmi_pdev_bss_chan_info_event *ev; ev 5675 drivers/net/wireless/ath/ath10k/wmi.c ev = (struct wmi_pdev_bss_chan_info_event *)skb->data; ev 5676 drivers/net/wireless/ath/ath10k/wmi.c if (WARN_ON(skb->len < sizeof(*ev))) ev 5679 drivers/net/wireless/ath/ath10k/wmi.c freq = __le32_to_cpu(ev->freq); ev 5680 drivers/net/wireless/ath/ath10k/wmi.c noise_floor = __le32_to_cpu(ev->noise_floor); ev 5681 drivers/net/wireless/ath/ath10k/wmi.c busy = __le64_to_cpu(ev->cycle_busy); ev 5682 drivers/net/wireless/ath/ath10k/wmi.c total = __le64_to_cpu(ev->cycle_total); ev 5683 drivers/net/wireless/ath/ath10k/wmi.c tx = __le64_to_cpu(ev->cycle_tx); ev 5684 drivers/net/wireless/ath/ath10k/wmi.c rx = __le64_to_cpu(ev->cycle_rx); ev 5685 drivers/net/wireless/ath/ath10k/wmi.c rx_bss = __le64_to_cpu(ev->cycle_rx_bss); ev 6928 drivers/net/wireless/ath/ath10k/wmi.h static inline const char *wow_wakeup_event(enum wmi_wow_wakeup_event ev) ev 6930 drivers/net/wireless/ath/ath10k/wmi.h switch (ev) { ev 506 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_remain_on_chnl_event *ev; ev 513 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 516 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_remain_on_chnl_event *) datap; ev 517 drivers/net/wireless/ath/ath6kl/wmi.c freq = le32_to_cpu(ev->freq); ev 518 drivers/net/wireless/ath/ath6kl/wmi.c dur = le32_to_cpu(ev->duration); ev 539 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_cancel_remain_on_chnl_event *ev; ev 546 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 549 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_cancel_remain_on_chnl_event *) datap; ev 550 drivers/net/wireless/ath/ath6kl/wmi.c freq = le32_to_cpu(ev->freq); ev 551 drivers/net/wireless/ath/ath6kl/wmi.c dur = le32_to_cpu(ev->duration); ev 554 drivers/net/wireless/ath/ath6kl/wmi.c freq, dur, ev->status); ev 576 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_tx_status_event *ev; ev 579 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 582 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_tx_status_event *) datap; ev 583 drivers/net/wireless/ath/ath6kl/wmi.c id = le32_to_cpu(ev->id); ev 585 drivers/net/wireless/ath/ath6kl/wmi.c id, ev->ack_status); ev 590 drivers/net/wireless/ath/ath6kl/wmi.c !!ev->ack_status, GFP_ATOMIC); ev 602 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_p2p_rx_probe_req_event *ev; ev 606 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 609 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_p2p_rx_probe_req_event *) datap; ev 610 drivers/net/wireless/ath/ath6kl/wmi.c freq = le32_to_cpu(ev->freq); ev 611 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); ev 612 drivers/net/wireless/ath/ath6kl/wmi.c if (datap + len < ev->data + dlen) { ev 622 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); ev 629 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_p2p_capabilities_event *ev; ev 632 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 635 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_p2p_capabilities_event *) datap; ev 636 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); ev 645 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_rx_action_event *ev; ev 649 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 652 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_rx_action_event *) datap; ev 653 drivers/net/wireless/ath/ath6kl/wmi.c freq = le32_to_cpu(ev->freq); ev 654 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); ev 655 drivers/net/wireless/ath/ath6kl/wmi.c if (datap + len < ev->data + dlen) { ev 661 drivers/net/wireless/ath/ath6kl/wmi.c cfg80211_rx_mgmt(&vif->wdev, freq, 0, ev->data, dlen, 0); ev 668 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_p2p_info_event *ev; ev 672 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 675 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_p2p_info_event *) datap; ev 676 drivers/net/wireless/ath/ath6kl/wmi.c flags = le32_to_cpu(ev->info_req_flags); ev 677 drivers/net/wireless/ath/ath6kl/wmi.c dlen = le16_to_cpu(ev->len); ev 684 drivers/net/wireless/ath/ath6kl/wmi.c cap = (struct wmi_p2p_capabilities *) ev->data; ev 693 drivers/net/wireless/ath/ath6kl/wmi.c mac = (struct wmi_p2p_macaddr *) ev->data; ev 702 drivers/net/wireless/ath/ath6kl/wmi.c mod = (struct wmi_p2p_hmodel *) ev->data; ev 743 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_ready_event_2 *ev = (struct wmi_ready_event_2 *) datap; ev 748 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_ready_event(wmi->parent_dev, ev->mac_addr, ev 749 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->sw_version), ev 750 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->abi_version), ev->phy_cap); ev 857 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_connect_event *ev; ev 863 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_connect_event *) datap; ev 868 drivers/net/wireless/ath/ath6kl/wmi.c if (memcmp(dev->dev_addr, ev->u.ap_bss.bssid, ETH_ALEN) == 0) { ev 871 drivers/net/wireless/ath/ath6kl/wmi.c __func__, le16_to_cpu(ev->u.ap_bss.ch), ev 872 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_bss.bssid); ev 874 drivers/net/wireless/ath/ath6kl/wmi.c vif, le16_to_cpu(ev->u.ap_bss.ch)); ev 878 drivers/net/wireless/ath/ath6kl/wmi.c __func__, ev->u.ap_sta.aid, ev 879 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.mac_addr, ev 880 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.auth, ev 881 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.keymgmt, ev 882 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.ap_sta.cipher), ev 883 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.apsd_info); ev 886 drivers/net/wireless/ath/ath6kl/wmi.c vif, ev->u.ap_sta.aid, ev->u.ap_sta.mac_addr, ev 887 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.keymgmt, ev 888 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.ap_sta.cipher), ev 889 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.auth, ev->assoc_req_len, ev 890 drivers/net/wireless/ath/ath6kl/wmi.c ev->assoc_info + ev->beacon_ie_len, ev 891 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.ap_sta.apsd_info); ev 900 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.ch), ev->u.sta.bssid, ev 901 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.listen_intvl), ev 902 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.beacon_intvl), ev 903 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->u.sta.nw_type)); ev 906 drivers/net/wireless/ath/ath6kl/wmi.c pie = ev->assoc_info + ev->beacon_ie_len + ev 907 drivers/net/wireless/ath/ath6kl/wmi.c ev->assoc_req_len + (sizeof(u16) * 3); /* capinfo, status, aid */ ev 910 drivers/net/wireless/ath/ath6kl/wmi.c peie = ev->assoc_info + ev->beacon_ie_len + ev->assoc_req_len + ev 911 drivers/net/wireless/ath/ath6kl/wmi.c ev->assoc_resp_len; ev 932 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_connect_event(vif, le16_to_cpu(ev->u.sta.ch), ev 933 drivers/net/wireless/ath/ath6kl/wmi.c ev->u.sta.bssid, ev 934 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.listen_intvl), ev 935 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->u.sta.beacon_intvl), ev 936 drivers/net/wireless/ath/ath6kl/wmi.c le32_to_cpu(ev->u.sta.nw_type), ev 937 drivers/net/wireless/ath/ath6kl/wmi.c ev->beacon_ie_len, ev->assoc_req_len, ev 938 drivers/net/wireless/ath/ath6kl/wmi.c ev->assoc_resp_len, ev->assoc_info); ev 987 drivers/net/wireless/ath/ath6kl/wmi.c struct ath6kl_wmi_regdomain *ev; ev 993 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct ath6kl_wmi_regdomain *) datap; ev 994 drivers/net/wireless/ath/ath6kl/wmi.c reg_code = le32_to_cpu(ev->reg_code); ev 1023 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_disconnect_event *ev; ev 1029 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_disconnect_event *) datap; ev 1033 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->proto_reason_status), ev->bssid, ev 1034 drivers/net/wireless/ath/ath6kl/wmi.c ev->disconn_reason, ev->assoc_resp_len); ev 1038 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_disconnect_event(vif, ev->disconn_reason, ev 1039 drivers/net/wireless/ath/ath6kl/wmi.c ev->bssid, ev->assoc_resp_len, ev->assoc_info, ev 1040 drivers/net/wireless/ath/ath6kl/wmi.c le16_to_cpu(ev->proto_reason_status)); ev 1047 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_peer_node_event *ev; ev 1052 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_peer_node_event *) datap; ev 1054 drivers/net/wireless/ath/ath6kl/wmi.c if (ev->event_code == PEER_NODE_JOIN_EVENT) ev 1056 drivers/net/wireless/ath/ath6kl/wmi.c ev->peer_mac_addr); ev 1057 drivers/net/wireless/ath/ath6kl/wmi.c else if (ev->event_code == PEER_NODE_LEAVE_EVENT) ev 1059 drivers/net/wireless/ath/ath6kl/wmi.c ev->peer_mac_addr); ev 1067 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_tkip_micerr_event *ev; ev 1072 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_tkip_micerr_event *) datap; ev 1074 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_tkip_micerr_event(vif, ev->key_id, ev->is_mcast); ev 1173 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_pstream_timeout_event *ev; ev 1178 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_pstream_timeout_event *) datap; ev 1179 drivers/net/wireless/ath/ath6kl/wmi.c if (ev->traffic_class >= WMM_NUM_AC) { ev 1180 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_err("invalid traffic class: %d\n", ev->traffic_class); ev 1191 drivers/net/wireless/ath/ath6kl/wmi.c wmi->stream_exist_for_ac[ev->traffic_class] = 0; ev 1192 drivers/net/wireless/ath/ath6kl/wmi.c wmi->fat_pipe_exist &= ~(1 << ev->traffic_class); ev 1196 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_indicate_tx_activity(wmi->parent_dev, ev->traffic_class, false); ev 1283 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_scan_complete_event *ev; ev 1285 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_scan_complete_event *) datap; ev 1287 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_scan_complete_evt(vif, a_sle32_to_cpu(ev->status)); ev 1296 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_neighbor_report_event *ev; ev 1299 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 1301 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_neighbor_report_event *) datap; ev 1302 drivers/net/wireless/ath/ath6kl/wmi.c if (struct_size(ev, neighbor, ev->num_neighbors) > len) { ev 1305 drivers/net/wireless/ath/ath6kl/wmi.c ev->num_neighbors, len); ev 1308 drivers/net/wireless/ath/ath6kl/wmi.c for (i = 0; i < ev->num_neighbors; i++) { ev 1310 drivers/net/wireless/ath/ath6kl/wmi.c i + 1, ev->num_neighbors, ev->neighbor[i].bssid, ev 1311 drivers/net/wireless/ath/ath6kl/wmi.c ev->neighbor[i].bss_flags); ev 1313 drivers/net/wireless/ath/ath6kl/wmi.c ev->neighbor[i].bssid, ev 1314 drivers/net/wireless/ath/ath6kl/wmi.c !!(ev->neighbor[i].bss_flags & ev 1332 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_cmd_error_event *ev; ev 1333 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_cmd_error_event *) datap; ev 1335 drivers/net/wireless/ath/ath6kl/wmi.c switch (ev->err_code) { ev 1348 drivers/net/wireless/ath/ath6kl/wmi.c ev->cmd_id, type); ev 1586 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_txe_notify_event *ev; ev 1589 drivers/net/wireless/ath/ath6kl/wmi.c if (len < sizeof(*ev)) ev 1600 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_txe_notify_event *) datap; ev 1601 drivers/net/wireless/ath/ath6kl/wmi.c rate = le32_to_cpu(ev->rate); ev 1602 drivers/net/wireless/ath/ath6kl/wmi.c pkts = le32_to_cpu(ev->pkts); ev 1760 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_aplist_event *ev = (struct wmi_aplist_event *) datap; ev 1765 drivers/net/wireless/ath/ath6kl/wmi.c ev->ap_list_ver != APLIST_VER1) ev 1769 drivers/net/wireless/ath/ath6kl/wmi.c ap_info_v1 = (struct wmi_ap_info_v1 *) ev->ap_list; ev 1772 drivers/net/wireless/ath/ath6kl/wmi.c "number of APs in aplist event: %d\n", ev->num_ap); ev 1775 drivers/net/wireless/ath/ath6kl/wmi.c (ev->num_ap - 1) * ap_info_entry_size)) ev 1779 drivers/net/wireless/ath/ath6kl/wmi.c for (index = 0; index < ev->num_ap; index++) { ev 3489 drivers/net/wireless/ath/ath6kl/wmi.c struct wmi_pspoll_event *ev; ev 3494 drivers/net/wireless/ath/ath6kl/wmi.c ev = (struct wmi_pspoll_event *) datap; ev 3496 drivers/net/wireless/ath/ath6kl/wmi.c ath6kl_pspoll_event(vif, le16_to_cpu(ev->aid)); ev 482 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev); ev 484 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev); ev 486 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev); ev 513 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev) ev 517 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev) ev 522 drivers/net/wireless/ath/ath9k/ath9k.h enum ath_chanctx_event ev) ev 202 drivers/net/wireless/ath/ath9k/channel.c static const char *chanctx_event_string(enum ath_chanctx_event ev) ev 204 drivers/net/wireless/ath/ath9k/channel.c switch (ev) { ev 495 drivers/net/wireless/ath/ath9k/channel.c enum ath_chanctx_event ev) ev 512 drivers/net/wireless/ath/ath9k/channel.c chanctx_event_string(ev), ev 516 drivers/net/wireless/ath/ath9k/channel.c switch (ev) { ev 778 drivers/net/wireless/ath/ath9k/channel.c enum ath_chanctx_event ev) ev 781 drivers/net/wireless/ath/ath9k/channel.c ath_chanctx_event(sc, NULL, ev); ev 785 drivers/net/wireless/ath/ath9k/channel.c enum ath_chanctx_event ev) ev 787 drivers/net/wireless/ath/ath9k/channel.c ath_chanctx_event(sc, NULL, ev); ev 258 drivers/net/wireless/intel/ipw2x00/libipw_wx.c char *ev = extra; ev 259 drivers/net/wireless/intel/ipw2x00/libipw_wx.c char *stop = ev + wrqu->data.length; ev 268 drivers/net/wireless/intel/ipw2x00/libipw_wx.c if (stop - ev < SCAN_ITEM_SIZE) { ev 275 drivers/net/wireless/intel/ipw2x00/libipw_wx.c ev = libipw_translate_scan(ieee, ev, stop, network, ev 288 drivers/net/wireless/intel/ipw2x00/libipw_wx.c wrqu->data.length = ev - extra; ev 409 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ev, time, data; /* event log data */ ev 438 drivers/net/wireless/intel/iwlwifi/dvm/main.c ev = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT); ev 442 drivers/net/wireless/intel/iwlwifi/dvm/main.c priv->trans->dev, 0, time, ev); ev 446 drivers/net/wireless/intel/iwlwifi/dvm/main.c priv->trans->dev, time, data, ev); ev 1704 drivers/net/wireless/intel/iwlwifi/dvm/main.c u32 ev, time, data; /* event log data */ ev 1738 drivers/net/wireless/intel/iwlwifi/dvm/main.c ev = iwl_read32(trans, HBUS_TARG_MEM_RDAT); ev 1745 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); ev 1748 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); ev 1750 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, ev); ev 1757 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, data, ev); ev 1760 drivers/net/wireless/intel/iwlwifi/dvm/main.c time, data, ev); ev 1762 drivers/net/wireless/intel/iwlwifi/dvm/main.c data, ev); ev 121 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), ev 122 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h TP_ARGS(dev, time, data, ev), ev 128 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __field(u32, ev) ev 134 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __entry->ev = ev; ev 137 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-iwlwifi.h __get_str(dev), __entry->time, __entry->data, __entry->ev) ev 21 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h TP_PROTO(const struct device *dev, u32 time, u32 data, u32 ev), ev 22 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h TP_ARGS(dev, time, data, ev), ev 28 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __field(u32, ev) ev 34 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __entry->ev = ev; ev 37 drivers/net/wireless/intel/iwlwifi/iwl-devtrace-ucode.h __get_str(dev), __entry->time, __entry->data, __entry->ev) ev 2476 drivers/net/wireless/intersil/hostap/hostap_hw.c u16 ev; ev 2487 drivers/net/wireless/intersil/hostap/hostap_hw.c ev = HFA384X_INW(HFA384X_EVSTAT_OFF); ev 2488 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev == 0xffff || !(ev & HFA384X_BAP0_EVENTS)) ev 2490 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_RX) ev 2492 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_INFO) ev 2494 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_TX) ev 2496 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_TXEXC) ev 2608 drivers/net/wireless/intersil/hostap/hostap_hw.c u16 ev; ev 2638 drivers/net/wireless/intersil/hostap/hostap_hw.c ev = HFA384X_INW(HFA384X_EVSTAT_OFF); ev 2639 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev == 0xffff) { ev 2648 drivers/net/wireless/intersil/hostap/hostap_hw.c ev &= HFA384X_INW(HFA384X_INTEN_OFF); ev 2649 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev == 0) ev 2652 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_CMD) { ev 2662 drivers/net/wireless/intersil/hostap/hostap_hw.c ev = HFA384X_INW(HFA384X_EVSTAT_OFF); ev 2663 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_CMD) ev 2665 drivers/net/wireless/intersil/hostap/hostap_hw.c if ((ev & HFA384X_EVENT_MASK) == 0) ev 2667 drivers/net/wireless/intersil/hostap/hostap_hw.c if (local->dev_enabled && (ev & ~HFA384X_EV_TICK) && ev 2672 drivers/net/wireless/intersil/hostap/hostap_hw.c dev->name, ev, ev 2680 drivers/net/wireless/intersil/hostap/hostap_hw.c HFA384X_OUTW(ev, HFA384X_EVACK_OFF); ev 2684 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_TICK) { ev 2689 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_ALLOC) { ev 2697 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_BAP0_EVENTS) { ev 2703 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_WTERR) { ev 2709 drivers/net/wireless/intersil/hostap/hostap_hw.c if (ev & HFA384X_EV_INFDROP) { ev 517 drivers/net/wireless/quantenna/qtnfmac/event.c const struct qlink_event_radar *ev, ev 523 drivers/net/wireless/quantenna/qtnfmac/event.c if (len < sizeof(*ev)) { ev 531 drivers/net/wireless/quantenna/qtnfmac/event.c qlink_chandef_q2cfg(wiphy, &ev->chan, &chandef); ev 542 drivers/net/wireless/quantenna/qtnfmac/event.c vif->netdev->name, ev->event, ev 546 drivers/net/wireless/quantenna/qtnfmac/event.c switch (ev->event) { ev 577 drivers/net/wireless/quantenna/qtnfmac/event.c vif->netdev->name, ev->event); ev 586 drivers/net/wireless/quantenna/qtnfmac/event.c const struct qlink_event_external_auth *ev, ev 593 drivers/net/wireless/quantenna/qtnfmac/event.c if (len < sizeof(*ev)) { ev 601 drivers/net/wireless/quantenna/qtnfmac/event.c if (ev->ssid_len) { ev 602 drivers/net/wireless/quantenna/qtnfmac/event.c memcpy(auth.ssid.ssid, ev->ssid, ev->ssid_len); ev 603 drivers/net/wireless/quantenna/qtnfmac/event.c auth.ssid.ssid_len = ev->ssid_len; ev 606 drivers/net/wireless/quantenna/qtnfmac/event.c auth.key_mgmt_suite = le32_to_cpu(ev->akm_suite); ev 607 drivers/net/wireless/quantenna/qtnfmac/event.c ether_addr_copy(auth.bssid, ev->bssid); ev 608 drivers/net/wireless/quantenna/qtnfmac/event.c auth.action = ev->action; ev 1535 drivers/nvme/host/rdma.c struct rdma_cm_event *ev) ev 1538 drivers/nvme/host/rdma.c int status = ev->status; ev 1544 drivers/nvme/host/rdma.c rej_data = rdma_consumer_reject_data(cm_id, ev, &rej_data_len); ev 1636 drivers/nvme/host/rdma.c struct rdma_cm_event *ev) ev 1642 drivers/nvme/host/rdma.c rdma_event_msg(ev->event), ev->event, ev 1643 drivers/nvme/host/rdma.c ev->status, cm_id); ev 1645 drivers/nvme/host/rdma.c switch (ev->event) { ev 1659 drivers/nvme/host/rdma.c cm_error = nvme_rdma_conn_rejected(queue, ev); ev 1668 drivers/nvme/host/rdma.c "CM error event %d\n", ev->event); ev 1683 drivers/nvme/host/rdma.c "Unexpected RDMA CM event (%d)\n", ev->event); ev 22 drivers/perf/hisilicon/hisi_uncore_pmu.c #define HISI_GET_EVENTID(ev) (ev->hw.config_base & 0xff) ev 24 drivers/perf/thunderx2_pmu.c #define GET_EVENTID(ev) ((ev->hw.config) & 0x1f) ev 25 drivers/perf/thunderx2_pmu.c #define GET_COUNTERID(ev) ((ev->hw.idx) & 0x3) ev 81 drivers/perf/xgene_pmu.c #define GET_CNTR(ev) (ev->hw.idx) ev 82 drivers/perf/xgene_pmu.c #define GET_EVENTID(ev) (ev->hw.config & 0xFFULL) ev 83 drivers/perf/xgene_pmu.c #define GET_AGENTID(ev) (ev->hw.config_base & 0xFFFFFFFFUL) ev 84 drivers/perf/xgene_pmu.c #define GET_AGENT1ID(ev) ((ev->hw.config_base >> 32) & 0xFFFFFFFFUL) ev 85 drivers/platform/chrome/wilco_ec/event.c #define ec_event_num_words(ev) (ev->size - 1) ev 86 drivers/platform/chrome/wilco_ec/event.c #define ec_event_size(ev) (sizeof(*ev) + (ec_event_num_words(ev) * sizeof(u16))) ev 133 drivers/platform/chrome/wilco_ec/event.c struct ec_event *ev; ev 138 drivers/platform/chrome/wilco_ec/event.c ev = q->entries[q->tail]; ev 142 drivers/platform/chrome/wilco_ec/event.c return ev; ev 150 drivers/platform/chrome/wilco_ec/event.c struct ec_event *ev) ev 156 drivers/platform/chrome/wilco_ec/event.c q->entries[q->head] = ev; ev 3655 drivers/platform/x86/sony-laptop.c static int type3_handle_irq(const u8 data_mask, const u8 ev) ev 3665 drivers/platform/x86/sony-laptop.c if (ev == 0x5c || ev == 0x5f) ev 3667 drivers/platform/x86/sony-laptop.c else if (ev == 0x61) ev 4591 drivers/platform/x86/sony-laptop.c u8 ev = 0; ev 4597 drivers/platform/x86/sony-laptop.c ev = inb_p(dev->cur_ioport->io1.minimum); ev 4605 drivers/platform/x86/sony-laptop.c ev, data_mask, dev->cur_ioport->io1.minimum, ev 4608 drivers/platform/x86/sony-laptop.c if (ev == 0x00 || ev == 0xff) ev 4621 drivers/platform/x86/sony-laptop.c if (ev == dev->event_types[i].events[j].data) { ev 4634 drivers/platform/x86/sony-laptop.c if (dev->handle_irq && dev->handle_irq(data_mask, ev) == 0) ev 4638 drivers/platform/x86/sony-laptop.c ev, data_mask, dev->cur_ioport->io1.minimum, ev 55 drivers/pps/pps.c unsigned int ev = pps->last_ev; ev 61 drivers/pps/pps.c ev != pps->last_ev); ev 74 drivers/pps/pps.c ev != pps->last_ev, ev 518 drivers/s390/net/netiucv.c struct iucv_event ev; ev 520 drivers/s390/net/netiucv.c ev.conn = conn; ev 521 drivers/s390/net/netiucv.c ev.data = msg; ev 522 drivers/s390/net/netiucv.c fsm_event(conn->fsm, CONN_EVENT_RX, &ev); ev 529 drivers/s390/net/netiucv.c struct iucv_event ev; ev 531 drivers/s390/net/netiucv.c ev.conn = conn; ev 532 drivers/s390/net/netiucv.c ev.data = msg; ev 533 drivers/s390/net/netiucv.c fsm_event(conn->fsm, CONN_EVENT_TXDONE, &ev); ev 547 drivers/s390/net/netiucv.c struct iucv_event ev; ev 563 drivers/s390/net/netiucv.c ev.conn = conn; ev 564 drivers/s390/net/netiucv.c ev.data = path; ev 565 drivers/s390/net/netiucv.c fsm_event(conn->fsm, CONN_EVENT_CONN_REQ, &ev); ev 671 drivers/s390/net/netiucv.c struct iucv_event *ev = arg; ev 672 drivers/s390/net/netiucv.c struct iucv_connection *conn = ev->conn; ev 673 drivers/s390/net/netiucv.c struct iucv_message *msg = ev->data; ev 707 drivers/s390/net/netiucv.c struct iucv_event *ev = arg; ev 708 drivers/s390/net/netiucv.c struct iucv_connection *conn = ev->conn; ev 709 drivers/s390/net/netiucv.c struct iucv_message *msg = ev->data; ev 797 drivers/s390/net/netiucv.c struct iucv_event *ev = arg; ev 798 drivers/s390/net/netiucv.c struct iucv_connection *conn = ev->conn; ev 799 drivers/s390/net/netiucv.c struct iucv_path *path = ev->data; ev 821 drivers/s390/net/netiucv.c struct iucv_event *ev = arg; ev 822 drivers/s390/net/netiucv.c struct iucv_path *path = ev->data; ev 954 drivers/s390/net/netiucv.c struct iucv_event *ev = arg; ev 955 drivers/s390/net/netiucv.c struct iucv_connection *conn = ev->conn; ev 1053 drivers/s390/net/netiucv.c struct iucv_event ev; ev 1057 drivers/s390/net/netiucv.c ev.conn = privptr->conn; ev 1060 drivers/s390/net/netiucv.c fsm_event(privptr->conn->fsm, CONN_EVENT_STOP, &ev); ev 61 drivers/s390/net/smsgiucv_app.c static void smsg_app_event_free(struct smsg_app_event *ev) ev 63 drivers/s390/net/smsgiucv_app.c kfree(ev->buf); ev 64 drivers/s390/net/smsgiucv_app.c kfree(ev); ev 70 drivers/s390/net/smsgiucv_app.c struct smsg_app_event *ev; ev 72 drivers/s390/net/smsgiucv_app.c ev = kzalloc(sizeof(*ev), GFP_ATOMIC); ev 73 drivers/s390/net/smsgiucv_app.c if (!ev) ev 76 drivers/s390/net/smsgiucv_app.c ev->buf = kzalloc(ENV_SENDER_LEN + ENV_PREFIX_LEN + ev 78 drivers/s390/net/smsgiucv_app.c if (!ev->buf) { ev 79 drivers/s390/net/smsgiucv_app.c kfree(ev); ev 84 drivers/s390/net/smsgiucv_app.c ev->envp[0] = ev->buf; ev 85 drivers/s390/net/smsgiucv_app.c ev->envp[1] = ev->envp[0] + ENV_SENDER_LEN; ev 86 drivers/s390/net/smsgiucv_app.c ev->envp[2] = ev->envp[1] + ENV_PREFIX_LEN; ev 87 drivers/s390/net/smsgiucv_app.c ev->envp[3] = NULL; ev 90 drivers/s390/net/smsgiucv_app.c snprintf(ev->envp[0], ENV_SENDER_LEN, ENV_SENDER_STR "%s", from); ev 91 drivers/s390/net/smsgiucv_app.c snprintf(ev->envp[1], ENV_PREFIX_LEN, ENV_PREFIX_STR "%s", SMSG_PREFIX); ev 92 drivers/s390/net/smsgiucv_app.c snprintf(ev->envp[2], ENV_TEXT_LEN(msg), ENV_TEXT_STR "%s", msg); ev 94 drivers/s390/net/smsgiucv_app.c return ev; ev 548 drivers/scsi/fnic/fnic_fcs.c static void fnic_event_enq(struct fnic *fnic, enum fnic_evt ev) ev 558 drivers/scsi/fnic/fnic_fcs.c fevt->event = ev; ev 235 drivers/scsi/libsas/sas_discover.c struct sas_discovery_event *ev = to_sas_discovery_event(work); ev 236 drivers/scsi/libsas/sas_discover.c struct asd_sas_port *port = ev->port; ev 264 drivers/scsi/libsas/sas_discover.c struct sas_discovery_event *ev = to_sas_discovery_event(work); ev 265 drivers/scsi/libsas/sas_discover.c struct asd_sas_port *port = ev->port; ev 438 drivers/scsi/libsas/sas_discover.c struct sas_discovery_event *ev = to_sas_discovery_event(work); ev 439 drivers/scsi/libsas/sas_discover.c struct asd_sas_port *port = ev->port; ev 498 drivers/scsi/libsas/sas_discover.c struct sas_discovery_event *ev = to_sas_discovery_event(work); ev 499 drivers/scsi/libsas/sas_discover.c struct asd_sas_port *port = ev->port; ev 554 drivers/scsi/libsas/sas_discover.c int sas_discover_event(struct asd_sas_port *port, enum discover_event ev) ev 562 drivers/scsi/libsas/sas_discover.c BUG_ON(ev >= DISC_NUM_EVENTS); ev 564 drivers/scsi/libsas/sas_discover.c sas_chain_event(ev, &disc->pending, &disc->disc_work[ev].work, port->ha); ev 100 drivers/scsi/libsas/sas_event.c const int ev = DISCE_REVALIDATE_DOMAIN; ev 104 drivers/scsi/libsas/sas_event.c if (!test_and_clear_bit(ev, &d->pending)) ev 120 drivers/scsi/libsas/sas_event.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 122 drivers/scsi/libsas/sas_event.c sas_port_event_fns[ev->event](work); ev 123 drivers/scsi/libsas/sas_event.c sas_free_event(ev); ev 128 drivers/scsi/libsas/sas_event.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 130 drivers/scsi/libsas/sas_event.c sas_phy_event_fns[ev->event](work); ev 131 drivers/scsi/libsas/sas_event.c sas_free_event(ev); ev 136 drivers/scsi/libsas/sas_event.c struct asd_sas_event *ev; ev 142 drivers/scsi/libsas/sas_event.c ev = sas_alloc_event(phy); ev 143 drivers/scsi/libsas/sas_event.c if (!ev) ev 146 drivers/scsi/libsas/sas_event.c INIT_SAS_EVENT(ev, sas_port_event_worker, phy, event); ev 148 drivers/scsi/libsas/sas_event.c ret = sas_queue_event(event, &ev->work, ha); ev 150 drivers/scsi/libsas/sas_event.c sas_free_event(ev); ev 157 drivers/scsi/libsas/sas_event.c struct asd_sas_event *ev; ev 163 drivers/scsi/libsas/sas_event.c ev = sas_alloc_event(phy); ev 164 drivers/scsi/libsas/sas_event.c if (!ev) ev 167 drivers/scsi/libsas/sas_event.c INIT_SAS_EVENT(ev, sas_phy_event_worker, phy, event); ev 169 drivers/scsi/libsas/sas_event.c ret = sas_queue_event(event, &ev->work, ha); ev 171 drivers/scsi/libsas/sas_event.c sas_free_event(ev); ev 19 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 20 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 28 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 29 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 36 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 37 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 65 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 66 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 77 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 78 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 94 drivers/scsi/libsas/sas_phy.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 95 drivers/scsi/libsas/sas_phy.c struct asd_sas_phy *phy = ev->phy; ev 266 drivers/scsi/libsas/sas_port.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 267 drivers/scsi/libsas/sas_port.c struct asd_sas_phy *phy = ev->phy; ev 274 drivers/scsi/libsas/sas_port.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 275 drivers/scsi/libsas/sas_port.c struct asd_sas_phy *phy = ev->phy; ev 292 drivers/scsi/libsas/sas_port.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 293 drivers/scsi/libsas/sas_port.c struct asd_sas_phy *phy = ev->phy; ev 300 drivers/scsi/libsas/sas_port.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 301 drivers/scsi/libsas/sas_port.c struct asd_sas_phy *phy = ev->phy; ev 308 drivers/scsi/libsas/sas_port.c struct asd_sas_event *ev = to_asd_sas_event(work); ev 309 drivers/scsi/libsas/sas_port.c struct asd_sas_phy *phy = ev->phy; ev 2334 drivers/scsi/megaraid/megaraid_sas.h struct megasas_aen_event *ev; ev 3147 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_aen_event *ev; ev 3149 drivers/scsi/megaraid/megaraid_sas_base.c ev = kzalloc(sizeof(*ev), GFP_ATOMIC); ev 3150 drivers/scsi/megaraid/megaraid_sas_base.c if (!ev) { ev 3153 drivers/scsi/megaraid/megaraid_sas_base.c ev->instance = instance; ev 3154 drivers/scsi/megaraid/megaraid_sas_base.c instance->ev = ev; ev 3155 drivers/scsi/megaraid/megaraid_sas_base.c INIT_DELAYED_WORK(&ev->hotplug_work, ev 3157 drivers/scsi/megaraid/megaraid_sas_base.c schedule_delayed_work(&ev->hotplug_work, 0); ev 7558 drivers/scsi/megaraid/megaraid_sas_base.c if (instance->ev != NULL) { ev 7559 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_aen_event *ev = instance->ev; ev 7560 drivers/scsi/megaraid/megaraid_sas_base.c cancel_delayed_work_sync(&ev->hotplug_work); ev 7561 drivers/scsi/megaraid/megaraid_sas_base.c instance->ev = NULL; ev 7795 drivers/scsi/megaraid/megaraid_sas_base.c if (instance->ev != NULL) { ev 7796 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_aen_event *ev = instance->ev; ev 7797 drivers/scsi/megaraid/megaraid_sas_base.c cancel_delayed_work_sync(&ev->hotplug_work); ev 7798 drivers/scsi/megaraid/megaraid_sas_base.c instance->ev = NULL; ev 8684 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_aen_event *ev = ev 8686 drivers/scsi/megaraid/megaraid_sas_base.c struct megasas_instance *instance = ev->instance; ev 8695 drivers/scsi/megaraid/megaraid_sas_base.c kfree(ev); ev 8702 drivers/scsi/megaraid/megaraid_sas_base.c instance->ev = NULL; ev 8745 drivers/scsi/megaraid/megaraid_sas_base.c kfree(ev); ev 8768 drivers/scsi/megaraid/megaraid_sas_base.c kfree(ev); ev 8780 drivers/scsi/megaraid/megaraid_sas_base.c kfree(ev); ev 814 drivers/scsi/myrs.c static void myrs_log_event(struct myrs_hba *cs, struct myrs_event *ev) ev 825 drivers/scsi/myrs.c if (ev->ev_code == 0x1C) { ev 826 drivers/scsi/myrs.c if (!scsi_normalize_sense(ev->sense_data, 40, &sshdr)) { ev 831 drivers/scsi/myrs.c memcpy(sense_info, &ev->sense_data[3], 4); ev 832 drivers/scsi/myrs.c memcpy(cmd_specific, &ev->sense_data[7], 4); ev 837 drivers/scsi/myrs.c ev->ev_code = ((sshdr.asc - 0x80) << 8 | sshdr.ascq); ev 840 drivers/scsi/myrs.c if (ev_code == ev->ev_code || ev_code == 0) ev 849 drivers/scsi/myrs.c ev->ev_code); ev 854 drivers/scsi/myrs.c sdev = scsi_device_lookup(shost, ev->channel, ev 855 drivers/scsi/myrs.c ev->target, 0); ev 857 drivers/scsi/myrs.c ev->ev_seq, ev_msg); ev 862 drivers/scsi/myrs.c switch (ev->ev_code) { ev 885 drivers/scsi/myrs.c ev->ev_seq, ev->lun, ev_msg); ev 891 drivers/scsi/myrs.c ev->ev_seq, ev->lun, ev_msg); ev 902 drivers/scsi/myrs.c ev->ev_seq, ev->channel, ev->target, ev_msg); ev 905 drivers/scsi/myrs.c ev->channel, ev->target, ev 909 drivers/scsi/myrs.c ev->channel, ev->target, ev 918 drivers/scsi/myrs.c sprintf(msg_buf, ev_msg, ev->lun); ev 920 drivers/scsi/myrs.c ev->ev_seq, ev->target, msg_buf); ev 924 drivers/scsi/myrs.c ev->ev_seq, ev_msg); ev 929 drivers/scsi/myrs.c ev->ev_seq, ev->ev_code); ev 2344 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2347 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev) + sizeof(struct iscsi_hdr) + ev 2363 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2364 drivers/scsi/scsi_transport_iscsi.c memset(ev, 0, sizeof(*ev)); ev 2365 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(conn->transport); ev 2366 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_RECV_PDU; ev 2367 drivers/scsi/scsi_transport_iscsi.c ev->r.recv_req.cid = conn->cid; ev 2368 drivers/scsi/scsi_transport_iscsi.c ev->r.recv_req.sid = iscsi_conn_get_sid(conn); ev 2369 drivers/scsi/scsi_transport_iscsi.c pdu = (char*)ev + sizeof(*ev); ev 2383 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2384 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev) + data_size); ev 2393 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2394 drivers/scsi/scsi_transport_iscsi.c memset(ev, 0, sizeof(*ev)); ev 2395 drivers/scsi/scsi_transport_iscsi.c ev->type = type; ev 2396 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(transport); ev 2399 drivers/scsi/scsi_transport_iscsi.c ev->r.req_path.host_no = shost->host_no; ev 2402 drivers/scsi/scsi_transport_iscsi.c ev->r.notify_if_down.host_no = shost->host_no; ev 2406 drivers/scsi/scsi_transport_iscsi.c memcpy((char *)ev + sizeof(*ev), data, data_size); ev 2416 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2418 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev)); ev 2432 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2433 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(conn->transport); ev 2434 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_CONN_ERROR; ev 2435 drivers/scsi/scsi_transport_iscsi.c ev->r.connerror.error = error; ev 2436 drivers/scsi/scsi_transport_iscsi.c ev->r.connerror.cid = conn->cid; ev 2437 drivers/scsi/scsi_transport_iscsi.c ev->r.connerror.sid = iscsi_conn_get_sid(conn); ev 2451 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2453 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev)); ev 2467 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2468 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(conn->transport); ev 2469 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_CONN_LOGIN_STATE; ev 2470 drivers/scsi/scsi_transport_iscsi.c ev->r.conn_login.state = state; ev 2471 drivers/scsi/scsi_transport_iscsi.c ev->r.conn_login.cid = conn->cid; ev 2472 drivers/scsi/scsi_transport_iscsi.c ev->r.conn_login.sid = iscsi_conn_get_sid(conn); ev 2486 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2487 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev) + data_size); ev 2497 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2498 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(transport); ev 2499 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_HOST_EVENT; ev 2500 drivers/scsi/scsi_transport_iscsi.c ev->r.host_event.host_no = host_no; ev 2501 drivers/scsi/scsi_transport_iscsi.c ev->r.host_event.code = code; ev 2502 drivers/scsi/scsi_transport_iscsi.c ev->r.host_event.data_size = data_size; ev 2505 drivers/scsi/scsi_transport_iscsi.c memcpy((char *)ev + sizeof(*ev), data, data_size); ev 2517 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2518 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev) + data_size); ev 2527 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2528 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(transport); ev 2529 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_PING_COMP; ev 2530 drivers/scsi/scsi_transport_iscsi.c ev->r.ping_comp.host_no = host_no; ev 2531 drivers/scsi/scsi_transport_iscsi.c ev->r.ping_comp.status = status; ev 2532 drivers/scsi/scsi_transport_iscsi.c ev->r.ping_comp.pid = pid; ev 2533 drivers/scsi/scsi_transport_iscsi.c ev->r.ping_comp.data_size = data_size; ev 2534 drivers/scsi/scsi_transport_iscsi.c memcpy((char *)ev + sizeof(*ev), data, data_size); ev 2561 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev = nlmsg_data(nlh); ev 2568 drivers/scsi/scsi_transport_iscsi.c int len = nlmsg_total_size(sizeof(*ev) + ev 2578 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.get_stats.sid, ev->u.get_stats.cid); ev 2599 drivers/scsi/scsi_transport_iscsi.c ev->u.get_stats.cid; ev 2601 drivers/scsi/scsi_transport_iscsi.c ev->u.get_stats.sid; ev 2633 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 2636 drivers/scsi/scsi_transport_iscsi.c int rc, len = nlmsg_total_size(sizeof(*ev)); ev 2652 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 2653 drivers/scsi/scsi_transport_iscsi.c ev->transport_handle = iscsi_handle(session->transport); ev 2655 drivers/scsi/scsi_transport_iscsi.c ev->type = event; ev 2658 drivers/scsi/scsi_transport_iscsi.c ev->r.d_session.host_no = shost->host_no; ev 2659 drivers/scsi/scsi_transport_iscsi.c ev->r.d_session.sid = session->sid; ev 2662 drivers/scsi/scsi_transport_iscsi.c ev->r.c_session_ret.host_no = shost->host_no; ev 2663 drivers/scsi/scsi_transport_iscsi.c ev->r.c_session_ret.sid = session->sid; ev 2666 drivers/scsi/scsi_transport_iscsi.c ev->r.unbind_session.host_no = shost->host_no; ev 2667 drivers/scsi/scsi_transport_iscsi.c ev->r.unbind_session.sid = session->sid; ev 2695 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, pid_t pid, ev 2710 drivers/scsi/scsi_transport_iscsi.c ev->r.c_session_ret.host_no = shost->host_no; ev 2711 drivers/scsi/scsi_transport_iscsi.c ev->r.c_session_ret.sid = session->sid; ev 2718 drivers/scsi/scsi_transport_iscsi.c iscsi_if_create_conn(struct iscsi_transport *transport, struct iscsi_uevent *ev) ev 2723 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.c_conn.sid); ev 2726 drivers/scsi/scsi_transport_iscsi.c ev->u.c_conn.sid); ev 2730 drivers/scsi/scsi_transport_iscsi.c conn = transport->create_conn(session, ev->u.c_conn.cid); ev 2737 drivers/scsi/scsi_transport_iscsi.c ev->r.c_conn_ret.sid = session->sid; ev 2738 drivers/scsi/scsi_transport_iscsi.c ev->r.c_conn_ret.cid = conn->cid; ev 2745 drivers/scsi/scsi_transport_iscsi.c iscsi_if_destroy_conn(struct iscsi_transport *transport, struct iscsi_uevent *ev) ev 2749 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.d_conn.sid, ev->u.d_conn.cid); ev 2761 drivers/scsi/scsi_transport_iscsi.c iscsi_set_param(struct iscsi_transport *transport, struct iscsi_uevent *ev) ev 2763 drivers/scsi/scsi_transport_iscsi.c char *data = (char*)ev + sizeof(*ev); ev 2768 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.set_param.sid); ev 2769 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.set_param.sid, ev->u.set_param.cid); ev 2773 drivers/scsi/scsi_transport_iscsi.c switch (ev->u.set_param.param) { ev 2780 drivers/scsi/scsi_transport_iscsi.c err = transport->set_param(conn, ev->u.set_param.param, ev 2781 drivers/scsi/scsi_transport_iscsi.c data, ev->u.set_param.len); ev 2788 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, int msg_type) ev 2799 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.ep_connect_through_host.host_no); ev 2803 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_connect_through_host.host_no); ev 2806 drivers/scsi/scsi_transport_iscsi.c non_blocking = ev->u.ep_connect_through_host.non_blocking; ev 2808 drivers/scsi/scsi_transport_iscsi.c non_blocking = ev->u.ep_connect.non_blocking; ev 2810 drivers/scsi/scsi_transport_iscsi.c dst_addr = (struct sockaddr *)((char*)ev + sizeof(*ev)); ev 2817 drivers/scsi/scsi_transport_iscsi.c ev->r.ep_connect_ret.handle = ep->id; ev 2849 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, int msg_type) ev 2857 drivers/scsi/scsi_transport_iscsi.c rc = iscsi_if_ep_connect(transport, ev, msg_type); ev 2863 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.ep_poll.ep_handle); ev 2867 drivers/scsi/scsi_transport_iscsi.c ev->r.retcode = transport->ep_poll(ep, ev 2868 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_poll.timeout_ms); ev 2872 drivers/scsi/scsi_transport_iscsi.c ev->u.ep_disconnect.ep_handle); ev 2880 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 2889 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.tgt_dscvr.host_no); ev 2892 drivers/scsi/scsi_transport_iscsi.c ev->u.tgt_dscvr.host_no); ev 2897 drivers/scsi/scsi_transport_iscsi.c dst_addr = (struct sockaddr *)((char*)ev + sizeof(*ev)); ev 2898 drivers/scsi/scsi_transport_iscsi.c err = transport->tgt_dscvr(shost, ev->u.tgt_dscvr.type, ev 2899 drivers/scsi/scsi_transport_iscsi.c ev->u.tgt_dscvr.enable, dst_addr); ev 2906 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 2908 drivers/scsi/scsi_transport_iscsi.c char *data = (char*)ev + sizeof(*ev); ev 2915 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_host_param.host_no); ev 2918 drivers/scsi/scsi_transport_iscsi.c ev->u.set_host_param.host_no); ev 2922 drivers/scsi/scsi_transport_iscsi.c err = transport->set_host_param(shost, ev->u.set_host_param.param, ev 2923 drivers/scsi/scsi_transport_iscsi.c data, ev->u.set_host_param.len); ev 2929 drivers/scsi/scsi_transport_iscsi.c iscsi_set_path(struct iscsi_transport *transport, struct iscsi_uevent *ev) ev 2938 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_path.host_no); ev 2941 drivers/scsi/scsi_transport_iscsi.c ev->u.set_path.host_no); ev 2945 drivers/scsi/scsi_transport_iscsi.c params = (struct iscsi_path *)((char *)ev + sizeof(*ev)); ev 2972 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, uint32_t len) ev 2974 drivers/scsi/scsi_transport_iscsi.c char *data = (char *)ev + sizeof(*ev); ev 2981 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_iface_params.host_no); ev 2984 drivers/scsi/scsi_transport_iscsi.c ev->u.set_iface_params.host_no); ev 2994 drivers/scsi/scsi_transport_iscsi.c iscsi_send_ping(struct iscsi_transport *transport, struct iscsi_uevent *ev) ev 3003 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.iscsi_ping.host_no); ev 3006 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.host_no); ev 3010 drivers/scsi/scsi_transport_iscsi.c dst_addr = (struct sockaddr *)((char *)ev + sizeof(*ev)); ev 3011 drivers/scsi/scsi_transport_iscsi.c err = transport->send_ping(shost, ev->u.iscsi_ping.iface_num, ev 3012 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.iface_type, ev 3013 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.payload_size, ev 3014 drivers/scsi/scsi_transport_iscsi.c ev->u.iscsi_ping.pid, ev 3023 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev = nlmsg_data(nlh); ev 3041 drivers/scsi/scsi_transport_iscsi.c chap_buf_size = (ev->u.get_chap.num_entries * sizeof(*chap_rec)); ev 3042 drivers/scsi/scsi_transport_iscsi.c len = nlmsg_total_size(sizeof(*ev) + chap_buf_size); ev 3044 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.get_chap.host_no); ev 3047 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.get_chap.host_no); ev 3067 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.host_no = ev->u.get_chap.host_no; ev 3068 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.chap_tbl_idx = ev->u.get_chap.chap_tbl_idx; ev 3069 drivers/scsi/scsi_transport_iscsi.c evchap->u.get_chap.num_entries = ev->u.get_chap.num_entries; ev 3073 drivers/scsi/scsi_transport_iscsi.c err = transport->get_chap(shost, ev->u.get_chap.chap_tbl_idx, ev 3076 drivers/scsi/scsi_transport_iscsi.c actual_size = nlmsg_total_size(sizeof(*ev) + chap_buf_size); ev 3090 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, uint32_t len) ev 3092 drivers/scsi/scsi_transport_iscsi.c char *data = (char *)ev + sizeof(*ev); ev 3099 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_path.host_no); ev 3102 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.set_path.host_no); ev 3112 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 3120 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.delete_chap.host_no); ev 3123 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.delete_chap.host_no); ev 3127 drivers/scsi/scsi_transport_iscsi.c err = transport->delete_chap(shost, ev->u.delete_chap.chap_tbl_idx); ev 3157 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, uint32_t len) ev 3159 drivers/scsi/scsi_transport_iscsi.c char *data = (char *)ev + sizeof(*ev); ev 3172 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.set_flashnode.host_no); ev 3175 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.set_flashnode.host_no); ev 3180 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.set_flashnode.flashnode_idx; ev 3184 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.set_flashnode.host_no); ev 3210 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev, uint32_t len) ev 3212 drivers/scsi/scsi_transport_iscsi.c char *data = (char *)ev + sizeof(*ev); ev 3222 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.new_flashnode.host_no); ev 3225 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.new_flashnode.host_no); ev 3233 drivers/scsi/scsi_transport_iscsi.c ev->r.new_flashnode_ret.flashnode_idx = index; ev 3245 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 3257 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.del_flashnode.host_no); ev 3260 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.del_flashnode.host_no); ev 3265 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.del_flashnode.flashnode_idx; ev 3269 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.del_flashnode.host_no); ev 3285 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 3299 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.login_flashnode.host_no); ev 3302 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.login_flashnode.host_no); ev 3307 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.login_flashnode.flashnode_idx; ev 3311 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.login_flashnode.host_no); ev 3337 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 3351 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.logout_flashnode.host_no); ev 3354 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode.host_no); ev 3359 drivers/scsi/scsi_transport_iscsi.c idx = ev->u.logout_flashnode.flashnode_idx; ev 3363 drivers/scsi/scsi_transport_iscsi.c __func__, idx, ev->u.logout_flashnode.host_no); ev 3390 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev) ev 3401 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.logout_flashnode_sid.host_no); ev 3404 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode.host_no); ev 3409 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.logout_flashnode_sid.sid); ev 3412 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.logout_flashnode_sid.sid); ev 3429 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev = nlmsg_data(nlh); ev 3447 drivers/scsi/scsi_transport_iscsi.c len = nlmsg_total_size(sizeof(*ev) + host_stats_size); ev 3449 drivers/scsi/scsi_transport_iscsi.c shost = scsi_host_lookup(ev->u.get_host_stats.host_no); ev 3452 drivers/scsi/scsi_transport_iscsi.c __func__, ev->u.get_host_stats.host_no); ev 3473 drivers/scsi/scsi_transport_iscsi.c ev->u.get_host_stats.host_no; ev 3483 drivers/scsi/scsi_transport_iscsi.c actual_size = nlmsg_total_size(sizeof(*ev) + host_stats_size); ev 3502 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev = nlmsg_data(nlh); ev 3514 drivers/scsi/scsi_transport_iscsi.c priv = iscsi_if_transport_lookup(iscsi_ptr(ev->transport_handle)); ev 3526 drivers/scsi/scsi_transport_iscsi.c err = iscsi_if_create_session(priv, ep, ev, ev 3528 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.initial_cmdsn, ev 3529 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.cmds_max, ev 3530 drivers/scsi/scsi_transport_iscsi.c ev->u.c_session.queue_depth); ev 3533 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.c_bound_session.ep_handle); ev 3539 drivers/scsi/scsi_transport_iscsi.c err = iscsi_if_create_session(priv, ep, ev, ev 3541 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.initial_cmdsn, ev 3542 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.cmds_max, ev 3543 drivers/scsi/scsi_transport_iscsi.c ev->u.c_bound_session.queue_depth); ev 3546 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.d_session.sid); ev 3549 drivers/scsi/scsi_transport_iscsi.c else if (iscsi_session_has_conns(ev->u.d_session.sid)) ev 3555 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.d_session.sid); ev 3563 drivers/scsi/scsi_transport_iscsi.c err = iscsi_if_create_conn(transport, ev); ev 3566 drivers/scsi/scsi_transport_iscsi.c err = iscsi_if_destroy_conn(transport, ev); ev 3569 drivers/scsi/scsi_transport_iscsi.c session = iscsi_session_lookup(ev->u.b_conn.sid); ev 3570 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.b_conn.sid, ev->u.b_conn.cid); ev 3580 drivers/scsi/scsi_transport_iscsi.c ev->r.retcode = transport->bind_conn(session, conn, ev 3581 drivers/scsi/scsi_transport_iscsi.c ev->u.b_conn.transport_eph, ev 3582 drivers/scsi/scsi_transport_iscsi.c ev->u.b_conn.is_leading); ev 3583 drivers/scsi/scsi_transport_iscsi.c if (ev->r.retcode || !transport->ep_connect) ev 3586 drivers/scsi/scsi_transport_iscsi.c ep = iscsi_lookup_endpoint(ev->u.b_conn.transport_eph); ev 3599 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_param(transport, ev); ev 3602 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.start_conn.sid, ev->u.start_conn.cid); ev 3604 drivers/scsi/scsi_transport_iscsi.c ev->r.retcode = transport->start_conn(conn); ev 3609 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.stop_conn.sid, ev->u.stop_conn.cid); ev 3611 drivers/scsi/scsi_transport_iscsi.c transport->stop_conn(conn, ev->u.stop_conn.flag); ev 3616 drivers/scsi/scsi_transport_iscsi.c conn = iscsi_conn_lookup(ev->u.send_pdu.sid, ev->u.send_pdu.cid); ev 3618 drivers/scsi/scsi_transport_iscsi.c ev->r.retcode = transport->send_pdu(conn, ev 3619 drivers/scsi/scsi_transport_iscsi.c (struct iscsi_hdr*)((char*)ev + sizeof(*ev)), ev 3620 drivers/scsi/scsi_transport_iscsi.c (char*)ev + sizeof(*ev) + ev->u.send_pdu.hdr_size, ev 3621 drivers/scsi/scsi_transport_iscsi.c ev->u.send_pdu.data_size); ev 3632 drivers/scsi/scsi_transport_iscsi.c err = iscsi_if_transport_ep(transport, ev, nlh->nlmsg_type); ev 3635 drivers/scsi/scsi_transport_iscsi.c err = iscsi_tgt_dscvr(transport, ev); ev 3638 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_host_param(transport, ev); ev 3641 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_path(transport, ev); ev 3644 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_iface_params(transport, ev, ev 3645 drivers/scsi/scsi_transport_iscsi.c nlmsg_attrlen(nlh, sizeof(*ev))); ev 3648 drivers/scsi/scsi_transport_iscsi.c err = iscsi_send_ping(transport, ev); ev 3654 drivers/scsi/scsi_transport_iscsi.c err = iscsi_delete_chap(transport, ev); ev 3657 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_flashnode_param(transport, ev, ev 3659 drivers/scsi/scsi_transport_iscsi.c sizeof(*ev))); ev 3662 drivers/scsi/scsi_transport_iscsi.c err = iscsi_new_flashnode(transport, ev, ev 3663 drivers/scsi/scsi_transport_iscsi.c nlmsg_attrlen(nlh, sizeof(*ev))); ev 3666 drivers/scsi/scsi_transport_iscsi.c err = iscsi_del_flashnode(transport, ev); ev 3669 drivers/scsi/scsi_transport_iscsi.c err = iscsi_login_flashnode(transport, ev); ev 3672 drivers/scsi/scsi_transport_iscsi.c err = iscsi_logout_flashnode(transport, ev); ev 3675 drivers/scsi/scsi_transport_iscsi.c err = iscsi_logout_flashnode_sid(transport, ev); ev 3678 drivers/scsi/scsi_transport_iscsi.c err = iscsi_set_chap(transport, ev, ev 3679 drivers/scsi/scsi_transport_iscsi.c nlmsg_attrlen(nlh, sizeof(*ev))); ev 3707 drivers/scsi/scsi_transport_iscsi.c struct iscsi_uevent *ev; ev 3712 drivers/scsi/scsi_transport_iscsi.c if (nlh->nlmsg_len < sizeof(*nlh) + sizeof(*ev) || ev 3717 drivers/scsi/scsi_transport_iscsi.c ev = nlmsg_data(nlh); ev 3724 drivers/scsi/scsi_transport_iscsi.c ev->type = ISCSI_KEVENT_IF_ERROR; ev 3725 drivers/scsi/scsi_transport_iscsi.c ev->iferror = err; ev 3734 drivers/scsi/scsi_transport_iscsi.c if (ev->type == ISCSI_UEVENT_GET_STATS && !err) ev 3736 drivers/scsi/scsi_transport_iscsi.c if (ev->type == ISCSI_UEVENT_GET_CHAP && !err) ev 3739 drivers/scsi/scsi_transport_iscsi.c ev, sizeof(*ev)); ev 917 drivers/staging/fieldbus/anybuss/host.c unsigned int ind_ap, ev; ev 928 drivers/staging/fieldbus/anybuss/host.c regmap_read(cd->regmap, REG_EVENT_CAUSE, &ev); ev 929 drivers/staging/fieldbus/anybuss/host.c if (ev & EVENT_CAUSE_FBON) { ev 934 drivers/staging/fieldbus/anybuss/host.c if (ev & EVENT_CAUSE_FBOF) { ev 939 drivers/staging/fieldbus/anybuss/host.c if (ev & EVENT_CAUSE_DC) { ev 295 drivers/staging/isdn/gigaset/common.c struct event_t *ev; ev 305 drivers/staging/isdn/gigaset/common.c ev = cs->events + head; ev 306 drivers/staging/isdn/gigaset/common.c kfree(ev->ptr); ev 1100 drivers/staging/isdn/gigaset/ev-layer.c struct event_t *ev) ev 1202 drivers/staging/isdn/gigaset/ev-layer.c at_state = get_free_channel(cs, ev->parameter); ev 1312 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter > 0 && ev->parameter <= 65535) { ev 1313 drivers/staging/isdn/gigaset/ev-layer.c cs->bcs[channel].at_state.cid = ev->parameter; ev 1365 drivers/staging/isdn/gigaset/ev-layer.c if (!ev->ptr) { ev 1370 drivers/staging/isdn/gigaset/ev-layer.c s = ev->ptr; ev 1420 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); ev 1424 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); ev 1428 drivers/staging/isdn/gigaset/ev-layer.c ev->parameter, at_state->ConState); ev 1434 drivers/staging/isdn/gigaset/ev-layer.c if (!ev->ptr) { ev 1439 drivers/staging/isdn/gigaset/ev-layer.c start_dial(at_state, ev->ptr, ev->parameter); ev 1462 drivers/staging/isdn/gigaset/ev-layer.c cs->cmd_result = ev->parameter ? do_lock(cs) : do_unlock(cs); ev 1467 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter != 0) ev 1472 drivers/staging/isdn/gigaset/ev-layer.c memcpy(ev->arg, cs->fwver, sizeof cs->fwver); ev 1483 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter != cs->cidmode) { ev 1484 drivers/staging/isdn/gigaset/ev-layer.c cs->cidmode = ev->parameter; ev 1485 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter) { ev 1525 drivers/staging/isdn/gigaset/ev-layer.c static void process_event(struct cardstate *cs, struct event_t *ev) ev 1538 drivers/staging/isdn/gigaset/ev-layer.c if (ev->cid >= 0) { ev 1539 drivers/staging/isdn/gigaset/ev-layer.c at_state = at_state_from_cid(cs, ev->cid); ev 1542 drivers/staging/isdn/gigaset/ev-layer.c ev->type, ev->cid); ev 1548 drivers/staging/isdn/gigaset/ev-layer.c at_state = ev->at_state; ev 1557 drivers/staging/isdn/gigaset/ev-layer.c at_state->ConState, ev->type); ev 1565 drivers/staging/isdn/gigaset/ev-layer.c if (ev->type == EV_TIMEOUT) { ev 1566 drivers/staging/isdn/gigaset/ev-layer.c if (ev->parameter != at_state->timer_index ev 1568 drivers/staging/isdn/gigaset/ev-layer.c ev->type = RSP_NONE; /* old timeout */ ev 1581 drivers/staging/isdn/gigaset/ev-layer.c if (ev->type >= RSP_VAR && ev->type < RSP_VAR + VAR_NUM) { ev 1582 drivers/staging/isdn/gigaset/ev-layer.c index = ev->type - RSP_VAR; ev 1583 drivers/staging/isdn/gigaset/ev-layer.c at_state->int_var[index] = ev->parameter; ev 1584 drivers/staging/isdn/gigaset/ev-layer.c } else if (ev->type >= RSP_STR && ev->type < RSP_STR + STR_NUM) { ev 1585 drivers/staging/isdn/gigaset/ev-layer.c index = ev->type - RSP_STR; ev 1587 drivers/staging/isdn/gigaset/ev-layer.c at_state->str_var[index] = ev->ptr; ev 1588 drivers/staging/isdn/gigaset/ev-layer.c ev->ptr = NULL; /* prevent process_events() from ev 1592 drivers/staging/isdn/gigaset/ev-layer.c if (ev->type == EV_TIMEOUT || ev->type == RSP_STRING) ev 1603 drivers/staging/isdn/gigaset/ev-layer.c __func__, ev->type, at_state->ConState); ev 1606 drivers/staging/isdn/gigaset/ev-layer.c if ((rcode == RSP_ANY || rcode == ev->type) ev 1610 drivers/staging/isdn/gigaset/ev-layer.c && (rep->parameter < 0 || rep->parameter == ev->parameter)) ev 1621 drivers/staging/isdn/gigaset/ev-layer.c &genresp, &resp_code, ev); ev 1846 drivers/staging/isdn/gigaset/ev-layer.c struct event_t *ev; ev 1873 drivers/staging/isdn/gigaset/ev-layer.c ev = cs->events + head; ev 1876 drivers/staging/isdn/gigaset/ev-layer.c process_event(cs, ev); ev 1878 drivers/staging/isdn/gigaset/ev-layer.c kfree(ev->ptr); ev 1879 drivers/staging/isdn/gigaset/ev-layer.c ev->ptr = NULL; ev 817 drivers/staging/ks7010/ks7010_sdio.c int ev; ev 819 drivers/staging/ks7010/ks7010_sdio.c for (ev = 0; ev < ARRAY_SIZE(init_events); ev++) ev 820 drivers/staging/ks7010/ks7010_sdio.c hostif_sme_enqueue(priv, init_events[ev]); ev 130 drivers/staging/media/imx/imx-media-fim.c static const struct v4l2_event ev = { ev 134 drivers/staging/media/imx/imx-media-fim.c v4l2_subdev_notify_event(fim->sd, &ev); ev 277 drivers/staging/media/meson/vdec/vdec_helpers.c const struct v4l2_event ev = { .type = V4L2_EVENT_EOS }; ev 280 drivers/staging/media/meson/vdec/vdec_helpers.c v4l2_event_queue_fh(&sess->fh, &ev); ev 417 drivers/staging/media/meson/vdec/vdec_helpers.c static const struct v4l2_event ev = { ev 439 drivers/staging/media/meson/vdec/vdec_helpers.c v4l2_event_queue_fh(&sess->fh, &ev); ev 357 drivers/staging/nvec/nvec.c static void nvec_event_mask(char *ev, u32 mask) ev 359 drivers/staging/nvec/nvec.c ev[3] = mask >> 16 & 0xff; ev 360 drivers/staging/nvec/nvec.c ev[4] = mask >> 24 & 0xff; ev 361 drivers/staging/nvec/nvec.c ev[5] = mask >> 0 & 0xff; ev 362 drivers/staging/nvec/nvec.c ev[6] = mask >> 8 & 0xff; ev 1210 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c char *ev = extra; ev 1211 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c char *stop = ev + wrqu->data.length; ev 1242 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if ((stop - ev) < SCAN_ITEM_SIZE) { ev 1251 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c ev = translate_scan(padapter, a, pnetwork, ev, stop); ev 1258 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c wrqu->data.length = ev-extra; ev 31 drivers/staging/rtl8188eu/os_dep/recv_linux.c struct iw_michaelmicfailure ev; ev 50 drivers/staging/rtl8188eu/os_dep/recv_linux.c memset(&ev, 0x00, sizeof(ev)); ev 52 drivers/staging/rtl8188eu/os_dep/recv_linux.c ev.flags |= IW_MICFAILURE_GROUP; ev 54 drivers/staging/rtl8188eu/os_dep/recv_linux.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 56 drivers/staging/rtl8188eu/os_dep/recv_linux.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 57 drivers/staging/rtl8188eu/os_dep/recv_linux.c memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN); ev 59 drivers/staging/rtl8188eu/os_dep/recv_linux.c wrqu.data.length = sizeof(ev); ev 61 drivers/staging/rtl8188eu/os_dep/recv_linux.c &wrqu, (char *)&ev); ev 590 drivers/staging/rtl8192e/rtllib_crypt_tkip.c struct iw_michaelmicfailure ev; ev 593 drivers/staging/rtl8192e/rtllib_crypt_tkip.c memset(&ev, 0, sizeof(ev)); ev 594 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; ev 596 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ev.flags |= IW_MICFAILURE_GROUP; ev 598 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 599 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 600 drivers/staging/rtl8192e/rtllib_crypt_tkip.c ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); ev 602 drivers/staging/rtl8192e/rtllib_crypt_tkip.c wrqu.data.length = sizeof(ev); ev 603 drivers/staging/rtl8192e/rtllib_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *) &ev); ev 247 drivers/staging/rtl8192e/rtllib_wx.c char *ev = extra; ev 248 drivers/staging/rtl8192e/rtllib_wx.c char *stop = ev + wrqu->data.length; ev 258 drivers/staging/rtl8192e/rtllib_wx.c if ((stop - ev) < 200) { ev 264 drivers/staging/rtl8192e/rtllib_wx.c ev = rtl819x_translate_scan(ieee, ev, stop, network, ev 278 drivers/staging/rtl8192e/rtllib_wx.c wrqu->data.length = ev - extra; ev 589 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c struct iw_michaelmicfailure ev; ev 592 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memset(&ev, 0, sizeof(ev)); ev 593 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; ev 595 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ev.flags |= IW_MICFAILURE_GROUP; ev 597 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 598 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 599 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); ev 601 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c wrqu.data.length = sizeof(ev); ev 602 drivers/staging/rtl8192u/ieee80211/ieee80211_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); ev 233 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c char *ev = extra; ev 235 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c char *stop = ev + wrqu->data.length;//IW_SCAN_MAX_DATA; ev 245 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c if ((stop - ev) < 200) { ev 251 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c ev = rtl819x_translate_scan(ieee, ev, stop, network, info); ev 264 drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c wrqu->data.length = ev - extra; ev 76 drivers/staging/rtl8712/recv_linux.c struct iw_michaelmicfailure ev; ev 79 drivers/staging/rtl8712/recv_linux.c memset(&ev, 0x00, sizeof(ev)); ev 81 drivers/staging/rtl8712/recv_linux.c ev.flags |= IW_MICFAILURE_GROUP; ev 83 drivers/staging/rtl8712/recv_linux.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 84 drivers/staging/rtl8712/recv_linux.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 85 drivers/staging/rtl8712/recv_linux.c ether_addr_copy(ev.src_addr.sa_data, &mlmepriv->assoc_bssid[0]); ev 87 drivers/staging/rtl8712/recv_linux.c wrqu.data.length = sizeof(ev); ev 89 drivers/staging/rtl8712/recv_linux.c (char *)&ev); ev 1192 drivers/staging/rtl8712/rtl871x_ioctl_linux.c char *ev = extra; ev 1193 drivers/staging/rtl8712/rtl871x_ioctl_linux.c char *stop = ev + wrqu->data.length; ev 1211 drivers/staging/rtl8712/rtl871x_ioctl_linux.c if ((stop - ev) < SCAN_ITEM_SIZE) { ev 1216 drivers/staging/rtl8712/rtl871x_ioctl_linux.c ev = translate_scan(padapter, a, pnetwork, ev, stop); ev 1220 drivers/staging/rtl8712/rtl871x_ioctl_linux.c wrqu->data.length = ev - extra; ev 1423 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c char *ev = extra; ev 1424 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c char *stop = ev + wrqu->data.length; ev 1454 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c if ((stop - ev) < SCAN_ITEM_SIZE) { ev 1466 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c ev =translate_scan(padapter, a, pnetwork, ev, stop); ev 1475 drivers/staging/rtl8723bs/os_dep/ioctl_linux.c wrqu->data.length = ev-extra; ev 175 drivers/staging/rtl8723bs/os_dep/recv_linux.c struct iw_michaelmicfailure ev; ev 203 drivers/staging/rtl8723bs/os_dep/recv_linux.c memset(&ev, 0x00, sizeof(ev)); ev 205 drivers/staging/rtl8723bs/os_dep/recv_linux.c ev.flags |= IW_MICFAILURE_GROUP; ev 207 drivers/staging/rtl8723bs/os_dep/recv_linux.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 210 drivers/staging/rtl8723bs/os_dep/recv_linux.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 211 drivers/staging/rtl8723bs/os_dep/recv_linux.c memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[ 0 ], ETH_ALEN); ev 214 drivers/staging/rtl8723bs/os_dep/recv_linux.c wrqu.data.length = sizeof(ev); ev 43 drivers/thunderbolt/tb.c struct tb_hotplug_event *ev; ev 45 drivers/thunderbolt/tb.c ev = kmalloc(sizeof(*ev), GFP_KERNEL); ev 46 drivers/thunderbolt/tb.c if (!ev) ev 49 drivers/thunderbolt/tb.c ev->tb = tb; ev 50 drivers/thunderbolt/tb.c ev->route = route; ev 51 drivers/thunderbolt/tb.c ev->port = port; ev 52 drivers/thunderbolt/tb.c ev->unplug = unplug; ev 53 drivers/thunderbolt/tb.c INIT_WORK(&ev->work, tb_handle_hotplug); ev 54 drivers/thunderbolt/tb.c queue_work(tb->wq, &ev->work); ev 503 drivers/thunderbolt/tb.c struct tb_hotplug_event *ev = container_of(work, typeof(*ev), work); ev 504 drivers/thunderbolt/tb.c struct tb *tb = ev->tb; ev 512 drivers/thunderbolt/tb.c sw = tb_switch_find_by_route(tb, ev->route); ev 516 drivers/thunderbolt/tb.c ev->route, ev->port, ev->unplug); ev 519 drivers/thunderbolt/tb.c if (ev->port > sw->config.max_port_number) { ev 522 drivers/thunderbolt/tb.c ev->route, ev->port, ev->unplug); ev 525 drivers/thunderbolt/tb.c port = &sw->ports[ev->port]; ev 528 drivers/thunderbolt/tb.c ev->route, ev->port, ev->unplug); ev 531 drivers/thunderbolt/tb.c if (ev->unplug) { ev 579 drivers/thunderbolt/tb.c kfree(ev); ev 22 drivers/usb/common/led.c void usb_led_activity(enum usb_led_event ev) ev 26 drivers/usb/common/led.c switch (ev) { ev 276 drivers/usb/gadget/function/f_fs.c __releases(&ffs->ev.waitq.lock) ev 281 drivers/usb/gadget/function/f_fs.c req->zero = len < le16_to_cpu(ffs->ev.setup.wLength); ev 283 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 314 drivers/usb/gadget/function/f_fs.c if (ffs->ev.can_stall) { ev 399 drivers/usb/gadget/function/f_fs.c spin_lock_irq(&ffs->ev.waitq.lock); ev 414 drivers/usb/gadget/function/f_fs.c if (!(ffs->ev.setup.bRequestType & USB_DIR_IN)) { ev 415 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 421 drivers/usb/gadget/function/f_fs.c len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); ev 423 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 431 drivers/usb/gadget/function/f_fs.c spin_lock_irq(&ffs->ev.waitq.lock); ev 449 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 469 drivers/usb/gadget/function/f_fs.c __releases(&ffs->ev.waitq.lock) ev 476 drivers/usb/gadget/function/f_fs.c struct usb_functionfs_event events[ARRAY_SIZE(ffs->ev.types)]; ev 483 drivers/usb/gadget/function/f_fs.c events[i].type = ffs->ev.types[i]; ev 485 drivers/usb/gadget/function/f_fs.c events[i].u.setup = ffs->ev.setup; ev 490 drivers/usb/gadget/function/f_fs.c ffs->ev.count -= n; ev 491 drivers/usb/gadget/function/f_fs.c if (ffs->ev.count) ev 492 drivers/usb/gadget/function/f_fs.c memmove(ffs->ev.types, ffs->ev.types + n, ev 493 drivers/usb/gadget/function/f_fs.c ffs->ev.count * sizeof *ffs->ev.types); ev 495 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 530 drivers/usb/gadget/function/f_fs.c spin_lock_irq(&ffs->ev.waitq.lock); ev 544 drivers/usb/gadget/function/f_fs.c if ((file->f_flags & O_NONBLOCK) && !ffs->ev.count) { ev 549 drivers/usb/gadget/function/f_fs.c if (wait_event_interruptible_exclusive_locked_irq(ffs->ev.waitq, ev 550 drivers/usb/gadget/function/f_fs.c ffs->ev.count)) { ev 557 drivers/usb/gadget/function/f_fs.c min(n, (size_t)ffs->ev.count)); ev 560 drivers/usb/gadget/function/f_fs.c if (ffs->ev.setup.bRequestType & USB_DIR_IN) { ev 561 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 566 drivers/usb/gadget/function/f_fs.c len = min(len, (size_t)le16_to_cpu(ffs->ev.setup.wLength)); ev 568 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 578 drivers/usb/gadget/function/f_fs.c spin_lock_irq(&ffs->ev.waitq.lock); ev 598 drivers/usb/gadget/function/f_fs.c spin_unlock_irq(&ffs->ev.waitq.lock); ev 657 drivers/usb/gadget/function/f_fs.c poll_wait(file, &ffs->ev.waitq, wait); ev 672 drivers/usb/gadget/function/f_fs.c if (ffs->ev.count) ev 1721 drivers/usb/gadget/function/f_fs.c BUG_ON(waitqueue_active(&ffs->ev.waitq) || ev 1776 drivers/usb/gadget/function/f_fs.c init_waitqueue_head(&ffs->ev.waitq); ev 1781 drivers/usb/gadget/function/f_fs.c ffs->ev.can_stall = 1; ev 1826 drivers/usb/gadget/function/f_fs.c ffs->ev.count = 0; ev 2771 drivers/usb/gadget/function/f_fs.c u8 *ev = ffs->ev.types, *out = ev; ev 2772 drivers/usb/gadget/function/f_fs.c unsigned n = ffs->ev.count; ev 2773 drivers/usb/gadget/function/f_fs.c for (; n; --n, ++ev) ev 2774 drivers/usb/gadget/function/f_fs.c if ((*ev == rem_type1 || *ev == rem_type2) == neg) ev 2775 drivers/usb/gadget/function/f_fs.c *out++ = *ev; ev 2777 drivers/usb/gadget/function/f_fs.c pr_vdebug("purging event %d\n", *ev); ev 2778 drivers/usb/gadget/function/f_fs.c ffs->ev.count = out - ffs->ev.types; ev 2782 drivers/usb/gadget/function/f_fs.c ffs->ev.types[ffs->ev.count++] = type; ev 2783 drivers/usb/gadget/function/f_fs.c wake_up_locked(&ffs->ev.waitq); ev 2792 drivers/usb/gadget/function/f_fs.c spin_lock_irqsave(&ffs->ev.waitq.lock, flags); ev 2794 drivers/usb/gadget/function/f_fs.c spin_unlock_irqrestore(&ffs->ev.waitq.lock, flags); ev 3375 drivers/usb/gadget/function/f_fs.c spin_lock_irqsave(&ffs->ev.waitq.lock, flags); ev 3376 drivers/usb/gadget/function/f_fs.c ffs->ev.setup = *creq; ev 3377 drivers/usb/gadget/function/f_fs.c ffs->ev.setup.wIndex = cpu_to_le16(ret); ev 3379 drivers/usb/gadget/function/f_fs.c spin_unlock_irqrestore(&ffs->ev.waitq.lock, flags); ev 209 drivers/usb/gadget/function/u_fs.h } ev; /* the whole structure, P: ev.waitq.lock */ ev 72 drivers/watchdog/eurotechwdt.c static char *ev = "int"; ev 100 drivers/watchdog/eurotechwdt.c module_param(ev, charp, 0); ev 101 drivers/watchdog/eurotechwdt.c MODULE_PARM_DESC(ev, "Eurotech WDT event type (default is `int')"); ev 140 drivers/watchdog/eurotechwdt.c !strcmp("int", ev) ? WDT_EVENT_INT : WDT_EVENT_REBOOT); ev 454 drivers/watchdog/eurotechwdt.c io, irq, (!strcmp("int", ev) ? "int" : "reboot")); ev 1213 fs/aio.c struct io_event *ev; ev 1227 fs/aio.c ev = kmap(page); ev 1228 fs/aio.c copy_ret = copy_to_user(event + ret, ev + pos, ev 1229 fs/aio.c sizeof(*ev) * avail); ev 1547 fs/ceph/mds_client.c unsigned long ev = (unsigned long)arg; ev 1549 fs/ceph/mds_client.c if (ev == RECONNECT) { ev 1554 fs/ceph/mds_client.c } else if (ev == RENEWCAPS) { ev 1564 fs/ceph/mds_client.c } else if (ev == FORCE_RO) { ev 1570 fs/ceph/mds_client.c static void wake_up_session_caps(struct ceph_mds_session *session, int ev) ev 1574 fs/ceph/mds_client.c (void *)(unsigned long)ev); ev 44 include/linux/ceph/pagelist.h __le64 ev = cpu_to_le64(v); ev 45 include/linux/ceph/pagelist.h return ceph_pagelist_append(pl, &ev, sizeof(ev)); ev 49 include/linux/ceph/pagelist.h __le32 ev = cpu_to_le32(v); ev 50 include/linux/ceph/pagelist.h return ceph_pagelist_append(pl, &ev, sizeof(ev)); ev 54 include/linux/ceph/pagelist.h __le16 ev = cpu_to_le16(v); ev 55 include/linux/ceph/pagelist.h return ceph_pagelist_append(pl, &ev, sizeof(ev)); ev 215 include/linux/genhd.h struct disk_events *ev; ev 73 include/linux/mISDNhw.h #define schedule_event(s, ev) do { \ ev 74 include/linux/mISDNhw.h test_and_set_bit(ev, &((s)->Flags)); \ ev 2013 include/linux/usb.h extern void usb_led_activity(enum usb_led_event ev); ev 2015 include/linux/usb.h static inline void usb_led_activity(enum usb_led_event ev) {} ev 80 include/media/cec.h struct cec_event ev; ev 319 include/media/rc-core.h int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev); ev 322 include/media/rc-core.h struct ir_raw_event *ev); ev 324 include/media/rc-core.h struct ir_raw_event *ev); ev 106 include/media/v4l2-event.h void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev); ev 121 include/media/v4l2-event.h void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev); ev 1139 include/media/v4l2-subdev.h const struct v4l2_event *ev); ev 36 include/net/llc_c_st.h llc_conn_ev_t ev; ev 20 include/net/llc_s_st.h llc_sap_ev_t ev; ev 58 include/net/sctp/ulpevent.h static inline struct sk_buff *sctp_event2skb(const struct sctp_ulpevent *ev) ev 60 include/net/sctp/ulpevent.h return container_of((void *)ev, struct sk_buff, cb); ev 1054 include/net/tcp.h void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev); ev 408 include/rdma/rdma_cm.h struct rdma_cm_event *ev, u8 *data_len); ev 229 include/scsi/libsas.h struct sas_discovery_event *ev = container_of(work, typeof(*ev), work.work); ev 231 include/scsi/libsas.h return ev; ev 289 include/scsi/libsas.h struct asd_sas_event *ev = container_of(work, typeof(*ev), work.work); ev 291 include/scsi/libsas.h return ev; ev 294 include/scsi/libsas.h static inline void INIT_SAS_EVENT(struct asd_sas_event *ev, ev 298 include/scsi/libsas.h INIT_SAS_WORK(&ev->work, fn); ev 299 include/scsi/libsas.h ev->phy = phy; ev 300 include/scsi/libsas.h ev->event = event; ev 683 include/scsi/libsas.h int sas_discover_event(struct asd_sas_port *, enum discover_event ev); ev 15 include/sound/asequencer.h #define snd_seq_event_bounce_ext_data(ev) ((void*)((char *)(ev)->data.ext.ptr + sizeof(struct snd_seq_event_bounce))) ev 21 include/sound/asequencer.h #define snd_seq_ev_is_result_type(ev) ((ev)->type < 5) ev 23 include/sound/asequencer.h #define snd_seq_ev_is_channel_type(ev) ((ev)->type >= 5 && (ev)->type < 20) ev 25 include/sound/asequencer.h #define snd_seq_ev_is_note_type(ev) ((ev)->type >= 5 && (ev)->type < 10) ev 27 include/sound/asequencer.h #define snd_seq_ev_is_control_type(ev) ((ev)->type >= 10 && (ev)->type < 20) ev 29 include/sound/asequencer.h #define snd_seq_ev_is_queue_type(ev) ((ev)->type >= 30 && (ev)->type < 40) ev 31 include/sound/asequencer.h #define snd_seq_ev_is_message_type(ev) ((ev)->type >= 60 && (ev)->type < 69) ev 33 include/sound/asequencer.h #define snd_seq_ev_is_sample_type(ev) ((ev)->type >= 70 && (ev)->type < 79) ev 35 include/sound/asequencer.h #define snd_seq_ev_is_user_type(ev) ((ev)->type >= 90 && (ev)->type < 99) ev 37 include/sound/asequencer.h #define snd_seq_ev_is_fixed_type(ev) ((ev)->type < 100) ev 39 include/sound/asequencer.h #define snd_seq_ev_is_variable_type(ev) ((ev)->type >= 130 && (ev)->type < 140) ev 41 include/sound/asequencer.h #define snd_seq_ev_is_reserved(ev) ((ev)->type >= 150) ev 44 include/sound/asequencer.h #define snd_seq_ev_is_direct(ev) ((ev)->queue == SNDRV_SEQ_QUEUE_DIRECT) ev 50 include/sound/asequencer.h #define snd_seq_ev_is_prior(ev) (((ev)->flags & SNDRV_SEQ_PRIORITY_MASK) == SNDRV_SEQ_PRIORITY_HIGH) ev 53 include/sound/asequencer.h #define snd_seq_ev_length_type(ev) ((ev)->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) ev 54 include/sound/asequencer.h #define snd_seq_ev_is_fixed(ev) (snd_seq_ev_length_type(ev) == SNDRV_SEQ_EVENT_LENGTH_FIXED) ev 55 include/sound/asequencer.h #define snd_seq_ev_is_variable(ev) (snd_seq_ev_length_type(ev) == SNDRV_SEQ_EVENT_LENGTH_VARIABLE) ev 56 include/sound/asequencer.h #define snd_seq_ev_is_varusr(ev) (snd_seq_ev_length_type(ev) == SNDRV_SEQ_EVENT_LENGTH_VARUSR) ev 59 include/sound/asequencer.h #define snd_seq_ev_timestamp_type(ev) ((ev)->flags & SNDRV_SEQ_TIME_STAMP_MASK) ev 60 include/sound/asequencer.h #define snd_seq_ev_is_tick(ev) (snd_seq_ev_timestamp_type(ev) == SNDRV_SEQ_TIME_STAMP_TICK) ev 61 include/sound/asequencer.h #define snd_seq_ev_is_real(ev) (snd_seq_ev_timestamp_type(ev) == SNDRV_SEQ_TIME_STAMP_REAL) ev 64 include/sound/asequencer.h #define snd_seq_ev_timemode_type(ev) ((ev)->flags & SNDRV_SEQ_TIME_MODE_MASK) ev 65 include/sound/asequencer.h #define snd_seq_ev_is_abstime(ev) (snd_seq_ev_timemode_type(ev) == SNDRV_SEQ_TIME_MODE_ABS) ev 66 include/sound/asequencer.h #define snd_seq_ev_is_reltime(ev) (snd_seq_ev_timemode_type(ev) == SNDRV_SEQ_TIME_MODE_REL) ev 51 include/sound/seq_kernel.h int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop); ev 61 include/sound/seq_kernel.h int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, ev 63 include/sound/seq_kernel.h int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event *ev, int atomic, int hop); ev 177 include/sound/seq_midi_emul.h void snd_midi_process_event(struct snd_midi_op *ops, struct snd_seq_event *ev, ev 34 include/sound/seq_midi_event.h struct snd_seq_event *ev); ev 37 include/sound/seq_midi_event.h struct snd_seq_event *ev); ev 175 include/uapi/linux/input.h #define EVIOCGBIT(ev,len) _IOC(_IOC_READ, 'E', 0x20 + (ev), len) /* get event bits */ ev 216 include/uapi/linux/raid/md_p.h __u64 ev = sb->events_hi; ev 217 include/uapi/linux/raid/md_p.h return (ev<<32)| sb->events_lo; ev 1229 include/uapi/linux/soundcard.h #define _TIMER_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\ ev 1231 include/uapi/linux/soundcard.h _seqbuf[_seqbufptr+1] = (ev); \ ev 1251 include/uapi/linux/soundcard.h #define _LOCAL_EVENT(ev, parm) {_SEQ_NEEDBUF(8);\ ev 1253 include/uapi/linux/soundcard.h _seqbuf[_seqbufptr+1] = (ev); \ ev 43 kernel/locking/lock_events.h #define lockevent_inc(ev) __lockevent_inc(LOCKEVENT_ ##ev, true) ev 44 kernel/locking/lock_events.h #define lockevent_cond_inc(ev, c) __lockevent_inc(LOCKEVENT_ ##ev, c) ev 51 kernel/locking/lock_events.h #define lockevent_add(ev, c) __lockevent_add(LOCKEVENT_ ##ev, c) ev 55 kernel/locking/lock_events.h #define lockevent_inc(ev) ev 56 kernel/locking/lock_events.h #define lockevent_add(ev, c) ev 57 kernel/locking/lock_events.h #define lockevent_cond_inc(ev, c) ev 18 kernel/locking/qspinlock_stat.h #define EVENT_COUNT(ev) lockevents[LOCKEVENT_ ## ev] ev 57 kernel/rcu/tree_stall.h static int rcu_panic(struct notifier_block *this, unsigned long ev, void *ptr) ev 120 kernel/trace/trace_dynevent.c struct dyn_event *ev = v; ev 122 kernel/trace/trace_dynevent.c if (ev && ev->ops) ev 123 kernel/trace/trace_dynevent.c return ev->ops->show(m, ev); ev 148 kernel/trace/trace_dynevent.c struct dyn_event *ev, *tmp; ev 152 kernel/trace/trace_dynevent.c for_each_dyn_event(ev) { ev 153 kernel/trace/trace_dynevent.c if (type && ev->ops != type) ev 155 kernel/trace/trace_dynevent.c if (ev->ops->is_busy(ev)) { ev 160 kernel/trace/trace_dynevent.c for_each_dyn_event_safe(ev, tmp) { ev 161 kernel/trace/trace_dynevent.c if (type && ev->ops != type) ev 163 kernel/trace/trace_dynevent.c ret = ev->ops->free(ev); ev 43 kernel/trace/trace_dynevent.h int (*show)(struct seq_file *m, struct dyn_event *ev); ev 44 kernel/trace/trace_dynevent.h bool (*is_busy)(struct dyn_event *ev); ev 45 kernel/trace/trace_dynevent.h int (*free)(struct dyn_event *ev); ev 47 kernel/trace/trace_dynevent.h int argc, const char **argv, struct dyn_event *ev); ev 69 kernel/trace/trace_dynevent.h int dyn_event_init(struct dyn_event *ev, struct dyn_event_operations *ops) ev 71 kernel/trace/trace_dynevent.h if (!ev || !ops) ev 74 kernel/trace/trace_dynevent.h INIT_LIST_HEAD(&ev->list); ev 75 kernel/trace/trace_dynevent.h ev->ops = ops; ev 79 kernel/trace/trace_dynevent.h static inline int dyn_event_add(struct dyn_event *ev) ev 83 kernel/trace/trace_dynevent.h if (!ev || !ev->ops) ev 86 kernel/trace/trace_dynevent.h list_add_tail(&ev->list, &dyn_event_list); ev 90 kernel/trace/trace_dynevent.h static inline void dyn_event_remove(struct dyn_event *ev) ev 93 kernel/trace/trace_dynevent.h list_del_init(&ev->list); ev 379 kernel/trace/trace_events_hist.c static int synth_event_show(struct seq_file *m, struct dyn_event *ev); ev 380 kernel/trace/trace_events_hist.c static int synth_event_release(struct dyn_event *ev); ev 381 kernel/trace/trace_events_hist.c static bool synth_event_is_busy(struct dyn_event *ev); ev 383 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev); ev 413 kernel/trace/trace_events_hist.c static bool is_synth_event(struct dyn_event *ev) ev 415 kernel/trace/trace_events_hist.c return ev->ops == &synth_event_ops; ev 418 kernel/trace/trace_events_hist.c static struct synth_event *to_synth_event(struct dyn_event *ev) ev 420 kernel/trace/trace_events_hist.c return container_of(ev, struct synth_event, devent); ev 423 kernel/trace/trace_events_hist.c static bool synth_event_is_busy(struct dyn_event *ev) ev 425 kernel/trace/trace_events_hist.c struct synth_event *event = to_synth_event(ev); ev 431 kernel/trace/trace_events_hist.c int argc, const char **argv, struct dyn_event *ev) ev 433 kernel/trace/trace_events_hist.c struct synth_event *sev = to_synth_event(ev); ev 1435 kernel/trace/trace_events_hist.c static int synth_event_release(struct dyn_event *ev) ev 1437 kernel/trace/trace_events_hist.c struct synth_event *event = to_synth_event(ev); ev 1447 kernel/trace/trace_events_hist.c dyn_event_remove(ev); ev 1472 kernel/trace/trace_events_hist.c static int synth_event_show(struct seq_file *m, struct dyn_event *ev) ev 1474 kernel/trace/trace_events_hist.c struct synth_event *event = to_synth_event(ev); ev 1483 kernel/trace/trace_events_hist.c struct dyn_event *ev = v; ev 1485 kernel/trace/trace_events_hist.c if (!is_synth_event(ev)) ev 1488 kernel/trace/trace_events_hist.c return __synth_event_show(m, to_synth_event(ev)); ev 39 kernel/trace/trace_kprobe.c static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev); ev 40 kernel/trace/trace_kprobe.c static int trace_kprobe_release(struct dyn_event *ev); ev 41 kernel/trace/trace_kprobe.c static bool trace_kprobe_is_busy(struct dyn_event *ev); ev 43 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev); ev 64 kernel/trace/trace_kprobe.c static bool is_trace_kprobe(struct dyn_event *ev) ev 66 kernel/trace/trace_kprobe.c return ev->ops == &trace_kprobe_ops; ev 69 kernel/trace/trace_kprobe.c static struct trace_kprobe *to_trace_kprobe(struct dyn_event *ev) ev 71 kernel/trace/trace_kprobe.c return container_of(ev, struct trace_kprobe, devent); ev 134 kernel/trace/trace_kprobe.c static bool trace_kprobe_is_busy(struct dyn_event *ev) ev 136 kernel/trace/trace_kprobe.c struct trace_kprobe *tk = to_trace_kprobe(ev); ev 164 kernel/trace/trace_kprobe.c int argc, const char **argv, struct dyn_event *ev) ev 166 kernel/trace/trace_kprobe.c struct trace_kprobe *tk = to_trace_kprobe(ev); ev 905 kernel/trace/trace_kprobe.c static int trace_kprobe_release(struct dyn_event *ev) ev 907 kernel/trace/trace_kprobe.c struct trace_kprobe *tk = to_trace_kprobe(ev); ev 915 kernel/trace/trace_kprobe.c static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev) ev 917 kernel/trace/trace_kprobe.c struct trace_kprobe *tk = to_trace_kprobe(ev); ev 943 kernel/trace/trace_kprobe.c struct dyn_event *ev = v; ev 945 kernel/trace/trace_kprobe.c if (!is_trace_kprobe(ev)) ev 948 kernel/trace/trace_kprobe.c return trace_kprobe_show(m, ev); ev 994 kernel/trace/trace_kprobe.c struct dyn_event *ev = v; ev 997 kernel/trace/trace_kprobe.c if (!is_trace_kprobe(ev)) ev 1000 kernel/trace/trace_kprobe.c tk = to_trace_kprobe(ev); ev 38 kernel/trace/trace_uprobe.c static int trace_uprobe_show(struct seq_file *m, struct dyn_event *ev); ev 39 kernel/trace/trace_uprobe.c static int trace_uprobe_release(struct dyn_event *ev); ev 40 kernel/trace/trace_uprobe.c static bool trace_uprobe_is_busy(struct dyn_event *ev); ev 42 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev); ev 67 kernel/trace/trace_uprobe.c static bool is_trace_uprobe(struct dyn_event *ev) ev 69 kernel/trace/trace_uprobe.c return ev->ops == &trace_uprobe_ops; ev 72 kernel/trace/trace_uprobe.c static struct trace_uprobe *to_trace_uprobe(struct dyn_event *ev) ev 74 kernel/trace/trace_uprobe.c return container_of(ev, struct trace_uprobe, devent); ev 277 kernel/trace/trace_uprobe.c static bool trace_uprobe_is_busy(struct dyn_event *ev) ev 279 kernel/trace/trace_uprobe.c struct trace_uprobe *tu = to_trace_uprobe(ev); ev 313 kernel/trace/trace_uprobe.c int argc, const char **argv, struct dyn_event *ev) ev 315 kernel/trace/trace_uprobe.c struct trace_uprobe *tu = to_trace_uprobe(ev); ev 717 kernel/trace/trace_uprobe.c static int trace_uprobe_release(struct dyn_event *ev) ev 719 kernel/trace/trace_uprobe.c struct trace_uprobe *tu = to_trace_uprobe(ev); ev 725 kernel/trace/trace_uprobe.c static int trace_uprobe_show(struct seq_file *m, struct dyn_event *ev) ev 727 kernel/trace/trace_uprobe.c struct trace_uprobe *tu = to_trace_uprobe(ev); ev 747 kernel/trace/trace_uprobe.c struct dyn_event *ev = v; ev 749 kernel/trace/trace_uprobe.c if (!is_trace_uprobe(ev)) ev 752 kernel/trace/trace_uprobe.c return trace_uprobe_show(m, ev); ev 798 kernel/trace/trace_uprobe.c struct dyn_event *ev = v; ev 801 kernel/trace/trace_uprobe.c if (!is_trace_uprobe(ev)) ev 804 kernel/trace/trace_uprobe.c tu = to_trace_uprobe(ev); ev 4100 mm/memcontrol.c struct mem_cgroup_eventfd_list *ev; ev 4104 mm/memcontrol.c list_for_each_entry(ev, &memcg->oom_notify, list) ev 4105 mm/memcontrol.c eventfd_signal(ev->eventfd, 1); ev 4334 mm/memcontrol.c struct mem_cgroup_eventfd_list *ev, *tmp; ev 4338 mm/memcontrol.c list_for_each_entry_safe(ev, tmp, &memcg->oom_notify, list) { ev 4339 mm/memcontrol.c if (ev->eventfd == eventfd) { ev 4340 mm/memcontrol.c list_del(&ev->list); ev 4341 mm/memcontrol.c kfree(ev); ev 162 mm/vmpressure.c struct vmpressure_event *ev; ev 166 mm/vmpressure.c list_for_each_entry(ev, &vmpr->events, node) { ev 167 mm/vmpressure.c if (ancestor && ev->mode == VMPRESSURE_LOCAL) ev 169 mm/vmpressure.c if (signalled && ev->mode == VMPRESSURE_NO_PASSTHROUGH) ev 171 mm/vmpressure.c if (level < ev->level) ev 173 mm/vmpressure.c eventfd_signal(ev->efd, 1); ev 366 mm/vmpressure.c struct vmpressure_event *ev; ev 395 mm/vmpressure.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 396 mm/vmpressure.c if (!ev) { ev 401 mm/vmpressure.c ev->efd = eventfd; ev 402 mm/vmpressure.c ev->level = level; ev 403 mm/vmpressure.c ev->mode = mode; ev 406 mm/vmpressure.c list_add(&ev->node, &vmpr->events); ev 429 mm/vmpressure.c struct vmpressure_event *ev; ev 432 mm/vmpressure.c list_for_each_entry(ev, &vmpr->events, node) { ev 433 mm/vmpressure.c if (ev->efd != eventfd) ev 435 mm/vmpressure.c list_del(&ev->node); ev 436 mm/vmpressure.c kfree(ev); ev 2476 net/bluetooth/hci_event.c struct hci_ev_conn_complete *ev = (void *) skb->data; ev 2483 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); ev 2485 net/bluetooth/hci_event.c if (ev->link_type != SCO_LINK) ev 2488 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); ev 2495 net/bluetooth/hci_event.c if (!ev->status) { ev 2496 net/bluetooth/hci_event.c conn->handle = __le16_to_cpu(ev->handle); ev 2503 net/bluetooth/hci_event.c !hci_find_link_key(hdev, &ev->bdaddr)) ev 2522 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 2532 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 2541 net/bluetooth/hci_event.c conn->dst_type, ev->status); ev 2545 net/bluetooth/hci_event.c hci_sco_setup(conn, ev->status); ev 2547 net/bluetooth/hci_event.c if (ev->status) { ev 2548 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 2550 net/bluetooth/hci_event.c } else if (ev->link_type != ACL_LINK) ev 2551 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 2570 net/bluetooth/hci_event.c struct hci_ev_conn_request *ev = (void *) skb->data; ev 2576 net/bluetooth/hci_event.c BT_DBG("%s bdaddr %pMR type 0x%x", hdev->name, &ev->bdaddr, ev 2577 net/bluetooth/hci_event.c ev->link_type); ev 2579 net/bluetooth/hci_event.c mask |= hci_proto_connect_ind(hdev, &ev->bdaddr, ev->link_type, ev 2583 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); ev 2587 net/bluetooth/hci_event.c if (hci_bdaddr_list_lookup(&hdev->blacklist, &ev->bdaddr, ev 2589 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); ev 2599 net/bluetooth/hci_event.c !hci_bdaddr_list_lookup(&hdev->whitelist, &ev->bdaddr, ev 2601 net/bluetooth/hci_event.c hci_reject_conn(hdev, &ev->bdaddr); ev 2609 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); ev 2611 net/bluetooth/hci_event.c memcpy(ie->data.dev_class, ev->dev_class, 3); ev 2613 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, ev 2614 net/bluetooth/hci_event.c &ev->bdaddr); ev 2616 net/bluetooth/hci_event.c conn = hci_conn_add(hdev, ev->link_type, &ev->bdaddr, ev 2625 net/bluetooth/hci_event.c memcpy(conn->dev_class, ev->dev_class, 3); ev 2629 net/bluetooth/hci_event.c if (ev->link_type == ACL_LINK || ev 2634 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 2646 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 2681 net/bluetooth/hci_event.c struct hci_ev_disconn_complete *ev = (void *) skb->data; ev 2688 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 2692 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 2696 net/bluetooth/hci_event.c if (ev->status) { ev 2698 net/bluetooth/hci_event.c conn->dst_type, ev->status); ev 2709 net/bluetooth/hci_event.c reason = hci_to_mgmt_reason(ev->reason); ev 2725 net/bluetooth/hci_event.c if (ev->reason != HCI_ERROR_CONNECTION_TIMEOUT) ev 2743 net/bluetooth/hci_event.c hci_disconn_cfm(conn, ev->reason); ev 2765 net/bluetooth/hci_event.c struct hci_ev_auth_complete *ev = (void *) skb->data; ev 2768 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 2772 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 2776 net/bluetooth/hci_event.c if (!ev->status) { ev 2787 net/bluetooth/hci_event.c if (ev->status == HCI_ERROR_PIN_OR_KEY_MISSING) ev 2790 net/bluetooth/hci_event.c mgmt_auth_failed(conn, ev->status); ev 2797 net/bluetooth/hci_event.c if (!ev->status && hci_conn_ssp_enabled(conn)) { ev 2799 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 2805 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 2809 net/bluetooth/hci_event.c hci_auth_cfm(conn, ev->status); ev 2817 net/bluetooth/hci_event.c if (!ev->status) { ev 2819 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 2825 net/bluetooth/hci_event.c hci_encrypt_cfm(conn, ev->status, 0x00); ev 2835 net/bluetooth/hci_event.c struct hci_ev_remote_name *ev = (void *) skb->data; ev 2844 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 2849 net/bluetooth/hci_event.c if (ev->status == 0) ev 2850 net/bluetooth/hci_event.c hci_check_pending_name(hdev, conn, &ev->bdaddr, ev->name, ev 2851 net/bluetooth/hci_event.c strnlen(ev->name, HCI_MAX_NAME_LENGTH)); ev 2853 net/bluetooth/hci_event.c hci_check_pending_name(hdev, conn, &ev->bdaddr, NULL, 0); ev 2933 net/bluetooth/hci_event.c struct hci_ev_encrypt_change *ev = (void *) skb->data; ev 2936 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 2940 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 2944 net/bluetooth/hci_event.c if (!ev->status) { ev 2945 net/bluetooth/hci_event.c if (ev->encrypt) { ev 2955 net/bluetooth/hci_event.c if ((conn->type == ACL_LINK && ev->encrypt == 0x02) || ev 2967 net/bluetooth/hci_event.c if (ev->status && conn->type == LE_LINK) { ev 2974 net/bluetooth/hci_event.c if (ev->status && conn->state == BT_CONNECTED) { ev 2975 net/bluetooth/hci_event.c if (ev->status == HCI_ERROR_PIN_OR_KEY_MISSING) ev 2996 net/bluetooth/hci_event.c if (!ev->status && ev->encrypt && conn->type == ACL_LINK) { ev 3044 net/bluetooth/hci_event.c if (!ev->status) ev 3047 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 3050 net/bluetooth/hci_event.c hci_encrypt_cfm(conn, ev->status, ev->encrypt); ev 3059 net/bluetooth/hci_event.c struct hci_ev_change_link_key_complete *ev = (void *) skb->data; ev 3062 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 3066 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 3068 net/bluetooth/hci_event.c if (!ev->status) ev 3073 net/bluetooth/hci_event.c hci_key_change_cfm(conn, ev->status); ev 3082 net/bluetooth/hci_event.c struct hci_ev_remote_features *ev = (void *) skb->data; ev 3085 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 3089 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 3093 net/bluetooth/hci_event.c if (!ev->status) ev 3094 net/bluetooth/hci_event.c memcpy(conn->features[0], ev->features, 8); ev 3099 net/bluetooth/hci_event.c if (!ev->status && lmp_ext_feat_capable(hdev) && ev 3102 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 3109 net/bluetooth/hci_event.c if (!ev->status && !test_bit(HCI_CONN_MGMT_CONNECTED, &conn->flags)) { ev 3120 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 3133 net/bluetooth/hci_event.c struct hci_ev_cmd_complete *ev = (void *) skb->data; ev 3135 net/bluetooth/hci_event.c *opcode = __le16_to_cpu(ev->opcode); ev 3136 net/bluetooth/hci_event.c *status = skb->data[sizeof(*ev)]; ev 3138 net/bluetooth/hci_event.c skb_pull(skb, sizeof(*ev)); ev 3473 net/bluetooth/hci_event.c if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) ev 3494 net/bluetooth/hci_event.c struct hci_ev_cmd_status *ev = (void *) skb->data; ev 3496 net/bluetooth/hci_event.c skb_pull(skb, sizeof(*ev)); ev 3498 net/bluetooth/hci_event.c *opcode = __le16_to_cpu(ev->opcode); ev 3499 net/bluetooth/hci_event.c *status = ev->status; ev 3503 net/bluetooth/hci_event.c hci_cs_inquiry(hdev, ev->status); ev 3507 net/bluetooth/hci_event.c hci_cs_create_conn(hdev, ev->status); ev 3511 net/bluetooth/hci_event.c hci_cs_disconnect(hdev, ev->status); ev 3515 net/bluetooth/hci_event.c hci_cs_add_sco(hdev, ev->status); ev 3519 net/bluetooth/hci_event.c hci_cs_auth_requested(hdev, ev->status); ev 3523 net/bluetooth/hci_event.c hci_cs_set_conn_encrypt(hdev, ev->status); ev 3527 net/bluetooth/hci_event.c hci_cs_remote_name_req(hdev, ev->status); ev 3531 net/bluetooth/hci_event.c hci_cs_read_remote_features(hdev, ev->status); ev 3535 net/bluetooth/hci_event.c hci_cs_read_remote_ext_features(hdev, ev->status); ev 3539 net/bluetooth/hci_event.c hci_cs_setup_sync_conn(hdev, ev->status); ev 3543 net/bluetooth/hci_event.c hci_cs_sniff_mode(hdev, ev->status); ev 3547 net/bluetooth/hci_event.c hci_cs_exit_sniff_mode(hdev, ev->status); ev 3551 net/bluetooth/hci_event.c hci_cs_switch_role(hdev, ev->status); ev 3555 net/bluetooth/hci_event.c hci_cs_le_create_conn(hdev, ev->status); ev 3559 net/bluetooth/hci_event.c hci_cs_le_read_remote_features(hdev, ev->status); ev 3563 net/bluetooth/hci_event.c hci_cs_le_start_enc(hdev, ev->status); ev 3567 net/bluetooth/hci_event.c hci_cs_le_ext_create_conn(hdev, ev->status); ev 3578 net/bluetooth/hci_event.c if (ev->ncmd && !test_bit(HCI_RESET, &hdev->flags)) ev 3587 net/bluetooth/hci_event.c if (ev->status || ev 3589 net/bluetooth/hci_event.c hci_req_cmd_complete(hdev, *opcode, ev->status, req_complete, ev 3604 net/bluetooth/hci_event.c struct hci_ev_hardware_error *ev = (void *) skb->data; ev 3606 net/bluetooth/hci_event.c hdev->hw_error_code = ev->code; ev 3613 net/bluetooth/hci_event.c struct hci_ev_role_change *ev = (void *) skb->data; ev 3616 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 3620 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 3622 net/bluetooth/hci_event.c if (!ev->status) ev 3623 net/bluetooth/hci_event.c conn->role = ev->role; ev 3627 net/bluetooth/hci_event.c hci_role_switch_cfm(conn, ev->status, ev->role); ev 3635 net/bluetooth/hci_event.c struct hci_ev_num_comp_pkts *ev = (void *) skb->data; ev 3643 net/bluetooth/hci_event.c if (skb->len < sizeof(*ev) || ev 3644 net/bluetooth/hci_event.c skb->len < struct_size(ev, handles, ev->num_hndl)) { ev 3649 net/bluetooth/hci_event.c BT_DBG("%s num_hndl %d", hdev->name, ev->num_hndl); ev 3651 net/bluetooth/hci_event.c for (i = 0; i < ev->num_hndl; i++) { ev 3652 net/bluetooth/hci_event.c struct hci_comp_pkts_info *info = &ev->handles[i]; ev 3723 net/bluetooth/hci_event.c struct hci_ev_num_comp_blocks *ev = (void *) skb->data; ev 3731 net/bluetooth/hci_event.c if (skb->len < sizeof(*ev) || ev 3732 net/bluetooth/hci_event.c skb->len < struct_size(ev, handles, ev->num_hndl)) { ev 3737 net/bluetooth/hci_event.c BT_DBG("%s num_blocks %d num_hndl %d", hdev->name, ev->num_blocks, ev 3738 net/bluetooth/hci_event.c ev->num_hndl); ev 3740 net/bluetooth/hci_event.c for (i = 0; i < ev->num_hndl; i++) { ev 3741 net/bluetooth/hci_event.c struct hci_comp_blocks_info *info = &ev->handles[i]; ev 3774 net/bluetooth/hci_event.c struct hci_ev_mode_change *ev = (void *) skb->data; ev 3777 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 3781 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 3783 net/bluetooth/hci_event.c conn->mode = ev->mode; ev 3794 net/bluetooth/hci_event.c hci_sco_setup(conn, ev->status); ev 3802 net/bluetooth/hci_event.c struct hci_ev_pin_code_req *ev = (void *) skb->data; ev 3809 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 3822 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); ev 3831 net/bluetooth/hci_event.c mgmt_pin_code_request(hdev, &ev->bdaddr, secure); ev 3872 net/bluetooth/hci_event.c struct hci_ev_link_key_req *ev = (void *) skb->data; ev 3884 net/bluetooth/hci_event.c key = hci_find_link_key(hdev, &ev->bdaddr); ev 3887 net/bluetooth/hci_event.c &ev->bdaddr); ev 3892 net/bluetooth/hci_event.c &ev->bdaddr); ev 3894 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 3916 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 3926 net/bluetooth/hci_event.c hci_send_cmd(hdev, HCI_OP_LINK_KEY_NEG_REPLY, 6, &ev->bdaddr); ev 3932 net/bluetooth/hci_event.c struct hci_ev_link_key_notify *ev = (void *) skb->data; ev 3942 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 3951 net/bluetooth/hci_event.c conn_set_key(conn, ev->key_type, conn->pin_length); ev 3956 net/bluetooth/hci_event.c key = hci_add_link_key(hdev, conn, &ev->bdaddr, ev->link_key, ev 3957 net/bluetooth/hci_event.c ev->key_type, pin_len, &persistent); ev 3964 net/bluetooth/hci_event.c if (ev->key_type == HCI_LK_CHANGED_COMBINATION) ev 3992 net/bluetooth/hci_event.c struct hci_ev_clock_offset *ev = (void *) skb->data; ev 3995 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 3999 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 4000 net/bluetooth/hci_event.c if (conn && !ev->status) { ev 4005 net/bluetooth/hci_event.c ie->data.clock_offset = ev->clock_offset; ev 4015 net/bluetooth/hci_event.c struct hci_ev_pkt_type_change *ev = (void *) skb->data; ev 4018 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 4022 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 4023 net/bluetooth/hci_event.c if (conn && !ev->status) ev 4024 net/bluetooth/hci_event.c conn->pkt_type = __le16_to_cpu(ev->pkt_type); ev 4031 net/bluetooth/hci_event.c struct hci_ev_pscan_rep_mode *ev = (void *) skb->data; ev 4038 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); ev 4040 net/bluetooth/hci_event.c ie->data.pscan_rep_mode = ev->pscan_rep_mode; ev 4114 net/bluetooth/hci_event.c struct hci_ev_remote_ext_features *ev = (void *) skb->data; ev 4121 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 4125 net/bluetooth/hci_event.c if (ev->page < HCI_MAX_PAGES) ev 4126 net/bluetooth/hci_event.c memcpy(conn->features[ev->page], ev->features, 8); ev 4128 net/bluetooth/hci_event.c if (!ev->status && ev->page == 0x01) { ev 4133 net/bluetooth/hci_event.c ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP); ev 4135 net/bluetooth/hci_event.c if (ev->features[0] & LMP_HOST_SSP) { ev 4149 net/bluetooth/hci_event.c if (ev->features[0] & LMP_HOST_SC) ev 4156 net/bluetooth/hci_event.c if (!ev->status && !test_bit(HCI_CONN_MGMT_CONNECTED, &conn->flags)) { ev 4167 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 4178 net/bluetooth/hci_event.c struct hci_ev_sync_conn_complete *ev = (void *) skb->data; ev 4181 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 4185 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ev->link_type, &ev->bdaddr); ev 4187 net/bluetooth/hci_event.c if (ev->link_type == ESCO_LINK) ev 4199 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ESCO_LINK, &ev->bdaddr); ev 4204 net/bluetooth/hci_event.c switch (ev->status) { ev 4206 net/bluetooth/hci_event.c conn->handle = __le16_to_cpu(ev->handle); ev 4208 net/bluetooth/hci_event.c conn->type = ev->link_type; ev 4234 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 4235 net/bluetooth/hci_event.c if (ev->status) ev 4312 net/bluetooth/hci_event.c struct hci_ev_key_refresh_complete *ev = (void *) skb->data; ev 4315 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x handle 0x%4.4x", hdev->name, ev->status, ev 4316 net/bluetooth/hci_event.c __le16_to_cpu(ev->handle)); ev 4320 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 4330 net/bluetooth/hci_event.c if (!ev->status) ev 4335 net/bluetooth/hci_event.c if (ev->status && conn->state == BT_CONNECTED) { ev 4342 net/bluetooth/hci_event.c if (!ev->status) ev 4345 net/bluetooth/hci_event.c hci_connect_cfm(conn, ev->status); ev 4348 net/bluetooth/hci_event.c hci_auth_cfm(conn, ev->status); ev 4421 net/bluetooth/hci_event.c struct hci_ev_io_capa_request *ev = (void *) skb->data; ev 4428 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4445 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 4477 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 4490 net/bluetooth/hci_event.c struct hci_ev_io_capa_reply *ev = (void *) skb->data; ev 4497 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4501 net/bluetooth/hci_event.c conn->remote_cap = ev->capability; ev 4502 net/bluetooth/hci_event.c conn->remote_auth = ev->authentication; ev 4511 net/bluetooth/hci_event.c struct hci_ev_user_confirm_req *ev = (void *) skb->data; ev 4522 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4538 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); ev 4571 net/bluetooth/hci_event.c sizeof(ev->bdaddr), &ev->bdaddr); ev 4576 net/bluetooth/hci_event.c mgmt_user_confirm_request(hdev, &ev->bdaddr, ACL_LINK, 0, ev 4577 net/bluetooth/hci_event.c le32_to_cpu(ev->passkey), confirm_hint); ev 4586 net/bluetooth/hci_event.c struct hci_ev_user_passkey_req *ev = (void *) skb->data; ev 4591 net/bluetooth/hci_event.c mgmt_user_passkey_request(hdev, &ev->bdaddr, ACL_LINK, 0); ev 4597 net/bluetooth/hci_event.c struct hci_ev_user_passkey_notify *ev = (void *) skb->data; ev 4602 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4606 net/bluetooth/hci_event.c conn->passkey_notify = __le32_to_cpu(ev->passkey); ev 4617 net/bluetooth/hci_event.c struct hci_ev_keypress_notify *ev = (void *) skb->data; ev 4622 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4626 net/bluetooth/hci_event.c switch (ev->type) { ev 4656 net/bluetooth/hci_event.c struct hci_ev_simple_pair_complete *ev = (void *) skb->data; ev 4663 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4675 net/bluetooth/hci_event.c if (!test_bit(HCI_CONN_AUTH_PEND, &conn->flags) && ev->status) ev 4676 net/bluetooth/hci_event.c mgmt_auth_failed(conn, ev->status); ev 4687 net/bluetooth/hci_event.c struct hci_ev_remote_host_features *ev = (void *) skb->data; ev 4695 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_ba(hdev, ACL_LINK, &ev->bdaddr); ev 4697 net/bluetooth/hci_event.c memcpy(conn->features[1], ev->features, 8); ev 4699 net/bluetooth/hci_event.c ie = hci_inquiry_cache_lookup(hdev, &ev->bdaddr); ev 4701 net/bluetooth/hci_event.c ie->data.ssp_mode = (ev->features[0] & LMP_HOST_SSP); ev 4709 net/bluetooth/hci_event.c struct hci_ev_remote_oob_data_request *ev = (void *) skb->data; ev 4719 net/bluetooth/hci_event.c data = hci_find_remote_oob_data(hdev, &ev->bdaddr, BDADDR_BREDR); ev 4723 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 4732 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 4748 net/bluetooth/hci_event.c bacpy(&cp.bdaddr, &ev->bdaddr); ev 4763 net/bluetooth/hci_event.c struct hci_ev_channel_selected *ev = (void *)skb->data; ev 4766 net/bluetooth/hci_event.c BT_DBG("%s handle 0x%2.2x", hdev->name, ev->phy_handle); ev 4768 net/bluetooth/hci_event.c skb_pull(skb, sizeof(*ev)); ev 4770 net/bluetooth/hci_event.c hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); ev 4780 net/bluetooth/hci_event.c struct hci_ev_phy_link_complete *ev = (void *) skb->data; ev 4783 net/bluetooth/hci_event.c BT_DBG("%s handle 0x%2.2x status 0x%2.2x", hdev->name, ev->phy_handle, ev 4784 net/bluetooth/hci_event.c ev->status); ev 4788 net/bluetooth/hci_event.c hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); ev 4794 net/bluetooth/hci_event.c if (ev->status) { ev 4819 net/bluetooth/hci_event.c struct hci_ev_logical_link_complete *ev = (void *) skb->data; ev 4825 net/bluetooth/hci_event.c hdev->name, le16_to_cpu(ev->handle), ev->phy_handle, ev 4826 net/bluetooth/hci_event.c ev->status); ev 4828 net/bluetooth/hci_event.c hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); ev 4837 net/bluetooth/hci_event.c hchan->handle = le16_to_cpu(ev->handle); ev 4858 net/bluetooth/hci_event.c struct hci_ev_disconn_logical_link_complete *ev = (void *) skb->data; ev 4862 net/bluetooth/hci_event.c le16_to_cpu(ev->handle), ev->status); ev 4864 net/bluetooth/hci_event.c if (ev->status) ev 4869 net/bluetooth/hci_event.c hchan = hci_chan_lookup_handle(hdev, le16_to_cpu(ev->handle)); ev 4873 net/bluetooth/hci_event.c amp_destroy_logical_link(hchan, ev->reason); ev 4882 net/bluetooth/hci_event.c struct hci_ev_disconn_phy_link_complete *ev = (void *) skb->data; ev 4885 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 4887 net/bluetooth/hci_event.c if (ev->status) ev 4892 net/bluetooth/hci_event.c hcon = hci_conn_hash_lookup_handle(hdev, ev->phy_handle); ev 5066 net/bluetooth/hci_event.c struct hci_ev_le_conn_complete *ev = (void *) skb->data; ev 5068 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 5070 net/bluetooth/hci_event.c le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, ev 5071 net/bluetooth/hci_event.c ev->role, le16_to_cpu(ev->handle), ev 5072 net/bluetooth/hci_event.c le16_to_cpu(ev->interval), ev 5073 net/bluetooth/hci_event.c le16_to_cpu(ev->latency), ev 5074 net/bluetooth/hci_event.c le16_to_cpu(ev->supervision_timeout)); ev 5080 net/bluetooth/hci_event.c struct hci_ev_le_enh_conn_complete *ev = (void *) skb->data; ev 5082 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 5084 net/bluetooth/hci_event.c le_conn_complete_evt(hdev, ev->status, &ev->bdaddr, ev->bdaddr_type, ev 5085 net/bluetooth/hci_event.c ev->role, le16_to_cpu(ev->handle), ev 5086 net/bluetooth/hci_event.c le16_to_cpu(ev->interval), ev 5087 net/bluetooth/hci_event.c le16_to_cpu(ev->latency), ev 5088 net/bluetooth/hci_event.c le16_to_cpu(ev->supervision_timeout)); ev 5093 net/bluetooth/hci_event.c struct hci_evt_le_ext_adv_set_term *ev = (void *) skb->data; ev 5096 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 5098 net/bluetooth/hci_event.c if (ev->status) ev 5101 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->conn_handle)); ev 5122 net/bluetooth/hci_event.c struct hci_ev_le_conn_update_complete *ev = (void *) skb->data; ev 5125 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 5127 net/bluetooth/hci_event.c if (ev->status) ev 5132 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 5134 net/bluetooth/hci_event.c conn->le_conn_interval = le16_to_cpu(ev->interval); ev 5135 net/bluetooth/hci_event.c conn->le_conn_latency = le16_to_cpu(ev->latency); ev 5136 net/bluetooth/hci_event.c conn->le_supv_timeout = le16_to_cpu(ev->supervision_timeout); ev 5436 net/bluetooth/hci_event.c struct hci_ev_le_advertising_info *ev = ptr; ev 5439 net/bluetooth/hci_event.c if (ev->length <= HCI_MAX_AD_LENGTH) { ev 5440 net/bluetooth/hci_event.c rssi = ev->data[ev->length]; ev 5441 net/bluetooth/hci_event.c process_adv_report(hdev, ev->evt_type, &ev->bdaddr, ev 5442 net/bluetooth/hci_event.c ev->bdaddr_type, NULL, 0, rssi, ev 5443 net/bluetooth/hci_event.c ev->data, ev->length); ev 5448 net/bluetooth/hci_event.c ptr += sizeof(*ev) + ev->length + 1; ev 5508 net/bluetooth/hci_event.c struct hci_ev_le_ext_adv_report *ev = ptr; ev 5512 net/bluetooth/hci_event.c evt_type = __le16_to_cpu(ev->evt_type); ev 5515 net/bluetooth/hci_event.c process_adv_report(hdev, legacy_evt_type, &ev->bdaddr, ev 5516 net/bluetooth/hci_event.c ev->bdaddr_type, NULL, 0, ev->rssi, ev 5517 net/bluetooth/hci_event.c ev->data, ev->length); ev 5520 net/bluetooth/hci_event.c ptr += sizeof(*ev) + ev->length; ev 5529 net/bluetooth/hci_event.c struct hci_ev_le_remote_feat_complete *ev = (void *)skb->data; ev 5532 net/bluetooth/hci_event.c BT_DBG("%s status 0x%2.2x", hdev->name, ev->status); ev 5536 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 5538 net/bluetooth/hci_event.c if (!ev->status) ev 5539 net/bluetooth/hci_event.c memcpy(conn->features[0], ev->features, 8); ev 5554 net/bluetooth/hci_event.c !conn->out && ev->status == 0x1a) ev 5557 net/bluetooth/hci_event.c status = ev->status; ev 5570 net/bluetooth/hci_event.c struct hci_ev_le_ltk_req *ev = (void *) skb->data; ev 5576 net/bluetooth/hci_event.c BT_DBG("%s handle 0x%4.4x", hdev->name, __le16_to_cpu(ev->handle)); ev 5580 net/bluetooth/hci_event.c conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); ev 5590 net/bluetooth/hci_event.c if (ev->ediv || ev->rand) ev 5594 net/bluetooth/hci_event.c if (ev->ediv != ltk->ediv || ev->rand != ltk->rand) ev 5627 net/bluetooth/hci_event.c neg.handle = ev->handle; ev 5647 net/bluetooth/hci_event.c struct hci_ev_le_remote_conn_param_req *ev = (void *) skb->data; ev 5652 net/bluetooth/hci_event.c handle = le16_to_cpu(ev->handle); ev 5653 net/bluetooth/hci_event.c min = le16_to_cpu(ev->interval_min); ev 5654 net/bluetooth/hci_event.c max = le16_to_cpu(ev->interval_max); ev 5655 net/bluetooth/hci_event.c latency = le16_to_cpu(ev->latency); ev 5656 net/bluetooth/hci_event.c timeout = le16_to_cpu(ev->timeout); ev 5691 net/bluetooth/hci_event.c cp.handle = ev->handle; ev 5692 net/bluetooth/hci_event.c cp.interval_min = ev->interval_min; ev 5693 net/bluetooth/hci_event.c cp.interval_max = ev->interval_max; ev 5694 net/bluetooth/hci_event.c cp.latency = ev->latency; ev 5695 net/bluetooth/hci_event.c cp.timeout = ev->timeout; ev 5711 net/bluetooth/hci_event.c struct hci_ev_le_direct_adv_info *ev = ptr; ev 5713 net/bluetooth/hci_event.c process_adv_report(hdev, ev->evt_type, &ev->bdaddr, ev 5714 net/bluetooth/hci_event.c ev->bdaddr_type, &ev->direct_addr, ev 5715 net/bluetooth/hci_event.c ev->direct_addr_type, ev->rssi, NULL, 0); ev 5717 net/bluetooth/hci_event.c ptr += sizeof(*ev); ev 5778 net/bluetooth/hci_event.c struct hci_ev_cmd_complete *ev; ev 5810 net/bluetooth/hci_event.c if (skb->len < sizeof(*ev)) { ev 5815 net/bluetooth/hci_event.c ev = (void *) skb->data; ev 5816 net/bluetooth/hci_event.c skb_pull(skb, sizeof(*ev)); ev 5818 net/bluetooth/hci_event.c if (opcode != __le16_to_cpu(ev->opcode)) { ev 5820 net/bluetooth/hci_event.c __le16_to_cpu(ev->opcode)); ev 704 net/bluetooth/hci_sock.c struct hci_ev_stack_internal *ev; ev 707 net/bluetooth/hci_sock.c skb = bt_skb_alloc(HCI_EVENT_HDR_SIZE + sizeof(*ev) + dlen, GFP_ATOMIC); ev 713 net/bluetooth/hci_sock.c hdr->plen = sizeof(*ev) + dlen; ev 715 net/bluetooth/hci_sock.c ev = skb_put(skb, sizeof(*ev) + dlen); ev 716 net/bluetooth/hci_sock.c ev->type = type; ev 717 net/bluetooth/hci_sock.c memcpy(ev->data, data, dlen); ev 744 net/bluetooth/hci_sock.c struct hci_ev_si_device ev; ev 747 net/bluetooth/hci_sock.c ev.event = event; ev 748 net/bluetooth/hci_sock.c ev.dev_id = hdev->id; ev 749 net/bluetooth/hci_sock.c hci_si_event(NULL, HCI_EV_SI_DEVICE, sizeof(ev), &ev); ev 1063 net/bluetooth/mgmt.c struct mgmt_ev_ext_info_changed *ev = (void *)buf; ev 1068 net/bluetooth/mgmt.c eir_len = append_eir_data_to_buf(hdev, ev->eir); ev 1069 net/bluetooth/mgmt.c ev->eir_len = cpu_to_le16(eir_len); ev 1071 net/bluetooth/mgmt.c return mgmt_limited_event(MGMT_EV_EXT_INFO_CHANGED, hdev, ev, ev 1072 net/bluetooth/mgmt.c sizeof(*ev) + eir_len, ev 1096 net/bluetooth/mgmt.c struct mgmt_ev_advertising_added ev; ev 1098 net/bluetooth/mgmt.c ev.instance = instance; ev 1100 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_ADVERTISING_ADDED, hdev, &ev, sizeof(ev), sk); ev 1106 net/bluetooth/mgmt.c struct mgmt_ev_advertising_removed ev; ev 1108 net/bluetooth/mgmt.c ev.instance = instance; ev 1110 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_ADVERTISING_REMOVED, hdev, &ev, sizeof(ev), sk); ev 1212 net/bluetooth/mgmt.c __le32 ev = cpu_to_le32(get_current_settings(hdev)); ev 1214 net/bluetooth/mgmt.c return mgmt_limited_event(MGMT_EV_NEW_SETTINGS, hdev, &ev, ev 1215 net/bluetooth/mgmt.c sizeof(ev), HCI_MGMT_SETTING_EVENTS, skip); ev 2364 net/bluetooth/mgmt.c struct mgmt_ev_device_unpaired ev; ev 2366 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 2367 net/bluetooth/mgmt.c ev.addr.type = addr_type; ev 2369 net/bluetooth/mgmt.c return mgmt_event(MGMT_EV_DEVICE_UNPAIRED, hdev, &ev, sizeof(ev), ev 3338 net/bluetooth/mgmt.c struct mgmt_ev_phy_configuration_changed ev; ev 3340 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 3342 net/bluetooth/mgmt.c ev.selected_phys = cpu_to_le32(get_selected_phys(hdev)); ev 3344 net/bluetooth/mgmt.c return mgmt_event(MGMT_EV_PHY_CONFIGURATION_CHANGED, hdev, &ev, ev 3345 net/bluetooth/mgmt.c sizeof(ev), skip); ev 5586 net/bluetooth/mgmt.c struct mgmt_ev_device_added ev; ev 5588 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 5589 net/bluetooth/mgmt.c ev.addr.type = type; ev 5590 net/bluetooth/mgmt.c ev.action = action; ev 5592 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DEVICE_ADDED, hdev, &ev, sizeof(ev), sk); ev 5686 net/bluetooth/mgmt.c struct mgmt_ev_device_removed ev; ev 5688 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 5689 net/bluetooth/mgmt.c ev.addr.type = type; ev 5691 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DEVICE_REMOVED, hdev, &ev, sizeof(ev), sk); ev 6921 net/bluetooth/mgmt.c struct mgmt_ev_ext_index ev; ev 6931 net/bluetooth/mgmt.c ev.type = 0x01; ev 6935 net/bluetooth/mgmt.c ev.type = 0x00; ev 6939 net/bluetooth/mgmt.c ev.type = 0x02; ev 6945 net/bluetooth/mgmt.c ev.bus = hdev->bus; ev 6947 net/bluetooth/mgmt.c mgmt_index_event(MGMT_EV_EXT_INDEX_ADDED, hdev, &ev, sizeof(ev), ev 6953 net/bluetooth/mgmt.c struct mgmt_ev_ext_index ev; ev 6966 net/bluetooth/mgmt.c ev.type = 0x01; ev 6970 net/bluetooth/mgmt.c ev.type = 0x00; ev 6974 net/bluetooth/mgmt.c ev.type = 0x02; ev 6980 net/bluetooth/mgmt.c ev.bus = hdev->bus; ev 6982 net/bluetooth/mgmt.c mgmt_index_event(MGMT_EV_EXT_INDEX_REMOVED, hdev, &ev, sizeof(ev), ev 7090 net/bluetooth/mgmt.c struct mgmt_ev_new_link_key ev; ev 7092 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7094 net/bluetooth/mgmt.c ev.store_hint = persistent; ev 7095 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &key->bdaddr); ev 7096 net/bluetooth/mgmt.c ev.key.addr.type = BDADDR_BREDR; ev 7097 net/bluetooth/mgmt.c ev.key.type = key->type; ev 7098 net/bluetooth/mgmt.c memcpy(ev.key.val, key->val, HCI_LINK_KEY_SIZE); ev 7099 net/bluetooth/mgmt.c ev.key.pin_len = key->pin_len; ev 7101 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_NEW_LINK_KEY, hdev, &ev, sizeof(ev), NULL); ev 7125 net/bluetooth/mgmt.c struct mgmt_ev_new_long_term_key ev; ev 7127 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7142 net/bluetooth/mgmt.c ev.store_hint = 0x00; ev 7144 net/bluetooth/mgmt.c ev.store_hint = persistent; ev 7146 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &key->bdaddr); ev 7147 net/bluetooth/mgmt.c ev.key.addr.type = link_to_bdaddr(LE_LINK, key->bdaddr_type); ev 7148 net/bluetooth/mgmt.c ev.key.type = mgmt_ltk_type(key); ev 7149 net/bluetooth/mgmt.c ev.key.enc_size = key->enc_size; ev 7150 net/bluetooth/mgmt.c ev.key.ediv = key->ediv; ev 7151 net/bluetooth/mgmt.c ev.key.rand = key->rand; ev 7154 net/bluetooth/mgmt.c ev.key.master = 1; ev 7159 net/bluetooth/mgmt.c memcpy(ev.key.val, key->val, key->enc_size); ev 7160 net/bluetooth/mgmt.c memset(ev.key.val + key->enc_size, 0, ev 7161 net/bluetooth/mgmt.c sizeof(ev.key.val) - key->enc_size); ev 7163 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_NEW_LONG_TERM_KEY, hdev, &ev, sizeof(ev), NULL); ev 7168 net/bluetooth/mgmt.c struct mgmt_ev_new_irk ev; ev 7170 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7172 net/bluetooth/mgmt.c ev.store_hint = persistent; ev 7174 net/bluetooth/mgmt.c bacpy(&ev.rpa, &irk->rpa); ev 7175 net/bluetooth/mgmt.c bacpy(&ev.irk.addr.bdaddr, &irk->bdaddr); ev 7176 net/bluetooth/mgmt.c ev.irk.addr.type = link_to_bdaddr(LE_LINK, irk->addr_type); ev 7177 net/bluetooth/mgmt.c memcpy(ev.irk.val, irk->val, sizeof(irk->val)); ev 7179 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_NEW_IRK, hdev, &ev, sizeof(ev), NULL); ev 7185 net/bluetooth/mgmt.c struct mgmt_ev_new_csrk ev; ev 7187 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7200 net/bluetooth/mgmt.c ev.store_hint = 0x00; ev 7202 net/bluetooth/mgmt.c ev.store_hint = persistent; ev 7204 net/bluetooth/mgmt.c bacpy(&ev.key.addr.bdaddr, &csrk->bdaddr); ev 7205 net/bluetooth/mgmt.c ev.key.addr.type = link_to_bdaddr(LE_LINK, csrk->bdaddr_type); ev 7206 net/bluetooth/mgmt.c ev.key.type = csrk->type; ev 7207 net/bluetooth/mgmt.c memcpy(ev.key.val, csrk->val, sizeof(csrk->val)); ev 7209 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_NEW_CSRK, hdev, &ev, sizeof(ev), NULL); ev 7216 net/bluetooth/mgmt.c struct mgmt_ev_new_conn_param ev; ev 7221 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7222 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7223 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(LE_LINK, bdaddr_type); ev 7224 net/bluetooth/mgmt.c ev.store_hint = store_hint; ev 7225 net/bluetooth/mgmt.c ev.min_interval = cpu_to_le16(min_interval); ev 7226 net/bluetooth/mgmt.c ev.max_interval = cpu_to_le16(max_interval); ev 7227 net/bluetooth/mgmt.c ev.latency = cpu_to_le16(latency); ev 7228 net/bluetooth/mgmt.c ev.timeout = cpu_to_le16(timeout); ev 7230 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_NEW_CONN_PARAM, hdev, &ev, sizeof(ev), NULL); ev 7237 net/bluetooth/mgmt.c struct mgmt_ev_device_connected *ev = (void *) buf; ev 7240 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, &conn->dst); ev 7241 net/bluetooth/mgmt.c ev->addr.type = link_to_bdaddr(conn->type, conn->dst_type); ev 7243 net/bluetooth/mgmt.c ev->flags = __cpu_to_le32(flags); ev 7250 net/bluetooth/mgmt.c memcpy(&ev->eir[eir_len], ev 7255 net/bluetooth/mgmt.c eir_len = eir_append_data(ev->eir, 0, EIR_NAME_COMPLETE, ev 7259 net/bluetooth/mgmt.c eir_len = eir_append_data(ev->eir, eir_len, ev 7264 net/bluetooth/mgmt.c ev->eir_len = cpu_to_le16(eir_len); ev 7267 net/bluetooth/mgmt.c sizeof(*ev) + eir_len, NULL); ev 7313 net/bluetooth/mgmt.c struct mgmt_ev_device_disconnected ev; ev 7332 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7333 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(link_type, addr_type); ev 7334 net/bluetooth/mgmt.c ev.reason = reason; ev 7336 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DEVICE_DISCONNECTED, hdev, &ev, sizeof(ev), sk); ev 7374 net/bluetooth/mgmt.c struct mgmt_ev_connect_failed ev; ev 7384 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7385 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(link_type, addr_type); ev 7386 net/bluetooth/mgmt.c ev.status = mgmt_status(status); ev 7388 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_CONNECT_FAILED, hdev, &ev, sizeof(ev), NULL); ev 7393 net/bluetooth/mgmt.c struct mgmt_ev_pin_code_request ev; ev 7395 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7396 net/bluetooth/mgmt.c ev.addr.type = BDADDR_BREDR; ev 7397 net/bluetooth/mgmt.c ev.secure = secure; ev 7399 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_PIN_CODE_REQUEST, hdev, &ev, sizeof(ev), NULL); ev 7432 net/bluetooth/mgmt.c struct mgmt_ev_user_confirm_request ev; ev 7436 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7437 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(link_type, addr_type); ev 7438 net/bluetooth/mgmt.c ev.confirm_hint = confirm_hint; ev 7439 net/bluetooth/mgmt.c ev.value = cpu_to_le32(value); ev 7441 net/bluetooth/mgmt.c return mgmt_event(MGMT_EV_USER_CONFIRM_REQUEST, hdev, &ev, sizeof(ev), ev 7448 net/bluetooth/mgmt.c struct mgmt_ev_user_passkey_request ev; ev 7452 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7453 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(link_type, addr_type); ev 7455 net/bluetooth/mgmt.c return mgmt_event(MGMT_EV_USER_PASSKEY_REQUEST, hdev, &ev, sizeof(ev), ev 7509 net/bluetooth/mgmt.c struct mgmt_ev_passkey_notify ev; ev 7513 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, bdaddr); ev 7514 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(link_type, addr_type); ev 7515 net/bluetooth/mgmt.c ev.passkey = __cpu_to_le32(passkey); ev 7516 net/bluetooth/mgmt.c ev.entered = entered; ev 7518 net/bluetooth/mgmt.c return mgmt_event(MGMT_EV_PASSKEY_NOTIFY, hdev, &ev, sizeof(ev), NULL); ev 7523 net/bluetooth/mgmt.c struct mgmt_ev_auth_failed ev; ev 7527 net/bluetooth/mgmt.c bacpy(&ev.addr.bdaddr, &conn->dst); ev 7528 net/bluetooth/mgmt.c ev.addr.type = link_to_bdaddr(conn->type, conn->dst_type); ev 7529 net/bluetooth/mgmt.c ev.status = status; ev 7533 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_AUTH_FAILED, conn->hdev, &ev, sizeof(ev), ev 7668 net/bluetooth/mgmt.c struct mgmt_cp_set_local_name ev; ev 7674 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7675 net/bluetooth/mgmt.c memcpy(ev.name, name, HCI_MAX_NAME_LENGTH); ev 7676 net/bluetooth/mgmt.c memcpy(ev.short_name, hdev->short_name, HCI_MAX_SHORT_NAME_LENGTH); ev 7689 net/bluetooth/mgmt.c mgmt_limited_event(MGMT_EV_LOCAL_NAME_CHANGED, hdev, &ev, sizeof(ev), ev 7826 net/bluetooth/mgmt.c struct mgmt_ev_device_found *ev = (void *)buf; ev 7862 net/bluetooth/mgmt.c if (sizeof(*ev) + eir_len + scan_rsp_len + 5 > sizeof(buf)) ev 7879 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, bdaddr); ev 7880 net/bluetooth/mgmt.c ev->addr.type = link_to_bdaddr(link_type, addr_type); ev 7881 net/bluetooth/mgmt.c ev->rssi = rssi; ev 7882 net/bluetooth/mgmt.c ev->flags = cpu_to_le32(flags); ev 7886 net/bluetooth/mgmt.c memcpy(ev->eir, eir, eir_len); ev 7888 net/bluetooth/mgmt.c if (dev_class && !eir_get_data(ev->eir, eir_len, EIR_CLASS_OF_DEV, ev 7890 net/bluetooth/mgmt.c eir_len = eir_append_data(ev->eir, eir_len, EIR_CLASS_OF_DEV, ev 7895 net/bluetooth/mgmt.c memcpy(ev->eir + eir_len, scan_rsp, scan_rsp_len); ev 7897 net/bluetooth/mgmt.c ev->eir_len = cpu_to_le16(eir_len + scan_rsp_len); ev 7898 net/bluetooth/mgmt.c ev_size = sizeof(*ev) + eir_len + scan_rsp_len; ev 7900 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DEVICE_FOUND, hdev, ev, ev_size, NULL); ev 7906 net/bluetooth/mgmt.c struct mgmt_ev_device_found *ev; ev 7907 net/bluetooth/mgmt.c char buf[sizeof(*ev) + HCI_MAX_NAME_LENGTH + 2]; ev 7910 net/bluetooth/mgmt.c ev = (struct mgmt_ev_device_found *) buf; ev 7914 net/bluetooth/mgmt.c bacpy(&ev->addr.bdaddr, bdaddr); ev 7915 net/bluetooth/mgmt.c ev->addr.type = link_to_bdaddr(link_type, addr_type); ev 7916 net/bluetooth/mgmt.c ev->rssi = rssi; ev 7918 net/bluetooth/mgmt.c eir_len = eir_append_data(ev->eir, 0, EIR_NAME_COMPLETE, name, ev 7921 net/bluetooth/mgmt.c ev->eir_len = cpu_to_le16(eir_len); ev 7923 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DEVICE_FOUND, hdev, ev, sizeof(*ev) + eir_len, NULL); ev 7928 net/bluetooth/mgmt.c struct mgmt_ev_discovering ev; ev 7932 net/bluetooth/mgmt.c memset(&ev, 0, sizeof(ev)); ev 7933 net/bluetooth/mgmt.c ev.type = hdev->discovery.type; ev 7934 net/bluetooth/mgmt.c ev.discovering = discovering; ev 7936 net/bluetooth/mgmt.c mgmt_event(MGMT_EV_DISCOVERING, hdev, &ev, sizeof(ev), NULL); ev 97 net/bluetooth/mgmt_util.c struct mgmt_ev_cmd_status *ev; ev 102 net/bluetooth/mgmt_util.c skb = alloc_skb(sizeof(*hdr) + sizeof(*ev), GFP_KERNEL); ev 110 net/bluetooth/mgmt_util.c hdr->len = cpu_to_le16(sizeof(*ev)); ev 112 net/bluetooth/mgmt_util.c ev = skb_put(skb, sizeof(*ev)); ev 113 net/bluetooth/mgmt_util.c ev->status = status; ev 114 net/bluetooth/mgmt_util.c ev->opcode = cpu_to_le16(cmd); ev 117 net/bluetooth/mgmt_util.c MGMT_EV_CMD_STATUS, sizeof(*ev), ev); ev 141 net/bluetooth/mgmt_util.c struct mgmt_ev_cmd_complete *ev; ev 146 net/bluetooth/mgmt_util.c skb = alloc_skb(sizeof(*hdr) + sizeof(*ev) + rp_len, GFP_KERNEL); ev 154 net/bluetooth/mgmt_util.c hdr->len = cpu_to_le16(sizeof(*ev) + rp_len); ev 156 net/bluetooth/mgmt_util.c ev = skb_put(skb, sizeof(*ev) + rp_len); ev 157 net/bluetooth/mgmt_util.c ev->opcode = cpu_to_le16(cmd); ev 158 net/bluetooth/mgmt_util.c ev->status = status; ev 161 net/bluetooth/mgmt_util.c memcpy(ev->data, rp, rp_len); ev 165 net/bluetooth/mgmt_util.c sizeof(*ev) + rp_len, ev); ev 731 net/ceph/osdmap.c u8 ev, cv; ev 736 net/ceph/osdmap.c ev = ceph_decode_8(p); /* encoding version */ ev 738 net/ceph/osdmap.c if (ev < 5) { ev 739 net/ceph/osdmap.c pr_warn("got v %d < 5 cv %d of ceph_pg_pool\n", ev, cv); ev 743 net/ceph/osdmap.c pr_warn("got v %d cv %d > 9 of ceph_pg_pool\n", ev, cv); ev 779 net/ceph/osdmap.c if (ev >= 7) ev 784 net/ceph/osdmap.c if (ev >= 8) ev 787 net/ceph/osdmap.c if (ev >= 9) { ev 802 net/ceph/osdmap.c if (ev >= 10) { ev 813 net/ceph/osdmap.c if (ev >= 11) { ev 823 net/ceph/osdmap.c if (ev >= 12) ev 826 net/ceph/osdmap.c if (ev >= 13) { ev 835 net/ceph/osdmap.c if (ev >= 14) { ev 845 net/ceph/osdmap.c if (ev >= 15) ev 850 net/ceph/osdmap.c if (ev >= 16) ev 853 net/ceph/osdmap.c if (ev >= 17) ev 856 net/ceph/osdmap.c if (ev >= 19) ev 859 net/ceph/osdmap.c if (ev >= 20) ev 862 net/ceph/osdmap.c if (ev >= 21) ev 865 net/ceph/osdmap.c if (ev >= 22) ev 868 net/ceph/osdmap.c if (ev >= 23) { ev 873 net/ceph/osdmap.c if (ev >= 24) { ev 880 net/ceph/osdmap.c if (ev >= 25) ev 345 net/ipv4/tcp_cdg.c static void tcp_cdg_cwnd_event(struct sock *sk, const enum tcp_ca_event ev) ev 351 net/ipv4/tcp_cdg.c switch (ev) { ev 163 net/ipv4/tcp_dctcp.c static void dctcp_cwnd_event(struct sock *sk, enum tcp_ca_event ev) ev 167 net/ipv4/tcp_dctcp.c switch (ev) { ev 170 net/ipv4/tcp_dctcp.c dctcp_ece_ack_update(sk, ev, &ca->prior_rcv_nxt, &ca->ce_state); ev 34 net/llc/llc_c_ac.c static int llc_conn_ac_data_confirm(struct sock *sk, struct sk_buff *ev); ev 63 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 65 net/llc/llc_c_ac.c ev->ind_prim = LLC_CONN_PRIM; ev 71 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 73 net/llc/llc_c_ac.c ev->cfm_prim = LLC_CONN_PRIM; ev 79 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 81 net/llc/llc_c_ac.c ev->cfm_prim = LLC_DATA_PRIM; ev 93 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 97 net/llc/llc_c_ac.c if (ev->type == LLC_CONN_EV_TYPE_PDU) { ev 108 net/llc/llc_c_ac.c } else if (ev->type == LLC_CONN_EV_TYPE_ACK_TMR) ev 113 net/llc/llc_c_ac.c ev->reason = reason; ev 114 net/llc/llc_c_ac.c ev->ind_prim = LLC_DISC_PRIM; ev 121 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 123 net/llc/llc_c_ac.c ev->reason = ev->status; ev 124 net/llc/llc_c_ac.c ev->cfm_prim = LLC_DISC_PRIM; ev 132 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 136 net/llc/llc_c_ac.c switch (ev->type) { ev 161 net/llc/llc_c_ac.c ev->reason = reason; ev 162 net/llc/llc_c_ac.c ev->ind_prim = LLC_RESET_PRIM; ev 169 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 171 net/llc/llc_c_ac.c ev->reason = 0; ev 172 net/llc/llc_c_ac.c ev->cfm_prim = LLC_RESET_PRIM; ev 1327 net/llc/llc_c_ac.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 1330 net/llc/llc_c_ac.c ev->type = type; ev 101 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 103 net/llc/llc_c_ev.c return ev->prim == LLC_CONN_PRIM && ev 104 net/llc/llc_c_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 109 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 111 net/llc/llc_c_ev.c return ev->prim == LLC_DATA_PRIM && ev 112 net/llc/llc_c_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 117 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 119 net/llc/llc_c_ev.c return ev->prim == LLC_DISC_PRIM && ev 120 net/llc/llc_c_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 125 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 127 net/llc/llc_c_ev.c return ev->prim == LLC_RESET_PRIM && ev 128 net/llc/llc_c_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 133 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 135 net/llc/llc_c_ev.c return ev->type == LLC_CONN_EV_TYPE_SIMPLE && ev 136 net/llc/llc_c_ev.c ev->prim_type == LLC_CONN_EV_LOCAL_BUSY_DETECTED ? 0 : 1; ev 141 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 143 net/llc/llc_c_ev.c return ev->type == LLC_CONN_EV_TYPE_SIMPLE && ev 144 net/llc/llc_c_ev.c ev->prim_type == LLC_CONN_EV_LOCAL_BUSY_CLEARED ? 0 : 1; ev 545 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 547 net/llc/llc_c_ev.c return ev->type != LLC_CONN_EV_TYPE_P_TMR; ev 552 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 554 net/llc/llc_c_ev.c return ev->type != LLC_CONN_EV_TYPE_ACK_TMR; ev 559 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 561 net/llc/llc_c_ev.c return ev->type != LLC_CONN_EV_TYPE_REJ_TMR; ev 566 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 568 net/llc/llc_c_ev.c return ev->type != LLC_CONN_EV_TYPE_BUSY_TMR; ev 578 net/llc/llc_c_ev.c const struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 580 net/llc/llc_c_ev.c return ev->type == LLC_CONN_EV_TYPE_SIMPLE && ev 581 net/llc/llc_c_ev.c ev->prim_type == LLC_CONN_EV_TX_BUFF_FULL ? 0 : 1; ev 695 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 697 net/llc/llc_c_ev.c ev->status = LLC_STATUS_CONN; ev 703 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 705 net/llc/llc_c_ev.c ev->status = LLC_STATUS_DISC; ev 711 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 713 net/llc/llc_c_ev.c ev->status = LLC_STATUS_FAILED; ev 720 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 722 net/llc/llc_c_ev.c ev->status = LLC_STATUS_REMOTE_BUSY; ev 728 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 730 net/llc/llc_c_ev.c ev->status = LLC_STATUS_REFUSE; ev 736 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 738 net/llc/llc_c_ev.c ev->status = LLC_STATUS_CONFLICT; ev 744 net/llc/llc_c_ev.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 746 net/llc/llc_c_ev.c ev->status = LLC_STATUS_RESET_DONE; ev 46 net/llc/llc_c_st.c .ev = llc_conn_ev_disc_req, ev 63 net/llc/llc_c_st.c .ev = llc_conn_ev_rst_req, ev 83 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 99 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 118 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_frmr_rsp_fbit_set_x, ev 133 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 149 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_zzz_cmd_pbit_set_x_inval_nr, ev 165 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_x_inval_ns, ev 181 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_zzz_rsp_fbit_set_x_inval_nr, ev 197 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_x_inval_ns, ev 213 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_bad_pdu, ev 229 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 251 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_xxx_rsp_fbit_set_1, ev 274 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 296 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 318 net/llc/llc_c_st.c .ev = llc_conn_ev_rej_tmr_exp, ev 340 net/llc/llc_c_st.c .ev = llc_conn_ev_busy_tmr_exp, ev 363 net/llc/llc_c_st.c .ev = llc_conn_ev_conn_req, ev 382 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 396 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 410 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_xxx_cmd_pbit_set_1, ev 423 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_any_frame, ev 457 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 481 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 502 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 523 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 543 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 564 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 585 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 626 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 647 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 664 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 684 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 704 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 727 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 750 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 773 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns, ev 794 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 815 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 831 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 854 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_x, ev 867 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 888 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 909 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 926 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 941 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 956 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 977 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 994 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 1009 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 1024 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 1044 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 1061 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 1084 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 1107 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_x, ev 1129 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 1151 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 1168 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 1187 net/llc/llc_c_st.c .ev = llc_conn_ev_init_p_f_cycle, ev 1209 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 1232 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 1255 net/llc/llc_c_st.c .ev = llc_conn_ev_busy_tmr_exp, ev 1274 net/llc/llc_c_st.c .ev = llc_conn_ev_tx_buffer_full, ev 1358 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 1378 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 1395 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 1415 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1435 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1454 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1473 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1492 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1511 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 1533 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_x_unexpd_ns, ev 1555 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 1575 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 1595 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 1610 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 1628 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 1653 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_x, ev 1678 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 1701 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 1724 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 1739 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 1754 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 1774 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 1789 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 1804 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 1819 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 1839 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 1854 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 1876 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 1898 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_x, ev 1919 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 1940 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 1957 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 1976 net/llc/llc_c_st.c .ev = llc_conn_ev_init_p_f_cycle, ev 1997 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 2019 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 2041 net/llc/llc_c_st.c .ev = llc_conn_ev_busy_tmr_exp, ev 2064 net/llc/llc_c_st.c .ev = llc_conn_ev_rej_tmr_exp, ev 2083 net/llc/llc_c_st.c .ev = llc_conn_ev_rej_tmr_exp, ev 2170 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 2189 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 2206 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 2226 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 2245 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 2260 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 2275 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 2295 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns, ev 2309 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 2334 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_x, ev 2358 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 2380 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 2402 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 2419 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 2434 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 2449 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 2469 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 2484 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 2499 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 2514 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 2534 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 2549 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 2571 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 2593 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_x, ev 2614 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 2635 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 2651 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 2670 net/llc/llc_c_st.c .ev = llc_conn_ev_init_p_f_cycle, ev 2692 net/llc/llc_c_st.c .ev = llc_conn_ev_rej_tmr_exp, ev 2714 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 2737 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 2760 net/llc/llc_c_st.c .ev = llc_conn_ev_busy_tmr_exp, ev 2838 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 2852 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 2871 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns, ev 2887 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 2903 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 2920 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 2939 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1, ev 2956 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 2973 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 2990 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 3007 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 3024 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_1, ev 3039 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 3054 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 3069 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 3084 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 3100 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 3116 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 3132 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 3147 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 3162 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 3178 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 3198 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 3267 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 3286 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 3304 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 3322 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_cleared, ev 3341 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns, ev 3357 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 3373 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 3389 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 3410 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1, ev 3428 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 3446 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 3464 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 3481 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 3498 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_1, ev 3513 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 3528 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 3543 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 3558 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 3574 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 3590 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 3606 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 3621 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 3636 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 3652 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 3672 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 3743 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 3757 net/llc/llc_c_st.c .ev = llc_conn_ev_local_busy_detected, ev 3771 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0_unexpd_ns, ev 3785 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0_unexpd_ns, ev 3800 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1_unexpd_ns, ev 3820 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1, ev 3838 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_0, ev 3856 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_0, ev 3874 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_cmd_pbit_set_1, ev 3891 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_1, ev 3908 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_1, ev 3925 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_i_rsp_fbit_set_1_unexpd_ns, ev 3940 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_0, ev 3955 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_rsp_fbit_set_0, ev 3970 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_0, ev 3985 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_rsp_fbit_set_0, ev 4001 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rr_cmd_pbit_set_1, ev 4017 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rej_cmd_pbit_set_1, ev 4033 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_1, ev 4048 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_0, ev 4063 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_rsp_fbit_set_0, ev 4079 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_rnr_cmd_pbit_set_1, ev 4099 net/llc/llc_c_st.c .ev = llc_conn_ev_p_tmr_exp, ev 4175 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 4198 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 4222 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 4245 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 4258 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 4281 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 4303 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 4322 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 4342 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4363 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4383 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4423 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 4451 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 4479 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_ua_rsp_fbit_set_x, ev 4499 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4522 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 4545 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 4568 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 4590 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 4606 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 4627 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4648 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4669 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4714 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_sabme_cmd_pbit_set_x, ev 4730 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_disc_cmd_pbit_set_x, ev 4745 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_dm_rsp_fbit_set_x, ev 4761 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_frmr_rsp_fbit_set_x, ev 4774 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_xxx_cmd_pbit_set_x, ev 4782 net/llc/llc_c_st.c .ev = llc_conn_ev_rx_xxx_rsp_fbit_set_x, ev 4802 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4824 net/llc/llc_c_st.c .ev = llc_conn_ev_ack_tmr_exp, ev 4840 net/llc/llc_c_st.c .ev = llc_conn_ev_data_req, ev 4877 net/llc/llc_c_st.c .ev = llc_conn_ev_disc_req, ev 37 net/llc/llc_conn.c struct sk_buff *ev); ev 65 net/llc/llc_conn.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 67 net/llc/llc_conn.c ev->ind_prim = ev->cfm_prim = 0; ev 77 net/llc/llc_conn.c switch (ev->ind_prim) { ev 122 net/llc/llc_conn.c if (ev->ind_prim) ev 124 net/llc/llc_conn.c __func__, ev->ind_prim); ev 129 net/llc/llc_conn.c switch (ev->cfm_prim) { ev 139 net/llc/llc_conn.c if (ev->status) { ev 166 net/llc/llc_conn.c if (ev->cfm_prim) ev 168 net/llc/llc_conn.c __func__, ev->cfm_prim); ev 195 net/llc/llc_conn.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 197 net/llc/llc_conn.c ev->ind_prim = LLC_DATA_PRIM; ev 391 net/llc/llc_conn.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 400 net/llc/llc_conn.c llc_find_offset(llc->state - 1, ev->type); ev 401 net/llc/llc_conn.c (*next_trans)->ev; next_trans++) { ev 402 net/llc/llc_conn.c if (!((*next_trans)->ev)(sk, skb)) { ev 630 net/llc/llc_conn.c (*next_trans)->ev; next_trans++) ev 740 net/llc/llc_conn.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 742 net/llc/llc_conn.c ev->type = LLC_CONN_EV_TYPE_PDU; ev 743 net/llc/llc_conn.c ev->reason = 0; ev 46 net/llc/llc_if.c struct llc_conn_state_ev *ev; ev 58 net/llc/llc_if.c ev = llc_conn_ev(skb); ev 59 net/llc/llc_if.c ev->type = LLC_CONN_EV_TYPE_PRIM; ev 60 net/llc/llc_if.c ev->prim = LLC_DATA_PRIM; ev 61 net/llc/llc_if.c ev->prim_type = LLC_PRIM_TYPE_REQ; ev 107 net/llc/llc_if.c struct llc_conn_state_ev *ev = llc_conn_ev(skb); ev 109 net/llc/llc_if.c ev->type = LLC_CONN_EV_TYPE_PRIM; ev 110 net/llc/llc_if.c ev->prim = LLC_CONN_PRIM; ev 111 net/llc/llc_if.c ev->prim_type = LLC_PRIM_TYPE_REQ; ev 132 net/llc/llc_if.c struct llc_conn_state_ev *ev; ev 149 net/llc/llc_if.c ev = llc_conn_ev(skb); ev 150 net/llc/llc_if.c ev->type = LLC_CONN_EV_TYPE_PRIM; ev 151 net/llc/llc_if.c ev->prim = LLC_DISC_PRIM; ev 152 net/llc/llc_if.c ev->prim_type = LLC_PRIM_TYPE_REQ; ev 54 net/llc/llc_s_ac.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 57 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, ev 58 net/llc/llc_s_ac.c ev->daddr.lsap, LLC_PDU_CMD); ev 60 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); ev 79 net/llc/llc_s_ac.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 82 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, ev 83 net/llc/llc_s_ac.c ev->daddr.lsap, LLC_PDU_CMD); ev 85 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); ev 135 net/llc/llc_s_ac.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 138 net/llc/llc_s_ac.c llc_pdu_header_init(skb, LLC_PDU_TYPE_U, ev->saddr.lsap, ev 139 net/llc/llc_s_ac.c ev->daddr.lsap, LLC_PDU_CMD); ev 141 net/llc/llc_s_ac.c rc = llc_mac_hdr_init(skb, ev->saddr.mac, ev->daddr.mac); ev 25 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 27 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_SIMPLE && ev 28 net/llc/llc_s_ev.c ev->prim_type == LLC_SAP_EV_ACTIVATION_REQ ? 0 : 1; ev 33 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 36 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && ev 43 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 45 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PRIM && ev 46 net/llc/llc_s_ev.c ev->prim == LLC_DATAUNIT_PRIM && ev 47 net/llc/llc_s_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 53 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 55 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PRIM && ev 56 net/llc/llc_s_ev.c ev->prim == LLC_XID_PRIM && ev 57 net/llc/llc_s_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 62 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 65 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && ev 72 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 75 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && ev 82 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 84 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PRIM && ev 85 net/llc/llc_s_ev.c ev->prim == LLC_TEST_PRIM && ev 86 net/llc/llc_s_ev.c ev->prim_type == LLC_PRIM_TYPE_REQ ? 0 : 1; ev 91 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 94 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_CMD(pdu) && ev 101 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 104 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_PDU && LLC_PDU_IS_RSP(pdu) && ev 111 net/llc/llc_s_ev.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 113 net/llc/llc_s_ev.c return ev->type == LLC_SAP_EV_TYPE_SIMPLE && ev 114 net/llc/llc_s_ev.c ev->prim_type == LLC_SAP_EV_DEACTIVATION_REQ ? 0 : 1; ev 38 net/llc/llc_s_st.c .ev = llc_sap_ev_activation_req, ev 56 net/llc/llc_s_st.c .ev = llc_sap_ev_rx_ui, ev 68 net/llc/llc_s_st.c .ev = llc_sap_ev_unitdata_req, ev 80 net/llc/llc_s_st.c .ev = llc_sap_ev_xid_req, ev 92 net/llc/llc_s_st.c .ev = llc_sap_ev_rx_xid_c, ev 104 net/llc/llc_s_st.c .ev = llc_sap_ev_rx_xid_r, ev 116 net/llc/llc_s_st.c .ev = llc_sap_ev_test_req, ev 128 net/llc/llc_s_st.c .ev = llc_sap_ev_rx_test_c, ev 140 net/llc/llc_s_st.c .ev = llc_sap_ev_rx_test_r, ev 154 net/llc/llc_s_st.c .ev = llc_sap_ev_deactivation_req, ev 93 net/llc/llc_sap.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 98 net/llc/llc_sap.c ev->prim = LLC_TEST_PRIM; break; ev 100 net/llc/llc_sap.c ev->prim = LLC_XID_PRIM; break; ev 102 net/llc/llc_sap.c ev->prim = LLC_DATAUNIT_PRIM; break; ev 104 net/llc/llc_sap.c ev->ind_cfm_flag = LLC_IND; ev 127 net/llc/llc_sap.c for (next_trans = curr_state->transitions; next_trans[i]->ev; i++) ev 128 net/llc/llc_sap.c if (!next_trans[i]->ev(sap, skb)) { ev 205 net/llc/llc_sap.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 207 net/llc/llc_sap.c ev->ind_cfm_flag = 0; ev 210 net/llc/llc_sap.c if (ev->ind_cfm_flag == LLC_IND && skb->sk->sk_state != TCP_LISTEN) { ev 211 net/llc/llc_sap.c llc_save_primitive(skb->sk, skb, ev->prim); ev 233 net/llc/llc_sap.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 235 net/llc/llc_sap.c ev->saddr.lsap = sap->laddr.lsap; ev 236 net/llc/llc_sap.c ev->daddr.lsap = dsap; ev 237 net/llc/llc_sap.c memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); ev 238 net/llc/llc_sap.c memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); ev 240 net/llc/llc_sap.c ev->type = LLC_SAP_EV_TYPE_PRIM; ev 241 net/llc/llc_sap.c ev->prim = LLC_TEST_PRIM; ev 242 net/llc/llc_sap.c ev->prim_type = LLC_PRIM_TYPE_REQ; ev 259 net/llc/llc_sap.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 261 net/llc/llc_sap.c ev->saddr.lsap = sap->laddr.lsap; ev 262 net/llc/llc_sap.c ev->daddr.lsap = dsap; ev 263 net/llc/llc_sap.c memcpy(ev->saddr.mac, skb->dev->dev_addr, IFHWADDRLEN); ev 264 net/llc/llc_sap.c memcpy(ev->daddr.mac, dmac, IFHWADDRLEN); ev 266 net/llc/llc_sap.c ev->type = LLC_SAP_EV_TYPE_PRIM; ev 267 net/llc/llc_sap.c ev->prim = LLC_XID_PRIM; ev 268 net/llc/llc_sap.c ev->prim_type = LLC_PRIM_TYPE_REQ; ev 282 net/llc/llc_sap.c struct llc_sap_state_ev *ev = llc_sap_ev(skb); ev 284 net/llc/llc_sap.c ev->type = LLC_SAP_EV_TYPE_PDU; ev 285 net/llc/llc_sap.c ev->reason = 0; ev 71 net/rfkill/core.c struct rfkill_event ev; ev 255 net/rfkill/core.c static void rfkill_fill_event(struct rfkill_event *ev, struct rfkill *rfkill, ev 260 net/rfkill/core.c ev->idx = rfkill->idx; ev 261 net/rfkill/core.c ev->type = rfkill->type; ev 262 net/rfkill/core.c ev->op = op; ev 265 net/rfkill/core.c ev->hard = !!(rfkill->state & RFKILL_BLOCK_HW); ev 266 net/rfkill/core.c ev->soft = !!(rfkill->state & (RFKILL_BLOCK_SW | ev 274 net/rfkill/core.c struct rfkill_int_event *ev; ev 277 net/rfkill/core.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 278 net/rfkill/core.c if (!ev) ev 280 net/rfkill/core.c rfkill_fill_event(&ev->ev, rfkill, op); ev 282 net/rfkill/core.c list_add_tail(&ev->list, &data->events); ev 1107 net/rfkill/core.c struct rfkill_int_event *ev, *tmp; ev 1125 net/rfkill/core.c ev = kzalloc(sizeof(*ev), GFP_KERNEL); ev 1126 net/rfkill/core.c if (!ev) ev 1128 net/rfkill/core.c rfkill_fill_event(&ev->ev, rfkill, RFKILL_OP_ADD); ev 1129 net/rfkill/core.c list_add_tail(&ev->list, &data->events); ev 1143 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) ev 1144 net/rfkill/core.c kfree(ev); ev 1168 net/rfkill/core.c struct rfkill_int_event *ev; ev 1191 net/rfkill/core.c ev = list_first_entry(&data->events, struct rfkill_int_event, ev 1194 net/rfkill/core.c sz = min_t(unsigned long, sizeof(ev->ev), count); ev 1196 net/rfkill/core.c if (copy_to_user(buf, &ev->ev, sz)) ev 1199 net/rfkill/core.c list_del(&ev->list); ev 1200 net/rfkill/core.c kfree(ev); ev 1210 net/rfkill/core.c struct rfkill_event ev; ev 1222 net/rfkill/core.c count = min(count, sizeof(ev)); ev 1223 net/rfkill/core.c if (copy_from_user(&ev, buf, count)) ev 1226 net/rfkill/core.c if (ev.type >= NUM_RFKILL_TYPES) ev 1231 net/rfkill/core.c switch (ev.op) { ev 1233 net/rfkill/core.c rfkill_update_global_state(ev.type, ev.soft); ev 1235 net/rfkill/core.c if (rfkill->type == ev.type || ev 1236 net/rfkill/core.c ev.type == RFKILL_TYPE_ALL) ev 1237 net/rfkill/core.c rfkill_set_block(rfkill, ev.soft); ev 1242 net/rfkill/core.c if (rfkill->idx == ev.idx && ev 1243 net/rfkill/core.c (rfkill->type == ev.type || ev 1244 net/rfkill/core.c ev.type == RFKILL_TYPE_ALL)) ev 1245 net/rfkill/core.c rfkill_set_block(rfkill, ev.soft); ev 1261 net/rfkill/core.c struct rfkill_int_event *ev, *tmp; ev 1268 net/rfkill/core.c list_for_each_entry_safe(ev, tmp, &data->events, list) ev 1269 net/rfkill/core.c kfree(ev); ev 998 net/sctp/auth.c struct sctp_ulpevent *ev; ev 1000 net/sctp/auth.c ev = sctp_ulpevent_make_authkey(asoc, key->key_id, ev 1002 net/sctp/auth.c if (ev) ev 1003 net/sctp/auth.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 77 net/sctp/chunk.c struct sctp_ulpevent *ev; ev 107 net/sctp/chunk.c ev = sctp_ulpevent_make_send_failed(asoc, chunk, sent, ev 109 net/sctp/chunk.c if (ev) ev 110 net/sctp/chunk.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 74 net/sctp/ipv6.c static int sctp_inet6addr_event(struct notifier_block *this, unsigned long ev, ev 83 net/sctp/ipv6.c switch (ev) { ev 769 net/sctp/protocol.c static int sctp_inetaddr_event(struct notifier_block *this, unsigned long ev, ev 778 net/sctp/protocol.c switch (ev) { ev 85 net/sctp/sm_make_chunk.c struct sctp_ulpevent *ev; ev 87 net/sctp/sm_make_chunk.c ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, ev 90 net/sctp/sm_make_chunk.c if (ev) ev 91 net/sctp/sm_make_chunk.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 955 net/sctp/sm_sideeffect.c struct sctp_ulpevent *ev; ev 960 net/sctp/sm_sideeffect.c ev = sctp_ulpevent_make_remote_error(asoc, chunk, 0, ev 962 net/sctp/sm_sideeffect.c if (!ev) ev 965 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 1032 net/sctp/sm_sideeffect.c struct sctp_ulpevent *ev; ev 1034 net/sctp/sm_sideeffect.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, state, 0, ev 1038 net/sctp/sm_sideeffect.c if (ev) ev 1039 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 1045 net/sctp/sm_sideeffect.c struct sctp_ulpevent *ev; ev 1047 net/sctp/sm_sideeffect.c ev = sctp_ulpevent_make_authkey(asoc, 0, SCTP_AUTH_NO_AUTH, GFP_ATOMIC); ev 1048 net/sctp/sm_sideeffect.c if (ev) ev 1049 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 1056 net/sctp/sm_sideeffect.c struct sctp_ulpevent *ev; ev 1058 net/sctp/sm_sideeffect.c ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); ev 1060 net/sctp/sm_sideeffect.c if (ev) ev 1061 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 225 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 250 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, ev 252 net/sctp/sm_statefuns.c if (ev) ev 254 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 691 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev, *ai_ev = NULL, *auth_ev = NULL; ev 805 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(new_asoc, 0, SCTP_COMM_UP, 0, ev 809 net/sctp/sm_statefuns.c if (!ev) ev 852 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); ev 868 net/sctp/sm_statefuns.c sctp_ulpevent_free(ev); ev 906 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 950 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_COMM_UP, ev 955 net/sctp/sm_statefuns.c if (!ev) ev 958 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); ev 966 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_adaptation_indication(asoc, GFP_ATOMIC); ev 967 net/sctp/sm_statefuns.c if (!ev) ev 971 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 975 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_authkey(asoc, 0, SCTP_AUTH_NO_AUTH, ev 977 net/sctp/sm_statefuns.c if (!ev) ev 980 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 1780 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 1849 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_RESTART, 0, ev 1853 net/sctp/sm_statefuns.c if (!ev) ev 1858 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); ev 2004 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev = NULL, *ai_ev = NULL, *auth_ev = NULL; ev 2034 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, ev 2039 net/sctp/sm_statefuns.c if (!ev) ev 2070 net/sctp/sm_statefuns.c if (ev) ev 2072 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 2087 net/sctp/sm_statefuns.c if (ev) ev 2088 net/sctp/sm_statefuns.c sctp_ulpevent_free(ev); ev 2763 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 2798 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_shutdown_event(asoc, 0, GFP_ATOMIC); ev 2799 net/sctp/sm_statefuns.c if (!ev) { ev 2803 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); ev 3459 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 3473 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_assoc_change(asoc, 0, SCTP_SHUTDOWN_COMP, ev 3475 net/sctp/sm_statefuns.c if (!ev) ev 3486 net/sctp/sm_statefuns.c sctp_add_cmd_sf(commands, SCTP_CMD_EVENT_ULP, SCTP_ULPEVENT(ev)); ev 3508 net/sctp/sm_statefuns.c sctp_ulpevent_free(ev); ev 4001 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev = NULL; ev 4005 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4008 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4011 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4014 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4017 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4020 net/sctp/sm_statefuns.c (struct sctp_association *)asoc, param, &ev); ev 4022 net/sctp/sm_statefuns.c if (ev) ev 4024 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 4335 net/sctp/sm_statefuns.c struct sctp_ulpevent *ev; ev 4337 net/sctp/sm_statefuns.c ev = sctp_ulpevent_make_authkey(asoc, ntohs(auth_hdr->shkey_id), ev 4340 net/sctp/sm_statefuns.c if (!ev) ev 4344 net/sctp/sm_statefuns.c SCTP_ULPEVENT(ev)); ev 9002 net/sctp/socket.c struct sctp_ulpevent *ev; ev 9004 net/sctp/socket.c ev = sctp_ulpevent_make_authkey(asoc, shkey->key_id, ev 9007 net/sctp/socket.c if (ev) ev 9008 net/sctp/socket.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); ev 993 net/sctp/stream_interleave.c struct sctp_ulpevent *ev = NULL; ev 999 net/sctp/stream_interleave.c ev = sctp_ulpevent_make_pdapi(ulpq->asoc, SCTP_PARTIAL_DELIVERY_ABORTED, ev 1001 net/sctp/stream_interleave.c if (ev) { ev 1004 net/sctp/stream_interleave.c __skb_queue_tail(&sk->sk_receive_queue, sctp_event2skb(ev)); ev 1115 net/sctp/ulpqueue.c struct sctp_ulpevent *ev = NULL; ev 1126 net/sctp/ulpqueue.c ev = sctp_ulpevent_make_pdapi(ulpq->asoc, ev 1129 net/sctp/ulpqueue.c if (ev) ev 1130 net/sctp/ulpqueue.c __skb_queue_tail(&sk->sk_receive_queue, sctp_event2skb(ev)); ev 1133 net/sctp/ulpqueue.c if ((sctp_ulpq_clear_pd(ulpq) || ev) && !sp->data_ready_signalled) { ev 1209 net/wireless/core.c struct cfg80211_event *ev; ev 1214 net/wireless/core.c ev = kzalloc(sizeof(*ev), gfp); ev 1215 net/wireless/core.c if (!ev) ev 1218 net/wireless/core.c ev->type = EVENT_STOPPED; ev 1221 net/wireless/core.c list_add_tail(&ev->list, &wdev->event_list); ev 64 net/wireless/ibss.c struct cfg80211_event *ev; ev 72 net/wireless/ibss.c ev = kzalloc(sizeof(*ev), gfp); ev 73 net/wireless/ibss.c if (!ev) ev 76 net/wireless/ibss.c ev->type = EVENT_IBSS_JOINED; ev 77 net/wireless/ibss.c memcpy(ev->ij.bssid, bssid, ETH_ALEN); ev 78 net/wireless/ibss.c ev->ij.channel = channel; ev 81 net/wireless/ibss.c list_add_tail(&ev->list, &wdev->event_list); ev 568 net/wireless/lib80211_crypt_tkip.c struct iw_michaelmicfailure ev; ev 571 net/wireless/lib80211_crypt_tkip.c memset(&ev, 0, sizeof(ev)); ev 572 net/wireless/lib80211_crypt_tkip.c ev.flags = keyidx & IW_MICFAILURE_KEY_ID; ev 574 net/wireless/lib80211_crypt_tkip.c ev.flags |= IW_MICFAILURE_GROUP; ev 576 net/wireless/lib80211_crypt_tkip.c ev.flags |= IW_MICFAILURE_PAIRWISE; ev 577 net/wireless/lib80211_crypt_tkip.c ev.src_addr.sa_family = ARPHRD_ETHER; ev 578 net/wireless/lib80211_crypt_tkip.c memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); ev 580 net/wireless/lib80211_crypt_tkip.c wrqu.data.length = sizeof(ev); ev 581 net/wireless/lib80211_crypt_tkip.c wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); ev 794 net/wireless/sme.c struct cfg80211_event *ev; ev 832 net/wireless/sme.c ev = kzalloc(sizeof(*ev) + (params->bssid ? ETH_ALEN : 0) + ev 836 net/wireless/sme.c if (!ev) { ev 841 net/wireless/sme.c ev->type = EVENT_CONNECT_RESULT; ev 842 net/wireless/sme.c next = ((u8 *)ev) + sizeof(*ev); ev 844 net/wireless/sme.c ev->cr.bssid = next; ev 845 net/wireless/sme.c memcpy((void *)ev->cr.bssid, params->bssid, ETH_ALEN); ev 849 net/wireless/sme.c ev->cr.req_ie = next; ev 850 net/wireless/sme.c ev->cr.req_ie_len = params->req_ie_len; ev 851 net/wireless/sme.c memcpy((void *)ev->cr.req_ie, params->req_ie, ev 856 net/wireless/sme.c ev->cr.resp_ie = next; ev 857 net/wireless/sme.c ev->cr.resp_ie_len = params->resp_ie_len; ev 858 net/wireless/sme.c memcpy((void *)ev->cr.resp_ie, params->resp_ie, ev 863 net/wireless/sme.c ev->cr.fils.kek = next; ev 864 net/wireless/sme.c ev->cr.fils.kek_len = params->fils.kek_len; ev 865 net/wireless/sme.c memcpy((void *)ev->cr.fils.kek, params->fils.kek, ev 870 net/wireless/sme.c ev->cr.fils.pmk = next; ev 871 net/wireless/sme.c ev->cr.fils.pmk_len = params->fils.pmk_len; ev 872 net/wireless/sme.c memcpy((void *)ev->cr.fils.pmk, params->fils.pmk, ev 877 net/wireless/sme.c ev->cr.fils.pmkid = next; ev 878 net/wireless/sme.c memcpy((void *)ev->cr.fils.pmkid, params->fils.pmkid, ev 882 net/wireless/sme.c ev->cr.fils.update_erp_next_seq_num = params->fils.update_erp_next_seq_num; ev 884 net/wireless/sme.c ev->cr.fils.erp_next_seq_num = params->fils.erp_next_seq_num; ev 887 net/wireless/sme.c ev->cr.bss = params->bss; ev 888 net/wireless/sme.c ev->cr.status = params->status; ev 889 net/wireless/sme.c ev->cr.timeout_reason = params->timeout_reason; ev 892 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); ev 961 net/wireless/sme.c struct cfg80211_event *ev; ev 976 net/wireless/sme.c ev = kzalloc(sizeof(*ev) + info->req_ie_len + info->resp_ie_len + ev 979 net/wireless/sme.c if (!ev) { ev 984 net/wireless/sme.c ev->type = EVENT_ROAMED; ev 985 net/wireless/sme.c next = ((u8 *)ev) + sizeof(*ev); ev 987 net/wireless/sme.c ev->rm.req_ie = next; ev 988 net/wireless/sme.c ev->rm.req_ie_len = info->req_ie_len; ev 989 net/wireless/sme.c memcpy((void *)ev->rm.req_ie, info->req_ie, info->req_ie_len); ev 993 net/wireless/sme.c ev->rm.resp_ie = next; ev 994 net/wireless/sme.c ev->rm.resp_ie_len = info->resp_ie_len; ev 995 net/wireless/sme.c memcpy((void *)ev->rm.resp_ie, info->resp_ie, ev 1000 net/wireless/sme.c ev->rm.fils.kek = next; ev 1001 net/wireless/sme.c ev->rm.fils.kek_len = info->fils.kek_len; ev 1002 net/wireless/sme.c memcpy((void *)ev->rm.fils.kek, info->fils.kek, ev 1007 net/wireless/sme.c ev->rm.fils.pmk = next; ev 1008 net/wireless/sme.c ev->rm.fils.pmk_len = info->fils.pmk_len; ev 1009 net/wireless/sme.c memcpy((void *)ev->rm.fils.pmk, info->fils.pmk, ev 1014 net/wireless/sme.c ev->rm.fils.pmkid = next; ev 1015 net/wireless/sme.c memcpy((void *)ev->rm.fils.pmkid, info->fils.pmkid, ev 1019 net/wireless/sme.c ev->rm.fils.update_erp_next_seq_num = info->fils.update_erp_next_seq_num; ev 1021 net/wireless/sme.c ev->rm.fils.erp_next_seq_num = info->fils.erp_next_seq_num; ev 1022 net/wireless/sme.c ev->rm.bss = info->bss; ev 1025 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); ev 1051 net/wireless/sme.c struct cfg80211_event *ev; ev 1057 net/wireless/sme.c ev = kzalloc(sizeof(*ev), gfp); ev 1058 net/wireless/sme.c if (!ev) ev 1061 net/wireless/sme.c ev->type = EVENT_PORT_AUTHORIZED; ev 1062 net/wireless/sme.c memcpy(ev->pa.bssid, bssid, ETH_ALEN); ev 1069 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); ev 1136 net/wireless/sme.c struct cfg80211_event *ev; ev 1139 net/wireless/sme.c ev = kzalloc(sizeof(*ev) + ie_len, gfp); ev 1140 net/wireless/sme.c if (!ev) ev 1143 net/wireless/sme.c ev->type = EVENT_DISCONNECTED; ev 1144 net/wireless/sme.c ev->dc.ie = ((u8 *)ev) + sizeof(*ev); ev 1145 net/wireless/sme.c ev->dc.ie_len = ie_len; ev 1146 net/wireless/sme.c memcpy((void *)ev->dc.ie, ie, ie_len); ev 1147 net/wireless/sme.c ev->dc.reason = reason; ev 1148 net/wireless/sme.c ev->dc.locally_generated = locally_generated; ev 1151 net/wireless/sme.c list_add_tail(&ev->list, &wdev->event_list); ev 857 net/wireless/util.c struct cfg80211_event *ev; ev 862 net/wireless/util.c ev = list_first_entry(&wdev->event_list, ev 864 net/wireless/util.c list_del(&ev->list); ev 868 net/wireless/util.c switch (ev->type) { ev 872 net/wireless/util.c &ev->cr, ev 873 net/wireless/util.c ev->cr.status == WLAN_STATUS_SUCCESS); ev 876 net/wireless/util.c __cfg80211_roamed(wdev, &ev->rm); ev 880 net/wireless/util.c ev->dc.ie, ev->dc.ie_len, ev 881 net/wireless/util.c ev->dc.reason, ev 882 net/wireless/util.c !ev->dc.locally_generated); ev 885 net/wireless/util.c __cfg80211_ibss_joined(wdev->netdev, ev->ij.bssid, ev 886 net/wireless/util.c ev->ij.channel); ev 892 net/wireless/util.c __cfg80211_port_authorized(wdev, ev->pa.bssid); ev 897 net/wireless/util.c kfree(ev); ev 159 samples/uhid/uhid-example.c static int uhid_write(int fd, const struct uhid_event *ev) ev 163 samples/uhid/uhid-example.c ret = write(fd, ev, sizeof(*ev)); ev 167 samples/uhid/uhid-example.c } else if (ret != sizeof(*ev)) { ev 169 samples/uhid/uhid-example.c ret, sizeof(ev)); ev 178 samples/uhid/uhid-example.c struct uhid_event ev; ev 180 samples/uhid/uhid-example.c memset(&ev, 0, sizeof(ev)); ev 181 samples/uhid/uhid-example.c ev.type = UHID_CREATE; ev 182 samples/uhid/uhid-example.c strcpy((char*)ev.u.create.name, "test-uhid-device"); ev 183 samples/uhid/uhid-example.c ev.u.create.rd_data = rdesc; ev 184 samples/uhid/uhid-example.c ev.u.create.rd_size = sizeof(rdesc); ev 185 samples/uhid/uhid-example.c ev.u.create.bus = BUS_USB; ev 186 samples/uhid/uhid-example.c ev.u.create.vendor = 0x15d9; ev 187 samples/uhid/uhid-example.c ev.u.create.product = 0x0a37; ev 188 samples/uhid/uhid-example.c ev.u.create.version = 0; ev 189 samples/uhid/uhid-example.c ev.u.create.country = 0; ev 191 samples/uhid/uhid-example.c return uhid_write(fd, &ev); ev 196 samples/uhid/uhid-example.c struct uhid_event ev; ev 198 samples/uhid/uhid-example.c memset(&ev, 0, sizeof(ev)); ev 199 samples/uhid/uhid-example.c ev.type = UHID_DESTROY; ev 201 samples/uhid/uhid-example.c uhid_write(fd, &ev); ev 208 samples/uhid/uhid-example.c static void handle_output(struct uhid_event *ev) ev 211 samples/uhid/uhid-example.c if (ev->u.output.rtype != UHID_OUTPUT_REPORT) ev 214 samples/uhid/uhid-example.c if (ev->u.output.size != 2) ev 217 samples/uhid/uhid-example.c if (ev->u.output.data[0] != 0x2) ev 222 samples/uhid/uhid-example.c ev->u.output.data[1]); ev 227 samples/uhid/uhid-example.c struct uhid_event ev; ev 230 samples/uhid/uhid-example.c memset(&ev, 0, sizeof(ev)); ev 231 samples/uhid/uhid-example.c ret = read(fd, &ev, sizeof(ev)); ev 238 samples/uhid/uhid-example.c } else if (ret != sizeof(ev)) { ev 240 samples/uhid/uhid-example.c ret, sizeof(ev)); ev 244 samples/uhid/uhid-example.c switch (ev.type) { ev 259 samples/uhid/uhid-example.c handle_output(&ev); ev 265 samples/uhid/uhid-example.c fprintf(stderr, "Invalid event from uhid-dev: %u\n", ev.type); ev 280 samples/uhid/uhid-example.c struct uhid_event ev; ev 282 samples/uhid/uhid-example.c memset(&ev, 0, sizeof(ev)); ev 283 samples/uhid/uhid-example.c ev.type = UHID_INPUT; ev 284 samples/uhid/uhid-example.c ev.u.input.size = 5; ev 286 samples/uhid/uhid-example.c ev.u.input.data[0] = 0x1; ev 288 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x1; ev 290 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x2; ev 292 samples/uhid/uhid-example.c ev.u.input.data[1] |= 0x4; ev 294 samples/uhid/uhid-example.c ev.u.input.data[2] = abs_hor; ev 295 samples/uhid/uhid-example.c ev.u.input.data[3] = abs_ver; ev 296 samples/uhid/uhid-example.c ev.u.input.data[4] = wheel; ev 298 samples/uhid/uhid-example.c return uhid_write(fd, &ev); ev 707 scripts/kconfig/qconf.cc void ConfigList::keyPressEvent(QKeyEvent* ev) ev 714 scripts/kconfig/qconf.cc if (ev->key() == Qt::Key_Escape && mode != fullMode && mode != listMode) { ev 716 scripts/kconfig/qconf.cc ev->accept(); ev 721 scripts/kconfig/qconf.cc Parent::keyPressEvent(ev); ev 726 scripts/kconfig/qconf.cc switch (ev->key()) { ev 755 scripts/kconfig/qconf.cc Parent::keyPressEvent(ev); ev 758 scripts/kconfig/qconf.cc ev->accept(); ev 146 sound/core/control.c struct snd_kctl_event *ev; ev 160 sound/core/control.c list_for_each_entry(ev, &ctl->events, list) { ev 161 sound/core/control.c if (ev->id.numid == id->numid) { ev 162 sound/core/control.c ev->mask |= mask; ev 166 sound/core/control.c ev = kzalloc(sizeof(*ev), GFP_ATOMIC); ev 167 sound/core/control.c if (ev) { ev 168 sound/core/control.c ev->id = *id; ev 169 sound/core/control.c ev->mask = mask; ev 170 sound/core/control.c list_add_tail(&ev->list, &ctl->events); ev 1601 sound/core/control.c struct snd_ctl_event ev; ev 1622 sound/core/control.c ev.type = SNDRV_CTL_EVENT_ELEM; ev 1623 sound/core/control.c ev.data.elem.mask = kev->mask; ev 1624 sound/core/control.c ev.data.elem.id = kev->id; ev 1628 sound/core/control.c if (copy_to_user(buffer, &ev, sizeof(struct snd_ctl_event))) { ev 136 sound/core/seq/oss/seq_oss_device.h snd_seq_oss_dispatch(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int atomic, int hop) ev 138 sound/core/seq/oss/seq_oss_device.h return snd_seq_kernel_client_dispatch(dp->cseq, ev, atomic, hop); ev 155 sound/core/seq/oss/seq_oss_device.h snd_seq_oss_fill_addr(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, ev 158 sound/core/seq/oss/seq_oss_device.h ev->queue = dp->queue; ev 159 sound/core/seq/oss/seq_oss_device.h ev->source = dp->addr; ev 160 sound/core/seq/oss/seq_oss_device.h ev->dest.client = dest_client; ev 161 sound/core/seq/oss/seq_oss_device.h ev->dest.port = dest_port; ev 22 sound/core/seq/oss/seq_oss_event.c static int extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); ev 23 sound/core/seq/oss/seq_oss_event.c static int chn_voice_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev); ev 24 sound/core/seq/oss/seq_oss_event.c static int chn_common_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev); ev 25 sound/core/seq/oss/seq_oss_event.c static int timing_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev); ev 26 sound/core/seq/oss/seq_oss_event.c static int local_event(struct seq_oss_devinfo *dp, union evrec *event_rec, struct snd_seq_event *ev); ev 27 sound/core/seq/oss/seq_oss_event.c static int old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); ev 28 sound/core/seq/oss/seq_oss_event.c static int note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev); ev 29 sound/core/seq/oss/seq_oss_event.c static int note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev); ev 30 sound/core/seq/oss/seq_oss_event.c static int set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev); ev 31 sound/core/seq/oss/seq_oss_event.c static int set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int val, struct snd_seq_event *ev); ev 32 sound/core/seq/oss/seq_oss_event.c static int set_echo_event(struct seq_oss_devinfo *dp, union evrec *rec, struct snd_seq_event *ev); ev 42 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_process_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 46 sound/core/seq/oss/seq_oss_event.c return extended_event(dp, q, ev); ev 49 sound/core/seq/oss/seq_oss_event.c return chn_voice_event(dp, q, ev); ev 52 sound/core/seq/oss/seq_oss_event.c return chn_common_event(dp, q, ev); ev 55 sound/core/seq/oss/seq_oss_event.c return timing_event(dp, q, ev); ev 58 sound/core/seq/oss/seq_oss_event.c return local_event(dp, q, ev); ev 61 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_synth_sysex(dp, q->x.dev, q->x.buf, ev); ev 72 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_midi_putc(dp, q->s.dev, q->s.parm1, ev); ev 78 sound/core/seq/oss/seq_oss_event.c return set_echo_event(dp, q, ev); ev 83 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_synth_raw_event(dp, q->c[1], q->c, ev); ev 88 sound/core/seq/oss/seq_oss_event.c return old_event(dp, q, ev); ev 95 sound/core/seq/oss/seq_oss_event.c old_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 99 sound/core/seq/oss/seq_oss_event.c return note_off_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); ev 102 sound/core/seq/oss/seq_oss_event.c return note_on_event(dp, 0, q->n.chn, q->n.note, q->n.vel, ev); ev 110 sound/core/seq/oss/seq_oss_event.c q->n.chn, 0, q->n.note, ev); ev 121 sound/core/seq/oss/seq_oss_event.c extended_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 127 sound/core/seq/oss/seq_oss_event.c return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); ev 130 sound/core/seq/oss/seq_oss_event.c return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); ev 134 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, q->e.p1, ev); ev 138 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, q->e.p1, ev); ev 145 sound/core/seq/oss/seq_oss_event.c q->e.chn, CTL_PAN, val, ev); ev 154 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, val, ev); ev 159 sound/core/seq/oss/seq_oss_event.c q->e.chn, 0, val*128/100, ev); ev 163 sound/core/seq/oss/seq_oss_event.c q->e.chn, q->e.p1, val, ev); ev 167 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_synth_raw_event(dp, q->e.dev, q->c, ev); ev 175 sound/core/seq/oss/seq_oss_event.c chn_voice_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 181 sound/core/seq/oss/seq_oss_event.c return note_on_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); ev 184 sound/core/seq/oss/seq_oss_event.c return note_off_event(dp, q->v.dev, q->v.chn, q->v.note, q->v.parm, ev); ev 188 sound/core/seq/oss/seq_oss_event.c q->v.chn, q->v.note, q->v.parm, ev); ev 196 sound/core/seq/oss/seq_oss_event.c chn_common_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 203 sound/core/seq/oss/seq_oss_event.c q->l.chn, 0, q->l.p1, ev); ev 207 sound/core/seq/oss/seq_oss_event.c q->l.chn, q->l.p1, q->l.val, ev); ev 212 sound/core/seq/oss/seq_oss_event.c q->l.chn, 0, q->l.val - 8192, ev); ev 216 sound/core/seq/oss/seq_oss_event.c q->l.chn, 0, q->l.val, ev); ev 223 sound/core/seq/oss/seq_oss_event.c timing_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 228 sound/core/seq/oss/seq_oss_event.c return set_echo_event(dp, q, ev); ev 234 sound/core/seq/oss/seq_oss_event.c return set_echo_event(dp, &tmp, ev); ev 258 sound/core/seq/oss/seq_oss_event.c local_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev) ev 274 sound/core/seq/oss/seq_oss_event.c note_on_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) ev 286 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); ev 304 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, type, ch, info->ch[ch].note, vel, ev); ev 310 sound/core/seq/oss/seq_oss_event.c set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEOFF, ch, info->ch[ch].note, 0, ev); ev 315 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); ev 320 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); ev 324 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_KEYPRESS, ch, note - 128, vel, ev); ev 326 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); ev 335 sound/core/seq/oss/seq_oss_event.c note_off_event(struct seq_oss_devinfo *dp, int dev, int ch, int note, int vel, struct snd_seq_event *ev) ev 347 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEON, ch, note, vel, ev); ev 355 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEOFF, ch, note, vel, ev); ev 362 sound/core/seq/oss/seq_oss_event.c return set_note_event(dp, dev, SNDRV_SEQ_EVENT_NOTEOFF, ch, note, vel, ev); ev 372 sound/core/seq/oss/seq_oss_event.c set_note_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int note, int vel, struct snd_seq_event *ev) ev 377 sound/core/seq/oss/seq_oss_event.c ev->type = type; ev 378 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_synth_addr(dp, dev, ev); ev 379 sound/core/seq/oss/seq_oss_event.c ev->data.note.channel = ch; ev 380 sound/core/seq/oss/seq_oss_event.c ev->data.note.note = note; ev 381 sound/core/seq/oss/seq_oss_event.c ev->data.note.velocity = vel; ev 390 sound/core/seq/oss/seq_oss_event.c set_control_event(struct seq_oss_devinfo *dp, int dev, int type, int ch, int param, int val, struct snd_seq_event *ev) ev 395 sound/core/seq/oss/seq_oss_event.c ev->type = type; ev 396 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_synth_addr(dp, dev, ev); ev 397 sound/core/seq/oss/seq_oss_event.c ev->data.control.channel = ch; ev 398 sound/core/seq/oss/seq_oss_event.c ev->data.control.param = param; ev 399 sound/core/seq/oss/seq_oss_event.c ev->data.control.value = val; ev 408 sound/core/seq/oss/seq_oss_event.c set_echo_event(struct seq_oss_devinfo *dp, union evrec *rec, struct snd_seq_event *ev) ev 410 sound/core/seq/oss/seq_oss_event.c ev->type = SNDRV_SEQ_EVENT_ECHO; ev 412 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_fill_addr(dp, ev, dp->addr.client, dp->addr.port); ev 413 sound/core/seq/oss/seq_oss_event.c memcpy(&ev->data, rec, LONG_EVENT_SIZE); ev 422 sound/core/seq/oss/seq_oss_event.c snd_seq_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, ev 428 sound/core/seq/oss/seq_oss_event.c if (ev->type != SNDRV_SEQ_EVENT_ECHO) ev 429 sound/core/seq/oss/seq_oss_event.c return snd_seq_oss_midi_input(ev, direct, private_data); ev 431 sound/core/seq/oss/seq_oss_event.c if (ev->source.client != dp->cseq) ev 434 sound/core/seq/oss/seq_oss_event.c rec = (union evrec*)&ev->data; ev 91 sound/core/seq/oss/seq_oss_event.h #define ev_is_long(ev) ((ev)->s.code >= 128) ev 92 sound/core/seq/oss/seq_oss_event.h #define ev_length(ev) ((ev)->s.code >= 128 ? LONG_EVENT_SIZE : SHORT_EVENT_SIZE) ev 94 sound/core/seq/oss/seq_oss_event.h int snd_seq_oss_process_event(struct seq_oss_devinfo *dp, union evrec *q, struct snd_seq_event *ev); ev 96 sound/core/seq/oss/seq_oss_event.h int snd_seq_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop); ev 40 sound/core/seq/oss/seq_oss_init.c static int receive_announce(struct snd_seq_event *ev, int direct, void *private, int atomic, int hop); ev 123 sound/core/seq/oss/seq_oss_init.c receive_announce(struct snd_seq_event *ev, int direct, void *private, int atomic, int hop) ev 130 sound/core/seq/oss/seq_oss_init.c switch (ev->type) { ev 133 sound/core/seq/oss/seq_oss_init.c if (ev->data.addr.client == system_client) ev 136 sound/core/seq/oss/seq_oss_init.c pinfo.addr = ev->data.addr; ev 142 sound/core/seq/oss/seq_oss_init.c if (ev->data.addr.client == system_client) ev 144 sound/core/seq/oss/seq_oss_init.c snd_seq_oss_midi_check_exit_port(ev->data.addr.client, ev 145 sound/core/seq/oss/seq_oss_init.c ev->data.addr.port); ev 46 sound/core/seq/oss/seq_oss_ioctl.c unsigned char ev[8]; ev 49 sound/core/seq/oss/seq_oss_ioctl.c if (copy_from_user(ev, arg, 8)) ev 54 sound/core/seq/oss/seq_oss_ioctl.c if (! snd_seq_oss_process_event(dp, (union evrec *)ev, &tmpev)) { ev 56 sound/core/seq/oss/seq_oss_midi.c static int send_synth_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int dev); ev 57 sound/core/seq/oss/seq_oss_midi.c static int send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_midi *mdev); ev 454 sound/core/seq/oss/seq_oss_midi.c struct snd_seq_event ev; ev 457 sound/core/seq/oss/seq_oss_midi.c memset(&ev, 0, sizeof(ev)); ev 458 sound/core/seq/oss/seq_oss_midi.c ev.dest.client = mdev->client; ev 459 sound/core/seq/oss/seq_oss_midi.c ev.dest.port = mdev->port; ev 460 sound/core/seq/oss/seq_oss_midi.c ev.queue = dp->queue; ev 461 sound/core/seq/oss/seq_oss_midi.c ev.source.port = dp->port; ev 463 sound/core/seq/oss/seq_oss_midi.c ev.type = SNDRV_SEQ_EVENT_SENSING; ev 464 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_dispatch(dp, &ev, 0, 0); ev 467 sound/core/seq/oss/seq_oss_midi.c ev.type = SNDRV_SEQ_EVENT_CONTROLLER; ev 468 sound/core/seq/oss/seq_oss_midi.c ev.data.control.channel = c; ev 469 sound/core/seq/oss/seq_oss_midi.c ev.data.control.param = MIDI_CTL_ALL_NOTES_OFF; ev 470 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_dispatch(dp, &ev, 0, 0); ev 472 sound/core/seq/oss/seq_oss_midi.c ev.data.control.param = ev 474 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_dispatch(dp, &ev, 0, 0); ev 475 sound/core/seq/oss/seq_oss_midi.c ev.type = SNDRV_SEQ_EVENT_PITCHBEND; ev 476 sound/core/seq/oss/seq_oss_midi.c ev.data.control.value = 0; ev 477 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_dispatch(dp, &ev, 0, 0); ev 506 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_midi_input(struct snd_seq_event *ev, int direct, void *private_data) ev 514 sound/core/seq/oss/seq_oss_midi.c if ((mdev = find_slot(ev->source.client, ev->source.port)) == NULL) ev 522 sound/core/seq/oss/seq_oss_midi.c rc = send_synth_event(dp, ev, mdev->seq_device); ev 524 sound/core/seq/oss/seq_oss_midi.c rc = send_midi_event(dp, ev, mdev); ev 534 sound/core/seq/oss/seq_oss_midi.c send_synth_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, int dev) ev 540 sound/core/seq/oss/seq_oss_midi.c switch (ev->type) { ev 561 sound/core/seq/oss/seq_oss_midi.c switch (ev->type) { ev 566 sound/core/seq/oss/seq_oss_midi.c ossev.v.note = ev->data.note.note; ev 567 sound/core/seq/oss/seq_oss_midi.c ossev.v.parm = ev->data.note.velocity; ev 568 sound/core/seq/oss/seq_oss_midi.c ossev.v.chn = ev->data.note.channel; ev 574 sound/core/seq/oss/seq_oss_midi.c ossev.l.p1 = ev->data.control.param; ev 575 sound/core/seq/oss/seq_oss_midi.c ossev.l.val = ev->data.control.value; ev 576 sound/core/seq/oss/seq_oss_midi.c ossev.l.chn = ev->data.control.channel; ev 580 sound/core/seq/oss/seq_oss_midi.c ossev.l.val = ev->data.control.value + 8192; ev 581 sound/core/seq/oss/seq_oss_midi.c ossev.l.chn = ev->data.control.channel; ev 585 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); ev 595 sound/core/seq/oss/seq_oss_midi.c send_midi_event(struct seq_oss_devinfo *dp, struct snd_seq_event *ev, struct seq_oss_midi *mdev) ev 600 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); ev 603 sound/core/seq/oss/seq_oss_midi.c if (ev->type == SNDRV_SEQ_EVENT_SYSEX) { ev 604 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_readq_sysex(dp->readq, mdev->seq_device, ev); ev 607 sound/core/seq/oss/seq_oss_midi.c len = snd_midi_event_decode(mdev->coder, msg, sizeof(msg), ev); ev 622 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_midi_putc(struct seq_oss_devinfo *dp, int dev, unsigned char c, struct snd_seq_event *ev) ev 628 sound/core/seq/oss/seq_oss_midi.c if (snd_midi_event_encode_byte(mdev->coder, c, ev)) { ev 629 sound/core/seq/oss/seq_oss_midi.c snd_seq_oss_fill_addr(dp, ev, mdev->client, mdev->port); ev 29 sound/core/seq/oss/seq_oss_midi.h struct snd_seq_event *ev); ev 30 sound/core/seq/oss/seq_oss_midi.h int snd_seq_oss_midi_input(struct snd_seq_event *ev, int direct, void *private); ev 124 sound/core/seq/oss/seq_oss_readq.c struct snd_seq_event *ev) ev 131 sound/core/seq/oss/seq_oss_readq.c if ((ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) != SNDRV_SEQ_EVENT_LENGTH_VARIABLE) ev 133 sound/core/seq/oss/seq_oss_readq.c return snd_seq_dump_var_event(ev, readq_dump_sysex, &ctx); ev 141 sound/core/seq/oss/seq_oss_readq.c snd_seq_oss_readq_put_event(struct seq_oss_readq *q, union evrec *ev) ev 151 sound/core/seq/oss/seq_oss_readq.c memcpy(&q->q[q->tail], ev, sizeof(*ev)); ev 35 sound/core/seq/oss/seq_oss_readq.h struct snd_seq_event *ev); ev 36 sound/core/seq/oss/seq_oss_readq.h int snd_seq_oss_readq_put_event(struct seq_oss_readq *readq, union evrec *ev); ev 425 sound/core/seq/oss/seq_oss_synth.c struct snd_seq_event ev; ev 426 sound/core/seq/oss/seq_oss_synth.c memset(&ev, 0, sizeof(ev)); ev 427 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_fill_addr(dp, &ev, info->arg.addr.client, ev 429 sound/core/seq/oss/seq_oss_synth.c ev.type = SNDRV_SEQ_EVENT_RESET; ev 430 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_dispatch(dp, &ev, 0, 0); ev 488 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_synth_sysex(struct seq_oss_devinfo *dp, int dev, unsigned char *buf, struct snd_seq_event *ev) ev 531 sound/core/seq/oss/seq_oss_synth.c ev->flags = SNDRV_SEQ_EVENT_LENGTH_VARIABLE; ev 532 sound/core/seq/oss/seq_oss_synth.c if (snd_seq_oss_synth_addr(dp, dev, ev)) ev 534 sound/core/seq/oss/seq_oss_synth.c ev->data.ext.len = sysex->len; ev 535 sound/core/seq/oss/seq_oss_synth.c ev->data.ext.ptr = sysex->buf; ev 547 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev) ev 553 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_fill_addr(dp, ev, info->arg.addr.client, ev 587 sound/core/seq/oss/seq_oss_synth.c snd_seq_oss_synth_raw_event(struct seq_oss_devinfo *dp, int dev, unsigned char *data, struct snd_seq_event *ev) ev 594 sound/core/seq/oss/seq_oss_synth.c ev->type = SNDRV_SEQ_EVENT_OSS; ev 595 sound/core/seq/oss/seq_oss_synth.c memcpy(ev->data.raw8.d, data, 8); ev 596 sound/core/seq/oss/seq_oss_synth.c return snd_seq_oss_synth_addr(dp, dev, ev); ev 30 sound/core/seq/oss/seq_oss_synth.h struct snd_seq_event *ev); ev 31 sound/core/seq/oss/seq_oss_synth.h int snd_seq_oss_synth_addr(struct seq_oss_devinfo *dp, int dev, struct snd_seq_event *ev); ev 35 sound/core/seq/oss/seq_oss_synth.h unsigned char *data, struct snd_seq_event *ev); ev 73 sound/core/seq/oss/seq_oss_timer.c snd_seq_oss_process_timer_event(struct seq_oss_timer *rec, union evrec *ev) ev 75 sound/core/seq/oss/seq_oss_timer.c abstime_t parm = ev->t.time; ev 77 sound/core/seq/oss/seq_oss_timer.c if (ev->t.code == EV_TIMING) { ev 78 sound/core/seq/oss/seq_oss_timer.c switch (ev->t.cmd) { ev 97 sound/core/seq/oss/seq_oss_timer.c } else if (ev->s.code == SEQ_WAIT) { ev 99 sound/core/seq/oss/seq_oss_timer.c parm = (ev->echo >> 8) & 0xffffff; ev 129 sound/core/seq/oss/seq_oss_timer.c struct snd_seq_event ev; ev 131 sound/core/seq/oss/seq_oss_timer.c memset(&ev, 0, sizeof(ev)); ev 132 sound/core/seq/oss/seq_oss_timer.c ev.type = type; ev 133 sound/core/seq/oss/seq_oss_timer.c ev.source.client = dp->cseq; ev 134 sound/core/seq/oss/seq_oss_timer.c ev.source.port = 0; ev 135 sound/core/seq/oss/seq_oss_timer.c ev.dest.client = SNDRV_SEQ_CLIENT_SYSTEM; ev 136 sound/core/seq/oss/seq_oss_timer.c ev.dest.port = SNDRV_SEQ_PORT_SYSTEM_TIMER; ev 137 sound/core/seq/oss/seq_oss_timer.c ev.queue = dp->queue; ev 138 sound/core/seq/oss/seq_oss_timer.c ev.data.queue.queue = dp->queue; ev 139 sound/core/seq/oss/seq_oss_timer.c ev.data.queue.param.value = value; ev 140 sound/core/seq/oss/seq_oss_timer.c return snd_seq_kernel_client_dispatch(dp->cseq, &ev, 1, 0); ev 92 sound/core/seq/oss/seq_oss_writeq.c struct snd_seq_event ev; ev 96 sound/core/seq/oss/seq_oss_writeq.c memset(&ev, 0, sizeof(ev)); ev 97 sound/core/seq/oss/seq_oss_writeq.c ev.flags = 0; ev 98 sound/core/seq/oss/seq_oss_writeq.c ev.type = SNDRV_SEQ_EVENT_ECHO; ev 99 sound/core/seq/oss/seq_oss_writeq.c ev.time.tick = time; ev 101 sound/core/seq/oss/seq_oss_writeq.c snd_seq_oss_fill_addr(dp, &ev, dp->addr.client, dp->addr.port); ev 102 sound/core/seq/oss/seq_oss_writeq.c rec = (union evrec *)&ev.data; ev 106 sound/core/seq/oss/seq_oss_writeq.c snd_seq_kernel_client_enqueue(dp->cseq, &ev, NULL, true); ev 873 sound/core/seq/seq_clientmgr.c struct snd_seq_event tmpev, *ev; ev 885 sound/core/seq/seq_clientmgr.c ev = &cell->event; ev 886 sound/core/seq/seq_clientmgr.c ev->type = SNDRV_SEQ_EVENT_NOTEOFF; ev 887 sound/core/seq/seq_clientmgr.c ev->flags |= SNDRV_SEQ_PRIORITY_HIGH; ev 890 sound/core/seq/seq_clientmgr.c switch (ev->flags & SNDRV_SEQ_TIME_STAMP_MASK) { ev 892 sound/core/seq/seq_clientmgr.c ev->time.tick += ev->data.note.duration; ev 896 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec += 1000000 * (ev->data.note.duration % 1000); ev 897 sound/core/seq/seq_clientmgr.c ev->time.time.tv_sec += ev->data.note.duration / 1000 + ev 898 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec / 1000000000; ev 899 sound/core/seq/seq_clientmgr.c ev->time.time.tv_nsec %= 1000000000; ev 902 sound/core/seq/seq_clientmgr.c ev->data.note.velocity = ev->data.note.off_velocity; ev 987 sound/core/seq/seq_clientmgr.c static int check_event_type_and_length(struct snd_seq_event *ev) ev 989 sound/core/seq/seq_clientmgr.c switch (snd_seq_ev_length_type(ev)) { ev 991 sound/core/seq/seq_clientmgr.c if (snd_seq_ev_is_variable_type(ev)) ev 995 sound/core/seq/seq_clientmgr.c if (! snd_seq_ev_is_variable_type(ev) || ev 996 sound/core/seq/seq_clientmgr.c (ev->data.ext.len & ~SNDRV_SEQ_EXT_MASK) >= SNDRV_SEQ_MAX_EVENT_LEN) ev 1000 sound/core/seq/seq_clientmgr.c if (! snd_seq_ev_is_direct(ev)) ev 2254 sound/core/seq/seq_clientmgr.c int snd_seq_kernel_client_enqueue(int client, struct snd_seq_event *ev, ev 2260 sound/core/seq/seq_clientmgr.c if (snd_BUG_ON(!ev)) ev 2263 sound/core/seq/seq_clientmgr.c if (ev->type == SNDRV_SEQ_EVENT_NONE) ev 2265 sound/core/seq/seq_clientmgr.c if (ev->type == SNDRV_SEQ_EVENT_KERNEL_ERROR) ev 2269 sound/core/seq/seq_clientmgr.c ev->source.client = client; ev 2271 sound/core/seq/seq_clientmgr.c if (check_event_type_and_length(ev)) ev 2282 sound/core/seq/seq_clientmgr.c result = snd_seq_client_enqueue_event(cptr, ev, file, blocking, ev 2300 sound/core/seq/seq_clientmgr.c int snd_seq_kernel_client_dispatch(int client, struct snd_seq_event * ev, ev 2306 sound/core/seq/seq_clientmgr.c if (snd_BUG_ON(!ev)) ev 2310 sound/core/seq/seq_clientmgr.c ev->queue = SNDRV_SEQ_QUEUE_DIRECT; ev 2311 sound/core/seq/seq_clientmgr.c ev->source.client = client; ev 2313 sound/core/seq/seq_clientmgr.c if (check_event_type_and_length(ev)) ev 2323 sound/core/seq/seq_clientmgr.c result = snd_seq_deliver_event(cptr, ev, atomic, hop); ev 74 sound/core/seq/seq_dummy.c dummy_input(struct snd_seq_event *ev, int direct, void *private_data, ev 81 sound/core/seq/seq_dummy.c if (ev->source.client == SNDRV_SEQ_CLIENT_SYSTEM || ev 82 sound/core/seq/seq_dummy.c ev->type == SNDRV_SEQ_EVENT_KERNEL_ERROR) ev 84 sound/core/seq/seq_dummy.c tmpev = *ev; ev 65 sound/core/seq/seq_midi.c struct snd_seq_event ev; ev 75 sound/core/seq/seq_midi.c memset(&ev, 0, sizeof(ev)); ev 85 sound/core/seq/seq_midi.c *pbuf++, &ev)) ev 87 sound/core/seq/seq_midi.c ev.source.port = msynth->seq_port; ev 88 sound/core/seq/seq_midi.c ev.dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; ev 89 sound/core/seq/seq_midi.c snd_seq_kernel_client_dispatch(msynth->seq_client, &ev, 1, 0); ev 91 sound/core/seq/seq_midi.c memset(&ev, 0, sizeof(ev)); ev 114 sound/core/seq/seq_midi.c static int event_process_midi(struct snd_seq_event *ev, int direct, ev 127 sound/core/seq/seq_midi.c if (ev->type == SNDRV_SEQ_EVENT_SYSEX) { /* special case, to save space */ ev 128 sound/core/seq/seq_midi.c if ((ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) != SNDRV_SEQ_EVENT_LENGTH_VARIABLE) { ev 130 sound/core/seq/seq_midi.c pr_debug("ALSA: seq_midi: invalid sysex event flags = 0x%x\n", ev->flags); ev 133 sound/core/seq/seq_midi.c snd_seq_dump_var_event(ev, (snd_seq_dump_func_t)dump_midi, substream); ev 138 sound/core/seq/seq_midi.c len = snd_midi_event_decode(msynth->parser, msg, sizeof(msg), ev); ev 70 sound/core/seq/seq_midi_emul.c struct snd_seq_event *ev, ev 77 sound/core/seq/seq_midi_emul.c if (ev == NULL || chanset == NULL) { ev 84 sound/core/seq/seq_midi_emul.c if (snd_seq_ev_is_channel_type(ev)) { ev 85 sound/core/seq/seq_midi_emul.c dest_channel = ev->data.note.channel; ev 97 sound/core/seq/seq_midi_emul.c if (ev->type == SNDRV_SEQ_EVENT_NOTE) ev 102 sound/core/seq/seq_midi_emul.c if (ev->type == SNDRV_SEQ_EVENT_NOTEON && ev->data.note.velocity == 0) ev 103 sound/core/seq/seq_midi_emul.c ev->type = SNDRV_SEQ_EVENT_NOTEOFF; ev 106 sound/core/seq/seq_midi_emul.c if (ev->type == SNDRV_SEQ_EVENT_NOTEON || ev 107 sound/core/seq/seq_midi_emul.c ev->type == SNDRV_SEQ_EVENT_NOTEOFF || ev 108 sound/core/seq/seq_midi_emul.c ev->type == SNDRV_SEQ_EVENT_KEYPRESS) { ev 109 sound/core/seq/seq_midi_emul.c if (ev->data.note.note >= 128) ev 113 sound/core/seq/seq_midi_emul.c switch (ev->type) { ev 115 sound/core/seq/seq_midi_emul.c if (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON) { ev 117 sound/core/seq/seq_midi_emul.c ops->note_off(drv, ev->data.note.note, 0, chan); ev 119 sound/core/seq/seq_midi_emul.c chan->note[ev->data.note.note] = SNDRV_MIDI_NOTE_ON; ev 121 sound/core/seq/seq_midi_emul.c ops->note_on(drv, ev->data.note.note, ev->data.note.velocity, chan); ev 124 sound/core/seq/seq_midi_emul.c if (! (chan->note[ev->data.note.note] & SNDRV_MIDI_NOTE_ON)) ev 127 sound/core/seq/seq_midi_emul.c note_off(ops, drv, chan, ev->data.note.note, ev->data.note.velocity); ev 131 sound/core/seq/seq_midi_emul.c ops->key_press(drv, ev->data.note.note, ev->data.note.velocity, chan); ev 135 sound/core/seq/seq_midi_emul.c ev->data.control.param, ev->data.control.value); ev 138 sound/core/seq/seq_midi_emul.c chan->midi_program = ev->data.control.value; ev 141 sound/core/seq/seq_midi_emul.c chan->midi_pitchbend = ev->data.control.value; ev 146 sound/core/seq/seq_midi_emul.c chan->midi_pressure = ev->data.control.value; ev 152 sound/core/seq/seq_midi_emul.c if (ev->data.control.param < 32) { ev 154 sound/core/seq/seq_midi_emul.c chan->control[ev->data.control.param + 32] = ev 155 sound/core/seq/seq_midi_emul.c ev->data.control.value & 0x7f; ev 157 sound/core/seq/seq_midi_emul.c ev->data.control.param, ev 158 sound/core/seq/seq_midi_emul.c ((ev->data.control.value>>7) & 0x7f)); ev 161 sound/core/seq/seq_midi_emul.c ev->data.control.param, ev 162 sound/core/seq/seq_midi_emul.c ev->data.control.value); ev 168 sound/core/seq/seq_midi_emul.c = (ev->data.control.value >> 7) & 0x7f; ev 170 sound/core/seq/seq_midi_emul.c = ev->data.control.value & 0x7f; ev 172 sound/core/seq/seq_midi_emul.c = (ev->data.control.param >> 7) & 0x7f; ev 174 sound/core/seq/seq_midi_emul.c = ev->data.control.param & 0x7f; ev 181 sound/core/seq/seq_midi_emul.c = (ev->data.control.value >> 7) & 0x7f; ev 183 sound/core/seq/seq_midi_emul.c = ev->data.control.value & 0x7f; ev 185 sound/core/seq/seq_midi_emul.c = (ev->data.control.param >> 7) & 0x7f; ev 187 sound/core/seq/seq_midi_emul.c = ev->data.control.param & 0x7f; ev 191 sound/core/seq/seq_midi_emul.c if ((ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) == SNDRV_SEQ_EVENT_LENGTH_VARIABLE) { ev 194 sound/core/seq/seq_midi_emul.c len = snd_seq_expand_var_event(ev, sizeof(sysexbuf), sysexbuf, 1, 0); ev 33 sound/core/seq/seq_midi_event.c static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 34 sound/core/seq/seq_midi_event.c static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 35 sound/core/seq/seq_midi_event.c static void pitchbend_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 36 sound/core/seq/seq_midi_event.c static void two_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 37 sound/core/seq/seq_midi_event.c static void one_param_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 38 sound/core/seq/seq_midi_event.c static void songpos_event(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 39 sound/core/seq/seq_midi_event.c static void note_decode(struct snd_seq_event *ev, unsigned char *buf); ev 40 sound/core/seq/seq_midi_event.c static void one_param_decode(struct snd_seq_event *ev, unsigned char *buf); ev 41 sound/core/seq/seq_midi_event.c static void pitchbend_decode(struct snd_seq_event *ev, unsigned char *buf); ev 42 sound/core/seq/seq_midi_event.c static void two_param_decode(struct snd_seq_event *ev, unsigned char *buf); ev 43 sound/core/seq/seq_midi_event.c static void songpos_decode(struct snd_seq_event *ev, unsigned char *buf); ev 51 sound/core/seq/seq_midi_event.c void (*encode)(struct snd_midi_event *dev, struct snd_seq_event *ev); ev 52 sound/core/seq/seq_midi_event.c void (*decode)(struct snd_seq_event *ev, unsigned char *buf); ev 84 sound/core/seq/seq_midi_event.c struct snd_seq_event *ev); ev 86 sound/core/seq/seq_midi_event.c struct snd_seq_event *ev); ev 91 sound/core/seq/seq_midi_event.c struct snd_seq_event *ev); ev 177 sound/core/seq/seq_midi_event.c struct snd_seq_event *ev) ev 184 sound/core/seq/seq_midi_event.c ev->type = status_event[ST_SPECIAL + c - 0xf0].event; ev 185 sound/core/seq/seq_midi_event.c ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; ev 186 sound/core/seq/seq_midi_event.c ev->flags |= SNDRV_SEQ_EVENT_LENGTH_FIXED; ev 187 sound/core/seq/seq_midi_event.c return ev->type != SNDRV_SEQ_EVENT_NONE; ev 215 sound/core/seq/seq_midi_event.c ev->type = status_event[dev->type].event; ev 216 sound/core/seq/seq_midi_event.c ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; ev 217 sound/core/seq/seq_midi_event.c ev->flags |= SNDRV_SEQ_EVENT_LENGTH_FIXED; ev 219 sound/core/seq/seq_midi_event.c status_event[dev->type].encode(dev, ev); ev 226 sound/core/seq/seq_midi_event.c ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; ev 227 sound/core/seq/seq_midi_event.c ev->flags |= SNDRV_SEQ_EVENT_LENGTH_VARIABLE; ev 228 sound/core/seq/seq_midi_event.c ev->type = SNDRV_SEQ_EVENT_SYSEX; ev 229 sound/core/seq/seq_midi_event.c ev->data.ext.len = dev->read; ev 230 sound/core/seq/seq_midi_event.c ev->data.ext.ptr = dev->buf; ev 245 sound/core/seq/seq_midi_event.c static void note_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 247 sound/core/seq/seq_midi_event.c ev->data.note.channel = dev->buf[0] & 0x0f; ev 248 sound/core/seq/seq_midi_event.c ev->data.note.note = dev->buf[1]; ev 249 sound/core/seq/seq_midi_event.c ev->data.note.velocity = dev->buf[2]; ev 253 sound/core/seq/seq_midi_event.c static void one_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 255 sound/core/seq/seq_midi_event.c ev->data.control.channel = dev->buf[0] & 0x0f; ev 256 sound/core/seq/seq_midi_event.c ev->data.control.value = dev->buf[1]; ev 260 sound/core/seq/seq_midi_event.c static void pitchbend_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 262 sound/core/seq/seq_midi_event.c ev->data.control.channel = dev->buf[0] & 0x0f; ev 263 sound/core/seq/seq_midi_event.c ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1] - 8192; ev 267 sound/core/seq/seq_midi_event.c static void two_param_ctrl_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 269 sound/core/seq/seq_midi_event.c ev->data.control.channel = dev->buf[0] & 0x0f; ev 270 sound/core/seq/seq_midi_event.c ev->data.control.param = dev->buf[1]; ev 271 sound/core/seq/seq_midi_event.c ev->data.control.value = dev->buf[2]; ev 275 sound/core/seq/seq_midi_event.c static void one_param_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 277 sound/core/seq/seq_midi_event.c ev->data.control.value = dev->buf[1]; ev 281 sound/core/seq/seq_midi_event.c static void songpos_event(struct snd_midi_event *dev, struct snd_seq_event *ev) ev 283 sound/core/seq/seq_midi_event.c ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1]; ev 291 sound/core/seq/seq_midi_event.c struct snd_seq_event *ev) ev 295 sound/core/seq/seq_midi_event.c if (ev->type == SNDRV_SEQ_EVENT_NONE) ev 299 sound/core/seq/seq_midi_event.c if (ev->type == status_event[type].event) ev 303 sound/core/seq/seq_midi_event.c if (ev->type == extra_event[type].event) ev 304 sound/core/seq/seq_midi_event.c return extra_event[type].decode(dev, buf, count, ev); ev 313 sound/core/seq/seq_midi_event.c cmd = 0x80 | (type << 4) | (ev->data.note.channel & 0x0f); ev 318 sound/core/seq/seq_midi_event.c return snd_seq_expand_var_event(ev, count, buf, 1, 0); ev 330 sound/core/seq/seq_midi_event.c status_event[type].decode(ev, xbuf + 1); ev 335 sound/core/seq/seq_midi_event.c status_event[type].decode(ev, xbuf + 0); ev 348 sound/core/seq/seq_midi_event.c static void note_decode(struct snd_seq_event *ev, unsigned char *buf) ev 350 sound/core/seq/seq_midi_event.c buf[0] = ev->data.note.note & 0x7f; ev 351 sound/core/seq/seq_midi_event.c buf[1] = ev->data.note.velocity & 0x7f; ev 355 sound/core/seq/seq_midi_event.c static void one_param_decode(struct snd_seq_event *ev, unsigned char *buf) ev 357 sound/core/seq/seq_midi_event.c buf[0] = ev->data.control.value & 0x7f; ev 361 sound/core/seq/seq_midi_event.c static void pitchbend_decode(struct snd_seq_event *ev, unsigned char *buf) ev 363 sound/core/seq/seq_midi_event.c int value = ev->data.control.value + 8192; ev 369 sound/core/seq/seq_midi_event.c static void two_param_decode(struct snd_seq_event *ev, unsigned char *buf) ev 371 sound/core/seq/seq_midi_event.c buf[0] = ev->data.control.param & 0x7f; ev 372 sound/core/seq/seq_midi_event.c buf[1] = ev->data.control.value & 0x7f; ev 376 sound/core/seq/seq_midi_event.c static void songpos_decode(struct snd_seq_event *ev, unsigned char *buf) ev 378 sound/core/seq/seq_midi_event.c buf[0] = ev->data.control.value & 0x7f; ev 379 sound/core/seq/seq_midi_event.c buf[1] = (ev->data.control.value >> 7) & 0x7f; ev 384 sound/core/seq/seq_midi_event.c int count, struct snd_seq_event *ev) ev 389 sound/core/seq/seq_midi_event.c cmd = MIDI_CMD_CONTROL|(ev->data.control.channel & 0x0f); ev 390 sound/core/seq/seq_midi_event.c if (ev->data.control.param < 0x20) { ev 400 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param; ev 401 sound/core/seq/seq_midi_event.c buf[idx++] = (ev->data.control.value >> 7) & 0x7f; ev 404 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param + 0x20; ev 405 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.value & 0x7f; ev 414 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.param & 0x7f; ev 415 sound/core/seq/seq_midi_event.c buf[idx++] = ev->data.control.value & 0x7f; ev 422 sound/core/seq/seq_midi_event.c int count, struct snd_seq_event *ev) ev 441 sound/core/seq/seq_midi_event.c cmd = MIDI_CMD_CONTROL|(ev->data.control.channel & 0x0f); ev 442 sound/core/seq/seq_midi_event.c bytes[0] = (ev->data.control.param & 0x3f80) >> 7; ev 443 sound/core/seq/seq_midi_event.c bytes[1] = ev->data.control.param & 0x007f; ev 444 sound/core/seq/seq_midi_event.c bytes[2] = (ev->data.control.value & 0x3f80) >> 7; ev 445 sound/core/seq/seq_midi_event.c bytes[3] = ev->data.control.value & 0x007f; ev 451 sound/core/seq/seq_midi_event.c cbytes = ev->type == SNDRV_SEQ_EVENT_NONREGPARAM ? cbytes_nrpn : cbytes_rpn; ev 57 sound/core/seq/seq_ports.h int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, ev 203 sound/core/seq/seq_prioq.c static int event_is_ready(struct snd_seq_event *ev, void *current_time) ev 205 sound/core/seq/seq_prioq.c if ((ev->flags & SNDRV_SEQ_TIME_STAMP_MASK) == SNDRV_SEQ_TIME_STAMP_TICK) ev 206 sound/core/seq/seq_prioq.c return snd_seq_compare_tick_time(current_time, &ev->time.tick); ev 208 sound/core/seq/seq_prioq.c return snd_seq_compare_real_time(current_time, &ev->time.time); ev 329 sound/core/seq/seq_prioq.c struct snd_seq_event *ev) ev 334 sound/core/seq/seq_prioq.c if (ev->dest.client != info->dest.client || ev 335 sound/core/seq/seq_prioq.c ev->dest.port != info->dest.port) ev 339 sound/core/seq/seq_prioq.c if (! snd_seq_ev_is_channel_type(ev)) ev 342 sound/core/seq/seq_prioq.c if (ev->data.note.channel != info->channel) ev 347 sound/core/seq/seq_prioq.c res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); ev 349 sound/core/seq/seq_prioq.c res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); ev 355 sound/core/seq/seq_prioq.c res = snd_seq_compare_tick_time(&ev->time.tick, &info->time.tick); ev 357 sound/core/seq/seq_prioq.c res = snd_seq_compare_real_time(&ev->time.time, &info->time.time); ev 362 sound/core/seq/seq_prioq.c if (ev->type != info->type) ev 367 sound/core/seq/seq_prioq.c switch (ev->type) { ev 376 sound/core/seq/seq_prioq.c if (info->tag != ev->tag) ev 640 sound/core/seq/seq_queue.c static void queue_broadcast_event(struct snd_seq_queue *q, struct snd_seq_event *ev, ev 645 sound/core/seq/seq_queue.c sev = *ev; ev 664 sound/core/seq/seq_queue.c struct snd_seq_event *ev, ev 667 sound/core/seq/seq_queue.c switch (ev->type) { ev 669 sound/core/seq/seq_queue.c snd_seq_prioq_leave(q->tickq, ev->source.client, 1); ev 670 sound/core/seq/seq_queue.c snd_seq_prioq_leave(q->timeq, ev->source.client, 1); ev 672 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 677 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 682 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 686 sound/core/seq/seq_queue.c snd_seq_timer_set_tempo(q->timer, ev->data.queue.param.value); ev 687 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 691 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_tick(q->timer, ev->data.queue.param.time.tick) == 0) { ev 692 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 697 sound/core/seq/seq_queue.c if (snd_seq_timer_set_position_time(q->timer, ev->data.queue.param.time.time) == 0) { ev 698 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 703 sound/core/seq/seq_queue.c ev->data.queue.param.skew.value, ev 704 sound/core/seq/seq_queue.c ev->data.queue.param.skew.base) == 0) { ev 705 sound/core/seq/seq_queue.c queue_broadcast_event(q, ev, atomic, hop); ev 716 sound/core/seq/seq_queue.c int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop) ev 720 sound/core/seq/seq_queue.c if (snd_BUG_ON(!ev)) ev 722 sound/core/seq/seq_queue.c q = queueptr(ev->data.queue.queue); ev 727 sound/core/seq/seq_queue.c if (! queue_access_lock(q, ev->source.client)) { ev 732 sound/core/seq/seq_queue.c snd_seq_queue_process_event(q, ev, atomic, hop); ev 96 sound/core/seq/seq_queue.h int snd_seq_control_queue(struct snd_seq_event *ev, int atomic, int hop); ev 55 sound/core/seq/seq_system.c static int setheader(struct snd_seq_event * ev, int client, int port) ev 60 sound/core/seq/seq_system.c memset(ev, 0, sizeof(struct snd_seq_event)); ev 62 sound/core/seq/seq_system.c ev->flags &= ~SNDRV_SEQ_EVENT_LENGTH_MASK; ev 63 sound/core/seq/seq_system.c ev->flags |= SNDRV_SEQ_EVENT_LENGTH_FIXED; ev 65 sound/core/seq/seq_system.c ev->source.client = sysclient; ev 66 sound/core/seq/seq_system.c ev->source.port = announce_port; ev 67 sound/core/seq/seq_system.c ev->dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; ev 71 sound/core/seq/seq_system.c ev->data.addr.client = client; ev 72 sound/core/seq/seq_system.c ev->data.addr.port = port; ev 81 sound/core/seq/seq_system.c struct snd_seq_event ev; ev 83 sound/core/seq/seq_system.c if (setheader(&ev, client, port) < 0) ev 85 sound/core/seq/seq_system.c ev.type = type; ev 86 sound/core/seq/seq_system.c snd_seq_kernel_client_dispatch(sysclient, &ev, 0, 0); ev 90 sound/core/seq/seq_system.c int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev) ev 92 sound/core/seq/seq_system.c ev->flags = SNDRV_SEQ_EVENT_LENGTH_FIXED; ev 93 sound/core/seq/seq_system.c ev->source.client = sysclient; ev 94 sound/core/seq/seq_system.c ev->source.port = announce_port; ev 95 sound/core/seq/seq_system.c ev->dest.client = client; ev 96 sound/core/seq/seq_system.c ev->dest.port = port; ev 97 sound/core/seq/seq_system.c return snd_seq_kernel_client_dispatch(sysclient, ev, 0, 0); ev 101 sound/core/seq/seq_system.c static int event_input_timer(struct snd_seq_event * ev, int direct, void *private_data, int atomic, int hop) ev 103 sound/core/seq/seq_system.c return snd_seq_control_queue(ev, atomic, hop); ev 22 sound/core/seq/seq_system.h int snd_seq_system_notify(int client, int port, struct snd_seq_event *ev); ev 45 sound/core/seq/seq_virmidi.c struct snd_seq_event *ev) ev 47 sound/core/seq/seq_virmidi.c memset(ev, 0, sizeof(*ev)); ev 48 sound/core/seq/seq_virmidi.c ev->source.port = vmidi->port; ev 51 sound/core/seq/seq_virmidi.c ev->dest.client = SNDRV_SEQ_ADDRESS_SUBSCRIBERS; ev 55 sound/core/seq/seq_virmidi.c ev->dest.client = vmidi->client; ev 56 sound/core/seq/seq_virmidi.c ev->dest.port = vmidi->port; ev 59 sound/core/seq/seq_virmidi.c ev->type = SNDRV_SEQ_EVENT_NONE; ev 66 sound/core/seq/seq_virmidi.c struct snd_seq_event *ev, ev 80 sound/core/seq/seq_virmidi.c if (ev->type == SNDRV_SEQ_EVENT_SYSEX) { ev 81 sound/core/seq/seq_virmidi.c if ((ev->flags & SNDRV_SEQ_EVENT_LENGTH_MASK) != SNDRV_SEQ_EVENT_LENGTH_VARIABLE) ev 83 sound/core/seq/seq_virmidi.c snd_seq_dump_var_event(ev, (snd_seq_dump_func_t)snd_rawmidi_receive, vmidi->substream); ev 86 sound/core/seq/seq_virmidi.c len = snd_midi_event_decode(vmidi->parser, msg, sizeof(msg), ev); ev 102 sound/core/seq/seq_virmidi.c static int snd_virmidi_event_input(struct snd_seq_event *ev, int direct, ev 110 sound/core/seq/seq_virmidi.c return snd_virmidi_dev_receive_event(rdev, ev, atomic); ev 28 sound/drivers/opl3/opl3_oss.c static int snd_opl3_oss_event_input(struct snd_seq_event *ev, int direct, ev 33 sound/drivers/opl3/opl3_oss.c if (ev->type != SNDRV_SEQ_EVENT_OSS) ev 34 sound/drivers/opl3/opl3_oss.c snd_midi_process_event(&opl3_ops, ev, opl3->oss_chset); ev 141 sound/drivers/opl3/opl3_seq.c static int snd_opl3_synth_event_input(struct snd_seq_event * ev, int direct, ev 146 sound/drivers/opl3/opl3_seq.c snd_midi_process_event(&opl3_ops, ev, opl3->chset); ev 111 sound/drivers/opl4/opl4_seq.c static int snd_opl4_seq_event_input(struct snd_seq_event *ev, int direct, ev 116 sound/drivers/opl4/opl4_seq.c snd_midi_process_event(&opl4_ops, ev, opl4->chset); ev 42 sound/pci/hda/hda_bind.c static void hda_codec_unsol_event(struct hdac_device *dev, unsigned int ev) ev 51 sound/pci/hda/hda_bind.c codec->patch_ops.unsol_event(codec, ev); ev 26 sound/synth/emux/emux_oss.c static int snd_emux_event_oss_input(struct snd_seq_event *ev, int direct, ev 287 sound/synth/emux/emux_oss.c snd_emux_event_oss_input(struct snd_seq_event *ev, int direct, void *private_data, ev 300 sound/synth/emux/emux_oss.c if (ev->type != SNDRV_SEQ_EVENT_OSS) ev 301 sound/synth/emux/emux_oss.c return snd_emux_event_input(ev, direct, private_data, atomic, hop); ev 303 sound/synth/emux/emux_oss.c data = ev->data.raw8.d; ev 483 sound/synth/emux/emux_oss.c struct snd_seq_event ev; ev 484 sound/synth/emux/emux_oss.c memset(&ev, 0, sizeof(ev)); ev 485 sound/synth/emux/emux_oss.c ev.type = SNDRV_SEQ_EVENT_CONTROLLER; ev 486 sound/synth/emux/emux_oss.c ev.data.control.channel = ch; ev 487 sound/synth/emux/emux_oss.c ev.data.control.param = param; ev 488 sound/synth/emux/emux_oss.c ev.data.control.value = val; ev 489 sound/synth/emux/emux_oss.c snd_emux_event_input(&ev, 0, port, atomic, hop); ev 239 sound/synth/emux/emux_seq.c snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private_data, ev 245 sound/synth/emux/emux_seq.c if (snd_BUG_ON(!port || !ev)) ev 248 sound/synth/emux/emux_seq.c snd_midi_process_event(&emux_ops, ev, &port->chset); ev 24 sound/synth/emux/emux_voice.h int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private, ev 104 tools/perf/bench/epoll-ctl.c struct epoll_event ev; ev 120 tools/perf/bench/epoll-ctl.c ev.events = EPOLLHUP; /* anything */ ev 121 tools/perf/bench/epoll-ctl.c ev.data.u64 = i; /* any number */ ev 125 tools/perf/bench/epoll-ctl.c epollfdp[i], &ev) < 0) ev 129 tools/perf/bench/epoll-ctl.c if (epoll_ctl(epollfd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) ev 136 tools/perf/bench/epoll-ctl.c struct epoll_event ev; ev 138 tools/perf/bench/epoll-ctl.c ev.events = EPOLLIN; ev 139 tools/perf/bench/epoll-ctl.c ev.data.u64 = fd; ev 143 tools/perf/bench/epoll-ctl.c error = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &ev); ev 146 tools/perf/bench/epoll-ctl.c ev.events = EPOLLOUT; ev 147 tools/perf/bench/epoll-ctl.c error = epoll_ctl(epollfd, EPOLL_CTL_MOD, fd, &ev); ev 209 tools/perf/bench/epoll-ctl.c struct epoll_event ev; ev 216 tools/perf/bench/epoll-ctl.c ev.data.fd = w->fdmap[i]; ev 217 tools/perf/bench/epoll-ctl.c ev.events = EPOLLIN; ev 219 tools/perf/bench/epoll-ctl.c if (epoll_ctl(epollfd, EPOLL_CTL_ADD, w->fdmap[i], &ev) < 0) ev 189 tools/perf/bench/epoll-wait.c struct epoll_event ev; ev 209 tools/perf/bench/epoll-wait.c ret = epoll_wait(efd, &ev, 1, to); ev 214 tools/perf/bench/epoll-wait.c fd = ev.data.fd; ev 221 tools/perf/bench/epoll-wait.c ev.events = EPOLLIN | EPOLLET; ev 222 tools/perf/bench/epoll-wait.c ret = epoll_ctl(efd, EPOLL_CTL_ADD, fd, &ev); ev 227 tools/perf/bench/epoll-wait.c ev.events |= EPOLLIN | EPOLLONESHOT; ev 228 tools/perf/bench/epoll-wait.c ret = epoll_ctl(efd, EPOLL_CTL_MOD, fd, &ev); ev 244 tools/perf/bench/epoll-wait.c struct epoll_event ev; ev 260 tools/perf/bench/epoll-wait.c ev.events = EPOLLHUP; /* anything */ ev 261 tools/perf/bench/epoll-wait.c ev.data.u64 = i; /* any number */ ev 265 tools/perf/bench/epoll-wait.c epollfdp[i], &ev) < 0) ev 269 tools/perf/bench/epoll-wait.c if (epoll_ctl(efd, EPOLL_CTL_ADD, *epollfdp, &ev) < 0) ev 330 tools/perf/bench/epoll-wait.c struct epoll_event ev; ev 336 tools/perf/bench/epoll-wait.c ev.data.fd = w->fdmap[j]; ev 337 tools/perf/bench/epoll-wait.c ev.events = events; ev 340 tools/perf/bench/epoll-wait.c w->fdmap[j], &ev); ev 20 tools/perf/tests/event_update.c struct perf_record_event_update *ev = (struct perf_record_event_update *)event; ev 22 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); ev 23 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); ev 24 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong unit", !strcmp(ev->data, "KRAVA")); ev 33 tools/perf/tests/event_update.c struct perf_record_event_update *ev = (struct perf_record_event_update *)event; ev 36 tools/perf/tests/event_update.c ev_data = (struct perf_record_event_update_scale *)ev->data; ev 38 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); ev 39 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); ev 55 tools/perf/tests/event_update.c struct perf_record_event_update *ev = (struct perf_record_event_update *)event; ev 57 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); ev 58 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__NAME); ev 59 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong name", !strcmp(ev->data, tmp->name)); ev 68 tools/perf/tests/event_update.c struct perf_record_event_update *ev = (struct perf_record_event_update *)event; ev 72 tools/perf/tests/event_update.c ev_data = (struct perf_record_event_update_cpus *) ev->data; ev 76 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong id", ev->id == 123); ev 77 tools/perf/tests/event_update.c TEST_ASSERT_VAL("wrong type", ev->type == PERF_EVENT_UPDATE__CPUS); ev 893 tools/perf/util/auxtrace.c union perf_event *ev; ev 899 tools/perf/util/auxtrace.c ev = zalloc(sizeof(struct perf_record_auxtrace_info) + priv_size); ev 900 tools/perf/util/auxtrace.c if (!ev) ev 903 tools/perf/util/auxtrace.c ev->auxtrace_info.header.type = PERF_RECORD_AUXTRACE_INFO; ev 904 tools/perf/util/auxtrace.c ev->auxtrace_info.header.size = sizeof(struct perf_record_auxtrace_info) + ev 906 tools/perf/util/auxtrace.c err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, ev 911 tools/perf/util/auxtrace.c err = process(tool, ev, NULL, NULL); ev 913 tools/perf/util/auxtrace.c free(ev); ev 1240 tools/perf/util/auxtrace.c union perf_event ev; ev 1313 tools/perf/util/auxtrace.c memset(&ev, 0, sizeof(ev)); ev 1314 tools/perf/util/auxtrace.c ev.auxtrace.header.type = PERF_RECORD_AUXTRACE; ev 1315 tools/perf/util/auxtrace.c ev.auxtrace.header.size = sizeof(ev.auxtrace); ev 1316 tools/perf/util/auxtrace.c ev.auxtrace.size = size + padding; ev 1317 tools/perf/util/auxtrace.c ev.auxtrace.offset = offset; ev 1318 tools/perf/util/auxtrace.c ev.auxtrace.reference = ref; ev 1319 tools/perf/util/auxtrace.c ev.auxtrace.idx = mm->idx; ev 1320 tools/perf/util/auxtrace.c ev.auxtrace.tid = mm->tid; ev 1321 tools/perf/util/auxtrace.c ev.auxtrace.cpu = mm->cpu; ev 1323 tools/perf/util/auxtrace.c if (fn(tool, map, &ev, data1, len1, data2, len2)) ev 3682 tools/perf/util/header.c struct perf_record_event_update *ev = &event->event_update; ev 3688 tools/perf/util/header.c ret = fprintf(fp, "\n... id: %" PRI_lu64 "\n", ev->id); ev 3690 tools/perf/util/header.c switch (ev->type) { ev 3692 tools/perf/util/header.c ev_scale = (struct perf_record_event_update_scale *)ev->data; ev 3696 tools/perf/util/header.c ret += fprintf(fp, "... unit: %s\n", ev->data); ev 3699 tools/perf/util/header.c ret += fprintf(fp, "... name: %s\n", ev->data); ev 3702 tools/perf/util/header.c ev_cpus = (struct perf_record_event_update_cpus *)ev->data; ev 3761 tools/perf/util/header.c struct perf_record_event_update *ev = &event->event_update; ev 3773 tools/perf/util/header.c evsel = perf_evlist__id2evsel(evlist, ev->id); ev 3777 tools/perf/util/header.c switch (ev->type) { ev 3779 tools/perf/util/header.c evsel->unit = strdup(ev->data); ev 3782 tools/perf/util/header.c evsel->name = strdup(ev->data); ev 3785 tools/perf/util/header.c ev_scale = (struct perf_record_event_update_scale *)ev->data; ev 3789 tools/perf/util/header.c ev_cpus = (struct perf_record_event_update_cpus *)ev->data; ev 98 tools/perf/util/metricgroup.c struct evsel *ev; ev 102 tools/perf/util/metricgroup.c evlist__for_each_entry (perf_evlist, ev) { ev 103 tools/perf/util/metricgroup.c if (!strcmp(ev->name, ids[i])) { ev 105 tools/perf/util/metricgroup.c metric_events[i] = ev; ev 118 tools/perf/util/metricgroup.c if (!strcmp(ev->name, ids[i])) ev 119 tools/perf/util/metricgroup.c metric_events[i] = ev; ev 139 tools/perf/util/metricgroup.c evlist__for_each_entry(perf_evlist, ev) { ev 140 tools/perf/util/metricgroup.c if (!leader_found && (ev == metric_events[i])) ev 144 tools/perf/util/metricgroup.c !strcmp(ev->name, metric_events[i]->name)) { ev 145 tools/perf/util/metricgroup.c ev->metric_leader = metric_events[i]; ev 1405 tools/perf/util/synthetic-events.c union perf_event *ev; ev 1420 tools/perf/util/synthetic-events.c ev = zalloc(sz); ev 1421 tools/perf/util/synthetic-events.c if (!ev) ev 1424 tools/perf/util/synthetic-events.c ev->id_index.header.type = PERF_RECORD_ID_INDEX; ev 1425 tools/perf/util/synthetic-events.c ev->id_index.header.size = sz; ev 1426 tools/perf/util/synthetic-events.c ev->id_index.nr = n; ev 1436 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, machine); ev 1443 tools/perf/util/synthetic-events.c e = &ev->id_index.entries[i++]; ev 1449 tools/perf/util/synthetic-events.c free(ev); ev 1460 tools/perf/util/synthetic-events.c ev->id_index.header.size = sz; ev 1461 tools/perf/util/synthetic-events.c ev->id_index.nr = nr; ev 1463 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, machine); ev 1465 tools/perf/util/synthetic-events.c free(ev); ev 1496 tools/perf/util/synthetic-events.c struct perf_record_event_update *ev; ev 1498 tools/perf/util/synthetic-events.c size += sizeof(*ev); ev 1501 tools/perf/util/synthetic-events.c ev = zalloc(size); ev 1502 tools/perf/util/synthetic-events.c if (ev) { ev 1503 tools/perf/util/synthetic-events.c ev->header.type = PERF_RECORD_EVENT_UPDATE; ev 1504 tools/perf/util/synthetic-events.c ev->header.size = (u16)size; ev 1505 tools/perf/util/synthetic-events.c ev->type = type; ev 1506 tools/perf/util/synthetic-events.c ev->id = id; ev 1508 tools/perf/util/synthetic-events.c return ev; ev 1515 tools/perf/util/synthetic-events.c struct perf_record_event_update *ev; ev 1518 tools/perf/util/synthetic-events.c ev = event_update_event__new(size + 1, PERF_EVENT_UPDATE__UNIT, evsel->core.id[0]); ev 1519 tools/perf/util/synthetic-events.c if (ev == NULL) ev 1522 tools/perf/util/synthetic-events.c strlcpy(ev->data, evsel->unit, size + 1); ev 1523 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); ev 1524 tools/perf/util/synthetic-events.c free(ev); ev 1531 tools/perf/util/synthetic-events.c struct perf_record_event_update *ev; ev 1535 tools/perf/util/synthetic-events.c ev = event_update_event__new(sizeof(*ev_data), PERF_EVENT_UPDATE__SCALE, evsel->core.id[0]); ev 1536 tools/perf/util/synthetic-events.c if (ev == NULL) ev 1539 tools/perf/util/synthetic-events.c ev_data = (struct perf_record_event_update_scale *)ev->data; ev 1541 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); ev 1542 tools/perf/util/synthetic-events.c free(ev); ev 1549 tools/perf/util/synthetic-events.c struct perf_record_event_update *ev; ev 1553 tools/perf/util/synthetic-events.c ev = event_update_event__new(len + 1, PERF_EVENT_UPDATE__NAME, evsel->core.id[0]); ev 1554 tools/perf/util/synthetic-events.c if (ev == NULL) ev 1557 tools/perf/util/synthetic-events.c strlcpy(ev->data, evsel->name, len + 1); ev 1558 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); ev 1559 tools/perf/util/synthetic-events.c free(ev); ev 1567 tools/perf/util/synthetic-events.c struct perf_record_event_update *ev; ev 1574 tools/perf/util/synthetic-events.c ev = cpu_map_data__alloc(evsel->core.own_cpus, &size, &type, &max); ev 1575 tools/perf/util/synthetic-events.c if (!ev) ev 1578 tools/perf/util/synthetic-events.c ev->header.type = PERF_RECORD_EVENT_UPDATE; ev 1579 tools/perf/util/synthetic-events.c ev->header.size = (u16)size; ev 1580 tools/perf/util/synthetic-events.c ev->type = PERF_EVENT_UPDATE__CPUS; ev 1581 tools/perf/util/synthetic-events.c ev->id = evsel->core.id[0]; ev 1583 tools/perf/util/synthetic-events.c cpu_map_data__synthesize((struct perf_record_cpu_map_data *)ev->data, ev 1586 tools/perf/util/synthetic-events.c err = process(tool, (union perf_event *)ev, NULL, NULL); ev 1587 tools/perf/util/synthetic-events.c free(ev); ev 1678 tools/perf/util/synthetic-events.c union perf_event *ev; ev 1687 tools/perf/util/synthetic-events.c ev = zalloc(size); ev 1689 tools/perf/util/synthetic-events.c if (ev == NULL) ev 1692 tools/perf/util/synthetic-events.c ev->attr.attr = *attr; ev 1693 tools/perf/util/synthetic-events.c memcpy(ev->attr.id, id, ids * sizeof(u64)); ev 1695 tools/perf/util/synthetic-events.c ev->attr.header.type = PERF_RECORD_HEADER_ATTR; ev 1696 tools/perf/util/synthetic-events.c ev->attr.header.size = (u16)size; ev 1698 tools/perf/util/synthetic-events.c if (ev->attr.header.size == size) ev 1699 tools/perf/util/synthetic-events.c err = process(tool, ev, NULL, NULL); ev 1703 tools/perf/util/synthetic-events.c free(ev); ev 1711 tools/perf/util/synthetic-events.c union perf_event ev; ev 1731 tools/perf/util/synthetic-events.c memset(&ev, 0, sizeof(ev)); ev 1733 tools/perf/util/synthetic-events.c ev.tracing_data.header.type = PERF_RECORD_HEADER_TRACING_DATA; ev 1737 tools/perf/util/synthetic-events.c ev.tracing_data.header.size = sizeof(ev.tracing_data); ev 1738 tools/perf/util/synthetic-events.c ev.tracing_data.size = aligned_size; ev 1740 tools/perf/util/synthetic-events.c process(tool, &ev, NULL, NULL); ev 1758 tools/perf/util/synthetic-events.c union perf_event ev; ev 1764 tools/perf/util/synthetic-events.c memset(&ev, 0, sizeof(ev)); ev 1768 tools/perf/util/synthetic-events.c memcpy(&ev.build_id.build_id, pos->build_id, sizeof(pos->build_id)); ev 1769 tools/perf/util/synthetic-events.c ev.build_id.header.type = PERF_RECORD_HEADER_BUILD_ID; ev 1770 tools/perf/util/synthetic-events.c ev.build_id.header.misc = misc; ev 1771 tools/perf/util/synthetic-events.c ev.build_id.pid = machine->pid; ev 1772 tools/perf/util/synthetic-events.c ev.build_id.header.size = sizeof(ev.build_id) + len; ev 1773 tools/perf/util/synthetic-events.c memcpy(&ev.build_id.filename, pos->long_name, pos->long_name_len); ev 1775 tools/perf/util/synthetic-events.c return process(tool, &ev, NULL, machine); ev 239 tools/testing/selftests/bpf/progs/test_tcp_estats.c struct tcp_estats_basic_event ev; ev 242 tools/testing/selftests/bpf/progs/test_tcp_estats.c memset(&ev, 0, sizeof(ev)); ev 243 tools/testing/selftests/bpf/progs/test_tcp_estats.c tcp_estats_init(sk, &ev.event, &ev.conn_id, type); ev 244 tools/testing/selftests/bpf/progs/test_tcp_estats.c bpf_map_update_elem(&ev_record_map, &key, &ev, BPF_ANY); ev 372 tools/testing/selftests/bpf/test_select_reuseport.c struct epoll_event ev; ev 378 tools/testing/selftests/bpf/test_select_reuseport.c nev = epoll_wait(epfd, &ev, 1, expected >= PASS ? 5 : 0); ev 393 tools/testing/selftests/bpf/test_select_reuseport.c cmd->reuseport_index != ev.data.u32, ev 396 tools/testing/selftests/bpf/test_select_reuseport.c cmd->pass_on_failure, cmd->reuseport_index, ev.data.u32); ev 398 tools/testing/selftests/bpf/test_select_reuseport.c srv_fd = sk_fds[ev.data.u32]; ev 404 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32, new_fd, errno); ev 410 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32, nread, sizeof(rcv_cmd), errno); ev 418 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32, nread, sizeof(rcv_cmd), errno); ev 530 tools/testing/selftests/bpf/test_select_reuseport.c struct epoll_event ev; ev 554 tools/testing/selftests/bpf/test_select_reuseport.c nev = epoll_wait(epfd, &ev, 1, 5); ev 582 tools/testing/selftests/bpf/test_select_reuseport.c struct epoll_event ev; ev 644 tools/testing/selftests/bpf/test_select_reuseport.c ev.events = EPOLLIN; ev 646 tools/testing/selftests/bpf/test_select_reuseport.c ev.data.u32 = i; ev 647 tools/testing/selftests/bpf/test_select_reuseport.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, sk_fds[i], &ev); ev 311 tools/testing/selftests/bpf/test_sock_fields.c struct epoll_event ev; ev 316 tools/testing/selftests/bpf/test_sock_fields.c ev.events = EPOLLIN; ev 362 tools/testing/selftests/bpf/test_sock_fields.c ev.data.fd = listen_fd; ev 363 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, listen_fd, &ev); ev 369 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_wait(epfd, &ev, 1, 1000); ev 370 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err != 1 || ev.data.fd != listen_fd, ev 373 tools/testing/selftests/bpf/test_sock_fields.c err, errno, ev.data.fd, listen_fd); ev 380 tools/testing/selftests/bpf/test_sock_fields.c ev.data.fd = cli_fd; ev 381 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_ctl(epfd, EPOLL_CTL_ADD, cli_fd, &ev); ev 394 tools/testing/selftests/bpf/test_sock_fields.c err = epoll_wait(epfd, &ev, 1, 1000); ev 395 tools/testing/selftests/bpf/test_sock_fields.c CHECK(err != 1 || ev.data.fd != cli_fd, ev 397 tools/testing/selftests/bpf/test_sock_fields.c err, errno, ev.data.fd, cli_fd); ev 34 tools/testing/selftests/kcmp/kcmp_test.c struct epoll_event ev; ev 61 tools/testing/selftests/kcmp/kcmp_test.c memset(&ev, 0xff, sizeof(ev)); ev 62 tools/testing/selftests/kcmp/kcmp_test.c ev.events = EPOLLIN | EPOLLOUT; ev 64 tools/testing/selftests/kcmp/kcmp_test.c if (epoll_ctl(epollfd, EPOLL_CTL_ADD, pipefd[0], &ev)) { ev 75 tools/testing/selftests/kcmp/kcmp_test.c if (epoll_ctl(epollfd, EPOLL_CTL_ADD, fddup, &ev)) { ev 170 tools/testing/selftests/net/reuseport_addr_any.c struct epoll_event ev; ev 174 tools/testing/selftests/net/reuseport_addr_any.c i = epoll_wait(epfd, &ev, 1, 3); ev 179 tools/testing/selftests/net/reuseport_addr_any.c fd = accept(ev.data.fd, NULL, NULL); ev 185 tools/testing/selftests/net/reuseport_addr_any.c i = recv(ev.data.fd, buf, sizeof(buf), 0); ev 191 tools/testing/selftests/net/reuseport_addr_any.c return ev.data.fd; ev 196 tools/testing/selftests/net/reuseport_addr_any.c struct epoll_event ev; ev 203 tools/testing/selftests/net/reuseport_addr_any.c ev.events = EPOLLIN; ev 205 tools/testing/selftests/net/reuseport_addr_any.c ev.data.fd = rcv_fds[i]; ev 206 tools/testing/selftests/net/reuseport_addr_any.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) ev 218 tools/testing/selftests/net/reuseport_bpf.c struct epoll_event ev; ev 226 tools/testing/selftests/net/reuseport_bpf.c ev.events = EPOLLIN; ev 227 tools/testing/selftests/net/reuseport_bpf.c ev.data.fd = fd[i]; ev 228 tools/testing/selftests/net/reuseport_bpf.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) ev 242 tools/testing/selftests/net/reuseport_bpf.c i = epoll_wait(epfd, &ev, 1, -1); ev 247 tools/testing/selftests/net/reuseport_bpf.c conn = accept(ev.data.fd, NULL, NULL); ev 253 tools/testing/selftests/net/reuseport_bpf.c i = recvmsg(ev.data.fd, &msg, 0); ev 262 tools/testing/selftests/net/reuseport_bpf.c if (ev.data.fd == fd[i]) ev 153 tools/testing/selftests/net/reuseport_bpf_cpu.c struct epoll_event ev; ev 157 tools/testing/selftests/net/reuseport_bpf_cpu.c i = epoll_wait(epfd, &ev, 1, -1); ev 162 tools/testing/selftests/net/reuseport_bpf_cpu.c fd = accept(ev.data.fd, NULL, NULL); ev 168 tools/testing/selftests/net/reuseport_bpf_cpu.c i = recv(ev.data.fd, buf, sizeof(buf), 0); ev 175 tools/testing/selftests/net/reuseport_bpf_cpu.c if (ev.data.fd == rcv_fd[i]) ev 186 tools/testing/selftests/net/reuseport_bpf_cpu.c struct epoll_event ev; ev 196 tools/testing/selftests/net/reuseport_bpf_cpu.c ev.events = EPOLLIN; ev 197 tools/testing/selftests/net/reuseport_bpf_cpu.c ev.data.fd = rcv_fd[cpu]; ev 198 tools/testing/selftests/net/reuseport_bpf_cpu.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) ev 163 tools/testing/selftests/net/reuseport_bpf_numa.c struct epoll_event ev; ev 167 tools/testing/selftests/net/reuseport_bpf_numa.c i = epoll_wait(epfd, &ev, 1, -1); ev 172 tools/testing/selftests/net/reuseport_bpf_numa.c fd = accept(ev.data.fd, NULL, NULL); ev 178 tools/testing/selftests/net/reuseport_bpf_numa.c i = recv(ev.data.fd, buf, sizeof(buf), 0); ev 185 tools/testing/selftests/net/reuseport_bpf_numa.c if (ev.data.fd == rcv_fd[i]) ev 196 tools/testing/selftests/net/reuseport_bpf_numa.c struct epoll_event ev; ev 206 tools/testing/selftests/net/reuseport_bpf_numa.c ev.events = EPOLLIN; ev 207 tools/testing/selftests/net/reuseport_bpf_numa.c ev.data.fd = rcv_fd[node]; ev 208 tools/testing/selftests/net/reuseport_bpf_numa.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[node], &ev)) ev 104 tools/testing/selftests/net/reuseport_dualstack.c struct epoll_event ev; ev 108 tools/testing/selftests/net/reuseport_dualstack.c i = epoll_wait(epfd, &ev, 1, -1); ev 113 tools/testing/selftests/net/reuseport_dualstack.c fd = accept(ev.data.fd, NULL, NULL); ev 119 tools/testing/selftests/net/reuseport_dualstack.c i = recv(ev.data.fd, buf, sizeof(buf), 0); ev 125 tools/testing/selftests/net/reuseport_dualstack.c return ev.data.fd; ev 130 tools/testing/selftests/net/reuseport_dualstack.c struct epoll_event ev; ev 139 tools/testing/selftests/net/reuseport_dualstack.c ev.events = EPOLLIN; ev 141 tools/testing/selftests/net/reuseport_dualstack.c ev.data.fd = rcv_fds[i]; ev 142 tools/testing/selftests/net/reuseport_dualstack.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) ev 244 tools/testing/selftests/net/tcp_fastopen_backup_key.c struct epoll_event ev; ev 256 tools/testing/selftests/net/tcp_fastopen_backup_key.c ev.events = EPOLLIN; ev 258 tools/testing/selftests/net/tcp_fastopen_backup_key.c ev.data.fd = rcv_fds[i]; ev 259 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) ev 270 tools/testing/selftests/net/tcp_fastopen_backup_key.c i = epoll_wait(epfd, &ev, 1, -1); ev 273 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (is_listen_fd(ev.data.fd)) { ev 274 tools/testing/selftests/net/tcp_fastopen_backup_key.c fd = accept(ev.data.fd, NULL, NULL); ev 277 tools/testing/selftests/net/tcp_fastopen_backup_key.c ev.data.fd = fd; ev 278 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd, &ev)) ev 282 tools/testing/selftests/net/tcp_fastopen_backup_key.c i = recv(ev.data.fd, buf, sizeof(buf), 0); ev 285 tools/testing/selftests/net/tcp_fastopen_backup_key.c if (epoll_ctl(epfd, EPOLL_CTL_DEL, ev.data.fd, NULL)) ev 287 tools/testing/selftests/net/tcp_fastopen_backup_key.c close(ev.data.fd);