Searched refs:out_name (Results 1 - 12 of 12) sorted by relevance
/u-boot/include/dm/ |
H A D | acpi.h | 133 * @out_name: Place to put the name, must hold at least ACPI_NAME_MAX 138 int (*get_name)(const struct udevice *dev, char *out_name); 198 * @out_name: Place to put the name, must hold at least ACPI_NAME_MAX 203 int acpi_get_name(const struct udevice *dev, char *out_name); 213 * static int mydev_get_name(const struct udevice *dev, char *out_name) 215 * return acpi_copy_name(out_name, "WIBB"); 218 * @out_name: Place to put the name 222 int acpi_copy_name(char *out_name, const char *name);
|
/u-boot/drivers/core/ |
H A D | acpi.c | 80 int acpi_copy_name(char *out_name, const char *name) argument 82 strncpy(out_name, name, ACPI_NAME_LEN); 83 out_name[ACPI_NAME_LEN] = '\0'; 88 int acpi_get_name(const struct udevice *dev, char *out_name) argument 96 return aops->get_name(dev, out_name); 99 return acpi_copy_name(out_name, name); 100 ret = acpi_device_infer_name(dev, out_name);
|
H A D | root.c | 430 static int root_acpi_get_name(const struct udevice *dev, char *out_name) argument 432 return acpi_copy_name(out_name, "\\_SB");
|
/u-boot/drivers/rtc/ |
H A D | sandbox_rtc.c | 72 static int sandbox_rtc_get_name(const struct udevice *dev, char *out_name) argument 74 return acpi_copy_name(out_name, "RTCC");
|
/u-boot/arch/x86/cpu/apollolake/ |
H A D | lpc.c | 118 static int apl_acpi_lpc_get_name(const struct udevice *dev, char *out_name) argument 120 return acpi_copy_name(out_name, "LPCB");
|
H A D | hostbridge.c | 265 static int apl_acpi_hb_get_name(const struct udevice *dev, char *out_name) argument 267 return acpi_copy_name(out_name, "RHUB");
|
/u-boot/lib/acpi/ |
H A D | acpi_device.c | 787 int acpi_device_infer_name(const struct udevice *dev, char *out_name) argument 808 sprintf(out_name, udev->speed >= USB_SPEED_SUPER ? 810 name = out_name; 821 sprintf(out_name, "URT%d", dev_seq(dev)); 822 name = out_name; 825 sprintf(out_name, "I2C%d", dev_seq(dev)); 826 name = out_name; 829 sprintf(out_name, "SPI%d", dev_seq(dev)); 830 name = out_name; 840 if (name != out_name) [all...] |
/u-boot/drivers/gpio/ |
H A D | sandbox.c | 305 static int sb_gpio_get_name(const struct udevice *dev, char *out_name) argument 307 return acpi_copy_name(out_name, "GPIO"); 549 static int sb_pinctrl_get_name(const struct udevice *dev, char *out_name) argument 551 return acpi_copy_name(out_name, "PINC");
|
/u-boot/drivers/i2c/ |
H A D | acpi_i2c.c | 211 static int acpi_i2c_get_name(const struct udevice *dev, char *out_name) argument 216 snprintf(out_name, ACPI_NAME_MAX,
|
/u-boot/include/acpi/ |
H A D | acpi_device.h | 492 * @out_name: Place to put the name (must hold ACPI_NAME_MAX bytes) 496 int acpi_device_infer_name(const struct udevice *dev, char *out_name);
|
/u-boot/test/dm/ |
H A D | acpi.c | 83 static int testacpi_get_name(const struct udevice *dev, char *out_name) argument 90 *out_name = '\0'; 94 return acpi_copy_name(out_name, ACPI_TEST_CHILD_NAME); 96 return acpi_copy_name(out_name, ACPI_TEST_DEV_NAME);
|
/u-boot/drivers/clk/ |
H A D | clk_versaclock.c | 870 char *out_name[VC5_MAX_CLK_OUT_NUM]; local 979 out_name[n] = versaclock_get_name(dev->name, "out", n); 980 if (IS_ERR(out_name[n])) { 981 ret = PTR_ERR(out_name[n]); 986 ret = clk_register(&vc5->clk_out[n].hw, "versaclock-out", out_name[n], 1004 free(out_name[n]);
|
Completed in 119 milliseconds