/u-boot/drivers/misc/ |
A D | stm32_rcc.c | 19 .drv_name = "stm32fx_rcc_clock", 24 .drv_name = "stm32fx_rcc_clock", 29 .drv_name = "stm32fx_rcc_clock", 34 .drv_name = "stm32h7_rcc_clock", 38 .drv_name = "stm32mp1_clk", 51 drv = lists_driver_lookup_name(rcc_clk->drv_name); in stm32_rcc_bind() 53 dev_err(dev, "Cannot find driver '%s'\n", rcc_clk->drv_name); in stm32_rcc_bind()
|
/u-boot/cmd/ |
A D | bind.c | 15 const char *drv_name) in bind_by_class_index() argument 23 drv = lists_driver_lookup_name(drv_name); in bind_by_class_index() 25 printf("Cannot find driver '%s'\n", drv_name); in bind_by_class_index() 96 const char *drv_name) in unbind_child_by_class_index() argument 102 drv = lists_driver_lookup_name(drv_name); in unbind_child_by_class_index() 104 printf("Cannot find driver '%s'\n", drv_name); in unbind_child_by_class_index() 123 static int bind_by_node_path(const char *path, const char *drv_name) in bind_by_node_path() argument 131 drv = lists_driver_lookup_name(drv_name); in bind_by_node_path() 133 printf("%s is not a valid driver name\n", drv_name); in bind_by_node_path()
|
A D | log.c | 94 const char *drv_name = "console"; in do_log_filter_list() local 103 drv_name = gs.arg; in do_log_filter_list() 113 ldev = log_device_find_by_name(drv_name); in do_log_filter_list() 115 printf("Could not find log device for \"%s\"\n", drv_name); in do_log_filter_list() 155 const char *drv_name = "console"; in do_log_filter_add() local 194 drv_name = gs.arg; in do_log_filter_add() 250 const char *drv_name = "console"; in do_log_filter_remove() local 260 drv_name = gs.arg; in do_log_filter_remove() 274 ldev = log_device_find_by_name(drv_name); in do_log_filter_remove() 277 drv_name); in do_log_filter_remove() [all …]
|
/u-boot/drivers/clk/ |
A D | clk.c | 16 int clk_register(struct clk *clk, const char *drv_name, in clk_register() argument 32 drv = lists_driver_lookup_name(drv_name); in clk_register() 35 __func__, drv_name); in clk_register()
|
A D | clk_sandbox_ccf.c | 61 char *drv_name = "sandbox_clk_pllv3"; in sandbox_clk_pllv3() local 71 ret = clk_register(clk, drv_name, name, parent_name); in sandbox_clk_pllv3()
|
/u-boot/include/dm/ |
A D | lists.h | 74 int device_bind_driver(struct udevice *parent, const char *drv_name, 89 int device_bind_driver_to_node(struct udevice *parent, const char *drv_name,
|
/u-boot/drivers/clk/imx/ |
A D | clk-pllv3.c | 256 char *drv_name; in imx_clk_pllv3() local 268 drv_name = UBOOT_DM_CLK_IMX_PLLV3_GENERIC; in imx_clk_pllv3() 273 drv_name = UBOOT_DM_CLK_IMX_PLLV3_SYS; in imx_clk_pllv3() 278 drv_name = UBOOT_DM_CLK_IMX_PLLV3_USB; in imx_clk_pllv3() 283 drv_name = UBOOT_DM_CLK_IMX_PLLV3_AV; in imx_clk_pllv3() 288 drv_name = UBOOT_DM_CLK_IMX_PLLV3_ENET; in imx_clk_pllv3() 300 ret = clk_register(clk, drv_name, name, parent_name); in imx_clk_pllv3()
|
/u-boot/drivers/core/ |
A D | lists.c | 132 int device_bind_driver(struct udevice *parent, const char *drv_name, in device_bind_driver() argument 135 return device_bind_driver_to_node(parent, drv_name, dev_name, in device_bind_driver() 139 int device_bind_driver_to_node(struct udevice *parent, const char *drv_name, in device_bind_driver_to_node() argument 146 drv = lists_driver_lookup_name(drv_name); in device_bind_driver_to_node() 148 debug("Cannot find driver '%s'\n", drv_name); in device_bind_driver_to_node()
|
/u-boot/common/ |
A D | log.c | 104 struct log_device *log_device_find_by_name(const char *drv_name) in log_device_find_by_name() argument 109 if (!strcmp(drv_name, ldev->drv->name)) in log_device_find_by_name() 279 int log_add_filter_flags(const char *drv_name, enum log_category_t cat_list[], in log_add_filter_flags() argument 288 ldev = log_device_find_by_name(drv_name); in log_add_filter_flags() 330 int log_remove_filter(const char *drv_name, int filter_num) in log_remove_filter() argument 335 ldev = log_device_find_by_name(drv_name); in log_remove_filter()
|
/u-boot/include/ |
A D | log.h | 495 struct log_device *log_device_find_by_name(const char *drv_name); 552 int log_add_filter_flags(const char *drv_name, enum log_category_t cat_list[], 571 static inline int log_add_filter(const char *drv_name, in log_add_filter() argument 576 return log_add_filter_flags(drv_name, cat_list, max_level, file_list, in log_add_filter() 590 int log_remove_filter(const char *drv_name, int filter_num);
|
A D | stm32_rcc.h | 55 char *drv_name; member
|
A D | blk.h | 346 int blk_create_device(struct udevice *parent, const char *drv_name, 363 int blk_create_devicef(struct udevice *parent, const char *drv_name,
|
A D | spi.h | 592 const char *drv_name, const char *dev_name,
|
/u-boot/drivers/spi/ |
A D | spi-uclass.c | 333 const char *drv_name, const char *dev_name, in spi_get_bus_and_cs() argument 359 if (ret == -ENODEV && drv_name) { in spi_get_bus_and_cs() 361 __func__, dev_name, busnum, cs, drv_name); in spi_get_bus_and_cs() 362 ret = device_bind_driver(bus, drv_name, dev_name, &dev); in spi_get_bus_and_cs()
|
/u-boot/drivers/video/ |
A D | video-uclass.c | 333 const char *drv_name = drv; in video_post_probe() local 379 drv_name = priv->vidconsole_drv_name; in video_post_probe() 380 ret = device_bind_driver(dev, drv_name, str, &cons); in video_post_probe()
|
/u-boot/drivers/block/ |
A D | blk-uclass.c | 566 int blk_create_device(struct udevice *parent, const char *drv_name, in blk_create_device() argument 583 ret = device_bind_driver(parent, drv_name, name, &dev); in blk_create_device() 599 int blk_create_devicef(struct udevice *parent, const char *drv_name, in blk_create_devicef() argument 611 ret = blk_create_device(parent, drv_name, str, if_type, devnum, in blk_create_devicef()
|
/u-boot/include/linux/ |
A D | clk-provider.h | 227 int clk_register(struct clk *clk, const char *drv_name, const char *name,
|
/u-boot/test/dm/ |
A D | video.c | 103 static int select_vidconsole(struct unit_test_state *uts, const char *drv_name) in select_vidconsole() argument
|
/u-boot/drivers/clk/at91/ |
A D | compat.c | 64 int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name) in at91_clk_sub_device_bind() argument 92 ret = device_bind_driver_to_node(dev, drv_name, name, in at91_clk_sub_device_bind()
|