Searched refs:fifo_max (Results 1 – 6 of 6) sorted by relevance
| /components/drivers/sensor/v1/ |
| A D | sensor.c | 77 sen->parent.rx_indicate(&sen->parent, sen->info.fifo_max); in rt_sensor_cb() 163 if (sensor->module != RT_NULL && sensor->info.fifo_max > 0 && sensor->data_buf == RT_NULL) in rt_sensor_open() 166 sensor->data_buf = rt_malloc(sizeof(struct rt_sensor_data) * sensor->info.fifo_max); in rt_sensor_open() 249 if (sensor->module != RT_NULL && sensor->info.fifo_max > 0 && sensor->data_buf != RT_NULL) in rt_sensor_close()
|
| A D | sensor_cmd.c | 116 data = (struct rt_sensor_data *)rt_malloc(sizeof(struct rt_sensor_data) * info.fifo_max); in sensor_fifo_rx_entry() 126 res = rt_device_read(dev, 0, data, info.fifo_max); in sensor_fifo_rx_entry() 443 rt_kprintf("fifo_max :%d\n", info.fifo_max); in sensor()
|
| /components/drivers/sensor/v2/ |
| A D | sensor.c | 73 sen->parent.rx_indicate(&sen->parent, sen->info.fifo_max); in _sensor_cb() 158 if (sensor->module != RT_NULL && sensor->info.fifo_max > 0 && sensor->data_buf == RT_NULL) in _sensor_open() 161 sensor->data_buf = rt_malloc(sizeof(struct rt_sensor_data) * sensor->info.fifo_max); in _sensor_open() 252 if (sensor->module != RT_NULL && sensor->info.fifo_max > 0 && sensor->data_buf != RT_NULL) in _sensor_close()
|
| A D | sensor_cmd.c | 367 data = (struct rt_sensor_data *)rt_calloc(sensor->info.fifo_max, sizeof(struct rt_sensor_data)); in sensor_fifo_rx_entry() 377 res = rt_device_read((rt_device_t)sensor, 0, data, sensor->info.fifo_max); in sensor_fifo_rx_entry() 587 rt_kprintf("fifo max :%d\n", sensor->info.fifo_max); in sensor()
|
| /components/drivers/include/drivers/ |
| A D | sensor.h | 148 rt_uint8_t fifo_max; member
|
| A D | sensor_v2.h | 291 rt_uint8_t fifo_max; member
|
Completed in 18 milliseconds