/openbmc/linux/drivers/media/usb/dvb-usb/ |
H A D | technisat-usb2.c | 611 struct ir_raw_event ev; in technisat_usb2_get_ir() local 655 ev.pulse = 0; in technisat_usb2_get_ir() 658 ev.pulse = 0; in technisat_usb2_get_ir() 659 ev.duration = 889 * 2; in technisat_usb2_get_ir() 660 ir_raw_event_store(d->rc_dev, &ev); in technisat_usb2_get_ir() 664 ev.pulse = !ev.pulse; in technisat_usb2_get_ir() 665 ev.duration = (buf[i] * FIRMWARE_CLOCK_DIVISOR * in technisat_usb2_get_ir() 667 ir_raw_event_store(d->rc_dev, &ev); in technisat_usb2_get_ir()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_xenstore.c | 1322 if (ev) { in free_watch_event() 1323 g_free(ev->path); in free_watch_event() 1324 g_free(ev->token); in free_watch_event() 1325 g_free(ev); in free_watch_event() 1334 ev->path = g_strdup(path); in queue_watch() 1335 ev->token = g_strdup(token); in queue_watch() 1374 deliver_watch(s, ev->path, ev->token); in process_watch_events() 1377 free_watch_event(ev); in process_watch_events() 1634 w->fn(w->opaque, ev->path); in be_watch_bh() 1637 free_watch_event(ev); in be_watch_bh() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | thread.h | 183 void qemu_event_init(QemuEvent *ev, bool init); 184 void qemu_event_set(QemuEvent *ev); 185 void qemu_event_reset(QemuEvent *ev); 186 void qemu_event_wait(QemuEvent *ev); 187 void qemu_event_destroy(QemuEvent *ev);
|
/openbmc/linux/tools/testing/selftests/connector/ |
H A D | proc_filter.c | 216 struct epoll_event ev[MAX_EVENTS]; in handle_events() local 219 event_count = epoll_wait(epoll_fd, ev, MAX_EVENTS, -1); in handle_events() 227 if (!(ev[i].events & EPOLLIN)) in handle_events() 229 if (recv(ev[i].data.fd, buff, sizeof(buff), 0) == -1) { in handle_events() 234 err = handle_packet(buff, ev[i].data.fd, pev); in handle_events()
|
/openbmc/linux/net/wireless/ |
H A D | lib80211_crypt_tkip.c | 568 struct iw_michaelmicfailure ev; in lib80211_michael_mic_failure() local 571 memset(&ev, 0, sizeof(ev)); in lib80211_michael_mic_failure() 572 ev.flags = keyidx & IW_MICFAILURE_KEY_ID; in lib80211_michael_mic_failure() 574 ev.flags |= IW_MICFAILURE_GROUP; in lib80211_michael_mic_failure() 576 ev.flags |= IW_MICFAILURE_PAIRWISE; in lib80211_michael_mic_failure() 577 ev.src_addr.sa_family = ARPHRD_ETHER; in lib80211_michael_mic_failure() 578 memcpy(ev.src_addr.sa_data, hdr->addr2, ETH_ALEN); in lib80211_michael_mic_failure() 580 wrqu.data.length = sizeof(ev); in lib80211_michael_mic_failure() 581 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); in lib80211_michael_mic_failure()
|
H A D | ibss.c | 64 struct cfg80211_event *ev; in cfg80211_ibss_joined() local 72 ev = kzalloc(sizeof(*ev), gfp); in cfg80211_ibss_joined() 73 if (!ev) in cfg80211_ibss_joined() 76 ev->type = EVENT_IBSS_JOINED; in cfg80211_ibss_joined() 77 memcpy(ev->ij.bssid, bssid, ETH_ALEN); in cfg80211_ibss_joined() 78 ev->ij.channel = channel; in cfg80211_ibss_joined() 81 list_add_tail(&ev->list, &wdev->event_list); in cfg80211_ibss_joined()
|
/openbmc/linux/drivers/staging/rtl8192e/ |
H A D | rtllib_crypt_tkip.c | 532 struct iw_michaelmicfailure ev; in rtllib_michael_mic_failure() local 535 memset(&ev, 0, sizeof(ev)); in rtllib_michael_mic_failure() 536 ev.flags = keyidx & IW_MICFAILURE_KEY_ID; in rtllib_michael_mic_failure() 538 ev.flags |= IW_MICFAILURE_GROUP; in rtllib_michael_mic_failure() 540 ev.flags |= IW_MICFAILURE_PAIRWISE; in rtllib_michael_mic_failure() 541 ev.src_addr.sa_family = ARPHRD_ETHER; in rtllib_michael_mic_failure() 542 ether_addr_copy(ev.src_addr.sa_data, hdr->addr2); in rtllib_michael_mic_failure() 544 wrqu.data.length = sizeof(ev); in rtllib_michael_mic_failure() 545 wireless_send_event(dev, IWEVMICHAELMICFAILURE, &wrqu, (char *)&ev); in rtllib_michael_mic_failure()
|
/openbmc/linux/sound/core/seq/oss/ |
H A D | seq_oss_readq.h | 35 struct snd_seq_event *ev); 36 int snd_seq_oss_readq_put_event(struct seq_oss_readq *readq, union evrec *ev);
|
H A D | seq_oss_ioctl.c | 46 unsigned char ev[8]; in snd_seq_oss_oob_user() local 49 if (copy_from_user(ev, arg, 8)) in snd_seq_oss_oob_user() 54 if (! snd_seq_oss_process_event(dp, (union evrec *)ev, &tmpev)) { in snd_seq_oss_oob_user()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_kprobe.c | 66 static bool is_trace_kprobe(struct dyn_event *ev) in is_trace_kprobe() argument 68 return ev->ops == &trace_kprobe_ops; in is_trace_kprobe() 135 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_is_busy() 165 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_match() 1168 struct trace_kprobe *tk = to_trace_kprobe(ev); in trace_kprobe_release() 1204 struct dyn_event *ev = v; in probes_seq_show() local 1206 if (!is_trace_kprobe(ev)) in probes_seq_show() 1209 return trace_kprobe_show(m, ev); in probes_seq_show() 1255 struct dyn_event *ev = v; in probes_profile_seq_show() local 1259 if (!is_trace_kprobe(ev)) in probes_profile_seq_show() [all …]
|
H A D | trace_eprobe.c | 63 static struct trace_eprobe *to_trace_eprobe(struct dyn_event *ev) in to_trace_eprobe() argument 65 return container_of(ev, struct trace_eprobe, devent); in to_trace_eprobe() 73 static int eprobe_dyn_event_show(struct seq_file *m, struct dyn_event *ev) in eprobe_dyn_event_show() argument 75 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_show() 110 static int eprobe_dyn_event_release(struct dyn_event *ev) in eprobe_dyn_event_release() argument 112 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_release() 120 static bool eprobe_dyn_event_is_busy(struct dyn_event *ev) in eprobe_dyn_event_is_busy() argument 122 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_is_busy() 128 int argc, const char **argv, struct dyn_event *ev) in eprobe_dyn_event_match() argument 130 struct trace_eprobe *ep = to_trace_eprobe(ev); in eprobe_dyn_event_match()
|
/openbmc/linux/drivers/net/ethernet/toshiba/ |
H A D | ps3_gelic_wireless.c | 564 char *ev, in gelic_wl_translate_scan() argument 581 ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_ADDR_LEN); in gelic_wl_translate_scan() 587 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan() 594 ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_FREQ_LEN); in gelic_wl_translate_scan() 623 ev = tmp; in gelic_wl_translate_scan() 632 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan() 642 ev = iwe_stream_add_event(info, ev, stop, &iwe, IW_EV_UINT_LEN); in gelic_wl_translate_scan() 662 ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); in gelic_wl_translate_scan() 677 ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); in gelic_wl_translate_scan() 685 ev = iwe_stream_add_point(info, ev, stop, &iwe, buf); in gelic_wl_translate_scan() [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.h | 27 void efx_siena_ptp_event(struct efx_nic *efx, efx_qword_t *ev); 30 void efx_siena_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
|
/openbmc/linux/drivers/dma/ |
H A D | pl330.c | 373 int ev; member 756 ev &= 0x1f; in _emit_SEV() 757 ev <<= 3; in _emit_SEV() 758 buf[1] = ev; in _emit_SEV() 1645 int id, ev, ret = 0; in pl330_update() local 1684 for (ev = 0; ev < pl330->pcfg.num_events; ev++) { in pl330_update() 1745 int ev; in _alloc_event() local 1747 for (ev = 0; ev < pl330->pcfg.num_events; ev++) in _alloc_event() 1750 return ev; in _alloc_event() 1779 if (thrd->ev >= 0) { in pl330_request_channel() [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_ruc.c | 46 struct ib_event ev; in qib_migrate_qp() local 53 ev.device = qp->ibqp.device; in qib_migrate_qp() 54 ev.element.qp = &qp->ibqp; in qib_migrate_qp() 55 ev.event = IB_EVENT_PATH_MIG; in qib_migrate_qp() 56 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context); in qib_migrate_qp()
|
/openbmc/qemu/hw/acpi/ |
H A D | generic_event_device.c | 277 static void acpi_ged_send_event(AcpiDeviceIf *adev, AcpiEventStatusBits ev) in acpi_ged_send_event() argument 283 if (ev & ACPI_MEMORY_HOTPLUG_STATUS) { in acpi_ged_send_event() 285 } else if (ev & ACPI_POWER_DOWN_STATUS) { in acpi_ged_send_event() 287 } else if (ev & ACPI_NVDIMM_HOTPLUG_STATUS) { in acpi_ged_send_event() 291 warn_report("GED: Unsupported event %d. No irq injected", ev); in acpi_ged_send_event()
|
/openbmc/qemu/plugins/ |
H A D | loader.c | 328 enum qemu_plugin_event ev; in plugin_reset_destroy__locked() local 337 for (ev = 0; ev < QEMU_PLUGIN_EV_MAX; ev++) { in plugin_reset_destroy__locked() 338 plugin_unregister_cb__locked(ctx, ev); in plugin_reset_destroy__locked()
|
/openbmc/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_context.c | 248 struct vmci_event_ctx ev; in ctx_fire_notification() local 250 ev.msg.hdr.dst = vmci_handle_arr_get_entry(subscriber_array, i); in ctx_fire_notification() 251 ev.msg.hdr.src = vmci_make_handle(VMCI_HYPERVISOR_CONTEXT_ID, in ctx_fire_notification() 253 ev.msg.hdr.payload_size = sizeof(ev) - sizeof(ev.msg.hdr); in ctx_fire_notification() 254 ev.msg.event_data.event = VMCI_EVENT_CTX_REMOVED; in ctx_fire_notification() 255 ev.payload.context_id = context_id; in ctx_fire_notification() 258 &ev.msg.hdr, false); in ctx_fire_notification() 261 ev.msg.event_data.event, in ctx_fire_notification() 262 ev.msg.hdr.dst.context); in ctx_fire_notification()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.h | 29 void efx_ptp_event(struct efx_nic *efx, efx_qword_t *ev); 32 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev);
|
/openbmc/linux/include/media/ |
H A D | v4l2-event.h | 106 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev); 121 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev);
|
/openbmc/linux/net/sctp/ |
H A D | sm_statefuns.c | 265 if (ev) in sctp_sf_do_4_C() 830 if (!ev) in sctp_sf_do_5_1D_ce() 978 if (!ev) in sctp_sf_do_5_1E_ca() 990 if (!ev) in sctp_sf_do_5_1E_ca() 1000 if (!ev) in sctp_sf_do_5_1E_ca() 1940 if (!ev) in sctp_sf_do_dupcook_a() 2127 if (!ev) in sctp_sf_do_dupcook_d() 2158 if (ev) in sctp_sf_do_dupcook_d() 2175 if (ev) in sctp_sf_do_dupcook_d() 3621 if (!ev) in sctp_sf_do_9_2_final() [all …]
|
H A D | sm_sideeffect.c | 970 struct sctp_ulpevent *ev; in sctp_cmd_process_operr() local 977 if (!ev) in sctp_cmd_process_operr() 980 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_cmd_process_operr() 1046 struct sctp_ulpevent *ev; in sctp_cmd_assoc_change() local 1052 if (ev) in sctp_cmd_assoc_change() 1053 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_cmd_assoc_change() 1059 struct sctp_ulpevent *ev; in sctp_cmd_peer_no_auth() local 1062 if (ev) in sctp_cmd_peer_no_auth() 1063 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); in sctp_cmd_peer_no_auth() 1070 struct sctp_ulpevent *ev; in sctp_cmd_adaptation_ind() local [all …]
|
/openbmc/linux/drivers/counter/ |
H A D | counter-chrdev.c | 638 struct counter_event ev; in counter_push_event() local 644 ev.timestamp = ktime_get_ns(); in counter_push_event() 645 ev.watch.event = event; in counter_push_event() 646 ev.watch.channel = channel; in counter_push_event() 663 ev.watch.component = comp_node->component; in counter_push_event() 664 ev.status = -counter_get_data(counter, comp_node, &ev.value); in counter_push_event() 666 copied += kfifo_in_spinlocked_noirqsave(&counter->events, &ev, in counter_push_event()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | reuseport_bpf.c | 216 struct epoll_event ev; in test_recv_order() local 224 ev.events = EPOLLIN; in test_recv_order() 225 ev.data.fd = fd[i]; in test_recv_order() 226 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order() 240 i = epoll_wait(epfd, &ev, 1, -1); in test_recv_order() 245 conn = accept(ev.data.fd, NULL, NULL); in test_recv_order() 251 i = recvmsg(ev.data.fd, &msg, 0); in test_recv_order() 260 if (ev.data.fd == fd[i]) in test_recv_order()
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | qp.c | 712 struct ib_event ev; in rvt_qp_mr_clean() local 715 ev.element.qp = &qp->ibqp; in rvt_qp_mr_clean() 1408 struct ib_event ev; in rvt_modify_qp() local 1648 ev.element.qp = &qp->ibqp; in rvt_modify_qp() 1654 ev.element.qp = &qp->ibqp; in rvt_modify_qp() 2427 struct ib_event ev; in rvt_get_rwqe() local 2454 struct ib_event ev; in rvt_comm_est() local 2457 ev.element.qp = &qp->ibqp; in rvt_comm_est() 2474 struct ib_event ev; in rvt_rc_error() local 2477 ev.element.qp = &qp->ibqp; in rvt_rc_error() [all …]
|