Lines Matching refs:cs
27 void settings_src_register(struct settings_store *cs) in settings_src_register() argument
29 sys_slist_append(&settings_load_srcs, &cs->cs_next); in settings_src_register()
32 void settings_dst_register(struct settings_store *cs) in settings_dst_register() argument
34 settings_save_dst = cs; in settings_dst_register()
44 struct settings_store *cs; in settings_load_subtree() local
57 SYS_SLIST_FOR_EACH_CONTAINER(&settings_load_srcs, cs, cs_next) { in settings_load_subtree()
58 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree()
70 struct settings_store *cs; in settings_load_subtree_direct() local
84 SYS_SLIST_FOR_EACH_CONTAINER(&settings_load_srcs, cs, cs_next) { in settings_load_subtree_direct()
85 cs->cs_itf->csi_load(cs, &arg); in settings_load_subtree_direct()
97 struct settings_store *cs; in settings_save_one() local
99 cs = settings_save_dst; in settings_save_one()
100 if (!cs) { in settings_save_one()
106 rc = cs->cs_itf->csi_save(cs, name, (char *)value, val_len); in settings_save_one()
125 struct settings_store *cs; in settings_save_subtree() local
129 cs = settings_save_dst; in settings_save_subtree()
130 if (!cs) { in settings_save_subtree()
134 if (cs->cs_itf->csi_save_start) { in settings_save_subtree()
135 cs->cs_itf->csi_save_start(cs); in settings_save_subtree()
166 if (cs->cs_itf->csi_save_end) { in settings_save_subtree()
167 cs->cs_itf->csi_save_end(cs); in settings_save_subtree()
174 struct settings_store *cs = settings_save_dst; in settings_storage_get() local
176 if (!cs) { in settings_storage_get()
180 if (cs->cs_itf->csi_storage_get) { in settings_storage_get()
181 *storage = cs->cs_itf->csi_storage_get(cs); in settings_storage_get()