Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 263) sorted by relevance

1234567891011

/rk3399_rockchip-uboot/include/linux/
H A Dlist.h31 static inline void INIT_LIST_HEAD(struct list_head *list) in INIT_LIST_HEAD() argument
33 list->next = list; in INIT_LIST_HEAD()
34 list->prev = list; in INIT_LIST_HEAD()
143 static inline void list_move(struct list_head *list, struct list_head *head) in list_move() argument
145 __list_del(list->prev, list->next); in list_move()
146 list_add(list, head); in list_move()
154 static inline void list_move_tail(struct list_head *list, in list_move_tail() argument
157 __list_del(list->prev, list->next); in list_move_tail()
158 list_add_tail(list, head); in list_move_tail()
166 static inline int list_is_last(const struct list_head *list, in list_is_last() argument
[all …]
/rk3399_rockchip-uboot/scripts/kconfig/lxdialog/
H A Dchecklist.c110 WINDOW *dialog, *list; in dialog_checklist() local
158 list = subwin(dialog, list_height, list_width, y + box_y + 1, in dialog_checklist()
161 keypad(list, TRUE); in dialog_checklist()
184 print_item(list, i, i == choice); in dialog_checklist()
193 wnoutrefresh(list); in dialog_checklist()
215 print_item(list, 0, FALSE); in dialog_checklist()
216 scrollok(list, TRUE); in dialog_checklist()
217 wscrl(list, -1); in dialog_checklist()
218 scrollok(list, FALSE); in dialog_checklist()
222 print_item(list, 0, TRUE); in dialog_checklist()
[all …]
/rk3399_rockchip-uboot/fs/jffs2/
H A Dmergesort.c14 int sort_list(struct b_list *list) in sort_list() argument
19 if (!list->listHead) in sort_list()
22 for (k = 1; k < list->listCount; k *= 2) { in sort_list()
23 tail = &list->listHead; in sort_list()
24 for (p = q = list->listHead; p; p = q) { in sort_list()
35 list->listCompare(p, q))) { in sort_list()
H A Djffs2_nand_1pass.c53 free_nodes(struct b_list *list) in free_nodes() argument
55 while (list->listMemBase != NULL) { in free_nodes()
56 struct mem_block *next = list->listMemBase->next; in free_nodes()
57 free(list->listMemBase); in free_nodes()
58 list->listMemBase = next; in free_nodes()
63 add_node(struct b_list *list, int size) in add_node() argument
69 memBase = list->listMemBase; in add_node()
80 memBase->next = list->listMemBase; in add_node()
88 list->listMemBase = memBase; in add_node()
89 list->listCount++; in add_node()
[all …]
/rk3399_rockchip-uboot/scripts/dtc/libfdt/
H A Dfdt_ro.c569 const char *list, *end; in fdt_stringlist_count() local
572 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
573 if (!list) in fdt_stringlist_count()
576 end = list + length; in fdt_stringlist_count()
578 while (list < end) { in fdt_stringlist_count()
579 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
582 if (list + length > end) in fdt_stringlist_count()
585 list += length; in fdt_stringlist_count()
596 const char *list, *end; in fdt_stringlist_search() local
598 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
[all …]
/rk3399_rockchip-uboot/lib/
H A Dlist_sort.c111 struct list_head *list; in list_sort() local
119 list = head->next; in list_sort()
121 while (list) { in list_sort()
122 struct list_head *cur = list; in list_sort()
123 list = list->next; in list_sort()
144 list = merge(priv, cmp, part[lev], list); in list_sort()
146 merge_and_restore_back_links(priv, cmp, head, part[max_lev], list); in list_sort()
165 struct list_head list; member
207 ela = container_of(a, struct debug_el, list); in cmp()
208 elb = container_of(b, struct debug_el, list); in cmp()
[all …]
H A Dbidram.c409 struct memblock *list; in bidram_get_ram_size() local
423 list = parse_fn(&count); in bidram_get_ram_size()
424 if (!list) { in bidram_get_ram_size()
443 i, (ulong)list[i].base, in bidram_get_ram_size()
444 (ulong)list[i].base + (ulong)list[i].size); in bidram_get_ram_size()
446 if (!list[i].size) { in bidram_get_ram_size()
448 if (list[i].size_u64 && n < MEM_RESV_COUNT) { in bidram_get_ram_size()
449 bidram->base_u64[n] = list[i].base_u64; in bidram_get_ram_size()
450 bidram->size_u64[n] = list[i].size_u64; in bidram_get_ram_size()
457 ram_addr_end = list[i].base + list[i].size; in bidram_get_ram_size()
[all …]
H A Dfdtdec_test.c124 int list[MAX_NODES]; in run_test() local
139 list, ARRAY_SIZE(list)), strlen(expect)); in run_test()
147 name = list[i] ? fdt_get_name(blob, list[i], NULL) : NULL; in run_test()
/rk3399_rockchip-uboot/lib/libfdt/
H A Dfdt_ro.c571 const char *list, *end; in fdt_stringlist_count() local
574 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_count()
575 if (!list) in fdt_stringlist_count()
578 end = list + length; in fdt_stringlist_count()
580 while (list < end) { in fdt_stringlist_count()
581 length = strnlen(list, end - list) + 1; in fdt_stringlist_count()
584 if (list + length > end) in fdt_stringlist_count()
587 list += length; in fdt_stringlist_count()
598 const char *list, *end; in fdt_stringlist_search() local
600 list = fdt_getprop(fdt, nodeoffset, property, &length); in fdt_stringlist_search()
[all …]
/rk3399_rockchip-uboot/common/
H A Dstdio.c130 return &(devs.list); in stdio_get_list()
173 sdev = list_empty(&devs.list) ? NULL : in stdio_probe_device()
174 list_last_entry(&devs.list, struct stdio_dev, list); in stdio_probe_device()
194 list_for_each(pos, &(devs.list)) { in stdio_get_by_name()
195 sdev = list_entry(pos, struct stdio_dev, list); in stdio_get_by_name()
243 list_add_tail(&(_dev->list), &(devs.list)); in stdio_register_dev()
280 list_del(&(dev->list)); in stdio_deregister_dev()
284 list_for_each(pos, &(devs.list)) { in stdio_deregister_dev()
285 dev = list_entry(pos, struct stdio_dev, list); in stdio_deregister_dev()
322 INIT_LIST_HEAD(&(devs.list)); in stdio_init_tables()
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dqconf.cc114 ConfigList* list; in updateMenu() local
121 list = listView(); in updateMenu()
123 setPixmap(promptColIdx, list->menuBackPix); in updateMenu()
134 if (list->mode == singleMode || list->mode == symbolMode) { in updateMenu()
138 if (sym && list->rootEntry == menu) in updateMenu()
140 setPixmap(promptColIdx, list->menuPix); in updateMenu()
164 if (!sym_is_changable(sym) && list->optMode == normalOpt) { in updateMenu()
175 setPixmap(promptColIdx, list->choiceYesPix); in updateMenu()
177 setPixmap(promptColIdx, list->symbolYesPix); in updateMenu()
182 setPixmap(promptColIdx, list->symbolModPix); in updateMenu()
[all …]
/rk3399_rockchip-uboot/drivers/usb/dwc3/
H A Dgadget.h63 static inline struct dwc3_request *next_request(struct list_head *list) in next_request() argument
65 if (list_empty(list)) in next_request()
68 return list_first_entry(list, struct dwc3_request, list); in next_request()
76 list_move_tail(&req->list, &dep->req_queued); in dwc3_gadget_move_request_queued()
/rk3399_rockchip-uboot/cmd/
H A Dconsole.c19 struct list_head *list = stdio_get_list(); in do_coninfo() local
27 list_for_each(pos, list) { in do_coninfo()
28 dev = list_entry(pos, struct stdio_dev, list); in do_coninfo()
/rk3399_rockchip-uboot/fs/ubifs/
H A Dgc.c126 sa = list_entry(a, struct ubifs_scan_node, list); in data_nodes_cmp()
127 sb = list_entry(b, struct ubifs_scan_node, list); in data_nodes_cmp()
170 sa = list_entry(a, struct ubifs_scan_node, list); in nondata_nodes_cmp()
171 sb = list_entry(b, struct ubifs_scan_node, list); in nondata_nodes_cmp()
247 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { in sort_nodes()
259 list_del(&snod->list); in sort_nodes()
276 list_del(&snod->list); in sort_nodes()
285 list_move_tail(&snod->list, nondata); in sort_nodes()
325 list_del(&snod->list); in move_node()
366 list_for_each_entry_safe(snod, tmp, &sleb->nodes, list) { in move_nodes()
[all …]
H A Dreplay.c55 struct list_head list; member
75 struct list_head list; member
170 list_for_each_entry(b, &c->replay_buds, list) { in set_buds_lprops()
279 ra = list_entry(a, struct replay_entry, list); in replay_entries_cmp()
280 rb = list_entry(b, struct replay_entry, list); in replay_entries_cmp()
301 list_for_each_entry(r, &c->replay_list, list) { in apply_replay_list()
322 list_for_each_entry_safe(r, tmp, &c->replay_list, list) { in destroy_replay_list()
325 list_del(&r->list); in destroy_replay_list()
377 list_add_tail(&r->list, &c->replay_list); in insert_node()
432 list_add_tail(&r->list, &c->replay_list); in insert_dent()
[all …]
H A Dlprops.c194 list_add(&lp->list, &c->uncat_list); in add_to_lpt_heap()
280 list_add(&lprops->list, &c->uncat_list); in ubifs_add_to_cat()
283 list_add(&lprops->list, &c->empty_list); in ubifs_add_to_cat()
286 list_add(&lprops->list, &c->freeable_list); in ubifs_add_to_cat()
290 list_add(&lprops->list, &c->frdi_idx_list); in ubifs_add_to_cat()
326 ubifs_assert(!list_empty(&lprops->list)); in ubifs_remove_from_cat()
327 list_del(&lprops->list); in ubifs_remove_from_cat()
363 list_replace(&old_lprops->list, &new_lprops->list); in ubifs_replace_cat()
793 lprops = list_entry(c->empty_list.next, struct ubifs_lprops, list); in ubifs_fast_find_empty()
816 lprops = list_entry(c->freeable_list.next, struct ubifs_lprops, list); in ubifs_fast_find_freeable()
[all …]
/rk3399_rockchip-uboot/doc/device-tree-bindings/pwm/
H A Dpwm.txt7 PWM users should specify a list of PWM devices that they want to use
8 with a property containing a 'pwm-list':
10 pwm-list ::= <single-pwm> [pwm-list]
18 An optional property "pwm-names" may contain a list of strings to label
24 pwm_get() call to an index into the list given by the "pwms" property.
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_allocator.c247 struct yaffs_obj_list *list; in yaffs_create_free_objs() local
259 list = kmalloc(sizeof(struct yaffs_obj_list), GFP_NOFS); in yaffs_create_free_objs()
261 if (!new_objs || !list) { in yaffs_create_free_objs()
264 kfree(list); in yaffs_create_free_objs()
265 list = NULL; in yaffs_create_free_objs()
280 list->objects = new_objs; in yaffs_create_free_objs()
281 list->next = allocator->allocated_obj_list; in yaffs_create_free_objs()
282 allocator->allocated_obj_list = list; in yaffs_create_free_objs()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dattach.c116 int lnum, int ec, int to_head, struct list_head *list) in add_to_list() argument
120 if (list == &ai->free) { in add_to_list()
122 } else if (list == &ai->erase) { in add_to_list()
124 } else if (list == &ai->alien) { in add_to_list()
139 list_add(&aeb->u.list, list); in add_to_list()
141 list_add_tail(&aeb->u.list, list); in add_to_list()
169 list_add(&aeb->u.list, &ai->corr); in add_corrupted()
637 list_add_tail(&aeb->u.list, &ai->erase); in ubi_remove_av()
712 aeb = list_entry(ai->free.next, struct ubi_ainf_peb, u.list); in ubi_early_get_peb()
713 list_del(&aeb->u.list); in ubi_early_get_peb()
[all …]
/rk3399_rockchip-uboot/drivers/mtd/
H A Dpic32_flash.c375 const char *list, *end; in pic32_flash_probe() local
388 list = fdt_getprop(blob, node, "reg-names", &len); in pic32_flash_probe()
389 if (!list) in pic32_flash_probe()
392 end = list + len; in pic32_flash_probe()
397 for (idx = 0, info = &flash_info[0]; list < end;) { in pic32_flash_probe()
400 len = strlen(list); in pic32_flash_probe()
401 if (!strncmp(list, "nvm", len)) { in pic32_flash_probe()
404 } else if (!strncmp(list, "bank", 4)) { in pic32_flash_probe()
410 list += len + 1; in pic32_flash_probe()
/rk3399_rockchip-uboot/drivers/usb/gadget/
H A Dcomposite.c53 list_add_tail(&function->list, &config->functions); in usb_add_function()
58 list_del(&function->list); in usb_add_function()
204 list_for_each_entry(f, &config->functions, list) { in config_buf()
251 list_for_each_entry(c, &cdev->configs, list) { in config_desc()
286 list_for_each_entry(c, &cdev->configs, list) { in count_configs()
323 list_for_each_entry(f, &cdev->config->functions, list) { in reset_config()
349 list_for_each_entry(c, &cdev->configs, list) { in set_config()
467 list_for_each_entry(c, &cdev->configs, list) { in usb_add_config()
475 list_add_tail(&config->list, &cdev->configs); in usb_add_config()
482 list_del(&config->list); in usb_add_config()
[all …]
/rk3399_rockchip-uboot/tools/
H A Dimage-host.c354 static void strlist_init(struct strlist *list) in strlist_init() argument
356 memset(list, '\0', sizeof(*list)); in strlist_init()
359 static void strlist_free(struct strlist *list) in strlist_free() argument
363 for (i = 0; i < list->count; i++) in strlist_free()
364 free(list->strings[i]); in strlist_free()
365 free(list->strings); in strlist_free()
368 static int strlist_add(struct strlist *list, const char *str) in strlist_add() argument
373 list->strings = realloc(list->strings, in strlist_add()
374 (list->count + 1) * sizeof(char *)); in strlist_add()
375 if (!list || !str) in strlist_add()
[all …]
/rk3399_rockchip-uboot/drivers/usb/gadget/udc/
H A Dudc-core.c41 struct list_head list; member
197 list_add_tail(&udc->list, &udc_list); in usb_add_gadget_udc_release()
249 list_for_each_entry(udc, &udc_list, list) in usb_del_gadget_udc()
261 list_del(&udc->list); in usb_del_gadget_udc()
331 list_for_each_entry(udc, &udc_list, list) { in usb_gadget_probe_driver()
362 list_for_each_entry(udc, &udc_list, list) in usb_gadget_unregister_driver()
/rk3399_rockchip-uboot/drivers/net/
H A Daltera_tse.c580 const char *list, *end; in altera_tse_probe() local
599 list = fdt_getprop(blob, node, "reg-names", &len); in altera_tse_probe()
600 if (!list) in altera_tse_probe()
602 end = list + len; in altera_tse_probe()
607 while (list < end) { in altera_tse_probe()
612 len = strlen(list); in altera_tse_probe()
613 if (strcmp(list, "control_port") == 0) in altera_tse_probe()
615 else if (strcmp(list, "rx_csr") == 0) in altera_tse_probe()
617 else if (strcmp(list, "rx_desc") == 0) in altera_tse_probe()
619 else if (strcmp(list, "rx_resp") == 0) in altera_tse_probe()
[all …]
/rk3399_rockchip-uboot/drivers/pinctrl/
H A Dpinctrl_stm32.c146 const fdt32_t *list; in stm32_pinctrl_set_state_simple() local
151 list = fdt_getprop(fdt, dev_of_offset(periph), "pinctrl-0", &size); in stm32_pinctrl_set_state_simple()
152 if (!list) in stm32_pinctrl_set_state_simple()
157 size /= sizeof(*list); in stm32_pinctrl_set_state_simple()
159 phandle = fdt32_to_cpu(*list++); in stm32_pinctrl_set_state_simple()

1234567891011