Searched refs:parent (Results 226 - 250 of 531) sorted by relevance

1234567891011>>

/u-boot/arch/x86/cpu/ivybridge/
H A Dlpc.c429 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 Dlog.c119 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 Dorphan.c59 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 Dclk-sam9x60-usb.c32 static int sam9x60_usb_clk_set_parent(struct clk *clk, struct clk *parent) argument
39 parent->id);
H A Dsckc.c51 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 Dpmic.h83 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 Defi_block_device.c119 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 Driscv_cpu.c76 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 Deth-phy-uclass.c71 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 Dpinctrl-meson-axg-pmx.c168 struct meson_pinctrl *priv = dev_get_priv(dev->parent);
170 return meson_axg_pmx_update_function(dev->parent,
/u-boot/drivers/spi/
H A Drenesas_rpc_spi.c176 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 Dpl022_spi.c132 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 Dtegra20_slink.c144 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 Dtegra20_sflash.c138 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 Dtegra210_qspi.c155 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 Dled_pwm.c136 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 Dclk_px30.c770 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 Dblk.h57 * 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 Daxp.c18 ret = pmic_clrsetbits(dev->parent, AXP152_SHUTDOWN, 0, AXP152_POWEROFF);
/u-boot/arch/arm/mach-snapdragon/
H A Dboard.c364 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 Dphy-ti-am654.c123 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 Dsandbox.c93 ret = pmic_read(dev->parent, reg, &reg_val, 1);
132 ret = pmic_write(dev->parent, reg, &reg_val, 1);
152 ret = pmic_read(dev->parent, reg, &reg_val, 1);
193 ret = pmic_write(dev->parent, reg, (uint8_t *)&reg_val, 1);
/u-boot/arch/x86/cpu/intel_common/
H A Dlpc.c46 struct udevice *pch = dev->parent;
/u-boot/drivers/virtio/
H A Dvirtio_rng.c62 struct virtio_dev_priv *uc_priv = dev_get_uclass_priv(dev->parent);
/u-boot/scripts/dtc/
H A Dlivetree.c111 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...]

Completed in 103 milliseconds

1234567891011>>