Home
last modified time | relevance | path

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

12345678910>>...16

/drivers/net/ethernet/mellanox/mlx5/core/
Devents.c141 struct mlx5_events *events = event_nb->ctx; in any_notifier() local
144 mlx5_core_dbg(events->dev, "Async eqe type %s, subtype (%d)\n", in any_notifier()
153 struct mlx5_events *events = event_nb->ctx; in temp_warn() local
161 mlx5_core_warn(events->dev, in temp_warn()
215 struct mlx5_events *events = event_nb->ctx; in port_module() local
231 events->pme_stats.status_counters[module_status]++; in port_module()
235 events->pme_stats.error_counters[error_type]++; in port_module()
245 mlx5_core_err(events->dev, in port_module()
249 mlx5_core_info(events->dev, in port_module()
267 struct mlx5_events *events; in mlx5_pcie_event() local
[all …]
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_event.c54 static void evt_str(struct komeda_str *str, u64 events) in evt_str() argument
56 if (events == 0ULL) { in evt_str()
61 evt_sprintf(str, events & KOMEDA_EVENT_VSYNC, "VSYNC|"); in evt_str()
62 evt_sprintf(str, events & KOMEDA_EVENT_FLIP, "FLIP|"); in evt_str()
63 evt_sprintf(str, events & KOMEDA_EVENT_EOW, "EOW|"); in evt_str()
64 evt_sprintf(str, events & KOMEDA_EVENT_MODE, "OP-MODE|"); in evt_str()
66 evt_sprintf(str, events & KOMEDA_EVENT_URUN, "UNDERRUN|"); in evt_str()
67 evt_sprintf(str, events & KOMEDA_EVENT_OVR, "OVERRUN|"); in evt_str()
70 evt_sprintf(str, events & KOMEDA_ERR_MERR, "MERR|"); in evt_str()
71 evt_sprintf(str, events & KOMEDA_ERR_FRAMETO, "FRAMETO|"); in evt_str()
[all …]
/drivers/media/pci/cx23885/
Dcx23885-ir.c28 u32 events = 0; in cx23885_ir_rx_work_handler() local
32 events |= V4L2_SUBDEV_IR_RX_SW_FIFO_OVERRUN; in cx23885_ir_rx_work_handler()
34 events |= V4L2_SUBDEV_IR_RX_HW_FIFO_OVERRUN; in cx23885_ir_rx_work_handler()
36 events |= V4L2_SUBDEV_IR_RX_END_OF_RX_DETECTED; in cx23885_ir_rx_work_handler()
38 events |= V4L2_SUBDEV_IR_RX_FIFO_SERVICE_REQ; in cx23885_ir_rx_work_handler()
40 if (events == 0) in cx23885_ir_rx_work_handler()
44 cx23885_input_rx_work_handler(dev, events); in cx23885_ir_rx_work_handler()
51 u32 events = 0; in cx23885_ir_tx_work_handler() local
55 events |= V4L2_SUBDEV_IR_TX_FIFO_SERVICE_REQ; in cx23885_ir_tx_work_handler()
57 if (events == 0) in cx23885_ir_tx_work_handler()
[all …]
/drivers/power/supply/
Dabx500_chargalg.c254 struct abx500_chargalg_events events; member
292 di->events.safety_timer_expired = true; in abx500_chargalg_safety_timer_expired()
316 di->events.maintenance_timer_expired = true; in abx500_chargalg_maintenance_timer_expired()
454 di->events.safety_timer_expired = false; in abx500_chargalg_start_safety_timer()
470 di->events.safety_timer_expired = false; in abx500_chargalg_stop_safety_timer()
488 di->events.maintenance_timer_expired = false; in abx500_chargalg_start_maintenance_timer()
502 di->events.maintenance_timer_expired = false; in abx500_chargalg_stop_maintenance_timer()
727 di->events.btemp_underover = false; in abx500_chargalg_check_temp()
728 di->events.btemp_lowhigh = false; in abx500_chargalg_check_temp()
739 di->events.btemp_underover = false; in abx500_chargalg_check_temp()
[all …]
Dab8500_btemp.c105 struct ab8500_btemp_events events; member
606 if (di->events.ac_conn || di->events.usb_conn) in ab8500_btemp_periodic_work()
629 di->events.batt_rem = true; in ab8500_btemp_batctrlindb_handler()
652 di->events.btemp_low = true; in ab8500_btemp_templow_handler()
653 di->events.btemp_high = false; in ab8500_btemp_templow_handler()
654 di->events.btemp_medhigh = false; in ab8500_btemp_templow_handler()
655 di->events.btemp_lowmed = false; in ab8500_btemp_templow_handler()
675 di->events.btemp_high = true; in ab8500_btemp_temphigh_handler()
676 di->events.btemp_medhigh = false; in ab8500_btemp_temphigh_handler()
677 di->events.btemp_lowmed = false; in ab8500_btemp_temphigh_handler()
[all …]
/drivers/mfd/
Dda903x.c51 int (*unmask_events)(struct da903x_chip *, unsigned int events);
52 int (*mask_events)(struct da903x_chip *, unsigned int events);
53 int (*read_events)(struct da903x_chip *, unsigned int *events);
127 unsigned int events) in da903x_register_notifier() argument
131 chip->ops->unmask_events(chip, events); in da903x_register_notifier()
137 unsigned int events) in da903x_unregister_notifier() argument
141 chip->ops->mask_events(chip, events); in da903x_unregister_notifier()
263 static int da9030_unmask_events(struct da903x_chip *chip, unsigned int events) in da9030_unmask_events() argument
267 chip->events_mask &= ~events; in da9030_unmask_events()
276 static int da9030_mask_events(struct da903x_chip *chip, unsigned int events) in da9030_mask_events() argument
[all …]
Dadp5520.c144 unsigned int events) in adp5520_register_notifier() argument
150 events & (ADP5520_KP_IEN | ADP5520_KR_IEN | in adp5520_register_notifier()
162 unsigned int events) in adp5520_unregister_notifier() argument
167 events & (ADP5520_KP_IEN | ADP5520_KR_IEN | in adp5520_unregister_notifier()
177 unsigned int events; in adp5520_irq_thread() local
185 events = reg_val & (ADP5520_OVP_INT | ADP5520_CMPR_INT | in adp5520_irq_thread()
188 blocking_notifier_call_chain(&chip->notifier_list, events, NULL); in adp5520_irq_thread()
190 __adp5520_ack_bits(chip->client, ADP5520_MODE_STATUS, events); in adp5520_irq_thread()
/drivers/perf/
DKconfig14 Support for PMU events monitoring on the ARM CCI (Cache Coherent
25 CCI-400 provides 4 independent event counters counting events related
34 count events pertaining to the slave/master interfaces as well as the
35 internal events to the CCI.
48 Support for PMU events monitoring on the Arm CMN-600 Coherent Mesh
78 system, control logic. The PMU allows counting various events related
87 events.
96 Adds the L2 cache PMU into the perf events subsystem for
97 monitoring L2 cache events.
106 Adds the L3 cache PMU into the perf events subsystem for
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_smi_events.c37 uint64_t events; member
124 uint64_t events; in kfd_smi_ev_write() local
126 if (!access_ok(user, size) || size < sizeof(events)) in kfd_smi_ev_write()
128 if (copy_from_user(&events, user, sizeof(events))) in kfd_smi_ev_write()
131 WRITE_ONCE(client->events, events); in kfd_smi_ev_write()
133 return sizeof(events); in kfd_smi_ev_write()
160 if (!(READ_ONCE(client->events) & in add_event_to_kfifo()
275 client->events = 0; in kfd_smi_event_open()
/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.c480 unsigned int events = 0; in get_events() local
488 events |= SS_STSCHG; in get_events()
492 events |= SS_BATDEAD; in get_events()
494 events |= SS_BATWARN; in get_events()
498 events |= SS_READY; in get_events()
500 events |= SS_DETECT; in get_events()
502 return events; in get_events()
508 unsigned int events; in pccard_interrupt() local
517 events = get_events(CARD_SLOTA); in pccard_interrupt()
518 if (events != 0) { in pccard_interrupt()
[all …]
Di82092.c297 unsigned int events, active = 0; in i82092aa_interrupt() local
321 events = 0; in i82092aa_interrupt()
324 events |= SS_DETECT; in i82092aa_interrupt()
332 events |= SS_STSCHG; in i82092aa_interrupt()
336 events |= SS_BATDEAD; in i82092aa_interrupt()
338 events |= SS_BATWARN; in i82092aa_interrupt()
340 events |= SS_READY; in i82092aa_interrupt()
343 if (events) in i82092aa_interrupt()
344 pcmcia_parse_events(&sockets[i].socket, events); in i82092aa_interrupt()
345 active |= events; in i82092aa_interrupt()
/drivers/xen/events/
DMakefile2 obj-y += events.o
4 events-y += events_base.o
5 events-y += events_2l.o
6 events-y += events_fifo.o
/drivers/spi/
Dspi-fsl-espi.c214 static void fsl_espi_fill_tx_fifo(struct fsl_espi *espi, u32 events) in fsl_espi_fill_tx_fifo() argument
221 tx_fifo_avail = events ? SPIE_TXCNT(events) : FSL_ESPI_FIFO_SIZE; in fsl_espi_fill_tx_fifo()
271 static void fsl_espi_read_rx_fifo(struct fsl_espi *espi, u32 events) in fsl_espi_read_rx_fifo() argument
273 u32 rx_fifo_avail = SPIE_RXCNT(events); in fsl_espi_read_rx_fifo()
537 static void fsl_espi_cpu_irq(struct fsl_espi *espi, u32 events) in fsl_espi_cpu_irq() argument
540 fsl_espi_read_rx_fifo(espi, events); in fsl_espi_cpu_irq()
543 fsl_espi_fill_tx_fifo(espi, events); in fsl_espi_cpu_irq()
549 events = fsl_espi_read_reg(espi, ESPI_SPIE); in fsl_espi_cpu_irq()
551 if (!(events & SPIE_DON)) in fsl_espi_cpu_irq()
555 if (SPIE_RXCNT(events) || SPIE_TXCNT(events) != FSL_ESPI_FIFO_SIZE) { in fsl_espi_cpu_irq()
[all …]
/drivers/pci/hotplug/
Dpciehp_hpc.c593 u16 status, events = 0; in pciehp_isr() local
644 events |= status; in pciehp_isr()
645 if (!events) { in pciehp_isr()
664 ctrl_dbg(ctrl, "pending interrupts %#06x from Slot Status\n", events); in pciehp_isr()
672 if (events & PCI_EXP_SLTSTA_CC) { in pciehp_isr()
677 if (events == PCI_EXP_SLTSTA_CC) in pciehp_isr()
680 events &= ~PCI_EXP_SLTSTA_CC; in pciehp_isr()
684 ctrl_dbg(ctrl, "ignoring hotplug event %#06x\n", events); in pciehp_isr()
689 atomic_or(events, &ctrl->pending_events); in pciehp_isr()
698 u32 events; in pciehp_ist() local
[all …]
/drivers/net/wireless/marvell/libertas/
Ddebugfs.c229 int events = 0; in lbs_threshold_read() local
252 events = le16_to_cpu(subscribed->events); in lbs_threshold_read()
255 !!(events & event_mask)); in lbs_threshold_read()
274 struct cmd_ds_802_11_subscribe_event *events; in lbs_threshold_write() local
291 events = kzalloc(sizeof(*events), GFP_KERNEL); in lbs_threshold_write()
292 if (!events) { in lbs_threshold_write()
297 events->hdr.size = cpu_to_le16(sizeof(*events)); in lbs_threshold_write()
298 events->action = cpu_to_le16(CMD_ACT_GET); in lbs_threshold_write()
300 ret = lbs_cmd_with_response(priv, CMD_802_11_SUBSCRIBE_EVENT, events); in lbs_threshold_write()
304 curr_mask = le16_to_cpu(events->events); in lbs_threshold_write()
[all …]
/drivers/media/rc/
Dir-rc6-decoder.c310 struct ir_raw_event *events, unsigned int max) in ir_rc6_encode() argument
313 struct ir_raw_event *e = events; in ir_rc6_encode()
317 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
324 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
330 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
355 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
362 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
368 ret = ir_raw_gen_manchester(&e, max - (e - events), in ir_rc6_encode()
376 return e - events; in ir_rc6_encode()
/drivers/media/test-drivers/vidtv/
Dvidtv_channel.c120 s302m->events = vidtv_psi_eit_event_init(NULL, s302m_beethoven_event_id); in vidtv_channel_s302m_init()
121 if (!s302m->events) in vidtv_channel_s302m_init()
123 s302m->events->descriptor = (struct vidtv_psi_desc *) in vidtv_channel_s302m_init()
128 if (!s302m->events->descriptor) in vidtv_channel_s302m_init()
141 vidtv_psi_eit_event_destroy(s302m->events); in vidtv_channel_s302m_init()
173 curr = cur_chnl->events; in vidtv_channel_eit_event_cat_into_new()
421 struct vidtv_psi_table_eit_event *events = NULL; in vidtv_channel_si_init() local
439 events = vidtv_channel_eit_event_cat_into_new(m); in vidtv_channel_si_init()
440 if (!events) in vidtv_channel_si_init()
469 vidtv_psi_eit_event_assign(m->si.eit, events); in vidtv_channel_si_init()
[all …]
/drivers/media/pci/ttpci/
Dav7110_av.c869 struct dvb_video_events *events = &av7110->video_events; in dvb_video_add_event() local
872 spin_lock_bh(&events->lock); in dvb_video_add_event()
874 wp = (events->eventw + 1) % MAX_VIDEO_EVENT; in dvb_video_add_event()
875 if (wp == events->eventr) { in dvb_video_add_event()
876 events->overflow = 1; in dvb_video_add_event()
877 events->eventr = (events->eventr + 1) % MAX_VIDEO_EVENT; in dvb_video_add_event()
881 memcpy(&events->events[events->eventw], event, sizeof(struct video_event)); in dvb_video_add_event()
882 events->eventw = wp; in dvb_video_add_event()
884 spin_unlock_bh(&events->lock); in dvb_video_add_event()
886 wake_up_interruptible(&events->wait_queue); in dvb_video_add_event()
[all …]
/drivers/atm/
DuPD98402.c172 unsigned char events; in stat_event() local
174 events = GET(PCR); in stat_event()
175 if (events & uPD98402_PFM_PFEB) ADD_LIMITED(path_febe,PFECB); in stat_event()
176 if (events & uPD98402_PFM_LFEB) ADD_LIMITED(line_febe,LECCT); in stat_event()
177 if (events & uPD98402_PFM_B3E) ADD_LIMITED(path_bip,B3ECT); in stat_event()
178 if (events & uPD98402_PFM_B2E) ADD_LIMITED(line_bip,B2ECT); in stat_event()
179 if (events & uPD98402_PFM_B1E) ADD_LIMITED(section_bip,B1ECT); in stat_event()
/drivers/media/dvb-core/
Ddvb_frontend.c96 struct dvb_fe_events events; member
241 struct dvb_fe_events *events = &fepriv->events; in dvb_frontend_add_event() local
250 mutex_lock(&events->mtx); in dvb_frontend_add_event()
252 wp = (events->eventw + 1) % MAX_EVENT; in dvb_frontend_add_event()
253 if (wp == events->eventr) { in dvb_frontend_add_event()
254 events->overflow = 1; in dvb_frontend_add_event()
255 events->eventr = (events->eventr + 1) % MAX_EVENT; in dvb_frontend_add_event()
258 e = &events->events[events->eventw]; in dvb_frontend_add_event()
262 events->eventw = wp; in dvb_frontend_add_event()
264 mutex_unlock(&events->mtx); in dvb_frontend_add_event()
[all …]
/drivers/platform/chrome/wilco_ec/
Devent.c191 struct ec_event_queue *events; member
246 old_event = event_queue_push(dev_data->events, queue_event); in enqueue_events()
332 if (!event_queue_empty(dev_data->events)) in event_poll()
366 while (event_queue_empty(dev_data->events)) { in event_read()
372 !event_queue_empty(dev_data->events) || in event_read()
382 event = event_queue_pop(dev_data->events); in event_read()
424 event_queue_free(dev_data->events); in free_device_data()
470 dev_data->events = event_queue_new(queue_size); in event_device_add()
471 if (!dev_data->events) { in event_device_add()
/drivers/gpio/
Dgpiolib-cdev.c487 DECLARE_KFIFO_PTR(events, struct gpio_v2_line_event);
523 if (kfifo_is_full(&lr->events)) { in linereq_put_event()
525 kfifo_skip(&lr->events); in linereq_put_event()
527 kfifo_in(&lr->events, le, 1); in linereq_put_event()
776 if (eflags && !kfifo_initialized(&line->req->events)) { in edge_detector_setup()
777 ret = kfifo_alloc(&line->req->events, in edge_detector_setup()
1198 __poll_t events = 0; in linereq_poll() local
1205 if (!kfifo_is_empty_spinlocked_noirqsave(&lr->events, in linereq_poll()
1207 events = EPOLLIN | EPOLLRDNORM; in linereq_poll()
1209 return events; in linereq_poll()
[all …]
/drivers/platform/chrome/
Dcros_ec_chardev.c43 struct list_head events; member
116 list_add_tail(&event->node, &priv->events); in cros_ec_chardev_mkbp_event()
131 if (!block && list_empty(&priv->events)) { in cros_ec_chardev_fetch_event()
142 !list_empty(&priv->events)); in cros_ec_chardev_fetch_event()
148 event = list_first_entry(&priv->events, struct ec_event, node); in cros_ec_chardev_fetch_event()
173 INIT_LIST_HEAD(&priv->events); in cros_ec_chardev_open()
194 if (list_empty(&priv->events)) in cros_ec_chardev_poll()
262 list_for_each_entry_safe(event, e, &priv->events, node) { in cros_ec_chardev_release()
/drivers/virt/vboxguest/
Dvboxguest_core.c1162 u32 events; in vbg_wait_event_cond() local
1166 events = gdev->pending_events & event_mask; in vbg_wait_event_cond()
1167 events &= vbg_get_allowed_event_mask_for_session(gdev, session); in vbg_wait_event_cond()
1168 wakeup = events || session->cancel_waiters; in vbg_wait_event_cond()
1180 u32 events = gdev->pending_events & event_mask; in vbg_consume_events_locked() local
1182 events &= vbg_get_allowed_event_mask_for_session(gdev, session); in vbg_consume_events_locked()
1183 gdev->pending_events &= ~events; in vbg_consume_events_locked()
1184 return events; in vbg_consume_events_locked()
1192 u32 event_mask = wait->u.in.events; in vbg_ioctl_wait_for_events()
1205 wait->u.out.events = 0; in vbg_ioctl_wait_for_events()
[all …]

12345678910>>...16