Searched refs:data_fifo (Results 1 – 1 of 1) sorted by relevance
53 struct kfifo data_fifo; member443 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { in hid_sensor_capture_sample()444 kfifo_in(&sensor_inst->data_fifo, in hid_sensor_capture_sample()450 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) in hid_sensor_capture_sample()451 kfifo_in(&sensor_inst->data_fifo, (unsigned char *)raw_data, in hid_sensor_capture_sample()654 if (kfifo_is_empty(&sensor_inst->data_fifo)) { in hid_sensor_custom_read()659 !kfifo_is_empty(&sensor_inst->data_fifo)); in hid_sensor_custom_read()663 ret = kfifo_to_user(&sensor_inst->data_fifo, buf, count, in hid_sensor_custom_read()709 if (!kfifo_is_empty(&sensor_inst->data_fifo)) in hid_sensor_custom_poll()727 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, in hid_sensor_custom_dev_if_add()[all …]