/u-boot/drivers/core/ |
A D | uclass.c | 28 struct uclass *uc; in uclass_find() 57 struct uclass *uc; in uclass_add() 147 struct uclass *uc; in uclass_get() 160 struct uclass *uc; in uclass_get_name() 194 struct uclass *uc = dev->uclass; in dev_get_uclass_index() 214 struct uclass *uc; in uclass_find_device() 237 struct uclass *uc; in uclass_find_first_device() 268 struct uclass *uc; in uclass_find_device_by_name() 314 struct uclass *uc; in uclass_find_device_by_seq() 342 struct uclass *uc; in uclass_find_device_by_of_offset() [all …]
|
A D | Makefile | 5 obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o 13 obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
|
A D | dump.c | 21 " %-10.10s %3d [ %c ] %-20.20s ", dev->uclass->uc_drv->name, in show_devices() 79 struct uclass *uc; in dm_dump_uclass() 132 struct uclass *uc; in dm_dump_drivers()
|
/u-boot/cmd/ |
A D | bind.c | 14 static int bind_by_class_index(const char *uclass, int index, in bind_by_class_index() argument 29 uclass_id = uclass_get_by_name(uclass); in bind_by_class_index() 31 printf("%s is not a valid uclass\n", uclass); in bind_by_class_index() 37 printf("Cannot find device %d of class %s\n", index, uclass); in bind_by_class_index() 56 uclass_id = uclass_get_by_name(uclass); in find_dev() 58 printf("%s is not a valid uclass\n", uclass); in find_dev() 64 printf("Cannot find device %d of class %s\n", index, uclass); in find_dev() 71 static int unbind_by_class_index(const char *uclass, int index) in unbind_by_class_index() argument 76 ret = find_dev(uclass, index, &dev); in unbind_by_class_index() 95 static int unbind_child_by_class_index(const char *uclass, int index, in unbind_child_by_class_index() argument [all …]
|
/u-boot/include/dm/ |
A D | uclass-internal.h | 26 void uclass_set_priv(struct uclass *uc, void *priv); 42 int uclass_find_next_free_seq(struct uclass *uc); 65 int dev_get_uclass_index(struct udevice *dev, struct uclass **ucp); 251 struct uclass *uclass_find(enum uclass_id key); 261 int uclass_destroy(struct uclass *uc);
|
A D | uclass.h | 34 struct uclass { struct 102 int (*init)(struct uclass *class); 103 int (*destroy)(struct uclass *class); 123 void *uclass_get_priv(const struct uclass *uc); 136 int uclass_get(enum uclass_id key, struct uclass **ucp);
|
/u-boot/net/ |
A D | Makefile | 12 obj-$(CONFIG_DM_DSA) += dsa-uclass.o 14 obj-$(CONFIG_NET) += eth-uclass.o 18 obj-$(CONFIG_DM_MDIO) += mdio-uclass.o 19 obj-$(CONFIG_DM_MDIO_MUX) += mdio-mux-uclass.o
|
/u-boot/drivers/video/ |
A D | Makefile | 7 obj-$(CONFIG_BACKLIGHT) += backlight-uclass.o 13 obj-$(CONFIG_DISPLAY) += display-uclass.o 14 obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi-host-uclass.o 15 obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o 17 obj-$(CONFIG_PANEL) += panel-uclass.o 39 obj-$(CONFIG_OSD) += video_osd-uclass.o
|
/u-boot/drivers/axi/ |
A D | Makefile | 7 obj-$(CONFIG_AXI) += axi-uclass.o 9 obj-$(CONFIG_SANDBOX) += axi-emul-uclass.o
|
/u-boot/test/dm/ |
A D | test-uclass.c | 73 struct uclass *uc = dev->uclass; in test_post_probe() 102 static int test_init(struct uclass *uc) in test_init() 110 static int test_destroy(struct uclass *uc) in test_destroy()
|
A D | bus.c | 28 struct uclass *uc; in dm_test_bus_children() 146 struct uclass *uc; in test_bus_parent_data() 222 os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv)); in dm_test_bus_parent_data_uclass() 225 bus->uclass->uc_drv->per_child_auto = size; in dm_test_bus_parent_data_uclass() 230 bus->uclass->uc_drv->per_child_auto = 0; in dm_test_bus_parent_data_uclass() 243 struct uclass *uc; in dm_test_bus_parent_ops() 363 os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv)); in dm_test_bus_parent_plat_uclass() 366 bus->uclass->uc_drv->per_child_plat_auto = size; in dm_test_bus_parent_plat_uclass() 371 bus->uclass->uc_drv->per_child_plat_auto = 0; in dm_test_bus_parent_plat_uclass()
|
/u-boot/doc/driver-model/ |
A D | pmic-framework.rst | 10 This is an introduction to driver-model multi uclass PMIC IC's support. 11 At present it's based on two uclass types: 14 basic uclass type for PMIC I/O, which provides common 17 additional uclass type for specific PMIC features, which are 23 - drivers/power/pmic/pmic-uclass.c 26 - drivers/power/regulator/regulator-uclass.c 78 Pmic uclass 84 * Core: 'drivers/power/pmic/pmic-uclass.c' (config 'CONFIG_DM_PMIC') 104 This command can use only UCLASS_PMIC devices, since this uclass is designed 109 Regulator uclass [all …]
|
A D | design.rst | 52 There is a uclass called 'demo'. This uclass handles 54 uclass: 250 the UCLASS_DEMO uclass. 488 The demo uclass is declared like this: 497 numbering comes from include/dm/uclass-id.h. To add a new uclass, add to the 508 device in its uclass, so no two devices within a particular uclass can have 592 in that uclass. There are also uclass methods which can be called when 597 up) uclass:: 648 The uclass for the device can also contain data private to that uclass. 734 stored in the device, but it is uclass data. owned by the uclass driver. [all …]
|
/u-boot/drivers/sound/ |
A D | Makefile | 7 obj-$(CONFIG_SOUND) += codec-uclass.o 8 obj-$(CONFIG_SOUND) += i2s-uclass.o 9 obj-$(CONFIG_SOUND) += sound-uclass.o
|
/u-boot/drivers/scsi/ |
A D | Makefile | 7 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o 13 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
/u-boot/drivers/power/regulator/ |
A D | Kconfig | 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 121 uclass features for the FAN53555 regulator. The FAN53555 is 187 This enables implementation of driver-model regulator uclass 244 This enables implementation of driver-model regulator uclass 254 This enables implementation of driver-model regulator uclass 265 This enables implementation of driver-model regulator uclass 273 This enables implementation of driver-model regulator uclass 325 This enables implementation of driver-model regulator uclass 333 This enables implementation of driver-model regulator uclass [all …]
|
/u-boot/drivers/demo/ |
A D | Kconfig | 4 bool "Enable demo uclass support" 7 This uclass allows you to play around with driver model. It provides 9 the 'demo' command or by calling the uclass functions from your
|
/u-boot/drivers/misc/ |
A D | Makefile | 6 obj-$(CONFIG_MISC) += misc-uclass.o 44 obj-$(CONFIG_IRQ) += irq-uclass.o 55 obj-$(CONFIG_P2SB) += p2sb-uclass.o 57 obj-$(CONFIG_$(SPL_)PWRSEQ) += pwrseq-uclass.o
|
/u-boot/drivers/power/pmic/ |
A D | Kconfig | 10 - 'drivers/power/pmic/pmic-uclass.c' 47 This config enables implementation of driver-model pmic uclass features 54 This config enables implementation of driver-model pmic uclass features 69 This config enables implementation of driver-model pmic uclass features 76 This config enables implementation of driver-model pmic uclass 86 uclass features for the FAN53555 regulator. The FAN53555 is 105 This config enables implementation of driver-model pmic uclass 127 This config enables implementation of driver-model pmic uclass features 134 This config enables implementation of driver-model pmic uclass features 141 This config enables implementation of driver-model pmic uclass features [all …]
|
/u-boot/drivers/nvme/ |
A D | Makefile | 5 obj-y += nvme-uclass.o nvme.o nvme_show.o
|
/u-boot/drivers/led/ |
A D | led-uclass.c | 18 struct uclass *uc; in led_get_by_label() 70 struct uclass *uc; in led_default_state()
|
/u-boot/drivers/mux/ |
A D | Makefile | 6 obj-$(CONFIG_$(SPL_)MULTIPLEXER) += mux-uclass.o
|
/u-boot/drivers/hwspinlock/ |
A D | Makefile | 5 obj-$(CONFIG_DM_HWSPINLOCK) += hwspinlock-uclass.o
|
/u-boot/drivers/smem/ |
A D | Makefile | 6 obj-$(CONFIG_SMEM) += smem-uclass.o
|
/u-boot/drivers/w1/ |
A D | Makefile | 1 obj-$(CONFIG_W1) += w1-uclass.o
|