Home
last modified time | relevance | path

Searched refs:ev_cnt (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/mfd/
H A Dadp5585.c485 static void adp5585_report_events(struct adp5585_dev *adp5585, int ev_cnt) in adp5585_report_events() argument
489 for (i = 0; i < ev_cnt; i++) { in adp5585_report_events()
508 unsigned int status, ev_cnt; in adp5585_irq() local
521 ret = regmap_read(adp5585->regmap, ADP5585_STATUS, &ev_cnt); in adp5585_irq()
525 ev_cnt = FIELD_GET(ADP5585_EC_MASK, ev_cnt); in adp5585_irq()
526 if (!ev_cnt) in adp5585_irq()
529 adp5585_report_events(adp5585, ev_cnt); in adp5585_irq()
/linux/tools/usb/ffs-aio-example/simple/device_app/
H A Daio_simple.c320 uint64_t ev_cnt; in main() local
321 ret = read(evfd, &ev_cnt, sizeof(ev_cnt)); in main()
/linux/tools/usb/ffs-aio-example/multibuff/device_app/
H A Daio_multibuff.c352 uint64_t ev_cnt; in main() local
353 ret = read(evfd, &ev_cnt, sizeof(ev_cnt)); in main()
/linux/drivers/input/keyboard/
H A Dadp5588-keys.c518 static void adp5588_report_events(struct adp5588_kpad *kpad, int ev_cnt) in adp5588_report_events() argument
522 for (i = 0; i < ev_cnt; i++) { in adp5588_report_events()
560 int status, ev_cnt; in adp5588_thread_irq() local
581 ev_cnt = adp5588_read(client, KEY_LCK_EC_STAT) & ADP5588_KEC; in adp5588_thread_irq()
582 if (ev_cnt) { in adp5588_thread_irq()
583 adp5588_report_events(kpad, ev_cnt); in adp5588_thread_irq()