/drivers/usb/common/ |
H A D | led.c | 25 void usb_led_activity(enum usb_led_event ev) argument 29 switch (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; 99 struct asd_sas_event *ev = to_asd_sas_event(work); local 100 struct asd_sas_phy *phy = ev [all...] |
H A D | sas_event.c | 108 const int ev = DISCE_REVALIDATE_DOMAIN; local 111 if (!test_and_clear_bit(ev, &d->pending)) 114 sas_queue_event(ev, &d->pending, &d->disc_work[ev].work, ha);
|
H A D | sas_port.c | 261 struct asd_sas_event *ev = to_asd_sas_event(work); local 262 struct asd_sas_phy *phy = ev->phy; 271 struct asd_sas_event *ev = to_asd_sas_event(work); local 272 struct asd_sas_phy *phy = ev->phy; 288 struct asd_sas_event *ev = to_asd_sas_event(work); local 289 struct asd_sas_phy *phy = ev->phy; 298 struct asd_sas_event *ev = to_asd_sas_event(work); local 299 struct asd_sas_phy *phy = ev->phy; 308 struct asd_sas_event *ev = to_asd_sas_event(work); local 309 struct asd_sas_phy *phy = 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/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);
|
H A D | qib_uc.c | 334 struct ib_event ev; local 336 ev.device = qp->ibqp.device; 337 ev.element.qp = &qp->ibqp; 338 ev.event = IB_EVENT_COMM_EST; 339 qp->ibqp.event_handler(&ev, qp->ibqp.qp_context);
|
/drivers/isdn/pcbit/ |
H A D | edss1.c | 145 unsigned short ev; member in struct:isdn_event_desc 167 char *strisdnevent(ushort ev) argument 171 for (entry = isdn_event_table; entry->ev; entry++) 172 if (entry->ev == ev)
|
/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-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 59 if (!is_timing_event(ev)) { 60 if (ev.reset) 65 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 70 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 72 if (!geq_margin(ev.duration, RC5_UNIT, RC5_UNIT / 2)) 78 if (!ev.pulse) 83 decrease_duration(&ev, RC5_BIT_STAR [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-sharp-decoder.c | 46 static int ir_sharp_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 54 if (!is_timing_event(ev)) { 55 if (ev.reset) 61 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 66 if (!ev.pulse) 69 if (!eq_margin(ev.duration, SHARP_BIT_PULSE, 74 data->pulse_len = ev.duration; 79 if (!ev.pulse) 82 if (!eq_margin(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 53 if (!is_timing_event(ev)) { 54 if (ev.reset) 59 if (!geq_margin(ev.duration, SONY_UNIT, SONY_UNIT / 2)) 63 data->state, TO_US(ev.duration), TO_STR(ev.pulse)); 68 if (!ev.pulse) 71 if (!eq_margin(ev.duration, SONY_HEADER_PULSE, SONY_UNIT / 2)) 79 if (ev [all...] |
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...] |
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-xmp-decoder.c | 42 static int ir_xmp_decode(struct rc_dev *dev, struct ir_raw_event ev) argument 49 if (!is_timing_event(ev)) { 50 if (ev.reset) 56 data->state, data->count, TO_US(ev.duration), TO_STR(ev.pulse)); 61 if (!ev.pulse) 64 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) { 72 if (!ev.pulse) 75 if (eq_margin(ev.duration, XMP_LEADER, XMP_UNIT / 2)) 81 if (ev [all...] |
/drivers/net/wireless/ath/ath10k/ |
H A D | txrx.c | 168 struct htt_peer_map_event *ev) 174 peer = ath10k_peer_find(ar, ev->vdev_id, ev->addr); 180 peer->vdev_id = ev->vdev_id; 181 ether_addr_copy(peer->addr, ev->addr); 187 ev->vdev_id, ev->addr, ev->peer_id); 189 set_bit(ev->peer_id, peer->peer_ids); 195 struct htt_peer_unmap_event *ev) 167 ath10k_peer_map_event(struct ath10k_htt *htt, struct htt_peer_map_event *ev) argument 194 ath10k_peer_unmap_event(struct ath10k_htt *htt, struct htt_peer_unmap_event *ev) argument [all...] |
/drivers/staging/lustre/lnet/lnet/ |
H A D | lib-md.c | 424 lnet_event_t ev; local 445 lnet_build_unlink_event(md, &ev); 446 lnet_eq_enqueue_event(md->md_eq, &ev);
|
H A D | lib-me.c | 233 lnet_event_t ev; local 252 lnet_build_unlink_event(md, &ev); 253 lnet_eq_enqueue_event(md->md_eq, &ev);
|
/drivers/staging/rtl8188eu/os_dep/ |
H A D | recv_linux.c | 57 struct iw_michaelmicfailure ev; local 76 memset(&ev, 0x00, sizeof(ev)); 78 ev.flags |= IW_MICFAILURE_GROUP; 80 ev.flags |= IW_MICFAILURE_PAIRWISE; 82 ev.src_addr.sa_family = ARPHRD_ETHER; 83 memcpy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0], ETH_ALEN); 85 wrqu.data.length = sizeof(ev); 87 &wrqu, (char *)&ev);
|
/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/staging/rtl8723au/os_dep/ |
H A D | recv_linux.c | 31 struct iw_michaelmicfailure ev; local 59 memset(&ev, 0x00, sizeof(ev)); 61 ev.flags |= IW_MICFAILURE_GROUP; 63 ev.flags |= IW_MICFAILURE_PAIRWISE; 65 ev.src_addr.sa_family = ARPHRD_ETHER; 66 ether_addr_copy(ev.src_addr.sa_data, &pmlmepriv->assoc_bssid[0]); 69 wrqu.data.length = sizeof(ev);
|
/drivers/connector/ |
H A D | cn_proc.c | 70 struct proc_event *ev; local 78 ev = (struct proc_event *)msg->data; 79 memset(&ev->event_data, 0, sizeof(ev->event_data)); 80 get_seq(&msg->seq, &ev->cpu); 81 ev->timestamp_ns = ktime_get_ns(); 82 ev->what = PROC_EVENT_FORK; 85 ev->event_data.fork.parent_pid = parent->pid; 86 ev->event_data.fork.parent_tgid = parent->tgid; 88 ev 102 struct proc_event *ev; local 127 struct proc_event *ev; local 166 struct proc_event *ev; local 191 struct proc_event *ev; local 224 struct proc_event *ev; local 250 struct proc_event *ev; local 275 struct proc_event *ev; local 310 struct proc_event *ev; local [all...] |
/drivers/infiniband/hw/ipath/ |
H A D | ipath_cq.c | 71 struct ib_event ev; local 73 ev.device = cq->ibcq.device; 74 ev.element.cq = &cq->ibcq; 75 ev.event = IB_EVENT_CQ_ERR; 76 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context);
|
/drivers/md/persistent-data/ |
H A D | dm-space-map-disk.c | 89 enum allocation_event ev; local 92 r = sm_ll_insert(&smd->ll, b, count, &ev); 94 switch (ev) { 127 enum allocation_event ev; local 130 r = sm_ll_inc(&smd->ll, b, &ev); 131 if (!r && (ev == SM_ALLOC)) 143 enum allocation_event ev; local 146 return sm_ll_dec(&smd->ll, b, &ev); 152 enum allocation_event ev; local 161 r = sm_ll_inc(&smd->ll, *b, &ev); [all...] |