Lines Matching refs:sensor_attribute_name
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()
728 sensor_attribute_name[attr_idx], in cmd_sensor_attr_get()
777 for (int i = 0; i < ARRAY_SIZE(sensor_attribute_name); i++) { in attribute_name_get()
778 if (sensor_attribute_name[i] != NULL) { in attribute_name_get()
780 entry->syntax = sensor_attribute_name[i]; in attribute_name_get()