/u-boot/arch/x86/cpu/ivybridge/ |
H A D | lpc.c | 429 struct udevice *pch = dev->parent; 487 dm_pci_write_config32(dev->parent, PCH_RCBA_BASE, 489 dm_pci_write_config32(dev->parent, PMBASE, DEFAULT_PMBASE | 1); 492 dm_pci_write_config8(dev->parent, ACPI_CNTL, 0x80); 498 dm_pci_write_config32(dev->parent, GPIO_BASE, DEFAULT_GPIOBASE | 1); 499 dm_pci_write_config32(dev->parent, GPIO_CNTL, 0x10);
|
/u-boot/fs/ubifs/ |
H A D | log.c | 119 struct rb_node **p, *parent = NULL; local 126 parent = *p; 127 b = rb_entry(parent, struct ubifs_bud, rb); 135 rb_link_node(&bud->rb, parent, p); 547 struct rb_node **p = &done_tree->rb_node, *parent = NULL; local 551 parent = *p; 552 dr = rb_entry(parent, struct done_ref, rb); 567 rb_link_node(&dr->rb, parent, p);
|
H A D | orphan.c | 59 struct rb_node **p, *parent = NULL; local 75 parent = *p; 76 o = rb_entry(parent, struct ubifs_orphan, rb); 90 rb_link_node(&orphan->rb, parent, p); 506 struct rb_node **p, *parent = NULL; local 515 parent = *p; 516 o = rb_entry(parent, struct ubifs_orphan, rb); 528 rb_link_node(&orphan->rb, parent, p); 763 struct rb_node **p, *parent = NULL; local 772 parent [all...] |
/u-boot/drivers/clk/at91/ |
H A D | clk-sam9x60-usb.c | 32 static int sam9x60_usb_clk_set_parent(struct clk *clk, struct clk *parent) argument 39 parent->id);
|
H A D | sckc.c | 51 static int sam9x60_td_slck_set_parent(struct clk *clk, struct clk *parent) argument 57 if (!strcmp(parent->dev->name, sckc->parent_names[i]))
|
/u-boot/include/power/ |
H A D | pmic.h | 83 struct pmic *parent; member in struct:pmic 96 * For the multi-function PMIC devices, this can be used as parent I/O device 97 * for each IC's interface. Then, each child uses its parent for read/write. 137 * the parent pmic driver. Like in the example: 141 * | |_ dev: my_pmic (read/write) (is parent) - UCLASS_PMIC 199 * pmic_bind_children() - bind drivers for given parent pmic, using child info 202 * @pmic - pmic device - the parent of found child's 231 int pmic_bind_children(struct udevice *pmic, ofnode parent,
|
/u-boot/lib/efi_driver/ |
H A D | efi_block_device.c | 119 struct udevice *bdev = NULL, *parent = dm_root(); local 136 if (blk_create_device(parent, "efi_blk", name, UCLASS_EFI_LOADER,
|
/u-boot/drivers/cpu/ |
H A D | riscv_cpu.c | 76 ofnode_for_each_subnode(node, dev_ofnode(dev->parent)) { 118 /* if not found, then look at the parent /cpus node */ 120 dev_read_u32(dev->parent, "timebase-frequency",
|
/u-boot/drivers/net/ |
H A D | eth-phy-uclass.c | 71 if (dev->parent == eth_dev) { 88 /* Will probe the parent of phy device, then phy device */ 92 if (eth_dev != phy_dev->parent) {
|
/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-axg-pmx.c | 168 struct meson_pinctrl *priv = dev_get_priv(dev->parent); 170 return meson_axg_pmx_update_function(dev->parent,
|
/u-boot/drivers/spi/ |
H A D | renesas_rpc_spi.c | 176 struct rpc_spi_priv *priv = dev_get_priv(dev->parent); 184 struct rpc_spi_priv *priv = dev_get_priv(dev->parent); 192 struct udevice *bus = dev->parent; 228 struct udevice *bus = dev->parent; 248 struct udevice *bus = dev->parent; 262 struct udevice *bus = spi->dev->parent; 386 static int rpc_spi_bind(struct udevice *parent) argument 396 dev_for_each_subnode(node, parent) {
|
H A D | pl022_spi.c | 132 struct udevice *bus = dev->parent; 148 struct udevice *bus = dev->parent; 165 struct udevice *bus = dev->parent; 176 struct udevice *bus = dev->parent;
|
H A D | tegra20_slink.c | 144 struct udevice *bus = dev->parent; 170 struct udevice *bus = dev->parent; 189 struct udevice *bus = dev->parent; 205 struct udevice *bus = dev->parent;
|
H A D | tegra20_sflash.c | 138 struct udevice *bus = dev->parent; 176 struct udevice *bus = dev->parent; 195 struct udevice *bus = dev->parent; 211 struct udevice *bus = dev->parent;
|
H A D | tegra210_qspi.c | 155 struct udevice *bus = dev->parent; 177 struct udevice *bus = dev->parent; 201 struct udevice *bus = dev->parent; 218 struct udevice *bus = dev->parent;
|
/u-boot/drivers/led/ |
H A D | led_pwm.c | 136 static int led_pwm_bind(struct udevice *parent) argument 138 return led_bind_generic(parent, LEDS_PWM_DRIVER_NAME);
|
/u-boot/drivers/clk/rockchip/ |
H A D | clk_px30.c | 770 u32 div, con, parent; local 777 parent = priv->gpll_hz; 782 parent = rkclk_pll_get_rate(&cru->pll[CPLL], &cru->mode, CPLL); 787 parent = rkclk_pll_get_rate(&cru->pll[NPLL], &cru->mode, NPLL); 793 return DIV_TO_RATE(parent, div); 867 u32 div, con, parent; local 873 parent = priv->gpll_hz; 878 parent = priv->gpll_hz; 882 parent = px30_bus_get_clk(priv, ACLK_BUS_PRE); 890 return DIV_TO_RATE(parent, di 939 u32 div, con, parent; local 997 u32 div, con, parent; local 1373 px30_gmac_set_parent(struct clk *clk, struct clk *parent) argument 1390 px30_clk_set_parent(struct clk *clk, struct clk *parent) argument [all...] |
/u-boot/include/ |
H A D | blk.h | 57 * TODO: With driver model we should be able to use the parent 382 * @parent: Parent of the new device 392 int blk_create_device(struct udevice *parent, const char *drv_name, 399 * @parent: Parent of the new device 401 * @name: Name for the device (parent name is prepended) 409 int blk_create_devicef(struct udevice *parent, const char *drv_name, 470 * blk_find_from_parent() - find a block device by looking up its parent 472 * All block devices have a parent 'media' device which provides the block 479 * @parent: Media device 481 * Returns: 0 if OK, -ENODEV if @parent i [all...] |
/u-boot/drivers/power/pmic/ |
H A D | axp.c | 18 ret = pmic_clrsetbits(dev->parent, AXP152_SHUTDOWN, 0, AXP152_POWEROFF);
|
/u-boot/arch/arm/mach-snapdragon/ |
H A D | board.c | 364 int parent, rmem, count, i = 0; local 371 parent = fdt_path_offset(gd->fdt_blob, "/reserved-memory"); 372 if (parent <= 0) { 378 fdt_for_each_subnode(rmem, gd->fdt_blob, parent) {
|
/u-boot/drivers/phy/ |
H A D | phy-ti-am654.c | 123 dev_err(dev, "Failed to obtain parent clocks\n"); 143 static int serdes_am654_mux_clk_set_parent(struct clk *clk, struct clk *parent) argument 149 debug("%s(clk=%s, parent=%s)\n", __func__, clk->dev->name, 150 parent->dev->name); 166 if (clk_is_match(&data->parents.clks[i], parent)) 344 ret = device_bind_driver_to_node(dev->parent,
|
/u-boot/drivers/power/regulator/ |
H A D | sandbox.c | 93 ret = pmic_read(dev->parent, reg, ®_val, 1); 132 ret = pmic_write(dev->parent, reg, ®_val, 1); 152 ret = pmic_read(dev->parent, reg, ®_val, 1); 193 ret = pmic_write(dev->parent, reg, (uint8_t *)®_val, 1);
|
/u-boot/arch/x86/cpu/intel_common/ |
H A D | lpc.c | 46 struct udevice *pch = dev->parent;
|
/u-boot/drivers/virtio/ |
H A D | virtio_rng.c | 62 struct virtio_dev_priv *uc_priv = dev_get_uclass_priv(dev->parent);
|
/u-boot/scripts/dtc/ |
H A D | livetree.c | 111 child->parent = new; 203 new_child->parent = NULL; 302 void add_child(struct node *parent, struct node *child) argument 307 child->parent = parent; 309 p = &parent->children; 316 void delete_node_by_name(struct node *parent, char *name) argument 318 struct node *node = parent->children; 786 static struct node *build_and_name_child_node(struct node *parent, char *name) argument 792 add_child(parent, nod [all...] |