Home
last modified time | relevance | path

Searched refs:events (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/drivers/media/pci/cx23885/
Dcx23885-ir.c37 u32 events = 0; in cx23885_ir_rx_work_handler() local
41 events |= V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN; in cx23885_ir_rx_work_handler()
43 events |= V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN; in cx23885_ir_rx_work_handler()
45 events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; in cx23885_ir_rx_work_handler()
47 events |= V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ; in cx23885_ir_rx_work_handler()
49 if (events == 0) in cx23885_ir_rx_work_handler()
53 cx23885_input_rx_work_handler(dev, events); in cx23885_ir_rx_work_handler()
60 u32 events = 0; in cx23885_ir_tx_work_handler() local
64 events |= V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ; in cx23885_ir_tx_work_handler()
66 if (events == 0) in cx23885_ir_tx_work_handler()
[all …]
Dcx23885-ir.h21 void cx23885_ir_rx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events);
22 void cx23885_ir_tx_v4l2_dev_notify(struct v4l2_subdev *sd, u32 events);
/drivers/power/
Dabx500_chargalg.c262 struct abx500_chargalg_events events; member
300 di->events.safety_timer_expired = true; in abx500_chargalg_safety_timer_expired()
324 di->events.maintenance_timer_expired = true; in abx500_chargalg_maintenance_timer_expired()
462 di->events.safety_timer_expired = false; in abx500_chargalg_start_safety_timer()
478 di->events.safety_timer_expired = false; in abx500_chargalg_stop_safety_timer()
496 di->events.maintenance_timer_expired = false; in abx500_chargalg_start_maintenance_timer()
510 di->events.maintenance_timer_expired = false; in abx500_chargalg_stop_maintenance_timer()
766 di->events.btemp_underover = false; in abx500_chargalg_check_temp()
767 di->events.btemp_lowhigh = false; in abx500_chargalg_check_temp()
778 di->events.btemp_underover = false; in abx500_chargalg_check_temp()
[all …]
Dab8500_btemp.c106 struct ab8500_btemp_events events; member
668 if (di->events.ac_conn || di->events.usb_conn) in ab8500_btemp_periodic_work()
691 di->events.batt_rem = true; in ab8500_btemp_batctrlindb_handler()
714 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
715 di->events.btemp_high = false; in ab8500_btemp_templow_handler()
716 di->events.btemp_medhigh = false; in ab8500_btemp_templow_handler()
717 di->events.btemp_lowmed = false; in ab8500_btemp_templow_handler()
737 di->events.btemp_high = true; in ab8500_btemp_temphigh_handler()
738 di->events.btemp_medhigh = false; in ab8500_btemp_temphigh_handler()
739 di->events.btemp_lowmed = false; in ab8500_btemp_temphigh_handler()
[all …]
/drivers/mfd/
Dda903x.c54 int (*unmask_events)(struct da903x_chip *, unsigned int events);
55 int (*mask_events)(struct da903x_chip *, unsigned int events);
56 int (*read_events)(struct da903x_chip *, unsigned int *events);
130 unsigned int events) in da903x_register_notifier() argument
134 chip->ops->unmask_events(chip, events); in da903x_register_notifier()
140 unsigned int events) in da903x_unregister_notifier() argument
144 chip->ops->mask_events(chip, events); in da903x_unregister_notifier()
266 static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) in da9030_unmask_events() argument
270 chip->events_mask &= ~events; in da9030_unmask_events()
279 static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) in da9030_mask_events() argument
[all …]
Dadp5520.c143 unsigned int events) in adp5520_register_notifier() argument
149 events & (ADP5520_KP_IEN | ADP5520_KR_IEN | in adp5520_register_notifier()
161 unsigned int events) in adp5520_unregister_notifier() argument
166 events & (ADP5520_KP_IEN | ADP5520_KR_IEN | in adp5520_unregister_notifier()
176 unsigned int events; in adp5520_irq_thread() local
184 events = reg_val & (ADP5520_OVP_INT | ADP5520_CMPR_INT | in adp5520_irq_thread()
187 blocking_notifier_call_chain(&chip->notifier_list, events, NULL); in adp5520_irq_thread()
189 __adp5520_ack_bits(chip->client, ADP5520_MODE_STATUS, events); in adp5520_irq_thread()
/drivers/pcmcia/
Dvrc4173_cardu.c135 socket->events = 0; in cardu_init()
403 uint16_t events; in cardu_bh() local
406 events = socket->events; in cardu_bh()
407 socket->events = 0; in cardu_bh()
411 socket->handler(socket->info, events); in cardu_bh()
416 uint16_t events = 0; in get_events() local
423 events |= SS_DETECT; in get_events()
426 events |= SS_READY; in get_events()
430 events |= SS_STSCHG; in get_events()
434 if (status == BV_DETECT_WARN) events |= SS_BATWARN; in get_events()
[all …]
Dvrc4171_card.c493 unsigned int events = 0; in get_events() local
501 events |= SS_STSCHG; in get_events()
505 events |= SS_BATDEAD; in get_events()
507 events |= SS_BATWARN; in get_events()
511 events |= SS_READY; in get_events()
513 events |= SS_DETECT; in get_events()
515 return events; in get_events()
521 unsigned int events; in pccard_interrupt() local
530 events = get_events(CARD_SLOTA); in pccard_interrupt()
531 if (events != 0) { in pccard_interrupt()
[all …]
Di82092.c301 unsigned int events, active=0; in i82092aa_interrupt() local
324 events = 0; in i82092aa_interrupt()
327 events |= SS_DETECT; in i82092aa_interrupt()
333 events |= (csc & I365_CSC_STSCHG) ? SS_STSCHG : 0; in i82092aa_interrupt()
336 events |= (csc & I365_CSC_BVD1) ? SS_BATDEAD : 0; in i82092aa_interrupt()
337 events |= (csc & I365_CSC_BVD2) ? SS_BATWARN : 0; in i82092aa_interrupt()
338 events |= (csc & I365_CSC_READY) ? SS_READY : 0; in i82092aa_interrupt()
341 if (events) { in i82092aa_interrupt()
342 pcmcia_parse_events(&sockets[i].socket, events); in i82092aa_interrupt()
344 active |= events; in i82092aa_interrupt()
Dsoc_common.c327 unsigned int events; in soc_common_check_status() local
338 events = (status ^ skt->status) & skt->cs_state.csc_mask; in soc_common_check_status()
343 events == 0 ? "<NONE>" : "", in soc_common_check_status()
344 events & SS_DETECT ? "DETECT " : "", in soc_common_check_status()
345 events & SS_READY ? "READY " : "", in soc_common_check_status()
346 events & SS_BATDEAD ? "BATDEAD " : "", in soc_common_check_status()
347 events & SS_BATWARN ? "BATWARN " : "", in soc_common_check_status()
348 events & SS_STSCHG ? "STSCHG " : ""); in soc_common_check_status()
350 if (events) in soc_common_check_status()
351 pcmcia_parse_events(&skt->socket, events); in soc_common_check_status()
[all …]
Dpd6729.c179 unsigned int events, active = 0; in pd6729_interrupt() local
200 events = 0; in pd6729_interrupt()
203 events |= SS_DETECT; in pd6729_interrupt()
211 events |= (csc & I365_CSC_STSCHG) in pd6729_interrupt()
215 events |= (csc & I365_CSC_BVD1) in pd6729_interrupt()
217 events |= (csc & I365_CSC_BVD2) in pd6729_interrupt()
219 events |= (csc & I365_CSC_READY) in pd6729_interrupt()
223 if (events) in pd6729_interrupt()
224 pcmcia_parse_events(&socket[i].socket, events); in pd6729_interrupt()
226 active |= events; in pd6729_interrupt()
Dcs.c626 unsigned int events; in pccardd() local
632 events = skt->thread_events; in pccardd()
639 if (events & SS_DETECT) in pccardd()
672 if (events || sysfs_events) in pccardd()
702 void pcmcia_parse_events(struct pcmcia_socket *s, u_int events) in pcmcia_parse_events() argument
705 dev_dbg(&s->dev, "parse_events: events %08x\n", events); in pcmcia_parse_events()
708 s->thread_events |= events; in pcmcia_parse_events()
727 void pcmcia_parse_uevents(struct pcmcia_socket *s, u_int events) in pcmcia_parse_uevents() argument
730 dev_dbg(&s->dev, "parse_uevents: events %08x\n", events); in pcmcia_parse_uevents()
733 s->sysfs_events |= events; in pcmcia_parse_uevents()
/drivers/xen/events/
DMakefile1 obj-y += events.o
3 events-y += events_base.o
4 events-y += events_2l.o
5 events-y += events_fifo.o
/drivers/bus/
Darm-cci.c179 struct perf_event *events[CCI_PMU_MAX_HW_EVENTS]; member
378 struct pmu_hw_events *events = cci_pmu->get_hw_events(); in pmu_handle_irq() local
383 raw_spin_lock_irqsave(&events->pmu_lock, flags); in pmu_handle_irq()
391 struct perf_event *event = events->events[idx]; in pmu_handle_irq()
416 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in pmu_handle_irq()
437 struct pmu_hw_events *events = cci_pmu->get_hw_events(); in pmu_enable_event() local
446 raw_spin_lock_irqsave(&events->pmu_lock, flags); in pmu_enable_event()
454 raw_spin_unlock_irqrestore(&events->pmu_lock, flags); in pmu_enable_event()
475 struct pmu_hw_events *events = cci_pmu->get_hw_events(); in pmu_start() local
477 raw_spin_lock_irqsave(&events->pmu_lock, flags); in pmu_start()
[all …]
/drivers/net/wireless/libertas/
Ddebugfs.c236 int events = 0; in lbs_threshold_read() local
259 events = le16_to_cpu(subscribed->events); in lbs_threshold_read()
262 !!(events & event_mask)); in lbs_threshold_read()
281 struct cmd_ds_802_11_subscribe_event *events; in lbs_threshold_write() local
304 events = kzalloc(sizeof(*events), GFP_KERNEL); in lbs_threshold_write()
305 if (!events) { in lbs_threshold_write()
310 events->hdr.size = cpu_to_le16(sizeof(*events)); in lbs_threshold_write()
311 events->action = cpu_to_le16(CMD_ACT_GET); in lbs_threshold_write()
313 ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); in lbs_threshold_write()
317 curr_mask = le16_to_cpu(events->events); in lbs_threshold_write()
[all …]
/drivers/dma-buf/
Ddma-buf.c139 unsigned long events; in dma_buf_poll() local
150 events = poll_requested_events(poll) & (POLLIN | POLLOUT); in dma_buf_poll()
151 if (!events) in dma_buf_poll()
169 if (fence_excl && (!(events & POLLOUT) || shared_count == 0)) { in dma_buf_poll()
179 events &= ~pevents; in dma_buf_poll()
184 if (events & pevents) { in dma_buf_poll()
187 events &= ~pevents; in dma_buf_poll()
191 events &= ~pevents; in dma_buf_poll()
204 if ((events & POLLOUT) && shared_count > 0) { in dma_buf_poll()
211 events &= ~POLLOUT; in dma_buf_poll()
[all …]
/drivers/media/dvb-core/
Ddvb_frontend.c106 struct dvb_fe_events events; member
199 struct dvb_fe_events *events = &fepriv->events; in dvb_frontend_add_event() local
208 mutex_lock(&events->mtx); in dvb_frontend_add_event()
210 wp = (events->eventw + 1) % MAX_EVENT; in dvb_frontend_add_event()
211 if (wp == events->eventr) { in dvb_frontend_add_event()
212 events->overflow = 1; in dvb_frontend_add_event()
213 events->eventr = (events->eventr + 1) % MAX_EVENT; in dvb_frontend_add_event()
216 e = &events->events[events->eventw]; in dvb_frontend_add_event()
220 events->eventw = wp; in dvb_frontend_add_event()
222 mutex_unlock(&events->mtx); in dvb_frontend_add_event()
[all …]
/drivers/media/pci/ttpci/
Dav7110_av.c884 struct dvb_video_events *events = &av7110->video_events; in dvb_video_add_event() local
887 spin_lock_bh(&events->lock); in dvb_video_add_event()
889 wp = (events->eventw + 1) % MAX_VIDEO_EVENT; in dvb_video_add_event()
890 if (wp == events->eventr) { in dvb_video_add_event()
891 events->overflow = 1; in dvb_video_add_event()
892 events->eventr = (events->eventr + 1) % MAX_VIDEO_EVENT; in dvb_video_add_event()
896 memcpy(&events->events[events->eventw], event, sizeof(struct video_event)); in dvb_video_add_event()
897 events->eventw = wp; in dvb_video_add_event()
899 spin_unlock_bh(&events->lock); in dvb_video_add_event()
901 wake_up_interruptible(&events->wait_queue); in dvb_video_add_event()
[all …]
/drivers/atm/
DuPD98402.c171 unsigned char events; in stat_event() local
173 events = GET(PCR); in stat_event()
174 if (events & uPD98402_PFM_PFEB) ADD_LIMITED(path_febe,PFECB); in stat_event()
175 if (events & uPD98402_PFM_LFEB) ADD_LIMITED(line_febe,LECCT); in stat_event()
176 if (events & uPD98402_PFM_B3E) ADD_LIMITED(path_bip,B3ECT); in stat_event()
177 if (events & uPD98402_PFM_B2E) ADD_LIMITED(line_bip,B2ECT); in stat_event()
178 if (events & uPD98402_PFM_B1E) ADD_LIMITED(section_bip,B1ECT); in stat_event()
/drivers/rtc/
Drtc-bfin.c184 unsigned long events = 0; in bfin_rtc_interrupt() local
205 events |= RTC_AF | RTC_IRQF; in bfin_rtc_interrupt()
213 events |= RTC_UF | RTC_IRQF; in bfin_rtc_interrupt()
217 if (events) in bfin_rtc_interrupt()
218 rtc_update_irq(rtc->rtc_dev, 1, events); in bfin_rtc_interrupt()
220 if (write_complete || events) { in bfin_rtc_interrupt()
/drivers/connector/
DKconfig15 boolean "Report process events to userspace"
19 Provide a connector that reports process events to userspace. Send
20 events such as fork, exec, id change (uid, gid, suid, etc), and exit.
/drivers/misc/ibmasm/
Devent.c67 event = &buffer->events[buffer->next_index]; in ibmasm_receive_event()
110 event = &buffer->events[index]; in ibmasm_get_next_event()
113 event = &buffer->events[index]; in ibmasm_get_next_event()
163 event = buffer->events; in ibmasm_event_buffer_init()
/drivers/spi/
Dspi-fsl-espi.c507 void fsl_espi_cpu_irq(struct mpc8xxx_spi *mspi, u32 events) in fsl_espi_cpu_irq() argument
512 if (events & SPIE_NE) { in fsl_espi_cpu_irq()
517 while (SPIE_RXCNT(events) < min(4, mspi->len)) { in fsl_espi_cpu_irq()
519 events = mpc8xxx_spi_read_reg(&reg_base->event); in fsl_espi_cpu_irq()
541 if (!(events & SPIE_NF)) { in fsl_espi_cpu_irq()
545 ret = spin_event_timeout(((events = mpc8xxx_spi_read_reg( in fsl_espi_cpu_irq()
554 mpc8xxx_spi_write_reg(&reg_base->event, events); in fsl_espi_cpu_irq()
571 u32 events; in fsl_espi_irq() local
574 events = mpc8xxx_spi_read_reg(&reg_base->event); in fsl_espi_irq()
575 if (events) in fsl_espi_irq()
[all …]
/drivers/staging/comedi/drivers/
Damplc_pci230.c1091 s->async->events |= COMEDI_CB_OVERFLOW; in pci230_handle_ao_nofifo()
1099 async->events |= COMEDI_CB_BLOCK | COMEDI_CB_EOS; in pci230_handle_ao_nofifo()
1104 async->events |= COMEDI_CB_EOA; in pci230_handle_ao_nofifo()
1124 unsigned int events = 0; in pci230_handle_ao_fifo() local
1137 events |= COMEDI_CB_EOA; in pci230_handle_ao_fifo()
1140 if (events == 0) { in pci230_handle_ao_fifo()
1144 events |= COMEDI_CB_OVERFLOW | COMEDI_CB_ERROR; in pci230_handle_ao_fifo()
1154 events |= COMEDI_CB_OVERFLOW | COMEDI_CB_ERROR; in pci230_handle_ao_fifo()
1157 if (events == 0) { in pci230_handle_ao_fifo()
1183 events |= COMEDI_CB_EOS | COMEDI_CB_BLOCK; in pci230_handle_ao_fifo()
[all …]
/drivers/iio/dac/
Dad5421.c207 unsigned int events; in ad5421_fault_handler() local
236 events = (old_fault ^ fault) & fault; in ad5421_fault_handler()
237 events &= st->fault_mask; in ad5421_fault_handler()
239 if (events & AD5421_FAULT_OVER_CURRENT) { in ad5421_fault_handler()
248 if (events & AD5421_FAULT_UNDER_CURRENT) { in ad5421_fault_handler()
257 if (events & AD5421_FAULT_TEMP_OVER_140) { in ad5421_fault_handler()

12345678910>>...12