Home | History | Annotate | Download | only in vr

Lines Matching refs:config_instance

36 static int (*p_thermal_client_config_query)(char *, struct config_instance **);
37 static int (*p_thermal_client_config_set)(struct config_instance *, unsigned int);
38 static void (*p_thermal_client_config_cleanup)(struct config_instance *, unsigned int);
60 static void log_config_instance(struct config_instance *instance ){
61 ALOGI("logging config_instance 0x%p", instance);
62 ALOGI("config_instance: cfg_desc = %s", instance->cfg_desc);
63 ALOGI("config_instance: algo_type = %s", instance->algo_type);
64 ALOGI("config_instance: fields_mask = 0x%x", instance->fields_mask);
65 ALOGI("config_instance: num_fields = %u", instance->num_fields);
67 ALOGI("config_instance: field_data[%d]", i);
83 struct config_instance *instances;
119 p_thermal_client_config_query = (int (*) (char *, struct config_instance **))
126 p_thermal_client_config_set = (int (*) (struct config_instance *, unsigned int))
133 p_thermal_client_config_cleanup = (void (*) (struct config_instance *, unsigned int))
157 * Allocate a new struct config_instance for modifying the disable field
159 static struct config_instance *allocate_config_instance(){
160 struct config_instance *config = (struct config_instance *)malloc(sizeof(struct config_instance));
180 * Free the config_instance as allocated in allocate_config_instance
182 static void free_config_instance(struct config_instance *config){
201 struct config_instance *config = allocate_config_instance();
231 struct config_instance *config = allocate_config_instance();