Searched refs:drv_name (Results 1 - 23 of 23) sorted by relevance

/u-boot/drivers/misc/
H A Dstm32_rcc.c19 .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",
43 .drv_name = "stm32mp13_clk",
56 drv = lists_driver_lookup_name(rcc_clk->drv_name);
58 dev_err(dev, "Cannot find driver '%s'\n", rcc_clk->drv_name);
/u-boot/include/dm/
H A Dlists.h73 * @drv_name: Name of driver to attach to this parent
78 int device_bind_driver(struct udevice *parent, const char *drv_name,
88 * @drv_name: Name of driver to attach to this parent
94 int device_bind_driver_to_node(struct udevice *parent, const char *drv_name,
/u-boot/include/
H A Dbootdev.h160 * @drv_name: Driver name to use for the bootdev device
164 int bootdev_bind(struct udevice *parent, const char *drv_name, const char *name,
393 * @drv_name: Name of bootdev driver to bind
396 int bootdev_setup_for_dev(struct udevice *parent, const char *drv_name);
408 * @drv_name: Name of bootdev driver to bind
411 int bootdev_setup_for_sibling_blk(struct udevice *blk, const char *drv_name);
436 const char *drv_name)
442 const char *drv_name)
435 bootdev_setup_for_dev(struct udevice *parent, const char *drv_name) argument
441 bootdev_setup_for_sibling_blk(struct udevice *blk, const char *drv_name) argument
H A Dstm32_rcc.h55 char *drv_name; member in struct:stm32_rcc_clk
H A Dlog.h548 * @drv_name: Name of the driver
551 struct log_device *log_device_find_by_name(const char *drv_name);
595 * @drv_name: Driver name to add the filter to (since each driver only has a
608 int log_add_filter_flags(const char *drv_name, enum log_category_t cat_list[],
615 * @drv_name: Driver name to add the filter to (since each driver only has a
627 static inline int log_add_filter(const char *drv_name, argument
632 return log_add_filter_flags(drv_name, cat_list, max_level, file_list,
639 * @drv_name: Driver name to remove the filter from (since each driver only has
646 int log_remove_filter(const char *drv_name, int filter_num);
H A Dblk.h383 * @drv_name: Driver name to use for the block device
392 int blk_create_device(struct udevice *parent, const char *drv_name,
400 * @drv_name: Driver name to use for the block device
409 int blk_create_devicef(struct udevice *parent, const char *drv_name,
H A Dspi.h593 * If no such slave exists, and drv_name is not NULL, then a new slave device
603 * @drv_name: Name of driver to attach to this chip select
610 const char *drv_name, const char *dev_name,
/u-boot/cmd/
H A Dlog.c94 const char *drv_name = "console"; local
103 drv_name = gs.arg;
113 ldev = log_device_find_by_name(drv_name);
115 printf("Could not find log device for \"%s\"\n", drv_name);
155 const char *drv_name = "console"; local
194 drv_name = gs.arg;
232 err = log_add_filter_flags(drv_name, cat_count ? cat_list : NULL, level,
250 const char *drv_name = "console"; local
260 drv_name = gs.arg;
274 ldev = log_device_find_by_name(drv_name);
[all...]
H A Dbind.c15 const char *drv_name)
23 drv = lists_driver_lookup_name(drv_name);
25 printf("Cannot find driver '%s'\n", drv_name);
96 const char *drv_name)
102 drv = lists_driver_lookup_name(drv_name);
104 printf("Cannot find driver '%s'\n", drv_name);
123 static int bind_by_node_path(const char *path, const char *drv_name) argument
131 drv = lists_driver_lookup_name(drv_name);
133 printf("%s is not a valid driver name\n", drv_name);
14 bind_by_class_index(const char *uclass, int index, const char *drv_name) argument
95 unbind_child_by_class_index(const char *uclass, int index, const char *drv_name) argument
/u-boot/drivers/clk/
H A Dclk.c18 int clk_register(struct clk *clk, const char *drv_name, argument
36 drv = lists_driver_lookup_name(drv_name);
39 __func__, drv_name);
H A Dclk_sandbox_ccf.c61 char *drv_name = "sandbox_clk_pllv3"; local
71 ret = clk_register(clk, drv_name, name, parent_name);
/u-boot/drivers/clk/exynos/
H A Dclk-pll.c106 const char *drv_name; local
120 drv_name = UBOOT_DM_CLK_SAMSUNG_PLL0822X;
123 drv_name = UBOOT_DM_CLK_SAMSUNG_PLL0831X;
130 ret = clk_register(clk, drv_name, pll_clk->name, pll_clk->parent_name);
/u-boot/drivers/clk/imx/
H A Dclk-pllv3.c291 char *drv_name; local
304 drv_name = UBOOT_DM_CLK_IMX_PLLV3_GENERIC;
311 drv_name = UBOOT_DM_CLK_IMX_PLLV3_GENV2;
316 drv_name = UBOOT_DM_CLK_IMX_PLLV3_SYS;
321 drv_name = UBOOT_DM_CLK_IMX_PLLV3_USB;
326 drv_name = UBOOT_DM_CLK_IMX_PLLV3_AV;
331 drv_name = UBOOT_DM_CLK_IMX_PLLV3_ENET;
343 ret = clk_register(clk, drv_name, name, parent_name);
/u-boot/drivers/core/
H A Dlists.c132 int device_bind_driver(struct udevice *parent, const char *drv_name, argument
135 return device_bind_driver_to_node(parent, drv_name, dev_name,
139 int device_bind_driver_to_node(struct udevice *parent, const char *drv_name, argument
146 drv = lists_driver_lookup_name(drv_name);
148 debug("Cannot find driver '%s'\n", drv_name);
/u-boot/common/
H A Dlog.c108 struct log_device *log_device_find_by_name(const char *drv_name) argument
113 if (!strcmp(drv_name, ldev->drv->name))
321 int log_add_filter_flags(const char *drv_name, enum log_category_t cat_list[], argument
330 ldev = log_device_find_by_name(drv_name);
372 int log_remove_filter(const char *drv_name, int filter_num) argument
377 ldev = log_device_find_by_name(drv_name);
/u-boot/drivers/firmware/
H A Dpsci.c154 const char *drv_name = feature->driver_name; local
161 ret = device_bind_driver(dev, drv_name, drv_name, &dev2);
163 pr_warn("%s was not bound: %d, ignore\n", drv_name, ret);
/u-boot/drivers/spi/
H A Dspi-uclass.c383 const char *drv_name, const char *dev_name,
409 if (ret == -ENODEV && drv_name) {
411 __func__, dev_name, busnum, cs, drv_name);
412 ret = device_bind_driver(bus, drv_name, dev_name, &dev);
382 _spi_get_bus_and_cs(int busnum, int cs, int speed, int mode, const char *drv_name, const char *dev_name, struct udevice **busp, struct spi_slave **devp) argument
/u-boot/drivers/block/
H A Dblk-uclass.c697 int blk_create_device(struct udevice *parent, const char *drv_name, argument
714 ret = device_bind_driver(parent, drv_name, name, &dev);
730 int blk_create_devicef(struct udevice *parent, const char *drv_name, argument
742 ret = blk_create_device(parent, drv_name, str, uclass_id, devnum,
/u-boot/boot/
H A Dbootdev-uclass.c89 int bootdev_bind(struct udevice *parent, const char *drv_name, const char *name, argument
101 ret = device_bind_driver(parent, drv_name, str, &dev);
240 int bootdev_setup_for_dev(struct udevice *parent, const char *drv_name) argument
253 ret = bootdev_bind(parent, drv_name, "bootdev", &bdev);
275 int bootdev_setup_for_sibling_blk(struct udevice *blk, const char *drv_name) argument
298 ret = device_bind_driver(parent, drv_name, str, &dev);
/u-boot/drivers/video/
H A Dvideo-uclass.c538 const char *drv_name = drv; local
604 drv_name = priv->vidconsole_drv_name;
605 ret = device_bind_driver(dev, drv_name, str, &cons);
/u-boot/include/linux/
H A Dclk-provider.h232 int clk_register(struct clk *clk, const char *drv_name, const char *name,
/u-boot/drivers/clk/at91/
H A Dcompat.c64 int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name) argument
92 ret = device_bind_driver_to_node(dev, drv_name, name,
/u-boot/test/dm/
H A Dvideo.c106 static int select_vidconsole(struct unit_test_state *uts, const char *drv_name) argument

Completed in 233 milliseconds