Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/
Dsensor_shell.c966 int sensor_idx = find_sensor_trigger_device(sensor); in data_ready_trigger_handler() local
971 if (sensor_idx < 0) { in data_ready_trigger_handler()
975 stats = sensor_stats[sensor_idx]; in data_ready_trigger_handler()
976 sensor_name = sensor_trigger_devices[sensor_idx]->name; in data_ready_trigger_handler()
1065 int sensor_idx = find_sensor_trigger_device(NULL); in cmd_trig_sensor() local
1067 if (sensor_idx < 0) { in cmd_trig_sensor()
1072 struct sample_stats *stats = sensor_stats[sensor_idx]; in cmd_trig_sensor()
1074 sensor_trigger_devices[sensor_idx] = dev; in cmd_trig_sensor()
1088 int sensor_idx = find_sensor_trigger_device(dev); in cmd_trig_sensor() local
1090 if (sensor_idx < 0) { in cmd_trig_sensor()
[all …]