/external/u-boot/drivers/core/ |
D | uclass.c | 22 struct uclass *uclass_find(enum uclass_id key) in uclass_find() 24 struct uclass *uc; in uclass_find() 50 static int uclass_add(enum uclass_id id, struct uclass **ucp) in uclass_add() 53 struct uclass *uc; in uclass_add() 104 int uclass_destroy(struct uclass *uc) in uclass_destroy() 138 int uclass_get(enum uclass_id id, struct uclass **ucp) in uclass_get() 140 struct uclass *uc; in uclass_get() 153 struct uclass *uc; in uclass_get_name() 176 struct uclass *uc; in uclass_find_device() 199 struct uclass *uc; in uclass_find_first_device() [all …]
|
D | lists.c | 38 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()
|
D | root.c | 107 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()
|
D | device.c | 38 struct uclass *uc; in device_bind_common() 68 dev->uclass = uc; in device_bind_common() 126 size = parent->uclass->uc_drv-> in device_bind_common() 322 size = dev->uclass->uc_drv->per_device_auto_alloc_size; in device_probe() 335 size = dev->parent->uclass->uc_drv-> in device_probe() 654 return dev->uclass->uc_drv->id; in device_get_uclass_id() 662 return dev->uclass->uc_drv->name; in dev_get_uclass_name()
|
D | Makefile | 5 obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o 11 obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
|
D | dump.c | 18 printf(" %-10.10s [ %c ] %-10.10s ", dev->uclass->uc_drv->name, in show_devices() 75 struct uclass *uc; in dm_dump_uclass()
|
/external/u-boot/doc/driver-model/ |
D | pmic-framework.txt | 13 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: 20 - UCLASS_PMIC - basic uclass type for PMIC I/O, which provides common 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' [all …]
|
D | README.txt | 22 Uclass - a group of devices which operate in the same way. A uclass provides 24 using the same interface. For example a GPIO uclass provides 25 operations for get/set value. An I2C uclass may have 10 I2C ports, 46 There is a uclass called 'demo'. This uclass handles 48 uclass: 90 in sandbox, and every uclass has its own test. As a move towards this, tests 240 This function looks up a device for the demo uclass. Given a device 242 the UCLASS_DEMO uclass. 250 This function is in the demo uclass. It takes care of calling the 'hello' 254 The code for demo_hello() is in drivers/demo/demo-uclass.c: [all …]
|
D | usb-info.txt | 16 causes the USB uclass to be included, and drops the equivalent code in 18 uclass. 25 as drivers in the USB uclass. For example: 48 Each has its own data value. Controllers must be in the UCLASS_USB uclass. 106 controller uclass. It is mostly used to keep track of the next 123 and from there the devices are numbered in sequence. The USB uclass takes 148 like. These are now implemented by the USB uclass and route through the 172 available hubs in a depth-first search. Devices can be in any uclass, but 222 done, we have a device with the correct uclass. At this point we want to 248 For hubs, the hub uclass has a post_probe() method. This means that after [all …]
|
/external/u-boot/include/dm/ |
D | uclass.h | 34 struct uclass { struct 93 int (*init)(struct uclass *class); 94 int (*destroy)(struct uclass *class); 106 ll_entry_declare(struct uclass_driver, __name, uclass) 119 int uclass_get(enum uclass_id key, struct uclass **ucp);
|
D | uclass-internal.h | 201 struct uclass *uclass_find(enum uclass_id key); 211 int uclass_destroy(struct uclass *uc);
|
/external/u-boot/drivers/video/ |
D | Makefile | 7 obj-$(CONFIG_DISPLAY) += display-uclass.o 8 obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o 9 obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o 10 obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
|
/external/u-boot/test/dm/ |
D | test-uclass.c | 71 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()
|
D | bus.c | 109 struct uclass *uc; in dm_test_bus_children() 226 struct uclass *uc; in test_bus_parent_data() 300 bus->uclass->uc_drv->per_child_auto_alloc_size = size; in dm_test_bus_parent_data_uclass() 305 bus->uclass->uc_drv->per_child_auto_alloc_size = 0; in dm_test_bus_parent_data_uclass() 319 struct uclass *uc; in dm_test_bus_parent_ops() 443 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = size; in dm_test_bus_parent_platdata_uclass() 448 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = 0; in dm_test_bus_parent_platdata_uclass()
|
/external/u-boot/drivers/power/regulator/ |
D | Kconfig | 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 50 This config enables implementation of driver-model regulator uclass 68 This config enables implementation of driver-model regulator uclass 76 This config enables implementation of driver-model regulator uclass 84 This config enables implementation of driver-model regulator uclass 91 This config enables implementation of driver-model regulator uclass 108 This enables implementation of driver-model regulator uclass 131 The regulator driver provides uclass operations for sandbox PMIC's 165 This enables implementation of driver-model regulator uclass [all …]
|
/external/u-boot/drivers/demo/ |
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
|
/external/u-boot/drivers/i2c/ |
D | Makefile | 5 obj-$(CONFIG_DM_I2C) += i2c-uclass.o 6 obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o 33 obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o
|
/external/u-boot/drivers/scsi/ |
D | Makefile | 7 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o 13 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
|
/external/u-boot/drivers/pci/ |
D | pci-emul-uclass.c | 40 struct sandbox_pci_priv *priv = dev->uclass->priv; in sandbox_pci_emul_post_probe() 50 struct sandbox_pci_priv *priv = dev->uclass->priv; in sandbox_pci_emul_pre_remove()
|
D | Makefile | 8 obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o 11 obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
|
/external/u-boot/drivers/block/ |
D | blk-uclass.c | 89 struct uclass *uc; in blk_get_devnum_by_typename() 148 struct uclass *uc; in get_desc() 372 struct uclass *uc; in blk_find_device() 490 struct uclass *uc; in blk_find_max_devnum() 522 struct uclass *uc; in blk_claim_devnum() 601 struct uclass *uc; in blk_unbind_all()
|
/external/u-boot/doc/device-tree-bindings/regulator/ |
D | fixed.txt | 9 - regulator-name: this is required by the regulator uclass 35 /* Optional for regulator uclass */
|
D | regulator.txt | 30 - regulator-name: a string, required by the regulator uclass, used for driver 40 The "regulator-name" constraint is used for setting the device's uclass 43 is chosen for setting the device's uclass platform data '.name' field.
|
/external/u-boot/drivers/power/pmic/ |
D | Kconfig | 10 - 'drivers/power/pmic/pmic-uclass.c' 55 This config enables implementation of driver-model pmic uclass features 62 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 features 83 This config enables implementation of driver-model pmic uclass features
|
/external/u-boot/drivers/spi/ |
D | Makefile | 8 obj-y += spi-uclass.o 9 obj-$(CONFIG_SANDBOX) += spi-emul-uclass.o
|