Home
last modified time | relevance | path

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

1234567

/rk3399_rockchip-uboot/drivers/core/
H A Duclass.c23 struct uclass *uclass_find(enum uclass_id key) in uclass_find()
25 struct uclass *uc; in uclass_find()
54 static int uclass_add(enum uclass_id id, struct uclass **ucp) in uclass_add()
57 struct uclass *uc; in uclass_add()
111 int uclass_destroy(struct uclass *uc) in uclass_destroy()
145 int uclass_get(enum uclass_id id, struct uclass **ucp) in uclass_get()
147 struct uclass *uc; in uclass_get()
160 struct uclass *uc; in uclass_get_name()
183 struct uclass *uc; in uclass_find_device()
206 struct uclass *uc; in uclass_find_first_device()
[all …]
H A Dlists.c39 struct uclass_driver *uclass = in lists_uclass_lookup() local
40 ll_entry_start(struct uclass_driver, uclass); in lists_uclass_lookup()
41 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in lists_uclass_lookup()
44 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
H A DMakefile7 obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o
13 obj-$(CONFIG_$(SPL_TPL_)SYSCON) += syscon-uclass.o
H A Ddevice.c39 struct uclass *uc; in device_bind_common()
123 dev->uclass = uc; in device_bind_common()
181 size = parent->uclass->uc_drv-> in device_bind_common()
239 if (!dev->uclass->u_boot_dev_head) in device_bind_common()
240 dev->uclass->u_boot_dev_head = &uc->dev_head; in device_bind_common()
242 if (!dev->uclass->u_boot_dev_head) in device_bind_common()
243 dev->uclass->u_boot_dev_head = &dev->uclass_node; in device_bind_common()
429 size = dev->uclass->uc_drv->per_device_auto_alloc_size; in device_probe()
442 size = dev->parent->uclass->uc_drv-> in device_probe()
758 return dev->uclass->uc_drv->id; in device_get_uclass_id()
[all …]
H A Droot.c108 struct uclass_driver *uclass = in fix_uclass() local
109 ll_entry_start(struct uclass_driver, uclass); in fix_uclass()
110 const int n_ents = ll_entry_count(struct uclass_driver, uclass); in fix_uclass()
113 for (entry = uclass; entry != uclass + n_ents; entry++) { in fix_uclass()
/rk3399_rockchip-uboot/drivers/ram/
H A DMakefile7 obj-$(CONFIG_$(SPL_TPL_)DM) += ram-uclass.o
15 obj-$(CONFIG_DM_DMC) += dmc-uclass.o
16 obj-$(CONFIG_DM_RAMDISK) += ramdisk-uclass.o
/rk3399_rockchip-uboot/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:
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 …]
H A DREADME.txt22 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 …]
/rk3399_rockchip-uboot/include/dm/
H A Duclass.h35 struct uclass { struct
97 int (*init)(struct uclass *class);
98 int (*destroy)(struct uclass *class);
110 ll_entry_declare(struct uclass_driver, __name, uclass)
123 int uclass_get(enum uclass_id key, struct uclass **ucp);
H A Duclass-internal.h202 struct uclass *uclass_find(enum uclass_id key);
212 int uclass_destroy(struct uclass *uc);
/rk3399_rockchip-uboot/arch/arm/mach-rockchip/
H A Dkernel_dtb.c23 u32 uclass[] = { UCLASS_CRYPTO }; in dm_rm_kernel_dev() local
26 for (i = 0, j = 0; i < ARRAY_SIZE(uclass); i++) { in dm_rm_kernel_dev()
27 for (uclass_find_first_device(uclass[i], &dev); dev; in dm_rm_kernel_dev()
45 u32 uclass[] = { UCLASS_ETH }; in dm_rm_u_boot_dev() local
49 for (i = 0, j = 0; i < ARRAY_SIZE(uclass); i++) { in dm_rm_u_boot_dev()
50 for (uclass_find_first_device(uclass[i], &dev); dev; in dm_rm_u_boot_dev()
76 struct uclass *uc; in phandles_fixup_cru()
181 struct uclass *uc; in phandles_fixup_gpio()
261 struct uclass *uc; in mmc_dm_reinit()
/rk3399_rockchip-uboot/drivers/video/
H A DMakefile10 obj-$(CONFIG_DISPLAY) += display-uclass.o
11 obj-$(CONFIG_DM_VIDEO) += backlight-uclass.o
12 obj-$(CONFIG_DM_VIDEO) += panel-uclass.o simple_panel.o
13 obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o
/rk3399_rockchip-uboot/test/dm/
H A Dtest-uclass.c72 struct uclass *uc = dev->uclass; in test_post_probe()
101 static int test_init(struct uclass *uc) in test_init()
109 static int test_destroy(struct uclass *uc) in test_destroy()
H A Dbus.c110 struct uclass *uc; in dm_test_bus_children()
227 struct uclass *uc; in test_bus_parent_data()
301 bus->uclass->uc_drv->per_child_auto_alloc_size = size; in dm_test_bus_parent_data_uclass()
306 bus->uclass->uc_drv->per_child_auto_alloc_size = 0; in dm_test_bus_parent_data_uclass()
320 struct uclass *uc; in dm_test_bus_parent_ops()
444 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = size; in dm_test_bus_parent_platdata_uclass()
449 bus->uclass->uc_drv->per_child_platdata_auto_alloc_size = 0; in dm_test_bus_parent_platdata_uclass()
/rk3399_rockchip-uboot/drivers/input/
H A DMakefile8 obj-$(CONFIG_$(SPL_)DM_KEY) += key-uclass.o
9 obj-$(CONFIG_DM_RC) += rc-uclass.o
15 obj-$(CONFIG_$(SPL_TPL_)DM_KEYBOARD) += keyboard-uclass.o
/rk3399_rockchip-uboot/drivers/scsi/
H A DMakefile9 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
15 obj-$(CONFIG_DM_SCSI) += scsi-uclass.o
/rk3399_rockchip-uboot/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
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci-emul-uclass.c43 struct sandbox_pci_priv *priv = dev->uclass->priv; in sandbox_pci_emul_post_probe()
53 struct sandbox_pci_priv *priv = dev->uclass->priv; in sandbox_pci_emul_pre_remove()
H A DMakefile10 obj-$(CONFIG_PCI) += pci-uclass.o pci_auto.o
13 obj-$(CONFIG_SANDBOX) += pci-emul-uclass.o
/rk3399_rockchip-uboot/drivers/i2c/
H A DMakefile7 obj-$(CONFIG_DM_I2C) += i2c-uclass.o
8 obj-$(CONFIG_DM_I2C_COMPAT) += i2c-uclass-compat.o
37 obj-$(CONFIG_SYS_I2C_SANDBOX) += sandbox_i2c.o i2c-emul-uclass.o
/rk3399_rockchip-uboot/net/
H A DMakefile16 obj-$(CONFIG_NET) += eth-uclass.o
20 obj-$(CONFIG_DM_MDIO) += mdio-uclass.o
/rk3399_rockchip-uboot/drivers/power/regulator/
H A DKconfig12 - 'drivers/power/pmic/pmic-uclass.c'
13 - 'drivers/power/pmic/regulator-uclass.c'
57 This config enables implementation of driver-model regulator uclass
83 This config enables implementation of driver-model regulator uclass
91 This config enables implementation of driver-model regulator uclass
99 This config enables implementation of driver-model regulator uclass
106 This config enables implementation of driver-model regulator uclass
153 The regulator driver provides uclass operations for sandbox PMIC's
194 This enables implementation of driver-model regulator uclass
202 This enables implementation of driver-model regulator uclass
[all …]
/rk3399_rockchip-uboot/drivers/nvme/
H A DMakefile7 obj-y += nvme-uclass.o nvme.o nvme_show.o
/rk3399_rockchip-uboot/drivers/sysreset/
H A DKconfig13 to effect a reset. The uclass will try all available drivers when
22 to effect a reset. The uclass will try all available drivers when
31 to effect a reset. The uclass will try all available drivers when
/rk3399_rockchip-uboot/drivers/power/dvfs/
H A DMakefile7 obj-$(CONFIG_DM_DVFS) += dvfs-uclass.o

1234567