Lines Matching refs:config
193 vehicle_prop_config_t* config = find_config(data->prop); in vdev_get() local
194 if (config == NULL) { in vdev_get()
198 data->value_type = config->value_type; in vdev_get()
267 vehicle_prop_config_t* config = find_config(data->prop); in vdev_set() local
268 if (config == NULL) { in vdev_set()
272 if (config->value_type != data->value_type) { in vdev_set()
274 config->value_type); in vdev_set()
435 vehicle_prop_config_t* config = find_config(prop); in vdev_subscribe() local
436 if (config == NULL) { in vdev_subscribe()
441 if ((config->access != VEHICLE_PROP_ACCESS_READ) && in vdev_subscribe()
442 (config->access != VEHICLE_PROP_ACCESS_READ_WRITE)) { in vdev_subscribe()
447 if (config->change_mode == VEHICLE_PROP_CHANGE_MODE_STATIC) { in vdev_subscribe()
452 if ((config->change_mode == VEHICLE_PROP_CHANGE_MODE_ON_CHANGE) && (sample_rate != 0)) { in vdev_subscribe()
458 if ((config->max_sample_rate < sample_rate) || (config->min_sample_rate > sample_rate)) { in vdev_subscribe()
461 prop, sample_rate, config->min_sample_rate, config->max_sample_rate); in vdev_subscribe()
465 subscription_t* sub = (subscription_t*)config->hal_data; in vdev_subscribe()
474 config->hal_data = sub; in vdev_subscribe()
493 vehicle_prop_config_t* config = find_config(prop); in vdev_unsubscribe() local
494 if (config == NULL) { in vdev_unsubscribe()
498 subscription_t* sub = (subscription_t*)config->hal_data; in vdev_unsubscribe()
503 config->hal_data = NULL; in vdev_unsubscribe()