Searched refs:child (Results 126 - 150 of 840) sorted by relevance

1234567891011>>

/linux-master/drivers/leds/
H A Dleds-lm36274.c74 struct fwnode_handle *child; local
81 child = device_get_next_child_node(dev, NULL);
83 init_data->fwnode = child;
88 chip->num_leds = fwnode_property_count_u32(child, "led-sources");
94 ret = fwnode_property_read_u32_array(child, "led-sources",
103 fwnode_handle_put(child);
H A Dleds-spi-byte.c83 struct device_node *child; local
94 child = of_get_next_available_child(dev_of_node(dev), NULL);
107 state = of_get_property(child, "default-state", NULL);
120 init_data.fwnode = of_fwnode_handle(child);
/linux-master/drivers/phy/broadcom/
H A Dphy-bcm-cygnus-pcie.c116 struct device_node *node = dev->of_node, *child; local
123 dev_err(dev, "PHY no child node\n");
139 for_each_available_child_of_node(node, child) {
143 if (of_property_read_u32(child, "reg", &id)) {
145 child);
163 p->phy = devm_phy_create(dev, child, &cygnus_pcie_phy_ops);
188 of_node_put(child);
/linux-master/drivers/acpi/acpica/
H A Dpstree.c182 /* Look for an argument or child */
238 * PARAMETERS: op - Get the child of this Op
248 union acpi_parse_object *child = NULL; local
259 child = acpi_ps_get_arg(op, 0);
270 child = acpi_ps_get_arg(op, 1);
276 child = acpi_ps_get_arg(op, 2);
282 child = acpi_ps_get_arg(op, 3);
292 return (child);
H A Dnsxfobj.c137 * last_child - Previous child that was found.
138 * The NEXT child will be returned
151 acpi_handle child, acpi_handle *ret_handle)
171 if (!child) {
184 child_node = acpi_ns_validate_handle(child);
H A Dnsalloc.c143 next_node = parent_node->child;
145 /* Find the node that is the previous peer in the parent's child list */
154 /* Node is not first child, unlink it */
159 * Node is first child (has no previous peer).
162 parent_node->child = node->peer;
210 * A method is creating a new node that is not a child of the
224 child_node = parent_node->child;
227 parent_node->child = node;
280 next_node = parent_node->child;
285 if (next_node->child) {
[all...]
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc_multi_lrc.c56 struct intel_context *child; local
60 for_each_child(ce, child)
61 intel_context_unpin(child);
79 struct intel_context *child; local
92 for_each_child(ce, child) {
93 child_rq = intel_context_create_request(child);
/linux-master/drivers/mfd/
H A Dtps6105x.c98 struct device_node *child; local
110 for_each_available_child_of_node(np, child) {
111 if (child->name && !of_node_cmp(child->name, "regulator"))
113 else if (child->name && !of_node_cmp(child->name, "led"))
/linux-master/drivers/pmdomain/samsung/
H A Dexynos-pm-domains.c109 struct of_phandle_args child, parent; local
139 child.np = np;
140 child.args_count = 0;
142 if (of_genpd_add_subdomain(&parent, &child))
144 parent.np, child.np);
146 pr_info("%pOF has as child subdomain: %pOF.\n",
147 parent.np, child.np);
/linux-master/drivers/regulator/
H A Dof_regulator.c387 * contain a set of child nodes, each providing the init data for one
388 * regulator. The data parsed from a child node will be matched to a regulator
390 * or otherwise the child node's name. Note that the match table is modified
403 struct device_node *child; local
426 for_each_child_of_node(node, child) {
427 name = of_get_property(child,
430 name = child->name;
440 of_get_regulator_init_data(dev, child,
445 child);
446 of_node_put(child);
463 struct device_node *search, *child; local
514 struct device_node *child; local
[all...]
/linux-master/drivers/pci/hotplug/
H A Dpnv_php.c136 struct device_node *child; local
138 for_each_child_of_node(dn, child) {
139 pnv_php_rmv_pdns(child);
141 pci_remove_device_node_info(child);
146 * Detach all child nodes of the indicated device nodes. The
184 php_slot->dn->child = NULL;
196 struct device_node *child, *next; local
199 for_each_child_of_node(parent, child)
200 pnv_php_reverse_nodes(child);
202 /* Reverse the nodes in the child lis
217 struct device_node *child; local
977 struct device_node *child; local
1005 struct device_node *child; local
[all...]
/linux-master/kernel/time/
H A Dtimer_migration.c66 * child, the ignore flag of the tmigr_event is set. This indicates, that
99 * child and parent group. The lock ordering is always bottom up. This also
115 * be protected by a sequence counter. It prevents a race when updates in child
213 * first global timer of an idle CPU, the group and child states have to be read
249 * child going idle in top level group, the expiry of the next group event
285 * handed back to CPU0, as it seems that there is still an active child in
483 struct tmigr_group *child = NULL, *group = tmc->tmgroup; local
488 if (up(group, child, data))
491 child = group;
512 * child grou
619 tmigr_active_up(struct tmigr_group *group, struct tmigr_group *child, void *ptr) argument
723 tmigr_update_events(struct tmigr_group *group, struct tmigr_group *child, struct tmigr_walk *data) argument
861 tmigr_new_timer_up(struct tmigr_group *group, struct tmigr_group *child, void *ptr) argument
996 tmigr_handle_remote_up(struct tmigr_group *group, struct tmigr_group *child, void *ptr) argument
1098 tmigr_requires_handle_remote_up(struct tmigr_group *group, struct tmigr_group *child, void *ptr) argument
1246 tmigr_inactive_up(struct tmigr_group *group, struct tmigr_group *child, void *ptr) argument
1516 tmigr_connect_child_parent(struct tmigr_group *child, struct tmigr_group *parent) argument
1566 struct tmigr_group *group, *child, **stack; local
[all...]
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_requeue_pi_mismatched_ops.c57 pthread_t child; local
82 if (pthread_create(&child, NULL, blocking_child, NULL)) {
87 /* Allow the child to block in the kernel. */
93 * it likely gave the lock to the child, which is now hung
101 * requeue_pi target and aborted. Wake the child with
111 error("futex_wake did not wake the child\n", 0);
126 pthread_join(child, NULL);
/linux-master/arch/x86/um/asm/
H A Dptrace.h51 extern int ptrace_get_thread_area(struct task_struct *child, int idx,
54 extern int ptrace_set_thread_area(struct task_struct *child, int idx,
70 static inline int ptrace_get_thread_area(struct task_struct *child, int idx, argument
76 static inline int ptrace_set_thread_area(struct task_struct *child, int idx, argument
/linux-master/arch/powerpc/include/asm/
H A Dbootx.h43 u32 child; member in struct:bootx_dt_node
/linux-master/drivers/clk/versatile/
H A Dclk-impd1.c107 struct device_node *child; local
110 for_each_available_child_of_node(np, child) {
111 ret = integrator_impd1_clk_spawn(dev, np, child);
113 of_node_put(child);
/linux-master/fs/ocfs2/
H A Dnamei.h18 struct dentry *ocfs2_get_parent(struct dentry *child);
/linux-master/drivers/i2c/
H A Di2c-core-slave.c112 struct device_node *child; local
115 for_each_child_of_node(dev->of_node, child) {
116 of_property_read_u32(child, "reg", &reg);
118 of_node_put(child);
/linux-master/include/linux/
H A Dof_mdio.h16 bool of_mdiobus_child_is_phy(struct device_node *child);
51 struct device_node *child, u32 addr);
76 static inline bool of_mdiobus_child_is_phy(struct device_node *child) argument
147 struct device_node *child, u32 addr)
145 of_mdiobus_phy_device_register(struct mii_bus *mdio, struct phy_device *phy, struct device_node *child, u32 addr) argument
H A Dmin_heap.h115 void *child, *parent; local
126 /* Sift child at pos up. */
128 child = data + (pos * func->elem_size);
130 if (func->less(parent, child))
132 func->swp(parent, child);
H A Dproperty.h158 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
160 const struct fwnode_handle *fwnode, struct fwnode_handle *child);
162 #define fwnode_for_each_child_node(fwnode, child) \
163 for (child = fwnode_get_next_child_node(fwnode, NULL); child; \
164 child = fwnode_get_next_child_node(fwnode, child))
166 #define fwnode_for_each_available_child_node(fwnode, child) \
167 for (child = fwnode_get_next_available_child_node(fwnode, NULL); child;\
[all...]
/linux-master/tools/testing/selftests/powerpc/ptrace/
H A Dptrace-tm-spr.c97 int trace_tm_spr(pid_t child) argument
99 FAIL_IF(start_trace(child));
100 FAIL_IF(show_tm_spr(child, (struct tm_spr_regs *)&pptr->regs));
106 FAIL_IF(stop_trace(child));
/linux-master/sound/soc/fsl/
H A Dimx-audmux.c223 struct device_node *child; local
225 for_each_available_child_of_node(of_node, child) {
234 ret = of_property_read_u32(child, "fsl,audmux-port", &port);
236 dev_warn(&pdev->dev, "Failed to get fsl,audmux-port of child node \"%pOF\"\n",
237 child);
240 if (!of_property_read_bool(child, "fsl,port-config")) {
241 dev_warn(&pdev->dev, "child node \"%pOF\" does not have property fsl,port-config\n",
242 child);
246 for (i = 0; (ret = of_property_read_u32_index(child,
260 dev_err(&pdev->dev, "Failed to read u32 at index %d of child
[all...]
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_getfd_test.c25 * UNKNOWN_FD is an fd number that should never exist in the child, as it is
63 * This blocking recv enables the parent to message the child.
67 * indicating that the child should exit.
99 static int child(int sk) function
117 FIXTURE(child)
121 * from the child.
124 /* pid points to the child which we are fetching FDs from */
126 /* pidfd is the pidfd of the child */
129 * sk is our side of the socketpair used to communicate with the child.
130 * When it is closed, the child wil
[all...]
/linux-master/scripts/kconfig/
H A Dnconf.c762 struct menu *child; local
822 for (child = menu->list; child; child = child->next) {
823 if (menu_is_visible(child) && child->sym == def_sym)
824 def_menu = child;
938 for (child = menu->list; child; chil
1273 struct menu *child = NULL; local
[all...]

Completed in 188 milliseconds

1234567891011>>