/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/ |
D | storage.c | 116 settings_read_cb read_cb, void *cb_arg) in ps_set() argument 126 len = read_cb(cb_arg, &reset_counter, in ps_set() 131 len = read_cb(cb_arg, &ctl->tt, sizeof(ctl->tt)); in ps_set() 135 len = read_cb(cb_arg, &ctl->onpowerup, in ps_set() 140 len = read_cb(cb_arg, &ctl->light->def, in ps_set() 145 len = read_cb(cb_arg, &ctl->temp->def, in ps_set() 150 len = read_cb(cb_arg, &ctl->duv->def, in ps_set() 155 len = read_cb(cb_arg, &ctl->light->last, in ps_set() 160 len = read_cb(cb_arg, &ctl->light->target, in ps_set() 165 len = read_cb(cb_arg, &ctl->temp->target, in ps_set() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ll_settings.c | 45 settings_read_cb read_cb, void *store) in ctlr_set() argument 55 len = read_cb(store, &company_id, sizeof(company_id)); in ctlr_set() 65 len = read_cb(store, &subversion, sizeof(subversion)); in ctlr_set() 78 len = read_cb(store, &smi_tx, sizeof(smi_tx)); in ctlr_set()
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | dis.c | 271 static void dis_update_udi_value(const char *new, char *old, settings_read_cb read_cb, in dis_update_udi_value() argument 294 int16_t len = read_cb((void *)new, (void *)old, CONFIG_BT_DIS_STR_MAX); in dis_update_udi_value() 306 static int dis_set(const char *name, size_t len_rd, settings_read_cb read_cb, void *store) in dis_set() argument 314 len = read_cb(store, &dis_manuf, sizeof(dis_manuf) - 1); in dis_set() 325 len = read_cb(store, &dis_model, sizeof(dis_model) - 1); in dis_set() 337 len = read_cb(store, &dis_serial_number, sizeof(dis_serial_number) - 1); in dis_set() 350 len = read_cb(store, &dis_fw_rev, sizeof(dis_fw_rev) - 1); in dis_set() 363 len = read_cb(store, &dis_hw_rev, sizeof(dis_hw_rev) - 1); in dis_set() 376 len = read_cb(store, &dis_sw_rev, sizeof(dis_sw_rev) - 1); in dis_set() 389 dis_update_udi_value(store, BT_DIS_UDI_LABEL_STR_REF, read_cb, "label"); in dis_set() [all …]
|
/Zephyr-latest/samples/subsys/settings/src/ |
D | main.c | 37 int alpha_handle_set(const char *name, size_t len, settings_read_cb read_cb, 43 int beta_handle_set(const char *name, size_t len, settings_read_cb read_cb, 64 int alpha_handle_set(const char *name, size_t len, settings_read_cb read_cb, in alpha_handle_set() argument 75 rc = read_cb(cb_arg, &angle_val, sizeof(angle_val)); in alpha_handle_set() 90 rc = read_cb(cb_arg, &length_val, sizeof(length_val)); in alpha_handle_set() 96 rc = read_cb(cb_arg, &length_1_val, in alpha_handle_set() 103 rc = read_cb(cb_arg, &length_2_val, in alpha_handle_set() 115 int beta_handle_set(const char *name, size_t len, settings_read_cb read_cb, in beta_handle_set() argument 126 rc = read_cb(cb_arg, &voltage_val, sizeof(voltage_val)); in beta_handle_set() 137 rc = read_cb(cb_arg, source_name_val, in beta_handle_set() [all …]
|
/Zephyr-latest/tests/subsys/settings/nvs/src/ |
D | settings_test_nvs.c | 23 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, 60 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c1_handle_set() argument 69 rc = read_cb(cb_arg, &val8, sizeof(val8)); in c1_handle_set() 75 rc = read_cb(cb_arg, &val64, sizeof(val64)); in c1_handle_set() 84 rc = read_cb(cb_arg, &val8_un, sizeof(val8_un)); in c1_handle_set()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | settings.h | 31 static int pre_##_set(const char *name, size_t len_rd, settings_read_cb read_cb, \ 37 return _set(name, len_rd, read_cb, cb_arg); \ 56 int bt_mesh_settings_set(settings_read_cb read_cb, void *cb_arg,
|
D | sar_cfg_srv.c | 179 size_t len_rd, settings_read_cb read_cb, in sar_cfg_srv_settings_set() argument 183 return bt_mesh_settings_set(read_cb, cb_data, &bt_mesh.sar_rx, in sar_cfg_srv_settings_set() 188 return bt_mesh_settings_set(read_cb, cb_data, &bt_mesh.sar_tx, in sar_cfg_srv_settings_set()
|
D | cdb.c | 178 settings_read_cb read_cb, void *cb_arg) in cdb_net_set() argument 188 err = bt_mesh_settings_set(read_cb, cb_arg, &net, sizeof(net)); in cdb_net_set() 191 err = bt_mesh_settings_set(read_cb, cb_arg, &net, sizeof(net.iv)); in cdb_net_set() 214 settings_read_cb read_cb, void *cb_arg) in cdb_node_set() argument 241 err = bt_mesh_settings_set(read_cb, cb_arg, &val, sizeof(val)); in cdb_node_set() 276 settings_read_cb read_cb, void *cb_arg) in cdb_subnet_set() argument 304 err = bt_mesh_settings_set(read_cb, cb_arg, &key, sizeof(key)); in cdb_subnet_set() 342 settings_read_cb read_cb, void *cb_arg) in cdb_app_key_set() argument 369 err = bt_mesh_settings_set(read_cb, cb_arg, &key, sizeof(key)); in cdb_app_key_set() 400 settings_read_cb read_cb, void *cb_arg) in cdb_set() argument [all …]
|
D | od_priv_proxy_srv.c | 119 size_t len_rd, settings_read_cb read_cb, void *cb_data) in od_priv_proxy_srv_settings_set() argument 128 err = bt_mesh_settings_set(read_cb, cb_data, &on_demand_state, sizeof(uint8_t)); in od_priv_proxy_srv_settings_set()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | settings.c | 20 static int val_handle_set(const char *name, size_t len, settings_read_cb read_cb, void *cb_arg); 28 static int val_handle_set(const char *name, size_t len, settings_read_cb read_cb, void *cb_arg) in val_handle_set() argument 40 rc = read_cb(cb_arg, val_aa, sizeof(val_aa)); in val_handle_set() 48 rc = read_cb(cb_arg, &val_bb, sizeof(val_bb)); in val_handle_set()
|
/Zephyr-latest/tests/subsys/settings/fcb/src/ |
D | settings_test_fcb.c | 30 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, 37 int c2_handle_set(const char *name, size_t len, settings_read_cb read_cb, 43 int c3_handle_set(const char *name, size_t len, settings_read_cb read_cb, 96 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c1_handle_set() argument 105 rc = read_cb(cb_arg, &val8, sizeof(val8)); in c1_handle_set() 111 rc = read_cb(cb_arg, &val64, sizeof(val64)); in c1_handle_set() 120 rc = read_cb(cb_arg, &val8_un, sizeof(val8_un)); in c1_handle_set() 263 int c2_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c2_handle_set() argument 281 rc = read_cb(cb_arg, valptr, sizeof(val_string[0])); in c2_handle_set() 319 int c3_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c3_handle_set() argument [all …]
|
D | settings_test_compress_deleted.c | 31 int c4_handle_set(const char *name, size_t len, settings_read_cb read_cb, 42 int c4_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c4_handle_set() argument
|
/Zephyr-latest/modules/openthread/platform/ |
D | settings.c | 39 settings_read_cb read_cb, void *cb_arg, in ot_setting_delete_cb() argument 48 ARG_UNUSED(read_cb); in ot_setting_delete_cb() 117 settings_read_cb read_cb, void *cb_arg, in ot_setting_exists_cb() argument 123 ARG_UNUSED(read_cb); in ot_setting_exists_cb() 161 settings_read_cb read_cb, void *cb_arg, in ot_setting_read_cb() argument 168 ARG_UNUSED(read_cb); in ot_setting_read_cb() 186 ret = read_cb(cb_arg, ctx->value, len); in ot_setting_read_cb()
|
/Zephyr-latest/subsys/net/lib/wifi_credentials/ |
D | wifi_credentials_backend_settings.c | 33 settings_read_cb read_cb, void *cb_arg, void *param) in zephyr_settings_backend_load_val_cb() argument 48 size_t length_read = read_cb(cb_arg, arg->buf, arg->buf_len); in zephyr_settings_backend_load_val_cb() 63 settings_read_cb read_cb, void *cb_arg, void *param) in zephyr_settings_backend_load_key_cb() argument 86 size_t length_read = read_cb(cb_arg, buf, ARRAY_SIZE(buf)); in zephyr_settings_backend_load_key_cb()
|
/Zephyr-latest/include/zephyr/settings/ |
D | settings.h | 88 int (*h_set)(const char *key, size_t len, settings_read_cb read_cb, 157 int (*h_set)(const char *key, size_t len, settings_read_cb read_cb, 299 settings_read_cb read_cb, 540 settings_read_cb read_cb,
|
/Zephyr-latest/tests/subsys/settings/file/src/ |
D | settings_test_file.c | 23 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, 67 int c1_handle_set(const char *name, size_t len, settings_read_cb read_cb, in c1_handle_set() argument 79 rc = read_cb(cb_arg, &val8, sizeof(val8)); in c1_handle_set() 88 rc = read_cb(cb_arg, &val16, sizeof(val16)); in c1_handle_set() 97 rc = read_cb(cb_arg, &val64, sizeof(val64)); in c1_handle_set()
|
/Zephyr-latest/subsys/lorawan/nvm/ |
D | lorawan_nvm_settings.c | 91 settings_read_cb read_cb, void *cb_arg) in load_setting() argument 105 if (read_cb(cb_arg, tgt, len) != len) { in load_setting() 115 settings_read_cb read_cb, in on_setting_loaded() argument 129 descr->size, key, len, read_cb, cb_arg); in on_setting_loaded()
|
/Zephyr-latest/tests/subsys/settings/functional/src/ |
D | settings_basic_test.c | 180 int val1_set(const char *key, size_t len, settings_read_cb read_cb, in val1_set() argument 197 int val2_set(const char *key, size_t len, settings_read_cb read_cb, in val2_set() argument 214 int val3_set(const char *key, size_t len, settings_read_cb read_cb, in val3_set() argument 360 settings_read_cb read_cb, void *cb_arg) in val123_set() argument 367 rc = read_cb(cb_arg, &val, sizeof(val)); in val123_set() 402 settings_read_cb read_cb, in direct_loader() argument 416 rc = read_cb(cb_arg, &val, sizeof(val)); in direct_loader() 498 settings_read_cb read_cb, in filtered_loader() argument 519 rc = read_cb(cb_arg, buf, len); in filtered_loader() 539 settings_read_cb read_cb, in direct_filtered_loader() argument [all …]
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_shell.c | 22 settings_read_cb read_cb, in settings_list_callback() argument 27 ARG_UNUSED(read_cb); in settings_list_callback() 72 settings_read_cb read_cb, in settings_read_callback() argument 86 num_read_bytes = read_cb(cb_arg, buffer, num_read_bytes); in settings_read_callback()
|
D | settings_line.c | 18 int (*read_cb)(void *ctx, off_t off, char *buf, size_t *len); member 195 rc = settings_io_cb.read_cb(cb_arg, off, temp_buf, &read_size); in settings_line_raw_read_until() 285 rc = settings_io_cb.read_cb(src_ctx, src_off, buf, &chunk_size); in settings_line_entry_copy() 311 void settings_line_io_init(int (*read_cb)(void *ctx, off_t off, char *buf, in settings_line_io_init() 318 settings_io_cb.read_cb = read_cb; in settings_line_io_init()
|
D | settings.c | 202 settings_read_cb read_cb, in settings_call_set_handler() argument 215 rc = load_arg->cb(name_key, len, read_cb, read_cb_arg, in settings_call_set_handler() 225 rc = ch->h_set(name_key, len, read_cb, read_cb_arg); in settings_call_set_handler()
|
/Zephyr-latest/modules/canopennode/ |
D | canopen_storage.c | 126 settings_read_cb read_cb, void *cb_arg) in canopen_settings_set() argument 137 len = read_cb(cb_arg, &eeprom, sizeof(eeprom)); in canopen_settings_set() 160 len = read_cb(cb_arg, &rom, sizeof(rom)); in canopen_settings_set()
|
/Zephyr-latest/drivers/input/ |
D | input_analog_axis_settings.c | 35 settings_read_cb read_cb, void *cb_arg) in analog_axis_calibration_load() argument 60 len = read_cb(cb_arg, cal, sizeof(cal)); in analog_axis_calibration_load()
|
/Zephyr-latest/subsys/retention/ |
D | blinfo_mcuboot.c | 81 static int blinfo_handle_set(const char *name, size_t len, settings_read_cb read_cb, void *cb_arg); 116 static int blinfo_handle_set(const char *name, size_t len, settings_read_cb read_cb, void *cb_arg) in blinfo_handle_set() argument
|
/Zephyr-latest/subsys/secure_storage/src/its/store/ |
D | settings.c | 70 static int load_direct_setting(const char *key, size_t len, settings_read_cb read_cb, in load_direct_setting() argument 76 load_params->ret = read_cb(cb_arg, load_params->data, MIN(load_params->data_size, len)); in load_direct_setting()
|