Searched refs:child (Results 51 - 75 of 841) sorted by path

1234567891011>>

/linux-master/arch/powerpc/kernel/
H A Dpci-hotplug.c24 struct pci_bus *child = NULL; local
31 child = find_bus_among_children(tmp, dn);
32 if (child)
36 return child;
83 /* First go down child busses */
124 dn->child && PCI_DN(dn->child)) {
132 slotno = PCI_SLOT(PCI_DN(dn->child)->devfn);
H A Dpci_dn.c410 for (dn = start->child; dn; dn = nextdn) {
426 if (dn->child && ((class >> 8) == PCI_CLASS_BRIDGE_PCI ||
429 nextdn = dn->child;
H A Dpci_of_scan.c243 * of_scan_pci_bridge - Set up a PCI bridge and scan for child nodes
247 * this routine in turn call of_scan_bus() recursively to scan for more child
390 * __of_scan_bus - given a PCI bus node, setup bus and scan for child devices
398 struct device_node *child; local
405 for_each_child_of_node(node, child) {
406 dev = of_scan_pci_dev(bus, child);
418 /* Now scan child busses */
424 * of_scan_bus - given a PCI bus node, setup bus and scan for child devices
435 * of_rescan_bus - given a PCI bus node, scan for child devices
H A Dprom_init.c647 && (*nodep = call_prom("child", 1, 1, node)) != 0)
2545 phandle child; local
2580 child = call_prom("child", 1, 1, node);
2581 while (child != 0) {
2582 scan_dt_build_strings(child, mem_start, mem_end);
2583 child = call_prom("peer", 1, 1, child);
2590 phandle child; local
2692 child
[all...]
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c74 int ptrace_get_debugreg(struct task_struct *child, unsigned long addr, argument
80 return put_user(child->thread.debug.dac1, datalp);
140 static long set_instruction_bp(struct task_struct *child, argument
144 int slot1_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC1) != 0);
145 int slot2_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC2) != 0);
146 int slot3_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC3) != 0);
147 int slot4_in_use = ((child->thread.debug.dbcr0 & DBCR0_IAC4) != 0);
149 if (dbcr_iac_range(child) & DBCR_IAC12MODE)
151 if (dbcr_iac_range(child) & DBCR_IAC34MODE)
165 child
229 del_instruction_bp(struct task_struct *child, int slot) argument
284 set_dac(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument
345 del_dac(struct task_struct *child, int slot) argument
386 set_dac_range(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument
440 ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument
476 ppc_del_hwdebug(struct task_struct *child, long data) argument
[all...]
H A Dptrace-decl.h174 int ptrace_get_fpr(struct task_struct *child, int index, unsigned long *data);
175 int ptrace_put_fpr(struct task_struct *child, int index, unsigned long data);
179 int ptrace_get_debugreg(struct task_struct *child, unsigned long addr,
182 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info);
183 long ppc_del_hwdebug(struct task_struct *child, long data);
H A Dptrace-fpu.c9 int ptrace_get_fpr(struct task_struct *child, int index, unsigned long *data) argument
19 flush_fp_to_thread(child);
23 *data = ((u32 *)child->thread.fp_state.fpr)[fpidx];
25 memcpy(data, &child->thread.TS_FPR(fpidx), sizeof(long));
27 *data = child->thread.fp_state.fpscr;
35 int ptrace_put_fpr(struct task_struct *child, int index, unsigned long data) argument
45 flush_fp_to_thread(child);
49 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data;
51 memcpy(&child->thread.TS_FPR(fpidx), &data, sizeof(long));
53 child
[all...]
H A Dptrace-noadv.c60 int ptrace_get_debugreg(struct task_struct *child, unsigned long addr, argument
68 dabr_fake = ((child->thread.hw_brk[0].address & (~HW_BRK_TYPE_DABR)) |
69 (child->thread.hw_brk[0].type & HW_BRK_TYPE_DABR));
193 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument
198 struct thread_struct *thread = &child->thread;
243 bp = register_user_hw_breakpoint(&attr, ptrace_triggered, NULL, child);
256 i = find_empty_hw_brk(&child->thread);
263 child->thread.hw_brk[i] = brk;
268 long ppc_del_hwdebug(struct task_struct *child, long data) argument
272 struct thread_struct *thread = &child
[all...]
H A Dptrace.c34 void ptrace_disable(struct task_struct *child) argument
37 user_disable_single_step(child);
40 long arch_ptrace(struct task_struct *child, long request, argument
55 if ((addr & (sizeof(long) - 1)) || !child->thread.regs)
59 ret = ptrace_get_reg(child, (int) index, &tmp);
61 ret = ptrace_get_fpr(child, index, &tmp);
76 if ((addr & (sizeof(long) - 1)) || !child->thread.regs)
80 ret = ptrace_put_reg(child, index, data);
82 ret = ptrace_put_fpr(child, index, data);
103 return ppc_set_hwdebug(child,
[all...]
H A Dptrace32.c29 * does not yet catch signals sent when the child dies.
38 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, argument
67 copied = ptrace_access_vm(child, (u64)addrOthers, &tmp,
87 ret = ptrace_get_reg(child, index, &tmp);
91 flush_fp_to_thread(child);
97 tmp = ((unsigned int *)child->thread.fp_state.fpr)
136 flush_fp_to_thread(child);
138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0];
141 ret = ptrace_get_reg(child, numReg, &tmp2);
170 if (ptrace_access_vm(child, (u6
[all...]
/linux-master/arch/powerpc/platforms/44x/
H A Dwarp.c152 struct device_node *np, *child; local
165 for_each_child_of_node(np, child) {
169 if (!of_node_name_eq(child, led->name))
178 gpio = fwnode_gpiod_get_index(of_fwnode_handle(child),
185 of_node_put(child);
/linux-master/arch/powerpc/platforms/maple/
H A Dpci.c52 higher = fixup_one_level_bus_range(node->child, higher);
77 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]);
574 struct device_node *np, *child; local
585 for_each_child_of_node(np, child)
586 PCI_DN(child)->busno = 0xf0;
/linux-master/arch/powerpc/platforms/powermac/
H A Dbootx_init.c267 cpp = &np->child;
339 cpp = &np->child;
H A Dfeature.c72 struct macio_chip *macio_find(struct device_node *child, int type) argument
74 while(child) {
78 if (child == macio_chips[i].of_node &&
81 child = child->parent;
H A Dlow_i2c.c597 struct device_node *np, *child, *parent; local
616 child = of_get_next_child(np, NULL);
617 multibus = !of_node_name_eq(child, "i2c-bus");
618 of_node_put(child);
634 for_each_child_of_node(np, child) {
635 const u32 *reg = of_get_property(child,
639 kw_i2c_add(host, np, child, *reg);
H A Dpci.c77 higher = fixup_one_level_bus_range(node->child, higher);
99 bus_range[1] = fixup_one_level_bus_range(bridge->child, bus_range[1]);
246 for (dn = busdn->child; dn; dn = dn->sibling)
884 struct device_node *np, *child; local
896 for_each_child_of_node(np, child)
897 PCI_DN(child)->busno = 0xf0;
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal.c846 struct device_node *child; local
863 for_each_child_of_node(np, child) {
866 child_kobj = kobject_create_and_add(child->name, kobj);
868 pr_err("Unable to create export dir for %pOF\n", child);
872 opal_add_exported_attrs(child, child_kobj);
H A Dpci-ioda.c320 * contributed by its child buses. For the case, we needn't
607 struct pnv_ioda_pe *child,
616 /* Parent PE affects child PE */
618 child->pe_number, op);
620 pe_warn(child, "OPAL error %ld %s to parent PELTV\n",
625 if (!(child->flags & PNV_IODA_PE_MASTER))
629 list_for_each_entry(slave, &child->slaves, list) {
2042 * parent PE could be overridden by its child PEs if necessary.
2062 * windows of the child bridges should be mapped to
2146 struct pci_bus *child; local
605 pnv_ioda_set_one_peltv(struct pnv_phb *phb, struct pnv_ioda_pe *parent, struct pnv_ioda_pe *child, bool is_add) argument
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Ddlpar.c115 if (dn->child)
116 dlpar_free_cc_nodes(dn->child);
188 last_dn->child = dn;
250 struct device_node *child; local
253 child = of_get_next_child(dn, NULL);
254 while (child) {
255 dlpar_detach_node(child);
256 child = of_get_next_child(dn, child);
H A Dhotplug-cpu.c433 struct device_node *child = NULL; local
441 for_each_child_of_node(parent, child) {
442 rc = of_property_read_u32(child, "ibm,my-drc-index",
448 of_node_put(child);
H A Dibmebus.c188 struct device_node *root, *child; local
194 for_each_child_of_node(root, child) {
195 if (!of_match_node(matches, child))
198 dev = bus_find_device(&ibmebus_bus_type, NULL, child,
205 ret = ibmebus_create_device(child);
209 of_node_put(child);
H A Diommu.c615 for (children = 0, tmp = dn->child; tmp; tmp = tmp->sibling)
841 /* If we're the direct child of a root bus, then we need to allocate
848 pr_debug(" --> first child, no bridge. Allocating iommu table.\n");
H A Dpci_dlpar.c43 if (dn->child)
68 /* We -know- there aren't any child devices anymore at this stage
H A Dreconfig.c67 struct device_node *parent, *child; local
73 if ((child = of_get_next_child(np, NULL))) {
74 of_node_put(child);
/linux-master/arch/riscv/kernel/
H A Dptrace.c293 void ptrace_disable(struct task_struct *child) argument
297 long arch_ptrace(struct task_struct *child, long request, argument
304 ret = ptrace_request(child, request, addr, data);
367 long compat_arch_ptrace(struct task_struct *child, compat_long_t request, argument
374 ret = compat_ptrace_request(child, request, caddr, cdata);

Completed in 296 milliseconds

1234567891011>>