Searched refs:data_fifo (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/hid/ |
H A D | hid-sensor-custom.c | 58 struct kfifo data_fifo; member in struct:hid_sensor_custom 450 if (kfifo_avail(&sensor_inst->data_fifo) >= required_size) { hid_sensor_capture_sample() 451 kfifo_in(&sensor_inst->data_fifo, hid_sensor_capture_sample() 457 if (kfifo_avail(&sensor_inst->data_fifo) >= raw_len) hid_sensor_capture_sample() 458 kfifo_in(&sensor_inst->data_fifo, (unsigned char *)raw_data, hid_sensor_capture_sample() 661 if (kfifo_is_empty(&sensor_inst->data_fifo)) { hid_sensor_custom_read() 666 !kfifo_is_empty(&sensor_inst->data_fifo)); hid_sensor_custom_read() 670 ret = kfifo_to_user(&sensor_inst->data_fifo, buf, count, hid_sensor_custom_read() 716 if (!kfifo_is_empty(&sensor_inst->data_fifo)) hid_sensor_custom_poll() 734 ret = kfifo_alloc(&sensor_inst->data_fifo, HID_CUSTOM_FIFO_SIZE, hid_sensor_custom_dev_if_add() 746 kfifo_free(&sensor_inst->data_fifo); hid_sensor_custom_dev_if_add() 757 kfifo_free(&sensor_inst->data_fifo); hid_sensor_custom_dev_if_remove()
|
/linux-4.4.14/drivers/usb/dwc2/ |
H A D | core.c | 1636 u32 __iomem *data_fifo; dwc2_hc_write_packet() local 1642 data_fifo = (u32 __iomem *)(hsotg->regs + HCFIFO(chan->hc_num)); dwc2_hc_write_packet() 1655 dwc2_writel(*data_buf, data_fifo); dwc2_hc_write_packet() 1661 dwc2_writel(data, data_fifo); dwc2_hc_write_packet()
|
Completed in 130 milliseconds