Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/
Dsensor_shell.c960 int sensor_idx = find_sensor_trigger_device(sensor); in data_ready_trigger_handler() local
965 if (sensor_idx < 0) { in data_ready_trigger_handler()
969 stats = sensor_stats[sensor_idx]; in data_ready_trigger_handler()
970 sensor_name = sensor_trigger_devices[sensor_idx]->name; in data_ready_trigger_handler()
1059 int sensor_idx = find_sensor_trigger_device(NULL); in cmd_trig_sensor() local
1061 if (sensor_idx < 0) { in cmd_trig_sensor()
1066 struct sample_stats *stats = sensor_stats[sensor_idx]; in cmd_trig_sensor()
1068 sensor_trigger_devices[sensor_idx] = dev; in cmd_trig_sensor()
1082 int sensor_idx = find_sensor_trigger_device(dev); in cmd_trig_sensor() local
1084 if (sensor_idx < 0) { in cmd_trig_sensor()
[all …]