Searched refs:currdev (Results 1 – 4 of 4) sorted by relevance
/u-boot/cmd/ |
A D | wdt.c | 13 static struct udevice *currdev; variable 38 ret = uclass_get_device_by_name(UCLASS_WDT, argv[1], &currdev); in do_wdt_dev() 44 if (!currdev) { in do_wdt_dev() 48 printf("dev: %s\n", currdev->name); in do_wdt_dev() 56 if (!currdev) { in check_currdev() 81 ret = wdt_start(currdev, timeout, flags); in do_wdt_start() 102 ret = wdt_stop(currdev); in do_wdt_stop() 123 ret = wdt_reset(currdev); in do_wdt_reset() 148 ret = wdt_expire_now(currdev, flags); in do_wdt_expire()
|
A D | pmic.c | 16 static struct udevice *currdev; variable 33 ret = pmic_get(name, &currdev); in do_dev() 39 if (!currdev) { in do_dev() 44 printf("dev: %d @ %s\n", dev_seq(currdev), currdev->name); in do_dev() 87 if (!currdev) { in do_dump() 92 dev = currdev; in do_dump() 133 if (!currdev) { in do_read() 138 dev = currdev; in do_read() 171 if (!currdev) { in do_write() 176 dev = currdev; in do_write()
|
A D | pinmux.c | 15 static struct udevice *currdev; variable 26 ret = uclass_get_device_by_name(UCLASS_PINCTRL, name, &currdev); in do_dev() 33 if (!currdev) { in do_dev() 38 printf("dev: %s\n", currdev->name); in do_dev() 85 if (currdev && (argc < 2 || strcmp(argv[1], "-a"))) in do_status() 86 return show_pinmux(currdev); in do_status()
|
A D | regulator.c | 17 static struct udevice *currdev; variable 35 ret = regulator_get_by_platname(name, &currdev); in do_dev() 41 if (!currdev) { in do_dev() 46 uc_pdata = dev_get_uclass_plat(currdev); in do_dev() 48 printf("%s: no regulator platform data!\n", currdev->name); in do_dev() 52 printf("dev: %s @ %s\n", uc_pdata->name, currdev->name); in do_dev() 65 if (!currdev) { in curr_dev_and_plat() 70 *devp = currdev; in curr_dev_and_plat() 74 pr_err("Regulator: %s - missing platform data!\n", currdev->name); in curr_dev_and_plat() 244 if (currdev && (argc < 2 || strcmp(argv[1], "-a"))) { in do_status()
|
Completed in 23 milliseconds