Home
last modified time | relevance | path

Searched refs:parent (Results 76 – 100 of 7843) sorted by relevance

12345678910>>...314

/openbmc/linux/drivers/acpi/acpica/
H A Dpstree.c146 arg->common.parent = op; in acpi_ps_append_arg()
173 union acpi_parse_object *parent; in acpi_ps_get_depth_next() local
200 parent = op->common.parent; in acpi_ps_get_depth_next()
202 while (parent) { in acpi_ps_get_depth_next()
203 arg = acpi_ps_get_arg(parent, 0); in acpi_ps_get_depth_next()
217 if (parent->common.next) { in acpi_ps_get_depth_next()
221 ASL_CV_LABEL_FILENODE(parent->common.next); in acpi_ps_get_depth_next()
222 return (parent->common.next); in acpi_ps_get_depth_next()
225 op = parent; in acpi_ps_get_depth_next()
226 parent = parent->common.parent; in acpi_ps_get_depth_next()
/openbmc/linux/scripts/gdb/linux/
H A Drbtree.py46 parent = gdb.Value(node['__rb_parent_color'] & ~3)
69 parent = rb_parent(node)
70 while parent and node == parent['rb_right']:
71 node = parent
72 parent = rb_parent(node)
74 return parent
92 parent = rb_parent(node)
93 while parent and node == parent['rb_left'].dereference():
94 node = parent
95 parent = rb_parent(node)
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-arizona.c42 pm_runtime_mark_last_busy(chip->parent); in arizona_gpio_direction_in()
43 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_direction_in()
63 ret = pm_runtime_get_sync(chip->parent); in arizona_gpio_get()
66 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_get()
75 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_get()
81 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_get()
85 pm_runtime_mark_last_busy(chip->parent); in arizona_gpio_get()
86 pm_runtime_put_autosuspend(chip->parent); in arizona_gpio_get()
109 ret = pm_runtime_get_sync(chip->parent); in arizona_gpio_direction_out()
112 pm_runtime_put(chip->parent); in arizona_gpio_direction_out()
[all …]
/openbmc/qemu/hw/core/
H A Dbus.c109 bus->parent = parent; in qbus_init_internal()
113 } else if (bus->parent && bus->parent->id) { in qbus_init_internal()
115 bus_id = bus->parent->num_child_bus; in qbus_init_internal()
127 if (bus->parent) { in qbus_init_internal()
129 bus->parent->num_child_bus++; in qbus_init_internal()
144 assert(bus->parent); in bus_unparent()
151 bus->parent->num_child_bus--; in bus_unparent()
152 bus->parent = NULL; in bus_unparent()
159 qbus_init_internal(bus, parent, name); in qbus_init()
167 qbus_init_internal(bus, parent, name); in qbus_new()
[all …]
/openbmc/linux/arch/arm/boot/dts/arm/
H A Darm-realview-eb-mp.dtsi123 interrupt-parent = <&intc>;
128 interrupt-parent = <&intc>;
133 interrupt-parent = <&intc>;
138 interrupt-parent = <&intc>;
144 interrupt-parent = <&intc>;
149 interrupt-parent = <&intc>;
154 interrupt-parent = <&intc>;
159 interrupt-parent = <&intc>;
164 interrupt-parent = <&intc>;
169 interrupt-parent = <&intc>;
[all …]
/openbmc/phosphor-bmc-code-mgmt/
H A Dactivation.cpp148 parent.freeSpace(*this); in activation()
161 if (parent.runningImageSlot == 0) in activation()
199 if (!parent.useUpdateDBusInterface) in onFlashWriteSuccess()
206 parent.createActiveAssociation(path); in onFlashWriteSuccess()
210 parent.createUpdateableAssociation(path); in onFlashWriteSuccess()
223 parent.createUpdateObject(versionId, path); in onFlashWriteSuccess()
299 parent.parent.savePriority(parent.versionId, value); in priority()
300 parent.parent.freePriority(value, parent.versionId); in priority()
306 parent.parent.savePriority(parent.versionId, value); in sdbusPriority()
366 if (parent.useUpdateDBusInterface) in checkApplyTimeImmediate()
[all …]
/openbmc/linux/fs/hfsplus/
H A Dbrec.c200 if (!node->parent) in hfs_brec_remove()
202 parent = hfs_bnode_find(tree, node->parent); in hfs_brec_remove()
203 if (IS_ERR(parent)) in hfs_brec_remove()
253 new_node->parent = node->parent; in hfs_bnode_split()
367 if (!node->parent) in hfs_brec_update_parent()
371 parent = hfs_bnode_find(tree, node->parent); in hfs_brec_update_parent()
372 if (IS_ERR(parent)) in hfs_brec_update_parent()
399 fd->bnode = parent; in hfs_brec_update_parent()
403 parent = fd->bnode; in hfs_brec_update_parent()
427 node = parent; in hfs_brec_update_parent()
[all …]
/openbmc/linux/drivers/soc/rockchip/
H A Ddtpm.c19 .parent = &rk3399_hierarchy[0] },
22 .parent = &rk3399_hierarchy[1] },
25 .parent = &rk3399_hierarchy[1] },
28 .parent = &rk3399_hierarchy[1] },
31 .parent = &rk3399_hierarchy[1] },
34 .parent = &rk3399_hierarchy[1] },
37 .parent = &rk3399_hierarchy[1] },
40 .parent = &rk3399_hierarchy[1] },
/openbmc/linux/drivers/hid/
H A Dhid-roccat-arvo.c30 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_show_mode_key()
32 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_mode_key()
50 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_set_mode_key()
52 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_set_mode_key()
80 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_show_key_mask()
82 interface_to_usbdev(to_usb_interface(dev->parent->parent)); in arvo_sysfs_show_key_mask()
100 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_set_key_mask()
145 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_show_actual_profile()
154 hid_get_drvdata(dev_get_drvdata(dev->parent->parent)); in arvo_sysfs_set_actual_profile()
189 struct device *dev = kobj_to_dev(kobj)->parent->parent; in arvo_sysfs_write()
[all …]
/openbmc/linux/include/linux/
H A Dof_platform.h55 struct device *parent);
72 struct device *parent);
78 struct device *parent);
85 struct device *parent);
88 struct device *parent);
89 extern void of_platform_depopulate(struct device *parent);
98 struct device *parent) in of_platform_device_create() argument
110 struct device *parent) in of_platform_populate() argument
116 struct device *parent) in of_platform_default_populate() argument
120 static inline void of_platform_depopulate(struct device *parent) { } in of_platform_depopulate() argument
H A Dled-class-flash.h98 int led_classdev_flash_register_ext(struct device *parent,
111 int devm_led_classdev_flash_register_ext(struct device *parent,
116 void devm_led_classdev_flash_unregister(struct device *parent,
121 static inline int led_classdev_flash_register_ext(struct device *parent, in led_classdev_flash_register_ext() argument
129 static inline int devm_led_classdev_flash_register_ext(struct device *parent, in devm_led_classdev_flash_register_ext() argument
136 static inline void devm_led_classdev_flash_unregister(struct device *parent, in devm_led_classdev_flash_unregister() argument
142 static inline int led_classdev_flash_register(struct device *parent, in led_classdev_flash_register() argument
145 return led_classdev_flash_register_ext(parent, fled_cdev, NULL); in led_classdev_flash_register()
148 static inline int devm_led_classdev_flash_register(struct device *parent, in devm_led_classdev_flash_register() argument
151 return devm_led_classdev_flash_register_ext(parent, fled_cdev, NULL); in devm_led_classdev_flash_register()
/openbmc/linux/arch/powerpc/boot/dts/
H A Dfsp2.dts19 dcr-parent = <&{/cpus/cpu@0}>;
82 interrupt-parent = <&UIC0>;
96 interrupt-parent = <&UIC0>;
110 interrupt-parent = <&UIC0>;
124 interrupt-parent = <&UIC0>;
137 interrupt-parent = <&UIC0>;
150 interrupt-parent = <&UIC0>;
164 interrupt-parent = <&UIC1_0>;
177 interrupt-parent = <&UIC1_0>;
190 interrupt-parent = <&UIC1_0>;
[all …]
/openbmc/linux/tools/include/linux/
H A Drbtree_augmented.h174 if (parent) { in __rb_change_child()
175 if (parent->rb_left == old) in __rb_change_child()
176 WRITE_ONCE(parent->rb_left, new); in __rb_change_child()
178 WRITE_ONCE(parent->rb_right, new); in __rb_change_child()
192 struct rb_node *parent, *rebalance; in __rb_erase_augmented() local
204 parent = __rb_parent(pc); in __rb_erase_augmented()
211 tmp = parent; in __rb_erase_augmented()
215 parent = __rb_parent(pc); in __rb_erase_augmented()
218 tmp = parent; in __rb_erase_augmented()
233 parent = successor; in __rb_erase_augmented()
[all …]
/openbmc/linux/drivers/clk/
H A Dclk.c560 return !parent ? NULL : parent->hw; in clk_hw_get_parent_by_index()
654 if (core->parent == parent) in clk_core_has_parent()
693 struct clk_core *parent = core->parent; in clk_core_determine_rate_no_reparent() local
1620 parent = core->parent; in clk_core_init_rate_req()
2280 parent = old_parent = core->parent; in clk_calc_new_rates()
2404 parent = core->parent; in clk_change_rate()
2795 parent = !clk->core->parent ? NULL : clk->core->parent->hw->clk; in clk_get_parent()
2860 if (core->parent == parent) in clk_core_set_parent_nolock()
2949 parent ? parent->core : NULL); in clk_set_parent()
3940 parent = core->parent = __clk_init_parent(core); in __clk_core_init()
[all …]
/openbmc/linux/drivers/pci/pcie/
H A Daspm.c499 pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in aspm_calc_l12_info()
508 pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in aspm_calc_l12_info()
512 pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in aspm_calc_l12_info()
537 pci_read_config_dword(parent, parent->l1ss + PCI_L1SS_CAP, in aspm_l1ss_init()
565 pci_read_config_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in aspm_l1ss_init()
685 pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in pcie_config_aspm_l1ss()
709 pci_clear_and_set_dword(parent, parent->l1ss + PCI_L1SS_CTL1, in pcie_config_aspm_l1ss()
847 parent = pdev->bus->parent->self->link_state; in alloc_pcie_link_state()
848 if (!parent) { in alloc_pcie_link_state()
853 link->parent = parent; in alloc_pcie_link_state()
[all …]
/openbmc/linux/arch/mips/boot/dts/loongson/
H A Dls7a-pch.dtsi17 interrupt-parent = <&htvec>;
25 interrupt-parent = <&pic>;
33 interrupt-parent = <&pic>;
43 interrupt-parent = <&pic>;
53 interrupt-parent = <&pic>;
63 interrupt-parent = <&pic>;
73 msi-parent = <&msi>;
89 interrupt-parent = <&pic>;
100 interrupt-parent = <&pic>;
111 interrupt-parent = <&pic>;
[all …]
/openbmc/linux/drivers/clk/renesas/
H A Drcar-gen3-cpg.c352 const struct clk *parent; in rcar_gen3_cpg_clk_register() local
357 parent = clks[core->parent & 0xffff]; /* some types use high bits */ in rcar_gen3_cpg_clk_register()
358 if (IS_ERR(parent)) in rcar_gen3_cpg_clk_register()
359 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
452 parent = clks[core->parent >> 16]; in rcar_gen3_cpg_clk_register()
453 if (IS_ERR(parent)) in rcar_gen3_cpg_clk_register()
454 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
483 parent = clks[core->parent >> 16]; in rcar_gen3_cpg_clk_register()
484 if (IS_ERR(parent)) in rcar_gen3_cpg_clk_register()
513 parent = clks[core->parent >> 16]; in rcar_gen3_cpg_clk_register()
[all …]
/openbmc/linux/drivers/i2c/muxes/
H A Di2c-mux-gpmux.c48 struct i2c_adapter *parent; in mux_parent_adapter() local
55 parent = of_get_i2c_adapter_by_node(parent_np); in mux_parent_adapter()
57 if (!parent) in mux_parent_adapter()
60 return parent; in mux_parent_adapter()
76 struct i2c_adapter *parent; in i2c_mux_probe() local
92 parent = mux_parent_adapter(dev); in i2c_mux_probe()
93 if (IS_ERR(parent)) in i2c_mux_probe()
94 return dev_err_probe(dev, PTR_ERR(parent), in i2c_mux_probe()
99 muxc = i2c_mux_alloc(parent, dev, children, 0, 0, in i2c_mux_probe()
140 i2c_put_adapter(parent); in i2c_mux_probe()
[all …]
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_phase.c16 struct clk_hw *parent, *grandparent; in ccu_phase_get_phase() local
30 parent = clk_hw_get_parent(hw); in ccu_phase_get_phase()
31 if (!parent) in ccu_phase_get_phase()
35 parent_rate = clk_hw_get_rate(parent); in ccu_phase_get_phase()
40 grandparent = clk_hw_get_parent(parent); in ccu_phase_get_phase()
59 struct clk_hw *parent, *grandparent; in ccu_phase_set_phase() local
66 parent = clk_hw_get_parent(hw); in ccu_phase_set_phase()
67 if (!parent) in ccu_phase_set_phase()
71 parent_rate = clk_hw_get_rate(parent); in ccu_phase_set_phase()
76 grandparent = clk_hw_get_parent(parent); in ccu_phase_set_phase()
/openbmc/linux/arch/arm/boot/dts/st/
H A Dspear600.dtsi49 interrupt-parent = <&vic1>;
57 interrupt-parent = <&vic1>;
65 interrupt-parent = <&vic1>;
89 interrupt-parent = <&vic1>;
97 interrupt-parent = <&vic1>;
105 interrupt-parent = <&vic1>;
113 interrupt-parent = <&vic1>;
121 interrupt-parent = <&vic1>;
135 interrupt-parent = <&vic0>;
143 interrupt-parent = <&vic0>;
[all …]
/openbmc/linux/crypto/
H A Dhmac.c44 int bs = crypto_shash_blocksize(parent); in hmac_setkey()
45 int ds = crypto_shash_digestsize(parent); in hmac_setkey()
46 int ss = crypto_shash_statesize(parent); in hmac_setkey()
119 struct crypto_shash *parent = pdesc->tfm; in hmac_final() local
120 int ds = crypto_shash_digestsize(parent); in hmac_final()
121 int ss = crypto_shash_statesize(parent); in hmac_final()
134 struct crypto_shash *parent = pdesc->tfm; in hmac_finup() local
135 int ds = crypto_shash_digestsize(parent); in hmac_finup()
136 int ss = crypto_shash_statesize(parent); in hmac_finup()
150 struct hmac_ctx *ctx = hmac_ctx(parent); in hmac_init_tfm()
[all …]
/openbmc/linux/drivers/video/backlight/
H A Dlocomolcd.c36 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 0); in locomolcd_on()
37 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 1); in locomolcd_on()
41 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHD_ON, 1); in locomolcd_on()
47 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_ON, 0); in locomolcd_on()
48 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_ON, 1); in locomolcd_on()
61 locomo_gpio_set_dir(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_MOD, 0); in locomolcd_on()
62 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_MOD, 1); in locomolcd_on()
71 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VSHA_ON, 0); in locomolcd_off()
74 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_VEE_ON, 0); in locomolcd_off()
79 locomo_gpio_write(locomolcd_dev->dev.parent, LOCOMO_GPIO_LCD_MOD, 0); in locomolcd_off()
[all …]
/openbmc/linux/tools/perf/util/
H A Dcall-path.c14 static void call_path__init(struct call_path *cp, struct call_path *parent, in call_path__init() argument
17 cp->parent = parent; in call_path__init()
50 struct call_path *parent, in call_path__new() argument
72 call_path__init(cp, parent, sym, ip, in_kernel); in call_path__new()
78 struct call_path *parent, in call_path__findnew() argument
89 if (!parent) in call_path__findnew()
90 return call_path__new(cpr, parent, sym, ip, in_kernel); in call_path__findnew()
92 p = &parent->children.rb_node; in call_path__findnew()
106 cp = call_path__new(cpr, parent, sym, ip, in_kernel); in call_path__findnew()
111 rb_insert_color(&cp->rb_node, &parent->children); in call_path__findnew()
/openbmc/linux/drivers/regulator/
H A Dmc13xxx-regulator-core.c142 struct device_node *parent; in mc13xxx_get_num_regulators_dt() local
145 if (!pdev->dev.parent->of_node) in mc13xxx_get_num_regulators_dt()
148 parent = of_get_child_by_name(pdev->dev.parent->of_node, "regulators"); in mc13xxx_get_num_regulators_dt()
149 if (!parent) in mc13xxx_get_num_regulators_dt()
152 num = of_get_child_count(parent); in mc13xxx_get_num_regulators_dt()
153 of_node_put(parent); in mc13xxx_get_num_regulators_dt()
167 if (!pdev->dev.parent->of_node) in mc13xxx_parse_regulators_dt()
170 parent = of_get_child_by_name(pdev->dev.parent->of_node, "regulators"); in mc13xxx_parse_regulators_dt()
171 if (!parent) in mc13xxx_parse_regulators_dt()
177 of_node_put(parent); in mc13xxx_parse_regulators_dt()
[all …]
/openbmc/linux/drivers/edac/
H A Dedac_module.h71 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent);
73 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent,
76 struct dentry *parent, u8 *value);
78 struct dentry *parent, u16 *value);
80 struct dentry *parent, u32 *value);
87 edac_debugfs_create_dir_at(const char *dirname, struct dentry *parent) { return NULL; } in edac_debugfs_create_dir_at() argument
89 edac_debugfs_create_file(const char *name, umode_t mode, struct dentry *parent, in edac_debugfs_create_file() argument
92 struct dentry *parent, u8 *value) { } in edac_debugfs_create_x8() argument
94 struct dentry *parent, u16 *value) { } in edac_debugfs_create_x16() argument
96 struct dentry *parent, u32 *value) { } in edac_debugfs_create_x32() argument

12345678910>>...314