Home
last modified time | relevance | path

Searched refs:parent (Results 301 – 325 of 9635) sorted by relevance

1...<<11121314151617181920>>...386

/openbmc/linux/drivers/s390/cio/
H A Ddevice_ops.c142 if (!cdev || !cdev->dev.parent) in ccw_device_clear()
144 sch = to_subchannel(cdev->dev.parent); in ccw_device_clear()
198 if (!cdev || !cdev->dev.parent) in ccw_device_start_timeout_key()
200 sch = to_subchannel(cdev->dev.parent); in ccw_device_start_timeout_key()
375 if (!cdev || !cdev->dev.parent) in ccw_device_halt()
377 sch = to_subchannel(cdev->dev.parent); in ccw_device_halt()
409 if (!cdev || !cdev->dev.parent) in ccw_device_resume()
411 sch = to_subchannel(cdev->dev.parent); in ccw_device_resume()
459 if (!cdev->dev.parent) in ccw_device_get_path_mask()
462 sch = to_subchannel(cdev->dev.parent); in ccw_device_get_path_mask()
[all …]
/openbmc/u-boot/drivers/power/regulator/
H A Drk8xx.c157 ret = pmic_reg_read(dev->parent, info->vsel_reg); in buck_get_value()
169 return _buck_set_value(dev->parent, buck, uvolt); in buck_set_value()
176 return _buck_set_enable(dev->parent, buck, enable); in buck_set_enable()
187 ret = pmic_reg_read(dev->parent, REG_DCDC_EN); in buck_get_enable()
197 const struct rk8xx_reg_info *info = get_ldo_reg(dev->parent, ldo); in ldo_get_value()
203 ret = pmic_reg_read(dev->parent, info->vsel_reg); in ldo_get_value()
224 return pmic_clrsetbits(dev->parent, info->vsel_reg, mask, val); in ldo_set_value()
234 return pmic_clrsetbits(dev->parent, REG_LDO_EN, mask, in ldo_set_enable()
246 ret = pmic_reg_read(dev->parent, REG_LDO_EN); in ldo_get_enable()
260 return pmic_clrsetbits(dev->parent, REG_DCDC_EN, mask, in switch_set_enable()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmdio-mux-gpio.yaml45 mdio-parent-bus = <&smi1>;
60 interrupt-parent = <&gpio>;
69 interrupt-parent = <&gpio>;
78 interrupt-parent = <&gpio>;
87 interrupt-parent = <&gpio>;
103 interrupt-parent = <&gpio>;
112 interrupt-parent = <&gpio>;
121 interrupt-parent = <&gpio>;
130 interrupt-parent = <&gpio>;
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-cti-sysfs.c85 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_show()
105 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in enable_store()
112 ret = pm_runtime_resume_and_get(dev->parent); in enable_store()
117 pm_runtime_put(dev->parent); in enable_store()
121 pm_runtime_put(dev->parent); in enable_store()
135 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in powered_show()
148 struct cti_drvdata *drvdata = dev_get_drvdata(dev->parent); in ctmid_show()
183 pm_runtime_get_sync(dev->parent); in coresight_cti_reg_show()
188 pm_runtime_put_sync(dev->parent); in coresight_cti_reg_show()
204 pm_runtime_get_sync(dev->parent); in coresight_cti_reg_store()
[all …]
/openbmc/linux/fs/ceph/
H A Dsnap.c94 parent = *p; in __insert_snap_realm()
198 if (realm->parent) { in __destroy_snap_realm()
301 if (!parent) { in adjust_snap_realm_parent()
307 realm, realm->parent_ino, realm->parent, parentino, parent); in adjust_snap_realm_parent()
313 realm->parent = parent; in adjust_snap_realm_parent()
337 struct ceph_snap_realm *parent = realm->parent; in build_snap_context() local
347 if (parent) { in build_snap_context()
362 (!parent || in build_snap_context()
382 if (parent) { in build_snap_context()
1219 parent = NULL; in ceph_get_snapid_map()
[all …]
/openbmc/linux/arch/sh/kernel/cpu/sh4/
H A Dclock-sh4-202.c25 return clk->parent->rate / frqcr3_divisors[idx]; in emi_clk_recalc()
30 int divisor = clk->parent->rate / rate; in frqcr3_lookup()
53 return clk->parent->rate / frqcr3_divisors[idx]; in femi_clk_recalc()
81 if (clk->ops->set_rate(clk, clk->parent->rate / divisor) == 0) in shoc_clk_init()
91 return clk->parent->rate / frqcr3_divisors[idx]; in shoc_clk_recalc()
125 clk->rate = clk->parent->rate / frqcr3_divisors[tmp]; in shoc_clk_set_rate()
165 clkp->parent = clk; in arch_clk_init()
/openbmc/u-boot/drivers/clk/renesas/
H A Drenesas-cpg-mssr.c105 struct clk *parent) in renesas_clk_get_parent() argument
116 parent->id = mssr->parent; in renesas_clk_get_parent()
123 parent->id = ~0; /* Top-level clock */ in renesas_clk_get_parent()
125 parent->id = core->parent; in renesas_clk_get_parent()
128 parent->dev = clk->dev; in renesas_clk_get_parent()
/openbmc/linux/drivers/usb/host/
H A Dsl811_cs.c55 dev->parent = NULL; in release_platform_dev()
90 static int sl811_hc_init(struct device *parent, resource_size_t base_addr, in sl811_hc_init() argument
93 if (platform_dev.dev.parent) in sl811_hc_init()
95 platform_dev.dev.parent = parent; in sl811_hc_init()
145 struct device *parent = &link->dev; in sl811_cs_config() local
167 if (sl811_hc_init(parent, link->resource[0]->start, link->irq) in sl811_cs_config()
/openbmc/phosphor-mrw-tools/
H A Dpatchxml.py172 parent = target.find("..") variable
173 if parent is None:
179 parent.remove(target)
183 parent = target.find("..") variable
184 if parent is None:
190 parent.remove(target)
191 parent.append(node)
/openbmc/linux/arch/arm/boot/dts/xilinx/
H A Dzynq-7000.dtsi48 interrupt-parent = <&intc>;
99 interrupt-parent = <&intc>;
106 interrupt-parent = <&intc>;
117 interrupt-parent = <&intc>;
129 interrupt-parent = <&intc>;
141 interrupt-parent = <&intc>;
150 interrupt-parent = <&intc>;
162 interrupt-parent = <&intc>;
215 interrupt-parent = <&intc>;
227 interrupt-parent = <&intc>;
[all …]
/openbmc/linux/arch/powerpc/boot/dts/
H A Dxpedite5200_xmon.dts70 interrupt-parent = <&mpic>;
76 interrupt-parent = <&mpic>;
85 interrupt-parent = <&mpic>;
97 interrupt-parent = <&mpic>;
153 interrupt-parent = <&mpic>;
169 interrupt-parent = <&mpic>;
210 interrupt-parent = <&mpic>;
259 interrupt-parent = <&mpic>;
378 interrupt-parent = <&mpic>;
460 interrupt-parent = <&mpic>;
[all …]
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-ssp-clk.c35 struct skl_clk_parent parent[SKL_MAX_CLK_SRC]; member
285 struct skl_clk_parent *parent, in skl_register_parent_clks() argument
295 if (IS_ERR(parent[i].hw)) { in skl_register_parent_clks()
296 ret = PTR_ERR(parent[i].hw); in skl_register_parent_clks()
300 parent[i].lookup = clkdev_hw_create(parent[i].hw, pclk[i].name, in skl_register_parent_clks()
302 if (!parent[i].lookup) { in skl_register_parent_clks()
303 clk_hw_unregister_fixed_rate(parent[i].hw); in skl_register_parent_clks()
311 unregister_parent_src_clk(parent, i); in skl_register_parent_clks()
353 struct device *parent_dev = dev->parent; in skl_clk_dev_probe()
400 unregister_parent_src_clk(data->parent, SKL_MAX_CLK_SRC); in skl_clk_dev_probe()
[all …]
/openbmc/linux/drivers/usb/typec/
H A Dmux.c100 WARN_ON(!try_module_get(sw_devs[i]->dev.parent->driver->owner)); in fwnode_typec_switch_get()
137 module_put(sw_dev->dev.parent->driver->owner); in typec_switch_put()
165 typec_switch_register(struct device *parent, in typec_switch_register() argument
181 sw_dev->dev.parent = parent; in typec_switch_register()
186 ret = dev_set_name(&sw_dev->dev, "%s-switch", desc->name ? desc->name : dev_name(parent)); in typec_switch_register()
194 dev_err(parent, "failed to register switch (%d)\n", ret); in typec_switch_register()
325 WARN_ON(!try_module_get(mux_devs[i]->dev.parent->driver->owner)); in fwnode_typec_mux_get()
361 module_put(mux_dev->dev.parent->driver->owner); in typec_mux_put()
410 typec_mux_register(struct device *parent, const struct typec_mux_desc *desc) in typec_mux_register() argument
425 mux_dev->dev.parent = parent; in typec_mux_register()
[all …]
/openbmc/linux/net/ipv4/
H A Dinetpeer.c99 struct rb_node **pp, *parent, *next; in lookup() local
103 parent = NULL; in lookup()
110 parent = next; in lookup()
111 p = rb_entry(parent, struct inet_peer, rb_node); in lookup()
129 *parent_p = parent; in lookup()
184 struct rb_node **pp, *parent; in inet_getpeer() local
193 p = lookup(daddr, base, seq, NULL, &gc_cnt, &parent, &pp); in inet_getpeer()
207 parent = NULL; in inet_getpeer()
211 p = lookup(daddr, base, seq, gc_stack, &gc_cnt, &parent, &pp); in inet_getpeer()
227 rb_link_node(&p->rb_node, parent, pp); in inet_getpeer()
/openbmc/phosphor-user-manager/phosphor-ldap-config/
H A Dldap_config.cpp63 parent(parent), in Config()
94 configPersistPath = parent.dbusPersistentPath; in Config()
106 parent.startOrStopService(nslcdService, enabled()); in Config()
114 objectPath(path), bus(bus), parent(parent), in Config()
131 configPersistPath = parent.dbusPersistentPath; in Config()
148 parent.startOrStopService(nslcdService, enabled()); in certificateInstalled()
549 return parent.enableService(*this, value); in enabled()
562 parent.startOrStopService(nslcdService, value); in enableService()
755 fs::path persistPath = parent.dbusPersistentPath; in create()
775 fs::path persistPath = parent.dbusPersistentPath; in deletePrivilegeMapper()
[all …]
/openbmc/linux/kernel/cgroup/
H A Drstat.c61 if (!parent) { in cgroup_rstat_updated()
66 prstatc = cgroup_rstat_cpu(parent, cpu); in cgroup_rstat_updated()
70 cgrp = parent; in cgroup_rstat_updated()
95 struct cgroup *parent; in cgroup_rstat_cpu_pop_updated() local
127 parent = cgroup_parent(pos); in cgroup_rstat_cpu_pop_updated()
128 if (parent) { in cgroup_rstat_cpu_pop_updated()
132 prstatc = cgroup_rstat_cpu(parent, cpu); in cgroup_rstat_cpu_pop_updated()
138 WARN_ON_ONCE(*nextp == parent); in cgroup_rstat_cpu_pop_updated()
167 struct cgroup *parent, int cpu) in bpf_rstat_flush() argument
352 if (!parent) in cgroup_base_stat_flush()
[all …]
/openbmc/linux/drivers/firmware/arm_scmi/
H A Dbus.c317 of_node_full_name(scmi_dev->dev.parent->of_node), in __scmi_device_destroy()
329 __scmi_device_create(struct device_node *np, struct device *parent, in __scmi_device_create() argument
342 scmi_dev = scmi_child_dev_find(parent, protocol, name); in __scmi_device_create()
355 dev_warn(parent, in __scmi_device_create()
379 scmi_dev->dev.parent = parent; in __scmi_device_create()
390 of_node_full_name(parent->of_node), in __scmi_device_create()
424 struct device *parent, int protocol, in scmi_device_create() argument
432 return __scmi_device_create(np, parent, protocol, name); in scmi_device_create()
446 sdev = __scmi_device_create(np, parent, in scmi_device_create()
454 of_node_full_name(parent->of_node), in scmi_device_create()
[all …]
/openbmc/linux/drivers/md/bcache/
H A Dclosure.h154 struct closure *parent; member
272 static inline void closure_init(struct closure *cl, struct closure *parent) in closure_init() argument
275 cl->parent = parent; in closure_init()
276 if (parent) in closure_init()
277 closure_get(parent); in closure_init()
372 struct closure *parent) in closure_call() argument
374 closure_init(cl, parent); in closure_call()
/openbmc/u-boot/drivers/core/
H A Dlists.c51 int lists_bind_drivers(struct udevice *parent, bool pre_reloc_only) in lists_bind_drivers() argument
62 ret = device_bind_by_name(parent, pre_reloc_only, entry, &dev); in lists_bind_drivers()
73 int device_bind_driver(struct udevice *parent, const char *drv_name, in device_bind_driver() argument
76 return device_bind_driver_to_node(parent, drv_name, dev_name, in device_bind_driver()
80 int device_bind_driver_to_node(struct udevice *parent, const char *drv_name, in device_bind_driver_to_node() argument
92 ret = device_bind_with_driver_data(parent, drv, dev_name, 0 /* data */, in device_bind_driver_to_node()
125 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp, in lists_bind_fdt() argument
182 ret = device_bind_with_driver_data(parent, entry, name, in lists_bind_fdt()
/openbmc/openpower-pnor-code-mgmt/
H A Dactivation.hpp73 Activation& parent, uint8_t value) : in RedundancyPriority() argument
76 parent(parent) in RedundancyPriority()
97 Activation& parent; member in openpower::software::updater::RedundancyPriority
155 ItemUpdater& parent, const std::string& versionId, in Activation() argument
162 bus(bus), path(path), parent(parent), versionId(versionId), in Activation()
215 ItemUpdater& parent; member in openpower::software::updater::Activation
/openbmc/linux/drivers/iio/common/st_sensors/
H A Dst_sensors_trigger.c44 dev_err(indio_dev->dev.parent, in st_sensors_new_samples_available()
90 dev_dbg(indio_dev->dev.parent, "spurious IRQ\n"); in st_sensors_irq_thread()
110 dev_dbg(indio_dev->dev.parent, in st_sensors_irq_thread()
123 struct device *parent = indio_dev->dev.parent; in st_sensors_allocate_trigger() local
127 sdata->trig = devm_iio_trigger_alloc(parent, "%s-trigger", in st_sensors_allocate_trigger()
209 err = devm_request_threaded_irq(parent, in st_sensors_allocate_trigger()
221 err = devm_iio_trigger_register(parent, sdata->trig); in st_sensors_allocate_trigger()
/openbmc/linux/drivers/md/persistent-data/
H A Ddm-btree-remove.c162 struct btree_node *parent, in init_child() argument
169 root = value64(parent, index); in init_child()
181 *((__le64 *) value_ptr(parent, index)) = in init_child()
258 delete_at(parent, r->index); in __rebalance2()
274 *key_ptr(parent, r->index) = right->keys[0]; in __rebalance2()
283 struct btree_node *parent; in rebalance2() local
286 parent = dm_block_data(shadow_current(s)); in rebalance2()
339 *key_ptr(parent, r->index) = right->keys[0]; in delete_center_node()
341 delete_at(parent, c->index); in delete_center_node()
345 return __rebalance2(info, parent, l, r); in delete_center_node()
[all …]
/openbmc/linux/arch/sparc/kernel/
H A Dprom_64.c78 if (!of_node_is_root(dp->parent)) { in sun4v_path_component()
119 if (!of_node_is_root(dp->parent)) { in sun4u_path_component()
311 struct device_node *parent = dp->parent; in __build_path_component() local
313 if (parent != NULL) { in __build_path_component()
314 if (of_node_is_type(parent, "pci") || in __build_path_component()
319 if (of_node_is_type(parent, "sbus")) { in __build_path_component()
323 if (of_node_is_type(parent, "upa")) { in __build_path_component()
327 if (of_node_is_type(parent, "ebus")) { in __build_path_component()
331 if (of_node_name_eq(parent, "usb") || in __build_path_component()
332 of_node_name_eq(parent, "hub")) { in __build_path_component()
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Ds3c64xx.dtsi65 interrupt-parent = <&vic1>;
76 interrupt-parent = <&vic1>;
87 interrupt-parent = <&vic1>;
98 interrupt-parent = <&vic0>;
107 interrupt-parent = <&vic1>;
119 interrupt-parent = <&vic1>;
131 interrupt-parent = <&vic1>;
143 interrupt-parent = <&vic1>;
155 interrupt-parent = <&vic1>;
167 interrupt-parent = <&vic0>;
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dqos_external.c96 QOSGraphObject *parent = NULL; in allocate_objects() local
116 parent = obj; in allocate_objects()
131 obj = parent->get_driver(parent, path[current]); in allocate_objects()
141 obj = parent->get_device(parent, path[current]); in allocate_objects()

1...<<11121314151617181920>>...386