Lines Matching refs:csr1212_keyval
90 static void free_keyval(struct csr1212_keyval *kv)
139 csr1212_find_keyval(struct csr1212_keyval *dir, struct csr1212_keyval *kv)
150 static struct csr1212_keyval *
151 csr1212_find_keyval_offset(struct csr1212_keyval *kv_list, u32 offset)
153 struct csr1212_keyval *kv;
211 static struct csr1212_keyval *csr1212_new_keyval(u8 type, u8 key)
213 struct csr1212_keyval *kv;
233 struct csr1212_keyval *csr1212_new_immediate(u8 key, u32 value)
235 struct csr1212_keyval *kv;
246 static struct csr1212_keyval *
249 struct csr1212_keyval *kv;
275 static struct csr1212_keyval *
278 struct csr1212_keyval *kv;
291 struct csr1212_keyval *csr1212_new_directory(u8 key)
293 struct csr1212_keyval *kv;
307 void csr1212_associate_keyval(struct csr1212_keyval *kv,
308 struct csr1212_keyval *associate)
332 static int __csr1212_attach_keyval_to_directory(struct csr1212_keyval *dir,
333 struct csr1212_keyval *kv,
361 int csr1212_attach_keyval_to_directory(struct csr1212_keyval *dir,
362 struct csr1212_keyval *kv)
380 static struct csr1212_keyval *
384 struct csr1212_keyval *kv;
437 struct csr1212_keyval *csr1212_new_string_descriptor_leaf(const char *s)
439 struct csr1212_keyval *kv;
464 void csr1212_detach_keyval_from_directory(struct csr1212_keyval *dir,
465 struct csr1212_keyval *kv)
496 void csr1212_release_keyval(struct csr1212_keyval *kv)
498 struct csr1212_keyval *k, *a;
651 static int csr1212_generate_layout_subdir(struct csr1212_keyval *dir,
652 struct csr1212_keyval **layout_tail)
655 struct csr1212_keyval *dkv;
656 struct csr1212_keyval *last_extkey_spec = NULL;
657 struct csr1212_keyval *last_extkey = NULL;
722 static size_t csr1212_generate_layout_order(struct csr1212_keyval *kv)
724 struct csr1212_keyval *ltail = kv;
746 static struct csr1212_keyval *
748 struct csr1212_keyval *start_kv, int start_pos)
750 struct csr1212_keyval *kv = start_kv;
751 struct csr1212_keyval *okv = start_kv;
798 csr1212_generate_tree_subdir(struct csr1212_keyval *dir, u32 *data_buffer)
801 struct csr1212_keyval *last_extkey_spec = NULL;
802 struct csr1212_keyval *last_extkey = NULL;
808 struct csr1212_keyval *a;
879 struct csr1212_keyval *kv, *nkv;
933 struct csr1212_keyval *kv;
1135 csr1212_parse_dir_entry(struct csr1212_keyval *dir, u32 ki, u32 kv_pos)
1138 struct csr1212_keyval *k = NULL;
1208 int csr1212_parse_keyval(struct csr1212_keyval *kv,
1261 csr1212_read_keyval(struct csr1212_csr *csr, struct csr1212_keyval *kv)
1411 struct csr1212_keyval *
1412 csr1212_get_keyval(struct csr1212_csr *csr, struct csr1212_keyval *kv)