/u-boot/drivers/input/ |
H A D | button_kbd.c | 43 if (!uc_plat->label) 46 uc_plat->label, i, button_gpio_devp->name); 82 if (!uc_plat->label) 92 debug("%s: %d\n", uc_plat->label, code);
|
/u-boot/scripts/dtc/ |
H A D | livetree.c | 27 void add_label(struct label **labels, char *label) argument 29 struct label *new; 31 /* Make sure the label isn't already there */ 33 if (streq(new->label, label)) { 40 new->label = label; 45 void delete_labels(struct label **labels) 47 struct label *labe local 448 get_property_by_label(struct node *tree, const char *label, struct node **node) argument 474 get_marker_label(struct node *tree, const char *label, struct node **node, struct property **prop) argument 540 get_node_by_label(struct node *tree, const char *label) argument [all...] |
H A D | flattree.c | 55 void (*beginnode)(void *, struct label *labels); 56 void (*endnode)(void *, struct label *labels); 57 void (*property)(void *, struct label *labels); 92 static void bin_emit_beginnode(void *e, struct label *labels) 97 static void bin_emit_endnode(void *e, struct label *labels) 102 static void bin_emit_property(void *e, struct label *labels) 117 static void emit_label(FILE *f, const char *prefix, const char *label) argument 119 fprintf(f, "\t.globl\t%s_%s\n", prefix, label); 120 fprintf(f, "%s_%s:\n", prefix, label); 121 fprintf(f, "_%s_%s:\n", prefix, label); 124 emit_offset_label(FILE *f, const char *label, int offset) argument [all...] |
H A D | treesource.c | 240 struct label *l; 244 fprintf(f, "%s: ", l->label); 253 fprintf(f, "%s: ", l->label); 273 struct label *l; 276 fprintf(f, "%s: ", l->label);
|
/u-boot/cmd/ |
H A D | button.c | 42 if (!plat->label) 44 printf("%-15s ", plat->label);
|
H A D | led.c | 59 if (!plat->label) 61 printf("%-15s ", plat->label);
|
H A D | efidebug.c | 729 u16 *label; local 733 if (argc < 3 || lo->label) 740 label = efi_convert_string(argv[2]); 741 if (!label) 750 lo->label = label; 783 * efidebug boot add -b <id> <label> <interface> <devnum>[:<part>] <file> 794 u16 *label; local 811 lo.label = NULL; 828 if (argc < 5 || lo.label) { [all...] |
H A D | bootflow.c | 140 const char *label = NULL; local 164 label = argv[1]; 165 if (!label) 194 else if (label) 195 printf("with label '%s'\n", label); 205 ret = bootflow_scan_first(dev, label, &iter, flags, &bflow);
|
/u-boot/boot/ |
H A D | bootdev-uclass.c | 381 * label_to_uclass() - Convert a label to a uclass and sequence number 383 * @label: Label to look up (e.g. "mmc1" or "mmc0") 385 * @method_flagsp: If non-NULL, returns any flags implied by the label 390 static int label_to_uclass(const char *label, int *seqp, int *method_flagsp) argument 397 seq = trailing_strtoln_end(label, NULL, &end); 398 len = end - label; 401 id = uclass_get_by_namelen(label, len); 402 log_debug("find %s: seq=%d, id=%d/%s\n", label, seq, id, 407 !strncmp("spi", label, len)) { 410 !strncmp("pxe", label, le 430 bootdev_find_by_label(const char *label, struct udevice **devp, int *method_flagsp) argument 529 bootdev_hunt_and_find_by_label(const char *label, struct udevice **devp, int *method_flagsp) argument 603 const char *label = iter->labels[iter->cur_label]; local 709 bootdev_setup_iter(struct bootflow_iter *iter, const char *label, struct udevice **devp, int *method_flagsp) argument [all...] |
H A D | bootflow_menu.c | 80 char str[2], *label, *key; local 92 label = strdup(dev_get_parent(bflow->dev)->name); 93 if (!label) { 102 ret |= scene_txt_str(scn, "label", ITEM_LABEL + i, 103 STR_LABEL + i, label, NULL);
|
/u-boot/board/siemens/iot2050/ |
H A D | board.c | 53 const char *label; member in struct:gpio_config 123 static int get_pinvalue(const char *gpio_name, const char *label) argument 128 dm_gpio_request(&gpio, label) < 0 || 137 static void set_pinvalue(const char *gpio_name, const char *label, int value) argument 142 dm_gpio_request(&gpio, label) < 0 || 302 m2_bkey_cfg_pin_info[n].label); 323 serdes_mux_ctl_pin_info[0].label, 326 serdes_mux_ctl_pin_info[1].label, 329 serdes_mux_ctl_pin_info[2].label,
|
/u-boot/include/ |
H A D | bootdev.h | 236 * bootdev_find_by_label() - Look up a bootdev by label 238 * Each bootdev has a label which contains the media-uclass name and a number, 239 * e.g. 'mmc2'. This looks up the label and returns the associated bootdev 244 * @label: Label to look up (e.g. "mmc1" or "mmc0") 247 * @method_flagsp: If non-NULL, returns any flags implied by the label 252 int bootdev_find_by_label(const char *label, struct udevice **devp, 256 * bootdev_find_by_any() - Find a bootdev by name, label or sequence 258 * @name: name (e.g. "mmc2.bootdev"), label ("mmc2"), or sequence ("2") to find 260 * @method_flagsp: If non-NULL, returns any flags implied by the label 271 * This sets up the an interation, based on the provided device or label [all...] |
/u-boot/drivers/usb/musb-new/ |
H A D | Makefile | 20 $(call cc-option,-Wno-unused-label)
|
/u-boot/drivers/phy/ |
H A D | omap-usb2-phy.c | 53 const char *label; member in struct:usb_phy_data 61 .label = "omap5_usb2", 68 .label = "dra7x_usb2", 75 .label = "dra7x_usb2_phy2", 82 .label = "am437x_usb2", 91 .label = "am654_usb2",
|
/u-boot/drivers/misc/ |
H A D | gsc.c | 178 const char *label; local 187 label = ofnode_read_string(node, "label"); 189 if ((reg == -1) || (mode == -1) || !label) 192 if (mode != 0 || strcmp(label, "temp")) 282 const char *label; local 294 label = ofnode_read_string(node, "label"); 295 if ((reg == -1) || (mode == -1) || !label) 310 printf("%-8s: %d.%ldC\n", label, va [all...] |
/u-boot/drivers/block/ |
H A D | blkmap.c | 424 struct udevice *blkmap_from_label(const char *label) argument 432 if (bm->label && !strcmp(label, bm->label)) 439 int blkmap_create(const char *label, struct udevice **devp) argument 447 dev = blkmap_from_label(label); 453 hlabel = strdup(label); 459 namelen = strlen("blkmap-") + strlen(label) + 1; 467 strlcat(hname, label, namelen); 475 bm->label [all...] |
/u-boot/drivers/fwu-mdata/ |
H A D | raw_mtd.c | 124 node = ofnode_by_prop_value(parts_node, "label", part_name, strlen(part_name) + 1); 126 log_err("Warning: Failed to find partition by label <%s>\n", part_name); 141 const char *label; local 180 ret = ofnode_read_string_index(dev_ofnode(dev), "mdata-parts", 0, &label); 183 strncpy(mtd_priv->pri_label, label, 50); 190 ret = ofnode_read_string_index(dev_ofnode(dev), "mdata-parts", 1, &label); 193 strncpy(mtd_priv->sec_label, label, 50); 208 bank_name = ofnode_read_string(bank, "label");
|
/u-boot/drivers/gpio/ |
H A D | mcp230xx_gpio.c | 300 char name[32], label[32], *str; local 331 tmp = dev_read_prop(dev, "label", &size); 333 memcpy(label, tmp, sizeof(label) - 1); 334 label[sizeof(label) - 1] = '\0'; 335 snprintf(name, sizeof(name), "%s@%x_", label, addr);
|
H A D | zynq_gpio.c | 107 * @label: string to store in gpio->label 114 const char *label; member in struct:zynq_platform_data 125 .label = "versal_gpio", 135 .label = "pmc_gpio", 149 .label = "zynqmp_gpio", 167 .label = "zynq_gpio", 376 label_ptr = dev_read_prop(dev, "label", NULL);
|
H A D | pca953x_gpio.c | 308 char name[32], label[8], *str; local 350 tmp = dev_read_prop(dev, "label", &size); 353 memcpy(label, tmp, sizeof(label) - 1); 354 label[sizeof(label) - 1] = '\0'; 355 snprintf(name, sizeof(name), "%s@%x_", label, info->addr);
|
/u-boot/include/fsl-mc/ |
H A D | fsl_dprc.h | 39 u8 label[16]; member in struct:dprc_cmd_create_container 166 * @label: Object's label 172 char label[16]; member in struct:dprc_cfg
|
/u-boot/board/kontron/pitx_imx8m/ |
H A D | pitx_imx8m.c | 136 static void reset_device_by_gpio(const char *label, int pin, int delay_ms) argument 138 gpio_request(pin, label);
|
/u-boot/arch/powerpc/include/asm/ |
H A D | mpc85xx_gpio.h | 69 static inline int gpio_request(unsigned gpio, const char *label) argument
|
/u-boot/lib/efi_loader/ |
H A D | efi_bootmgr.c | 194 * @lo_label: u16 label string of load option 204 char *label = NULL, *p; local 206 label = efi_alloc(utf16_utf8_strlen(lo_label) + 1); 207 if (!label) 210 p = label; 212 err = blkmap_create_ramdisk(label, addr, size, &bm_dev); 214 efi_free_pool(label); 219 efi_free_pool(label); 336 * @label: label o 343 prepare_loaded_image(u16 *label, ulong addr, ulong size, struct efi_device_path **dp, struct udevice **blk) argument [all...] |
/u-boot/drivers/pinctrl/ |
H A D | pinctrl_stm32.c | 207 const char *label; local 220 mode = gpio_get_raw_function(gpio_dev, gpio_idx, &label); 242 pinmux_bias[pupd], label ? label : "", 247 pinmux_bias[pupd], label ? label : "");
|