Searched refs:sensor_attribute_name (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/drivers/sensor/ |
D | sensor_shell.c | 112 static const char *sensor_attribute_name[SENSOR_ATTR_COMMON_COUNT] = { variable 635 int attr = parse_named_int(argv[i + 1], sensor_attribute_name, in cmd_sensor_attr_set() 636 ARRAY_SIZE(sensor_attribute_name)); in cmd_sensor_attr_set() 655 sensor_channel_name[channel], sensor_attribute_name[attr], rc); in cmd_sensor_attr_set() 659 sensor_channel_name[channel], sensor_attribute_name[attr], argv[i + 2]); in cmd_sensor_attr_set() 670 int attr = parse_named_int(attr_name, sensor_attribute_name, in cmd_sensor_attr_get_handler() 671 ARRAY_SIZE(sensor_attribute_name)); in cmd_sensor_attr_get_handler() 691 sensor_channel_name[channel], sensor_attribute_name[attr], rc); in cmd_sensor_attr_get_handler() 696 sensor_channel_name[channel], sensor_attribute_name[attr], in cmd_sensor_attr_get_handler() 724 for (size_t attr_idx = 0; attr_idx < ARRAY_SIZE(sensor_attribute_name); in cmd_sensor_attr_get() [all …]
|