Home
last modified time | relevance | path

Searched refs:uclass (Results 1 – 25 of 160) sorted by relevance

1234567

/openbmc/u-boot/drivers/core/
H A Duclass.c24 struct uclass *uc; in uclass_find()
53 struct uclass *uc; in uclass_add()
140 struct uclass *uc; in uclass_get()
153 struct uclass *uc; in uclass_get_name()
177 struct uclass *uc = dev->uclass; in dev_get_uclass_index()
197 struct uclass *uc; in uclass_find_device()
220 struct uclass *uc; in uclass_find_first_device()
251 struct uclass *uc; in uclass_find_device_by_name()
275 struct uclass *uc; in uclass_find_next_free_req_seq()
299 struct uclass *uc; in uclass_find_device_by_seq()
[all …]
H A Dlists.c38 struct uclass_driver *uclass = in lists_uclass_lookup() local
39 ll_entry_start(struct uclass_driver, uclass); in lists_uclass_lookup()
40 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in lists_uclass_lookup()
43 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
H A Ddevice.c39 struct uclass *uc; in device_bind_common()
69 dev->uclass = uc; in device_bind_common()
129 size = parent->uclass->uc_drv-> in device_bind_common()
334 size = dev->uclass->uc_drv->per_device_auto_alloc_size; in device_probe()
337 dev->uclass->uc_drv->flags); in device_probe()
348 size = dev->parent->uclass->uc_drv-> in device_probe()
533 struct uclass *uc; in device_find_by_ofnode()
758 return dev->uclass->uc_drv->id; in device_get_uclass_id()
766 return dev->uclass->uc_drv->name; in dev_get_uclass_name()
827 struct uclass *uc; in dev_disable_by_path()
H A DMakefile5 obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o
11 obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
H A Droot.c107 struct uclass_driver *uclass = in fix_uclass() local
108 ll_entry_start(struct uclass_driver, uclass); in fix_uclass()
109 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in fix_uclass()
112 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
H A Ddump.c19 printf(" %-10.10s %2d [ %c ] %-20.20s ", dev->uclass->uc_drv->name, in show_devices()
77 struct uclass *uc; in dm_dump_uclass()
/openbmc/u-boot/cmd/
H A Dbind.c12 static int bind_by_class_index(const char *uclass, int index, in bind_by_class_index() argument
27 uclass_id = uclass_get_by_name(uclass); in bind_by_class_index()
29 printf("%s is not a valid uclass\n", uclass); in bind_by_class_index()
35 printf("Cannot find device %d of class %s\n", index, uclass); in bind_by_class_index()
54 uclass_id = uclass_get_by_name(uclass); in find_dev()
56 printf("%s is not a valid uclass\n", uclass); in find_dev()
62 printf("Cannot find device %d of class %s\n", index, uclass); in find_dev()
69 static int unbind_by_class_index(const char *uclass, int index) in unbind_by_class_index() argument
74 ret = find_dev(uclass, index, &dev); in unbind_by_class_index()
93 static int unbind_child_by_class_index(const char *uclass, int index, in unbind_child_by_class_index() argument
[all …]
H A Dw1.c34 dev->uclass->uc_drv->name); in w1_bus()
88 if (strcmp(dev->uclass->uc_drv->name, "w1_eeprom")) { in w1_read()
/openbmc/u-boot/doc/driver-model/
H A Dpmic-framework.txt13 3. Pmic uclass
14 4. Regulator uclass
18 This is an introduction to driver-model multi uclass PMIC IC's support.
19 At present it's based on two uclass types:
22 - UCLASS_REGULATOR - additional uclass type for specific PMIC features,
27 - drivers/power/pmic/pmic-uclass.c
30 - drivers/power/regulator/regulator-uclass.c
80 3. Pmic uclass
85 * Core: 'drivers/power/pmic/pmic-uclass.c'
112 4. Regulator uclass
[all …]
H A DREADME.txt46 There is a uclass called 'demo'. This uclass handles
48 uclass:
242 the UCLASS_DEMO uclass.
465 The demo uclass is declared like this:
472 numbering comes from include/dm/uclass.h. To add a new uclass, add to the
483 device in its uclass, so no two devices within a particular uclass can have
545 in that uclass. There are also uclass methods which can be called when
550 up) uclass:
601 The uclass for the device can also contain data private to that uclass.
675 stored in the device, but it is uclass data. owned by the uclass driver.
[all …]
/openbmc/u-boot/include/dm/
H A Duclass.h34 struct uclass { struct
99 int (*init)(struct uclass *class);
100 int (*destroy)(struct uclass *class);
112 ll_entry_declare(struct uclass_driver, __name, uclass)
125 int uclass_get(enum uclass_id key, struct uclass **ucp);
H A Duclass-internal.h48 int dev_get_uclass_index(struct udevice *dev, struct uclass **ucp);
242 struct uclass *uclass_find(enum uclass_id key);
252 int uclass_destroy(struct uclass *uc);
/openbmc/u-boot/drivers/video/
H A DMakefile12 obj-$(CONFIG_DISPLAY) += display-uclass.o
13 obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o
14 obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o
15 obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
36 obj-$(CONFIG_OSD) += video_osd-uclass.o
/openbmc/u-boot/test/dm/
H A Dtest-uclass.c71 struct uclass *uc = dev->uclass; in test_post_probe()
100 static int test_init(struct uclass *uc) in test_init()
108 static int test_destroy(struct uclass *uc) in test_destroy()
H A Dbus.c122 struct uclass *uc; in dm_test_bus_children()
239 struct uclass *uc; in test_bus_parent_data()
315 os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv)); in dm_test_bus_parent_data_uclass()
318 bus->uclass->uc_drv->per_child_auto_alloc_size = size; in dm_test_bus_parent_data_uclass()
323 bus->uclass->uc_drv->per_child_auto_alloc_size = 0; in dm_test_bus_parent_data_uclass()
337 struct uclass *uc; in dm_test_bus_parent_ops()
462 os_mprotect_allow(bus->uclass->uc_drv, sizeof(*bus->uclass->uc_drv)); in dm_test_bus_parent_platdata_uclass()
465 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = size; in dm_test_bus_parent_platdata_uclass()
470 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = 0; in dm_test_bus_parent_platdata_uclass()
/openbmc/u-boot/drivers/sound/
H A DMakefile7 obj-$(CONFIG_SOUND) += codec-uclass.o
8 obj-$(CONFIG_SOUND) += i2s-uclass.o
9 obj-$(CONFIG_SOUND) += sound-uclass.o
/openbmc/u-boot/drivers/power/regulator/
H A DKconfig12 - 'drivers/power/pmic/pmic-uclass.c'
13 - 'drivers/power/pmic/regulator-uclass.c'
50 This config enables implementation of driver-model regulator uclass
75 This config enables implementation of driver-model regulator uclass
84 uclass features for the FAN53555 regulator. The FAN53555 is
99 This config enables implementation of driver-model regulator uclass
138 This enables implementation of driver-model regulator uclass
195 This enables implementation of driver-model regulator uclass
205 This enables implementation of driver-model regulator uclass
216 This enables implementation of driver-model regulator uclass
[all …]
/openbmc/u-boot/drivers/axi/
H A DMakefile7 obj-$(CONFIG_AXI) += axi-uclass.o
9 obj-$(CONFIG_SANDBOX) += axi-emul-uclass.o
/openbmc/u-boot/drivers/scsi/
H A DMakefile7 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
13 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
/openbmc/u-boot/drivers/demo/
H A DKconfig4 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
/openbmc/u-boot/drivers/i2c/
H A DMakefile5 obj-$(CONFIG_DM_I2C) += i2c-uclass.o
6 obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o
34 obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o
/openbmc/u-boot/drivers/pci/
H A Dpci-emul-uclass.c46 struct sandbox_pci_emul_priv *priv = dev->uclass->priv; in sandbox_pci_emul_post_probe()
56 struct sandbox_pci_emul_priv *priv = dev->uclass->priv; in sandbox_pci_emul_pre_remove()
H A DMakefile8 obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o
11 obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
/openbmc/u-boot/drivers/led/
H A Dled-uclass.c18 struct uclass *uc; in led_get_by_label()
70 struct uclass *uc; in led_default_state()
/openbmc/u-boot/doc/
H A DREADME.tee2 TEE uclass
5 This document describes the TEE uclass in U-Boot
12 This uclass deals with:
87 | uclass | | API |

1234567