Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/hid/
Dhid-sensor-custom.c58 struct kfifo data_fifo; member
450 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()
451 kfifo_in(&sensor_inst->data_fifo, in hid_sensor_capture_sample()
457 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) in hid_sensor_capture_sample()
458 kfifo_in(&sensor_inst->data_fifo, (unsigned char *)raw_data, in hid_sensor_capture_sample()
661 if (kfifo_is_empty(&sensor_inst->data_fifo)) { in hid_sensor_custom_read()
666 !kfifo_is_empty(&sensor_inst->data_fifo)); in hid_sensor_custom_read()
670 ret = kfifo_to_user(&sensor_inst->data_fifo, buf, count, in hid_sensor_custom_read()
716 if (!kfifo_is_empty(&sensor_inst->data_fifo)) in hid_sensor_custom_poll()
734 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()
[all …]