Searched refs:n_events (Results 1 – 6 of 6) sorted by relevance
/drivers/input/touchscreen/ |
D | s6sy761.c | 117 static int s6sy761_read_events(struct s6sy761_data *sdata, u16 n_events) in s6sy761_read_events() argument 129 .len = (n_events * S6SY761_EVENT_SIZE), in s6sy761_read_events() 197 static void s6sy761_handle_events(struct s6sy761_data *sdata, u8 n_events) in s6sy761_handle_events() argument 201 for (i = 0; i < n_events; i++) { in s6sy761_handle_events() 227 u8 n_events; in s6sy761_irq_handler() local 241 n_events = sdata->data[7] & S6SY761_MASK_LEFT_EVENTS; in s6sy761_irq_handler() 242 if (unlikely(n_events > S6SY761_EVENT_COUNT - 1)) in s6sy761_irq_handler() 245 if (n_events) { in s6sy761_irq_handler() 246 ret = s6sy761_read_events(sdata, n_events); in s6sy761_irq_handler() 253 s6sy761_handle_events(sdata, n_events + 1); in s6sy761_irq_handler()
|
/drivers/dma/idxd/ |
D | perfmon.c | 93 n = idxd_pmu->n_events; in perfmon_collect_events() 174 fake_pmu->n_events = n; in perfmon_validate_group() 181 fake_pmu->n_events = n; in perfmon_validate_group() 383 for (i = 0; i < idxd->idxd_pmu->n_events; i++) { in perfmon_pmu_event_stop() 387 for (++i; i < idxd->idxd_pmu->n_events; i++) in perfmon_pmu_event_stop() 389 --idxd->idxd_pmu->n_events; in perfmon_pmu_event_stop() 433 idxd_pmu->n_events = n; in perfmon_pmu_event_add()
|
D | idxd.h | 107 int n_events; member
|
/drivers/input/keyboard/ |
D | gpio_keys.c | 201 int n_events = get_n_events_by_type(type); in gpio_keys_attr_show_helper() local 206 bits = bitmap_zalloc(n_events, GFP_KERNEL); in gpio_keys_attr_show_helper() 222 ret = scnprintf(buf, PAGE_SIZE - 1, "%*pbl", n_events, bits); in gpio_keys_attr_show_helper() 244 int n_events = get_n_events_by_type(type); in gpio_keys_attr_store_helper() local 250 bits = bitmap_alloc(n_events, GFP_KERNEL); in gpio_keys_attr_store_helper() 254 error = bitmap_parselist(buf, bits, n_events); in gpio_keys_attr_store_helper() 259 if (!bitmap_subset(bits, bitmap, n_events)) { in gpio_keys_attr_store_helper()
|
/drivers/perf/ |
D | riscv_pmu.c | 207 cpuc->n_events++; in riscv_pmu_add() 229 cpuc->n_events--; in riscv_pmu_del() 301 cpuc->n_events = 0; in riscv_pmu_alloc()
|
/drivers/input/ |
D | evdev.c | 463 unsigned int n_events = in evdev_compute_buffer_size() local 467 return roundup_pow_of_two(n_events); in evdev_compute_buffer_size()
|