/drivers/scsi/ |
H A D | scsi_tgt_if.c | 77 struct tgt_event *ev; local 84 ev = tgt_head_event(ring, ring->tr_idx); 85 if (!ev->hdr.status) 95 memcpy(ev, p, sizeof(*ev)); 96 ev->hdr.type = type; 98 ev->hdr.status = 1; 100 flush_dcache_page(virt_to_page(ev)); 111 struct tgt_event ev; local 114 memset(&ev, 137 struct tgt_event ev; local 160 struct tgt_event ev; local 184 struct tgt_event ev; local 204 event_recv_msg(struct tgt_event *ev) argument 242 struct tgt_event *ev; local 263 struct tgt_event *ev; local [all...] |
H A D | scsi_transport_iscsi.c | 1344 struct iscsi_uevent *ev; local 1347 int len = NLMSG_SPACE(sizeof(*ev) + sizeof(struct iscsi_hdr) + 1363 ev = NLMSG_DATA(nlh); 1364 memset(ev, 0, sizeof(*ev)); 1365 ev->transport_handle = iscsi_handle(conn->transport); 1366 ev->type = ISCSI_KEVENT_RECV_PDU; 1367 ev->r.recv_req.cid = conn->cid; 1368 ev->r.recv_req.sid = iscsi_conn_get_sid(conn); 1369 pdu = (char*)ev 1383 struct iscsi_uevent *ev; local 1416 struct iscsi_uevent *ev; local 1451 struct iscsi_uevent *ev; local 1486 struct iscsi_uevent *ev; local 1517 struct iscsi_uevent *ev; local 1565 struct iscsi_uevent *ev = NLMSG_DATA(nlh); local 1637 struct iscsi_uevent *ev; local 1698 iscsi_if_create_session(struct iscsi_internal *priv, struct iscsi_endpoint *ep, struct iscsi_uevent *ev, pid_t pid, uint32_t initial_cmdsn, uint16_t cmds_max, uint16_t queue_depth) argument 1722 iscsi_if_create_conn(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1749 iscsi_if_destroy_conn(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1765 iscsi_set_param(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1790 iscsi_if_ep_connect(struct iscsi_transport *transport, struct iscsi_uevent *ev, int msg_type) argument 1851 iscsi_if_transport_ep(struct iscsi_transport *transport, struct iscsi_uevent *ev, int msg_type) argument 1882 iscsi_tgt_dscvr(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1908 iscsi_set_host_param(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1932 iscsi_set_path(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 1956 iscsi_set_iface_params(struct iscsi_transport *transport, struct iscsi_uevent *ev, uint32_t len) argument 1979 iscsi_send_ping(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 2008 struct iscsi_uevent *ev = NLMSG_DATA(nlh); local 2074 iscsi_delete_chap(struct iscsi_transport *transport, struct iscsi_uevent *ev) argument 2099 struct iscsi_uevent *ev = NLMSG_DATA(nlh); local 2270 struct iscsi_uevent *ev; local [all...] |
/drivers/connector/ |
H A D | cn_proc.c | 57 struct proc_event *ev; local 66 ev = (struct proc_event*)msg->data; 67 get_seq(&msg->seq, &ev->cpu); 69 put_unaligned(timespec_to_ns(&ts), (__u64 *)&ev->timestamp_ns); 70 ev->what = PROC_EVENT_FORK; 73 ev->event_data.fork.parent_pid = parent->pid; 74 ev->event_data.fork.parent_tgid = parent->tgid; 76 ev->event_data.fork.child_pid = task->pid; 77 ev->event_data.fork.child_tgid = task->tgid; 81 msg->len = sizeof(*ev); 89 struct proc_event *ev; local 114 struct proc_event *ev; local 153 struct proc_event *ev; local 178 struct proc_event *ev; local 211 struct proc_event *ev; local 237 struct proc_event *ev; local 272 struct proc_event *ev; local [all...] |
/drivers/media/rc/ |
H A D | ir-jvc-decoder.c | 46 static int ir_jvc_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 53 if (!is_timing_event(ev)) { 54 if (ev.reset) 59 if (!geq_margin(ev.duration, JVC_UNIT, JVC_UNIT / 2)) 63 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 69 if (!ev.pulse) 72 if (!eq_margin(ev.duration, JVC_HEADER_PULSE, JVC_UNIT / 2)) 82 if (ev.pulse) 85 if (!eq_margin(ev [all...] |
H A D | ir-rc5-sz-decoder.c | 41 * @ev: the struct ir_raw_event descriptor of the pulse/space 45 static int ir_rc5_sz_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 54 if (!is_timing_event(ev)) { 55 if (ev.reset) 60 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 65 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 67 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 73 if (!ev.pulse) 79 decrease_duration(&ev, RC5_BIT_STAR [all...] |
H A D | ir-nec-decoder.c | 48 static int ir_nec_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 58 if (!is_timing_event(ev)) { 59 if (ev.reset) 65 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 70 if (!ev.pulse) 73 if (eq_margin(ev.duration, NEC_HEADER_PULSE, NEC_UNIT / 2)) { 76 } else if (eq_margin(ev.duration, NECX_HEADER_PULSE, NEC_UNIT / 2)) 86 if (ev.pulse) 89 if (eq_margin(ev [all...] |
H A D | ir-sanyo-decoder.c | 55 static int ir_sanyo_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 64 if (!is_timing_event(ev)) { 65 if (ev.reset) { 73 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 78 if (!ev.pulse) 81 if (eq_margin(ev.duration, SANYO_HEADER_PULSE, SANYO_UNIT / 2)) { 90 if (ev.pulse) 93 if (eq_margin(ev.duration, SANYO_HEADER_SPACE, SANYO_UNIT / 2)) { 101 if (!ev [all...] |
H A D | ir-sony-decoder.c | 38 * @ev: the struct ir_raw_event descriptor of the pulse/space 42 static int ir_sony_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 51 if (!is_timing_event(ev)) { 52 if (ev.reset) 57 if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2)) 61 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 66 if (!ev.pulse) 69 if (!eq_margin(ev.duration, SONY_HEADER_PULSE, SONY_UNIT / 2)) 77 if (ev [all...] |
H A D | ir-rc5-decoder.c | 45 * @ev: the struct ir_raw_event descriptor of the pulse/space 49 static int ir_rc5_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 58 if (!is_timing_event(ev)) { 59 if (ev.reset) 64 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 69 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 71 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 77 if (!ev.pulse) 84 decrease_duration(&ev, RC5_BIT_STAR [all...] |
H A D | ir-rc6-decoder.c | 82 * @ev: the struct ir_raw_event descriptor of the pulse/space 86 static int ir_rc6_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 95 if (!is_timing_event(ev)) { 96 if (ev.reset) 101 if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2)) 106 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 108 if (!geq_margin(ev.duration, RC6_UNIT, RC6_UNIT / 2)) 114 if (!ev.pulse) 120 if (!eq_margin(ev [all...] |
H A D | ir-raw.c | 41 struct ir_raw_event ev; local 49 retval = kfifo_out(&raw->kfifo, &ev, sizeof(ev)); 65 BUG_ON(retval != sizeof(ev)); 69 handler->decode(raw->dev, ev); 70 raw->prev_ev = ev; 80 * @ev: the struct ir_raw_event descriptor of the pulse/space 87 int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev) argument 93 TO_US(ev->duration), TO_STR(ev 164 ir_raw_event_store_with_filter(struct rc_dev *dev, struct ir_raw_event *ev) argument [all...] |
H A D | ir-mce_kbd-decoder.c | 209 * @ev: the struct ir_raw_event descriptor of the pulse/space 213 static int ir_mce_kbd_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 222 if (!is_timing_event(ev)) { 223 if (ev.reset) 228 if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) 233 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 235 if (!geq_margin(ev.duration, MCIR2_UNIT, MCIR2_UNIT / 2)) 241 if (!ev.pulse) 247 if (!eq_margin(ev [all...] |
H A D | rc-core-priv.h | 132 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) argument 134 if (duration > ev->duration) 135 ev->duration = 0; 137 ev->duration -= duration; 141 static inline bool is_timing_event(struct ir_raw_event ev) argument 143 return !ev.carrier_report && !ev.reset;
|
H A D | ir-lirc-codec.c | 33 static int ir_lirc_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 45 if (ev.reset) 49 if (ev.carrier_report) { 50 sample = LIRC_FREQUENCY(ev.carrier); 54 } else if (ev.timeout) { 61 lirc->gap_duration = ev.duration; 66 sample = LIRC_TIMEOUT(ev.duration / 1000); 89 sample = ev.pulse ? LIRC_PULSE(ev.duration / 1000) : 90 LIRC_SPACE(ev [all...] |
/drivers/s390/net/ |
H A D | smsgiucv_app.c | 60 static void smsg_app_event_free(struct smsg_app_event *ev) argument 62 kfree(ev->buf); 63 kfree(ev); 69 struct smsg_app_event *ev; local 71 ev = kzalloc(sizeof(*ev), GFP_ATOMIC); 72 if (!ev) 75 ev->buf = kzalloc(ENV_SENDER_LEN + ENV_PREFIX_LEN + 77 if (!ev->buf) { 78 kfree(ev); [all...] |
/drivers/net/fddi/skfp/ |
H A D | queue.c | 75 struct event_queue *ev ; /* pointer into queue */ local 78 ev = smc->q.ev_get ; 79 PRINTF("dispatch get %x put %x\n",ev,smc->q.ev_put) ; 80 while (ev != smc->q.ev_put) { 81 PRINTF("dispatch class %d event %d\n",ev->class,ev->event) ; 82 switch(class = ev->class) { 84 ecm(smc,(int)ev->event) ; 87 cfm(smc,(int)ev->event) ; 90 rmt(smc,(int)ev [all...] |
/drivers/hid/ |
H A D | uhid.c | 55 static void uhid_queue(struct uhid_device *uhid, struct uhid_event *ev) argument 62 uhid->outq[uhid->head] = ev; 67 kfree(ev); 74 struct uhid_event *ev; local 76 ev = kzalloc(sizeof(*ev), GFP_KERNEL); 77 if (!ev) 80 ev->type = event; 83 uhid_queue(uhid, ev); 124 struct uhid_event *ev; local 154 struct uhid_event *ev; local 238 struct uhid_event *ev; local 279 uhid_dev_create(struct uhid_device *uhid, const struct uhid_event *ev) argument 363 uhid_dev_input(struct uhid_device *uhid, struct uhid_event *ev) argument 374 uhid_dev_feature_answer(struct uhid_device *uhid, struct uhid_event *ev) argument [all...] |
/drivers/infiniband/hw/cxgb4/ |
H A D | Makefile | 5 iw_cxgb4-y := device.o cm.o provider.o mem.o cq.o qp.o resource.o ev.o
|
/drivers/staging/rtl8712/ |
H A D | recv_linux.c | 90 struct iw_michaelmicfailure ev; local 93 memset(&ev, 0x00, sizeof(ev)); 95 ev.flags |= IW_MICFAILURE_GROUP; 97 ev.flags |= IW_MICFAILURE_PAIRWISE; 98 ev.src_addr.sa_family = ARPHRD_ETHER; 99 memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN); 101 wrqu.data.length = sizeof(ev); 103 (char *)&ev);
|
/drivers/scsi/libsas/ |
H A D | sas_phy.c | 35 struct asd_sas_event *ev = to_asd_sas_event(work); local 36 struct asd_sas_phy *phy = ev->phy; 45 struct asd_sas_event *ev = to_asd_sas_event(work); local 46 struct asd_sas_phy *phy = ev->phy; 54 struct asd_sas_event *ev = to_asd_sas_event(work); local 55 struct asd_sas_phy *phy = ev->phy; 85 struct asd_sas_event *ev = to_asd_sas_event(work); local 86 struct asd_sas_phy *phy = ev->phy;
|
/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 90 enum allocation_event ev; local 93 r = sm_ll_insert(&smd->ll, b, count, &ev); 95 switch (ev) { 128 enum allocation_event ev; local 131 r = sm_ll_inc(&smd->ll, b, &ev); 132 if (!r && (ev == SM_ALLOC)) 146 enum allocation_event ev; local 149 r = sm_ll_dec(&smd->ll, b, &ev); 150 if (!r && (ev == SM_FREE)) { 169 enum allocation_event ev; local [all...] |
/drivers/net/wireless/ath/ath6kl/ |
H A D | wmi.c | 446 struct wmi_remain_on_chnl_event *ev; local 453 if (len < sizeof(*ev)) 456 ev = (struct wmi_remain_on_chnl_event *) datap; 457 freq = le32_to_cpu(ev->freq); 458 dur = le32_to_cpu(ev->duration); 478 struct wmi_cancel_remain_on_chnl_event *ev; local 485 if (len < sizeof(*ev)) 488 ev = (struct wmi_cancel_remain_on_chnl_event *) datap; 489 freq = le32_to_cpu(ev->freq); 490 dur = le32_to_cpu(ev 514 struct wmi_tx_status_event *ev; local 540 struct wmi_p2p_rx_probe_req_event *ev; local 568 struct wmi_p2p_capabilities_event *ev; local 584 struct wmi_rx_action_event *ev; local 608 struct wmi_p2p_info_event *ev; local 683 struct wmi_ready_event_2 *ev = (struct wmi_ready_event_2 *) datap; local 768 struct wmi_connect_event *ev; local 900 struct ath6kl_wmi_regdomain *ev; local 933 struct wmi_disconnect_event *ev; local 957 struct wmi_peer_node_event *ev; local 977 struct wmi_tkip_micerr_event *ev; local 1108 struct wmi_pstream_timeout_event *ev; local 1211 struct wmi_scan_complete_event *ev; local 1224 struct wmi_neighbor_report_event *ev; local 1260 struct wmi_cmd_error_event *ev; local 1619 struct wmi_aplist_event *ev = (struct wmi_aplist_event *) datap; local 3095 struct wmi_pspoll_event *ev; local [all...] |
/drivers/media/dvb/siano/ |
H A D | smsir.c | 43 DEFINE_IR_RAW_EVENT(ev); 45 ev.duration = abs(samples[i]) * 1000; /* Convert to ns */ 46 ev.pulse = (samples[i] > 0) ? false : true; 48 ir_raw_event_store(coredev->ir.dev, &ev);
|
/drivers/media/video/ |
H A D | v4l2-event.c | 111 static void __v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev, argument 119 sev = v4l2_event_subscribed(fh, ev->type, ev->id); 136 sev->replace(&kev->event, ev); 148 kev->event.type = ev->type; 150 kev->event.u = ev->u; 151 kev->event.id = ev->id; 162 void v4l2_event_queue(struct video_device *vdev, const struct v4l2_event *ev) argument 173 __v4l2_event_queue_fh(fh, ev, ×tamp); 179 void v4l2_event_queue_fh(struct v4l2_fh *fh, const struct v4l2_event *ev) argument [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_intr.c | 72 static void signal_ib_event(struct qib_pportdata *ppd, enum ib_event_type ev) argument 79 event.event = ev; 89 enum ib_event_type ev = 0; local 123 ev = IB_EVENT_PORT_ERR; 153 ev = IB_EVENT_PORT_ACTIVE; 158 ev = IB_EVENT_PORT_ERR; 169 if (ev) 170 signal_ib_event(ppd, ev);
|