Lines Matching refs:target_model

1035 … uint8_t status, uint16_t element_address, uint32_t model_identifier, mesh_model_t * target_model){  in config_model_subscription_list()  argument
1053 if (target_model != NULL){ in config_model_subscription_list()
1056 uint16_t address = target_model->subscriptions[i]; in config_model_subscription_list()
1080 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_get_handler() local
1082 …pdu_netkey_index(pdu), mesh_pdu_src(pdu), status, element_address, model_identifier, target_model); in config_model_subscription_get_handler()
1106 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_add_handler() local
1108 if (target_model != NULL){ in config_model_subscription_add_handler()
1110 status = mesh_model_add_subscription(target_model, address); in config_model_subscription_add_handler()
1112 mesh_model_store_subscriptions(target_model); in config_model_subscription_add_handler()
1124 mesh_model_t * target_model = (mesh_model_t*) arg; in config_model_subscription_virtual_address_add_hash() local
1138 if (!mesh_model_contains_subscription(target_model, virtual_address->pseudo_dst)){ in config_model_subscription_virtual_address_add_hash()
1139 status = mesh_model_add_subscription(target_model, virtual_address->pseudo_dst); in config_model_subscription_virtual_address_add_hash()
1143 mesh_model_store_subscriptions(target_model); in config_model_subscription_virtual_address_add_hash()
1148 …_in_process), status, configuration_server_element_address, hash_dst, target_model->model_identifi… in config_model_subscription_virtual_address_add_hash()
1167 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(configuration_ser… in config_model_subscription_virtual_address_add_handler() local
1169 if (target_model == NULL){ in config_model_subscription_virtual_address_add_handler()
1176 …id, &configuration_server_hash, &config_model_subscription_virtual_address_add_hash, target_model); in config_model_subscription_virtual_address_add_handler()
1188 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_overwrite_handler() local
1190 if (target_model != NULL){ in config_model_subscription_overwrite_handler()
1192 mesh_subcription_decrease_virtual_address_ref_count(target_model); in config_model_subscription_overwrite_handler()
1193 mesh_model_delete_all_subscriptions(target_model); in config_model_subscription_overwrite_handler()
1194 mesh_model_add_subscription(target_model, address); in config_model_subscription_overwrite_handler()
1195 mesh_model_store_subscriptions(target_model); in config_model_subscription_overwrite_handler()
1206 mesh_model_t * target_model = (mesh_model_t*) arg; in config_model_subscription_virtual_address_overwrite_hash() local
1226 mesh_subcription_decrease_virtual_address_ref_count(target_model); in config_model_subscription_virtual_address_overwrite_hash()
1229 mesh_model_delete_all_subscriptions(target_model); in config_model_subscription_virtual_address_overwrite_hash()
1232 mesh_model_add_subscription(target_model, virtual_address->pseudo_dst); in config_model_subscription_virtual_address_overwrite_hash()
1234 mesh_model_store_subscriptions(target_model); in config_model_subscription_virtual_address_overwrite_hash()
1237 …u_in_process), status, configuration_server_element_address, address, target_model->model_identifi… in config_model_subscription_virtual_address_overwrite_hash()
1256 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(configuration_ser… in config_model_subscription_virtual_address_overwrite_handler() local
1258 if (target_model == NULL){ in config_model_subscription_virtual_address_overwrite_handler()
1264 …onfiguration_server_hash, &config_model_subscription_virtual_address_overwrite_hash, target_model); in config_model_subscription_virtual_address_overwrite_handler()
1276 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_delete_handler() local
1278 if (target_model != NULL){ in config_model_subscription_delete_handler()
1280 mesh_model_delete_subscription(target_model, address); in config_model_subscription_delete_handler()
1281 mesh_model_store_subscriptions(target_model); in config_model_subscription_delete_handler()
1301 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_virtual_address_delete_handler() local
1304 …if ((target_model != NULL) && (virtual_address != NULL) && mesh_model_contains_subscription(target… in config_model_subscription_virtual_address_delete_handler()
1306 mesh_model_delete_subscription(target_model, virtual_address->pseudo_dst); in config_model_subscription_virtual_address_delete_handler()
1307 mesh_model_store_subscriptions(target_model); in config_model_subscription_virtual_address_delete_handler()
1323 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_subscription_delete_all_handler() local
1325 if (target_model != NULL){ in config_model_subscription_delete_all_handler()
1326 mesh_subcription_decrease_virtual_address_ref_count(target_model); in config_model_subscription_delete_all_handler()
1327 mesh_model_delete_all_subscriptions(target_model); in config_model_subscription_delete_all_handler()
1328 mesh_model_store_subscriptions(target_model); in config_model_subscription_delete_all_handler()
1397 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_app_bind_handler() local
1398 if (target_model == NULL) break; in config_model_app_bind_handler()
1412 status = mesh_model_bind_appkey(target_model, appkey_index); in config_model_app_bind_handler()
1431 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_app_unbind_handler() local
1432 if (target_model == NULL) break; in config_model_app_unbind_handler()
1442 mesh_configuration_server_stop_publishing_using_appkey(target_model, appkey_index); in config_model_app_unbind_handler()
1445 mesh_model_unbind_appkey(target_model, appkey_index); in config_model_app_unbind_handler()
1462 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_app_get_handler() local
1463 …pdu_netkey_index(pdu), mesh_pdu_src(pdu), status, element_address, model_identifier, target_model); in config_model_app_get_handler()
1571 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_publication_set_handler() local
1575 if (target_model->publication_model == NULL){ in config_model_publication_set_handler()
1598 config_model_publication_changed(target_model, &configuration_server_publication_model); in config_model_publication_set_handler()
1717 …mesh_model_t * target_model = mesh_access_model_for_address_and_model_identifier(element_address, … in config_model_publication_get_handler() local
1720 if (target_model == NULL){ in config_model_publication_get_handler()
1725 publication_model = target_model->publication_model; in config_model_publication_get_handler()