Lines Matching refs:aKey
220 otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, in otPlatSettingsGet() argument
234 LOG_DBG("%s Entry aKey %u aIndex %d", __func__, aKey, aIndex); in otPlatSettingsGet()
236 ret = snprintk(path, sizeof(path), "%s/%x", OT_SETTINGS_ROOT_KEY, aKey); in otPlatSettingsGet()
242 aKey, aIndex, ret); in otPlatSettingsGet()
246 LOG_DBG("aKey %u aIndex %d not found", aKey, aIndex); in otPlatSettingsGet()
253 otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, in otPlatSettingsSet() argument
261 LOG_DBG("%s Entry aKey %u", __func__, aKey); in otPlatSettingsSet()
263 (void)ot_setting_delete_subtree(aKey, -1, false); in otPlatSettingsSet()
265 ret = snprintk(path, sizeof(path), "%s/%x", OT_SETTINGS_ROOT_KEY, aKey); in otPlatSettingsSet()
270 LOG_ERR("Failed to store setting %d, ret %d", aKey, ret); in otPlatSettingsSet()
277 otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, in otPlatSettingsAdd() argument
285 LOG_DBG("%s Entry aKey %u", __func__, aKey); in otPlatSettingsAdd()
289 OT_SETTINGS_ROOT_KEY, aKey, sys_rand32_get()); in otPlatSettingsAdd()
295 LOG_ERR("Failed to store setting %d, ret %d", aKey, ret); in otPlatSettingsAdd()
302 otError otPlatSettingsDelete(otInstance *aInstance, uint16_t aKey, int aIndex) in otPlatSettingsDelete() argument
308 LOG_DBG("%s Entry aKey %u aIndex %d", __func__, aKey, aIndex); in otPlatSettingsDelete()
310 ret = ot_setting_delete_subtree(aKey, aIndex, true); in otPlatSettingsDelete()
312 LOG_DBG("Entry not found aKey %u aIndex %d", aKey, aIndex); in otPlatSettingsDelete()