/linux-master/drivers/gpio/ |
H A D | gpio-ixp4xx.c | 184 unsigned int child, 193 if (child == 0) { 197 if (child == 1) { 201 if (child >= 2 && child <= 12) { 202 *parent = child + 17; 183 ixp4xx_gpio_child_to_parent_hwirq(struct gpio_chip *gc, unsigned int child, unsigned int child_type, unsigned int *parent, unsigned int *parent_type) argument
|
/linux-master/drivers/mfd/ |
H A D | qcom-spmi-pmic.c | 87 struct device_node *child; local 111 for_each_child_of_node(spmi_bus, child) { 112 ret = of_property_read_u32_index(child, "reg", 0, &pmic_addr); 114 of_node_put(child); 120 sdev = spmi_find_device_by_of_node(child); 128 of_node_put(child); 225 * This function takes a struct device for a driver which is a child of a PMIC. 237 * Make sure the device is actually a child of a PMIC
|
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-intel-platform.c | 61 struct fwnode_handle *child, 70 ret = fwnode_property_read_string(child, "intc-gpio-group-name", &name); 74 ret = fwnode_property_read_u32(child, "intc-gpio-pad-count", &size); 93 struct fwnode_handle *child; local 134 device_for_each_child_node(dev, child) { 139 ret = intel_platform_pinctrl_prepare_group(dev, child, gpp, pins); 60 intel_platform_pinctrl_prepare_group(struct device *dev, struct fwnode_handle *child, struct intel_padgroup *gpp, struct intel_platform_pins *pins) argument
|
/linux-master/drivers/phy/marvell/ |
H A D | phy-berlin-sata.c | 191 struct device_node *child; local 232 for_each_available_child_of_node(dev->of_node, child) { 235 if (of_property_read_u32(child, "reg", &phy_id)) { 237 child); 243 dev_err(dev, "invalid reg in node %pOFn\n", child); 276 of_node_put(child);
|
/linux-master/drivers/phy/socionext/ |
H A D | phy-uniphier-usb2.c | 109 struct device_node *parent, *child; local 132 for_each_child_of_node(dev->of_node, child) { 149 priv->phy = devm_phy_create(dev, child, &uniphier_u2phy_ops); 156 ret = of_property_read_u32(child, "reg", &data_idx); 166 child->full_name); 179 of_node_put(child);
|
/linux-master/fs/bcachefs/ |
H A D | eytzinger.h | 32 static inline unsigned eytzinger1_child(unsigned i, unsigned child) argument 34 EYTZINGER_BUG_ON(child > 1); 36 return (i << 1) + child; 175 static inline unsigned eytzinger0_child(unsigned i, unsigned child) argument 177 EYTZINGER_BUG_ON(child > 1); 179 return (i << 1) + 1 + child;
|
/linux-master/include/linux/ |
H A D | of.h | 57 struct device_node *child; member in struct:device_node 1462 #define for_each_child_of_node(parent, child) \ 1463 for (child = of_get_next_child(parent, NULL); child != NULL; \ 1464 child = of_get_next_child(parent, child)) 1466 #define for_each_child_of_node_scoped(parent, child) \ 1467 for (struct device_node *child __free(device_node) = \ 1469 child != NULL; \ 1470 child 1495 struct device_node *child; local 1506 struct device_node *child; local [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | eeh_pe.c | 92 list_add_tail(&pe->child, &eeh_phb_pe); 162 list_for_each_entry(pe, &eeh_phb_pe, child) { 191 next = pe->child.next; 198 return list_entry(next, struct eeh_pe, child); 208 * child PEs. The traversing is to be terminated once the 233 * PE and its child PEs. 301 * a new PE is created and inserted into the PE tree as a child of 380 list_add_tail(&pe->child, &new_pe_parent->child_list); 383 * Put the newly created PE into the child list and 405 struct eeh_pe *pe, *parent, *child; local [all...] |
/linux-master/drivers/iio/adc/ |
H A D | rcar-gyroadc.c | 321 struct device_node *child; local 329 for_each_child_of_node(np, child) { 330 of_id = of_match_node(rcar_gyroadc_child_match, child); 333 child); 367 ret = of_property_read_u32(child, "reg", ®); 370 "Failed to get child reg property of ADC \"%pOFn\".\n", 371 child); 379 num_channels, child, reg); 393 dev->of_node = child; 408 /* First child nod [all...] |
/linux-master/drivers/leds/flash/ |
H A D | leds-lm3601x.c | 359 struct fwnode_handle *child = NULL; local 362 child = device_get_next_child_node(&led->client->dev, child); 363 if (!child) { 368 ret = fwnode_property_read_u32(child, "reg", &led->led_mode); 381 ret = fwnode_property_read_u32(child, "led-max-microamp", 389 ret = fwnode_property_read_u32(child, "flash-max-microamp", 397 ret = fwnode_property_read_u32(child, "flash-max-timeout-us", 405 *fwnode = child; 408 fwnode_handle_put(child); [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | amx.c | 512 pid_t parent, child, grandchild; local 527 /* fork() succeeded. Now in the child . */ 531 printf("\tFork a child.\n"); 532 child = fork(); 533 if (child < 0) { 535 } else if (child > 0) { 540 fatal_error("arch_prctl test child exit"); 548 printf("\tTest XCOMP_PERM at child.\n"); 555 printf("\tTest dynamic sigaltstack at child:\n"); 559 printf("\tTest XCOMP_PERM again at child 640 pid_t child, grandchild; local 901 pid_t child; local [all...] |
/linux-master/net/sched/ |
H A D | sch_sfb.c | 78 u32 childdrop; /* drops in child qdisc */ 285 struct Qdisc *child = q->qdisc; local 405 ret = qdisc_enqueue(skb, child, to_free); 429 struct Qdisc *child = q->qdisc; local 432 skb = child->dequeue(q->qdisc); 447 struct Qdisc *child = q->qdisc; local 449 return child->ops->peek(child); 452 /* No sfb_drop -- impossible since the child doesn't return the dropped skb. */ 494 struct Qdisc *child, *ol local [all...] |
/linux-master/drivers/of/ |
H A D | platform.c | 333 * recursively create devices for all the child nodes. 341 struct device_node *child; local 385 for_each_child_of_node(bus, child) { 386 pr_debug(" create child: %pOF\n", child); 387 rc = of_platform_bus_create(child, matches, lookup, &dev->dev, strict); 389 of_node_put(child); 410 struct device_node *child; local 423 } else for_each_child_of_node(root, child) { 424 if (!of_match_node(matches, child)) 462 struct device_node *child; local [all...] |
/linux-master/drivers/input/gameport/ |
H A D | gameport.c | 424 * Destroy child gameport port (if any) that has not been fully registered yet. 426 * Note that we rely on the fact that port can have only one child and therefore 427 * only one child registration request can be pending. Additionally, children 429 * pending registration together with a child. 434 struct gameport *gameport, *child = NULL; local 443 child = gameport; 450 return child; 583 gameport->parent->child = gameport; 611 struct gameport *child; local 613 child [all...] |
/linux-master/Documentation/sphinx/ |
H A D | rstFlatTable.py | 322 for child in rowItem: 323 if (isinstance(child , nodes.comment) 324 or isinstance(child, nodes.system_message)): 326 elif isinstance(child , nodes.target): 327 target = child 328 elif isinstance(child, nodes.bullet_list): 330 cell = child
|
/linux-master/drivers/gpu/drm/pl111/ |
H A D | pl111_versatile.c | 384 struct device_node *child; local 404 for_each_available_child_of_node(root, child) { 405 if (of_device_is_compatible(child, "arm,pl111")) { 407 ct_clcd = child; 408 of_node_put(child); 411 if (of_device_is_compatible(child, "arm,hdlcd")) { 413 of_node_put(child);
|
/linux-master/drivers/usb/host/ |
H A D | ehci-exynos.c | 51 struct device_node *child; local 69 for_each_available_child_of_node(dev->of_node, child) { 70 ret = of_property_read_u32(child, "reg", &phy_number); 73 of_node_put(child); 79 of_node_put(child); 83 phy = devm_of_phy_optional_get(dev, child, NULL); 86 of_node_put(child);
|
/linux-master/drivers/pci/ |
H A D | of_property.c | 23 * Each entry in the ranges table is a tuple containing the child address, 24 * the parent address, and the size of the region in the child address space. 26 * side and the child address is the corresponding address on the secondary 137 * For endpoint device, the lower 64-bits of child 194 struct pci_dev *child; local 224 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { 226 i = pci_swizzle_interrupt_pin(child, pin) - 1; 243 list_for_each_entry(child, &pdev->subordinate->devices, bus_list) { 245 i = pci_swizzle_interrupt_pin(child, pin) - 1; 249 *mapp = (child [all...] |
/linux-master/drivers/input/keyboard/ |
H A D | iqs62x-keys.c | 48 struct fwnode_handle *child; local 71 child = device_get_named_child_node(&pdev->dev, 73 if (!child) 76 ret = fwnode_property_read_u32(child, "linux,code", &val); 80 fwnode_handle_put(child); 86 if (fwnode_property_present(child, "azoteq,use-prox")) 95 fwnode_handle_put(child); 137 * corresponding child nodes are present.
|
/linux-master/drivers/hwmon/ |
H A D | ltc2991.c | 287 struct fwnode_handle *child; local 297 device_for_each_child_node(dev, child) { 298 ret = fwnode_property_read_u32(child, "reg", &addr); 300 fwnode_handle_put(child); 305 fwnode_handle_put(child); 309 ret = fwnode_property_read_u32(child, 337 ret = fwnode_property_read_bool(child,
|
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 203 def fill_meta_keys(child, parent=None): 204 child["meta"] = {} 207 child["meta"]["type"] = parent["type"].replace("controller", "device") 209 pathname = generate_pathname(child) 212 child["meta"]["pathname"] = pathname 249 for child in device["devices"]: 250 parse_node(child)
|
/linux-master/net/ipv4/ |
H A D | inet_connection_sock.c | 703 * NULL to signify that the child socket is taken 947 * because the child socket is locked in inet_csk_listen_stop(). 1298 struct sock *child) 1300 sk->sk_prot->disconnect(child, O_NONBLOCK); 1302 sock_orphan(child); 1307 BUG_ON(rcu_access_pointer(tcp_sk(child)->fastopen_rsk) != req); 1311 * an inbound pkt destined for child is 1316 RCU_INIT_POINTER(tcp_sk(child)->fastopen_rsk, NULL); 1318 inet_csk_destroy_sock(child); 1323 struct sock *child) 1297 inet_child_forget(struct sock *sk, struct request_sock *req, struct sock *child) argument 1321 inet_csk_reqsk_queue_add(struct sock *sk, struct request_sock *req, struct sock *child) argument 1346 inet_csk_complete_hashdance(struct sock *sk, struct sock *child, struct request_sock *req, bool own_req) argument 1411 struct sock *child = req->sk, *nsk; local [all...] |
/linux-master/drivers/md/persistent-data/ |
H A D | dm-btree-remove.c | 53 * Once this rebalancing has occurred we can then step into the child node 155 struct child { struct 163 unsigned int index, struct child *result) 187 static void exit_child(struct dm_btree_info *info, struct child *c) 237 struct child *l, struct child *r) 245 * Ensure the number of entries in each child will be greater 247 * child is used for removal, the number will still be not 284 struct child left, right; 312 struct child * 492 struct dm_block *child; local [all...] |
/linux-master/arch/loongarch/kvm/ |
H A D | mmu.c | 154 kvm_pte_t *entry, *child; local 157 child = kvm->arch.pgd; 159 entry = kvm_pgtable_offset(&ctx, child, addr); 164 child = kvm_mmu_memory_cache_alloc(cache); 165 _kvm_pte_init(child, ctx.invalid_ptes[ctx.level - 1]); 166 kvm_set_pte(entry, __pa(child)); 170 child = (kvm_pte_t *)__va(PHYSADDR(*entry)); 174 entry = kvm_pgtable_offset(&ctx, child, addr); 188 kvm_pte_t *entry, *child; local 192 child 222 kvm_pte_t *entry, *child; local 760 kvm_pte_t val, *child; local [all...] |
/linux-master/tools/testing/selftests/mm/ |
H A D | protection_keys.c | 452 /* in the child */ 454 dprintf1("child sleeping...\n"); 1198 /* in the child */ 1388 * Fork a child which is an exact copy of this process, of course. 1393 dprintf1("[%d] child pid: %d\n", getpid(), child_pid); 1549 pid_t child; local 1562 child = fork(); 1563 pkey_assert(child >= 0); 1564 dprintf3("[%d] fork() ret: %d\n", getpid(), child); 1565 if (!child) { [all...] |