/external/u-boot/drivers/core/ |
D | uclass.c | 174 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp) in uclass_find_device() argument 180 *devp = NULL; in uclass_find_device() 189 *devp = dev; in uclass_find_device() 197 int uclass_find_first_device(enum uclass_id id, struct udevice **devp) in uclass_find_first_device() argument 202 *devp = NULL; in uclass_find_first_device() 209 *devp = list_first_entry(&uc->dev_head, struct udevice, uclass_node); in uclass_find_first_device() 214 int uclass_find_next_device(struct udevice **devp) in uclass_find_next_device() argument 216 struct udevice *dev = *devp; in uclass_find_next_device() 218 *devp = NULL; in uclass_find_next_device() 222 *devp = list_entry(dev->uclass_node.next, struct udevice, uclass_node); in uclass_find_next_device() [all …]
|
D | device.c | 35 uint of_platdata_size, struct udevice **devp) in device_bind_common() argument 41 if (devp) in device_bind_common() 42 *devp = NULL; in device_bind_common() 166 if (devp) in device_bind_common() 167 *devp = dev; in device_bind_common() 219 struct udevice **devp) in device_bind_with_driver_data() argument 222 0, devp); in device_bind_with_driver_data() 227 struct udevice **devp) in device_bind() argument 230 offset_to_ofnode(of_offset), 0, devp); in device_bind() 234 const struct driver_info *info, struct udevice **devp) in device_bind_by_name() argument [all …]
|
D | lists.c | 74 const char *dev_name, struct udevice **devp) in device_bind_driver() argument 77 ofnode_null(), devp); in device_bind_driver() 82 struct udevice **devp) in device_bind_driver_to_node() argument 93 node, devp); in device_bind_driver_to_node() 125 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp) in lists_bind_fdt() argument 138 if (devp) in lists_bind_fdt() 139 *devp = NULL; in lists_bind_fdt() 187 if (devp) in lists_bind_fdt() 188 *devp = dev; in lists_bind_fdt()
|
/external/u-boot/include/dm/ |
D | uclass.h | 147 int uclass_get_device(enum uclass_id id, int index, struct udevice **devp); 162 struct udevice **devp); 178 int uclass_get_device_by_seq(enum uclass_id id, int seq, struct udevice **devp); 194 struct udevice **devp); 210 struct udevice **devp); 226 struct udevice **devp); 243 const char *name, struct udevice **devp); 260 struct udevice **devp); 276 int uclass_first_device(enum uclass_id id, struct udevice **devp); 287 int uclass_first_device_err(enum uclass_id id, struct udevice **devp); [all …]
|
D | uclass-internal.h | 24 int uclass_get_device_tail(struct udevice *dev, int ret, struct udevice **devp); 38 int uclass_find_device(enum uclass_id id, int index, struct udevice **devp); 50 int uclass_find_first_device(enum uclass_id id, struct udevice **devp); 62 int uclass_find_next_device(struct udevice **devp); 77 struct udevice **devp); 100 bool find_req_seq, struct udevice **devp); 116 struct udevice **devp); 132 struct udevice **devp);
|
D | lists.h | 59 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp); 72 const char *dev_name, struct udevice **devp); 88 struct udevice **devp);
|
D | device.h | 405 int device_get_child(struct udevice *parent, int index, struct udevice **devp); 427 bool find_req_seq, struct udevice **devp); 445 struct udevice **devp); 458 struct udevice **devp); 473 struct udevice **devp); 487 int device_get_global_by_of_offset(int of_offset, struct udevice **devp); 496 int device_find_first_child(struct udevice *parent, struct udevice **devp); 505 int device_find_next_child(struct udevice **devp);
|
D | device-internal.h | 41 struct udevice **devp); 65 struct udevice **devp); 80 const struct driver_info *info, struct udevice **devp);
|
/external/u-boot/drivers/block/ |
D | blk-uclass.c | 329 int blk_first_device(int if_type, struct udevice **devp) in blk_first_device() argument 334 ret = uclass_find_first_device(UCLASS_BLK, devp); in blk_first_device() 337 if (!*devp) in blk_first_device() 340 desc = dev_get_uclass_platdata(*devp); in blk_first_device() 343 ret = uclass_find_next_device(devp); in blk_first_device() 346 } while (*devp); in blk_first_device() 351 int blk_next_device(struct udevice **devp) in blk_next_device() argument 356 desc = dev_get_uclass_platdata(*devp); in blk_next_device() 359 ret = uclass_find_next_device(devp); in blk_next_device() 362 if (!*devp) in blk_next_device() [all …]
|
/external/u-boot/drivers/pci/ |
D | pci-uclass.c | 95 struct udevice **devp) in pci_bus_find_devfn() argument 106 *devp = dev; in pci_bus_find_devfn() 114 int dm_pci_bus_find_bdf(pci_dev_t bdf, struct udevice **devp) in dm_pci_bus_find_bdf() argument 122 return pci_bus_find_devfn(bus, PCI_MASK_BUS(bdf), devp); in dm_pci_bus_find_bdf() 144 int *indexp, struct udevice **devp) in pci_bus_find_devices() argument 154 *devp = dev; in pci_bus_find_devices() 164 struct udevice **devp) in pci_find_device_id() argument 172 if (!pci_bus_find_devices(bus, ids, &index, devp)) in pci_find_device_id() 175 *devp = NULL; in pci_find_device_id() 182 struct udevice **devp) in dm_pci_bus_find_device() argument [all …]
|
/external/u-boot/drivers/power/regulator/ |
D | regulator-uclass.c | 136 int regulator_get_by_platname(const char *plat_name, struct udevice **devp) in regulator_get_by_platname() argument 142 *devp = NULL; in regulator_get_by_platname() 155 return uclass_get_device_tail(dev, 0, devp); in regulator_get_by_platname() 163 int regulator_get_by_devname(const char *devname, struct udevice **devp) in regulator_get_by_devname() argument 165 return uclass_get_device_by_name(UCLASS_REGULATOR, devname, devp); in regulator_get_by_devname() 169 struct udevice **devp) in device_get_supply_regulator() argument 172 supply_name, devp); in device_get_supply_regulator() 212 int regulator_autoset_by_name(const char *platname, struct udevice **devp) in regulator_autoset_by_name() argument 218 if (devp) in regulator_autoset_by_name() 219 *devp = dev; in regulator_autoset_by_name()
|
/external/u-boot/arch/arm/mach-rockchip/rk3399/ |
D | clk_rk3399.c | 13 static int rockchip_get_cruclk(struct udevice **devp) in rockchip_get_cruclk() argument 16 DM_GET_DRIVER(clk_rk3399), devp); in rockchip_get_cruclk() 34 static int rockchip_get_pmucruclk(struct udevice **devp) in rockchip_get_pmucruclk() argument 37 DM_GET_DRIVER(rockchip_rk3399_pmuclk), devp); in rockchip_get_pmucruclk()
|
/external/u-boot/include/power/ |
D | regulator.h | 381 int regulator_autoset_by_name(const char *platname, struct udevice **devp); 421 int regulator_get_by_devname(const char *devname, struct udevice **devp); 434 int regulator_get_by_platname(const char *platname, struct udevice **devp); 450 struct udevice **devp);
|
/external/u-boot/include/ |
D | blk.h | 288 int blk_find_device(int if_type, int devnum, struct udevice **devp); 298 int blk_get_device(int if_type, int devnum, struct udevice **devp); 309 int blk_first_device(int if_type, struct udevice **devp); 323 int blk_next_device(struct udevice **devp); 340 lbaint_t lba, struct udevice **devp); 357 lbaint_t lba, struct udevice **devp); 407 int blk_get_from_parent(struct udevice *parent, struct udevice **devp);
|
/external/u-boot/drivers/i2c/ |
D | i2c-uclass.c | 275 struct udevice **devp) in i2c_bind_driver() argument 300 *devp = dev; in i2c_bind_driver() 315 struct udevice **devp) in i2c_get_chip() argument 331 *devp = dev; in i2c_get_chip() 336 return i2c_bind_driver(bus, chip_addr, offset_len, devp); in i2c_get_chip() 340 struct udevice **devp) in i2c_get_chip_for_busnum() argument 350 ret = i2c_get_chip(bus, chip_addr, offset_len, devp); in i2c_get_chip_for_busnum() 361 struct udevice **devp) in dm_i2c_probe() argument 365 *devp = NULL; in dm_i2c_probe() 375 ret = i2c_get_chip(bus, chip_addr, 1, devp); in dm_i2c_probe()
|
D | sandbox_i2c.c | 20 static int get_emul(struct udevice *dev, struct udevice **devp, in get_emul() argument 27 *devp = NULL; in get_emul() 52 *devp = plat->emul; in get_emul()
|
D | i2c-uclass-compat.c | 14 struct udevice **devp) in i2c_compat_get_device() argument 19 ret = i2c_get_chip_for_busnum(cur_busnum, chip_addr, alen, devp); in i2c_compat_get_device() 22 chip = dev_get_parent_platdata(*devp); in i2c_compat_get_device()
|
/external/u-boot/drivers/spi/ |
D | spi-uclass.c | 178 int spi_find_chip_select(struct udevice *bus, int cs, struct udevice **devp) in spi_find_chip_select() argument 189 *devp = dev; in spi_find_chip_select() 246 struct udevice **devp) in spi_find_bus_and_cs() argument 262 *devp = dev; in spi_find_bus_and_cs() 269 struct udevice **busp, struct spi_slave **devp) in spi_get_bus_and_cs() argument 332 *devp = dev_get_parent_priv(dev); in spi_get_bus_and_cs() 333 debug("%s: bus=%p, slave=%p\n", __func__, bus, *devp); in spi_get_bus_and_cs()
|
/external/u-boot/drivers/usb/host/ |
D | usb-uclass.c | 497 struct udevice **devp) in usb_find_and_bind_driver() argument 504 *devp = NULL; in usb_find_and_bind_driver() 535 *devp = dev; in usb_find_and_bind_driver() 545 ret = device_bind_driver(parent, "usb_dev_generic_drv", str, devp); in usb_find_and_bind_driver() 560 struct udevice **devp) in usb_find_child() argument 564 *devp = NULL; in usb_find_child() 576 *devp = dev; in usb_find_child() 585 enum usb_device_speed speed, struct udevice **devp) in usb_scan_device() argument 596 *devp = NULL; in usb_scan_device() 665 *devp = dev; in usb_scan_device()
|
/external/u-boot/arch/arm/mach-rockchip/rk3368/ |
D | clk_rk3368.c | 13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 16 DM_GET_DRIVER(rockchip_rk3368_cru), devp); in rockchip_get_clk()
|
/external/u-boot/arch/arm/mach-rockchip/rk3128/ |
D | clk_rk3128.c | 12 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 15 DM_GET_DRIVER(rockchip_rk3128_cru), devp); in rockchip_get_clk()
|
/external/u-boot/arch/arm/mach-rockchip/rk3328/ |
D | clk_rk3328.c | 11 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 14 DM_GET_DRIVER(rockchip_rk3328_cru), devp); in rockchip_get_clk()
|
/external/u-boot/arch/arm/mach-rockchip/rv1108/ |
D | clk_rv1108.c | 13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 16 DM_GET_DRIVER(clk_rv1108), devp); in rockchip_get_clk()
|
/external/u-boot/arch/arm/mach-rockchip/rk3036/ |
D | clk_rk3036.c | 13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 16 DM_GET_DRIVER(rockchip_rk3036_cru), devp); in rockchip_get_clk()
|
/external/u-boot/arch/arm/mach-rockchip/rk3288/ |
D | clk_rk3288.c | 13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk() argument 16 DM_GET_DRIVER(rockchip_rk3288_cru), devp); in rockchip_get_clk()
|