Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hid/
Dhid-sensor-custom.c52 struct kfifo data_fifo; member
442 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()
443 kfifo_in(&sensor_inst->data_fifo, in hid_sensor_capture_sample()
449 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) in hid_sensor_capture_sample()
450 kfifo_in(&sensor_inst->data_fifo, (unsigned char *)raw_data, in hid_sensor_capture_sample()
653 if (kfifo_is_empty(&sensor_inst->data_fifo)) { in hid_sensor_custom_read()
658 !kfifo_is_empty(&sensor_inst->data_fifo)); in hid_sensor_custom_read()
662 ret = kfifo_to_user(&sensor_inst->data_fifo, buf, count, in hid_sensor_custom_read()
708 if (!kfifo_is_empty(&sensor_inst->data_fifo)) in hid_sensor_custom_poll()
726 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()
[all …]