Searched defs:events (Results 126 - 150 of 220) sorted by path

123456789

/freebsd-head/sys/contrib/ngatm/netnatm/saal/
H A Dsaal_sscop.c86 static const char *const events[] = { variable
4804 events[sig], states[sscop->state]));
4810 "executing %s in %s", events[sig],
4816 "delaying %s in %s", events[sig],
4835 "got signal %s in state %s%s", events[sig],
/freebsd-head/sys/contrib/octeon-sdk/
H A Dcvmx-profiler.c148 * Here events value is read(as passed to oct-remote-profile) to reset perf
156 memcpy(&(eccb.cfg_blk.events), eccb.config_blk_base_addr + \
157 offsetof(cvmx_config_block_t, events), sizeof(int64_t));
160 PRINTF("cfg_blk.events=%lu, sample_count=%ld\n", eccb.cfg_blk.events, eccb.cfg_blk.sample_count);
185 * passed with profiler alongside --events flag */
215 * @param events The threshold value for which interrupt has to be asserted
218 void cvmx_reset_perf_counter(int pf, uint64_t events) argument
221 pfc = (1ull << 63) - events;
238 cvmx_reset_perf_counter(0, eccb.cfg_blk.events);
[all...]
H A Dcvmx-profiler.h86 uint64_t events; member in struct:config_block
/freebsd-head/sys/dev/adb/
H A Dadb_mouse.c334 adb_tapping_sysctl, "I", "Tapping the pad causes button events");
407 * high button events when they are touched.
466 ams_poll(struct cdev *dev, int events, struct thread *p) argument
474 if (events & (POLLIN | POLLRDNORM)) {
481 events = 0;
483 events &= (POLLIN | POLLRDNORM);
489 return events;
/freebsd-head/sys/dev/atkbdc/
H A Dpsm.c3118 * enhanced mouse modes during switch events.
3191 * and wheel events
3702 /* Add hysteresis to remove spurious middle button events */
3724 /* Filter out middle button events induced by some w values */
5037 * wheel events
5259 psmpoll(struct cdev *dev, int events, struct thread *td) argument
5267 if (events & (POLLIN | POLLRDNORM)) {
5269 revents |= events & (POLLIN | POLLRDNORM);
5527 * the wheel and the fourth button events are encoded in the
/freebsd-head/sys/dev/bnxt/
H A Dbnxt_hwrm.c1778 uint32_t *events; local
1803 events = (uint32_t *)async_events_bmap;
1805 req.async_event_fwd[i] |= htole32(events[i]);
/freebsd-head/sys/dev/cmx/
H A Dcmx.c297 * Wait for buffer status register events. If test is non-zero,
646 cmx_poll(struct cdev *cdev, int events, struct thread *td) argument
656 DEBUG_printf(sc->dev, "called (events=%b BSR=%b)\n",
657 events, POLLBITS, bsr, BSRBITS);
659 revents = events & (POLLOUT | POLLWRNORM);
660 if (events & (POLLIN | POLLRDNORM)) {
662 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-head/sys/dev/cyapa/
H A Dcyapa.c1083 cyapapoll(struct cdev *dev, int events, struct thread *td) argument
1092 if (events & (POLLIN | POLLRDNORM)) {
1094 revents = events & (POLLIN | POLLRDNORM);
/freebsd-head/sys/dev/drm2/
H A Ddrm_fops.c318 /* Remove unconsumed events */
558 drm_poll(struct cdev *kdev, int events, struct thread *td) argument
574 if ((events & (POLLIN | POLLRDNORM)) != 0) {
579 revents |= events & (POLLIN | POLLRDNORM);
/freebsd-head/sys/dev/evdev/
H A Dcdev.c307 evdev_poll(struct cdev *dev, int events, struct thread *td) argument
322 if (events & (POLLIN | POLLRDNORM)) {
325 revents = events & (POLLIN | POLLRDNORM);
411 * Fix evdev state corrupted with discarding of kdb events.
828 * 2. Insert SYN_REPORT just now and skip remaining events
839 /* Allow users to read events only after report has been completed */
909 /* Remove empty SYN_REPORT events */
H A Duinput.c381 uinput_poll(struct cdev *dev, int events, struct thread *td) argument
392 if (events & (POLLOUT | POLLWRNORM))
393 revents |= (events & (POLLOUT | POLLWRNORM));
395 if (events & (POLLIN | POLLRDNORM)) {
398 revents = events & (POLLIN | POLLRDNORM);
/freebsd-head/sys/dev/firewire/
H A Dfwdev.c822 fw_poll(struct cdev *dev, int events, fw_proc *td) argument
829 return fwmem_poll(dev, events, td);
834 if (events & tmp) {
841 if (events & tmp) {
H A Dfwmem.c429 fwmem_poll(struct cdev *dev, int events, fw_proc *td) argument
/freebsd-head/sys/dev/hyperv/utilities/
H A Dhv_kvp.c823 hv_kvp_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument
H A Dhv_snapshot.c591 hv_vss_dev_daemon_poll(struct cdev *dev, int events, struct thread *td) argument
671 hv_appvss_dev_poll(struct cdev *dev, int events, struct thread *td) argument
/freebsd-head/sys/dev/iwn/
H A Dif_iwnreg.h870 } __packed events[16]; member in struct:iwn5000_wimax_coex
/freebsd-head/sys/dev/kbd/
H A Dkbd.c678 genkbdpoll(struct cdev *dev, int events, struct thread *td) argument
691 } else if (events & (POLLIN | POLLRDNORM)) {
693 revents = events & (POLLIN | POLLRDNORM);
1316 /* release events of regular keys are not reported */
/freebsd-head/sys/dev/mlx5/
H A Ddriver.h341 int events; member in struct:mlx5_cmd
/freebsd-head/sys/dev/mpr/
H A Dmpr.c2141 * The portenable will kick off discovery events that will drive the
2250 uint8_t events[16]; local
2252 bzero(events, 16);
2253 setbit(events, MPI2_EVENT_LOG_DATA);
2254 setbit(events, MPI2_EVENT_LOG_ENTRY_ADDED);
2256 mpr_register_events(sc, events, mpr_log_evt_handler, NULL,
2676 * of events that it _wants_. These functions then turn that into a bitmask
2768 /* first, reregister events */
H A Dmpr_sas.c697 uint8_t events[16]; local
699 bzero(events, 16);
700 setbit(events, MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE);
701 setbit(events, MPI2_EVENT_SAS_DISCOVERY);
702 setbit(events, MPI2_EVENT_SAS_BROADCAST_PRIMITIVE);
703 setbit(events, MPI2_EVENT_SAS_INIT_DEVICE_STATUS_CHANGE);
704 setbit(events, MPI2_EVENT_SAS_INIT_TABLE_OVERFLOW);
705 setbit(events, MPI2_EVENT_SAS_TOPOLOGY_CHANGE_LIST);
706 setbit(events, MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE);
707 setbit(events, MPI2_EVENT_IR_CONFIGURATION_CHANGE_LIS
[all...]
/freebsd-head/sys/dev/mps/
H A Dmps.c2057 * The portenable will kick off discovery events that will drive the
2161 u32 events[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS]; local
2163 bzero(events, 16);
2164 setbit(events, MPI2_EVENT_LOG_DATA);
2165 setbit(events, MPI2_EVENT_LOG_ENTRY_ADDED);
2167 mps_register_events(sc, events, mps_log_evt_handler, NULL,
2590 * of events that it _wants_. These functions then turn that into a bitmask
2685 /* first, reregister events */
H A Dmps_sas.c692 u32 events[MPI2_EVENT_NOTIFY_EVENTMASK_WORDS]; local
694 bzero(events, 16);
695 setbit(events, MPI2_EVENT_SAS_DEVICE_STATUS_CHANGE);
696 setbit(events, MPI2_EVENT_SAS_DISCOVERY);
697 setbit(events, MPI2_EVENT_SAS_BROADCAST_PRIMITIVE);
698 setbit(events, MPI2_EVENT_SAS_INIT_DEVICE_STATUS_CHANGE);
699 setbit(events, MPI2_EVENT_SAS_INIT_TABLE_OVERFLOW);
700 setbit(events, MPI2_EVENT_SAS_TOPOLOGY_CHANGE_LIST);
701 setbit(events, MPI2_EVENT_SAS_ENCL_DEVICE_STATUS_CHANGE);
702 setbit(events, MPI2_EVENT_IR_CONFIGURATION_CHANGE_LIS
[all...]
/freebsd-head/sys/dev/netmap/
H A Dnetmap.c46 * select()able file descriptor on which events are reported.
48 * the interface that should report events to the file descriptor.
60 * 6. select() or poll() can be used to wait for events on individual
139 * > select()able file descriptor on which events are reported.
150 * > the interface that should report events to the file descriptor.
244 * > 6. select() or poll() can be used to wait for events on individual
3350 * Return true the event mask corresponding to ready events.
3351 * If there are no ready events (and 'sr' is not NULL), do a
3361 netmap_poll(struct netmap_priv_d *priv, int events, NM_SELRECORD_T *sr) argument
3406 nm_prinf("device %s events
[all...]
H A Dnetmap_freebsd.c1396 * just return 1 (events ready), since we are not able to do better.
1397 * In the latter case we use netmap_poll() to see which events are
1401 netmap_knrw(struct knote *kn, long hint, int events) argument
1415 revents = netmap_poll(priv, events, /*thread=*/NULL);
1417 return (events & revents) ? 1 : 0;
1488 freebsd_netmap_poll(struct cdev *cdevi __unused, int events, struct thread *td) argument
1494 return netmap_poll(priv, events, td);
/freebsd-head/sys/dev/qlnx/qlnxe/
H A Decore_iov_api.h369 u64 *events);
786 static OSAL_INLINE void ecore_iov_pf_get_and_clear_pending_events(struct ecore_hwfn OSAL_UNUSED *p_hwfn, u64 OSAL_UNUSED *events) {} argument

Completed in 295 milliseconds

123456789