Home
last modified time | relevance | path

Searched refs:child_count (Results 1 – 22 of 22) sorted by relevance

/linux-6.12.1/include/trace/events/
Drpm.h32 __field( int , child_count )
44 __entry->child_count = atomic_read(
45 &dev->power.child_count);
56 __entry->child_count
/linux-6.12.1/drivers/gpu/drm/rockchip/
Drockchip_rgb.c81 int ret = 0, child_count = 0; in rockchip_rgb_init() local
105 child_count++; in rockchip_rgb_init()
117 if (!child_count) in rockchip_rgb_init()
Drockchip_lvds.c552 int ret = 0, child_count = 0; in rockchip_lvds_bind() local
564 child_count++; in rockchip_lvds_bind()
573 if (!child_count) { in rockchip_lvds_bind()
/linux-6.12.1/scripts/kconfig/
Dmconf.c287 static int child_count; variable
481 child_count++; in build_conf()
497 child_count++; in build_conf()
505 child_count++; in build_conf()
521 child_count++; in build_conf()
542 child_count++; in build_conf()
772 if (!child_count) in conf()
Dnconf.c267 static int child_count; variable
780 child_count++; in build_conf()
797 child_count++; in build_conf()
806 child_count++; in build_conf()
822 child_count++; in build_conf()
843 child_count++; in build_conf()
1071 if (!child_count) in selected_conf()
/linux-6.12.1/tools/perf/scripts/python/
Dexported-sql-viewer.py262 if row + 10 >= self.root.child_count:
287 self.child_count = 0
298 return self.child_count
318 if row + 10 >= self.child_count:
493 self.child_count = 0
512 if not self.child_count:
514 return self.child_count
519 return self.child_count > 0
564 …child_item = CallGraphLevelThreeItem(self.glb, self.params, self.child_count, self.comm_id, self.t…
566 self.child_count += 1
[all …]
/linux-6.12.1/drivers/clk/tegra/
Dclk-tegra124-emc.c448 int child_count = of_get_child_count(node); in load_timings_from_dt() local
452 size = (tegra->num_timings + child_count) * sizeof(struct emc_timing); in load_timings_from_dt()
459 tegra->num_timings += child_count; in load_timings_from_dt()
474 sort(timings_ptr, child_count, sizeof(struct emc_timing), in load_timings_from_dt()
/linux-6.12.1/drivers/base/power/
Druntime.c269 else if (!dev->power.ignore_children && atomic_read(&dev->power.child_count)) in rpm_check_suspend_allowed()
684 atomic_add_unless(&parent->power.child_count, -1, 0); in rpm_suspend()
852 atomic_inc(&dev->parent->power.child_count); in rpm_resume()
924 atomic_inc(&parent->power.child_count); in rpm_resume()
1327 atomic_add_unless(&parent->power.child_count, -1, 0); in __pm_runtime_set_status()
1345 atomic_inc(&parent->power.child_count); in __pm_runtime_set_status()
1540 atomic_read(&dev->power.child_count) > 0) in pm_runtime_enable()
1756 atomic_set(&dev->power.child_count, 0); in pm_runtime_init()
1880 (atomic_read(&dev->power.child_count) == 0 || in pm_runtime_need_not_resume()
Dsysfs.c565 0 : atomic_read(&dev->power.child_count)); in runtime_active_kids_show()
/linux-6.12.1/drivers/bus/fsl-mc/
Ddprc-driver.c21 int child_count; member
54 for (i = 0; i < objs->child_count; i++) { in __fsl_mc_device_remove_if_not_in_mc()
62 if (i == objs->child_count) in __fsl_mc_device_remove_if_not_in_mc()
100 objs.child_count = num_child_objects_in_mc; in dprc_remove_devices()
/linux-6.12.1/drivers/net/
Dnetconsole.c697 int complete_idx = 0, child_count = 0; in update_userdata() local
708 if (child_count >= MAX_USERDATA_ITEMS) in update_userdata()
710 child_count++; in update_userdata()
786 size_t child_count; in userdatum_make_item() local
793 child_count = list_count_nodes(&nt->userdata_group.cg_children); in userdatum_make_item()
794 if (child_count >= MAX_USERDATA_ITEMS) in userdatum_make_item()
/linux-6.12.1/drivers/memory/tegra/
Dtegra20-emc.c414 int child_count; in tegra_emc_load_timings_from_dt() local
417 child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt()
418 if (!child_count) { in tegra_emc_load_timings_from_dt()
423 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in tegra_emc_load_timings_from_dt()
Dtegra30-emc.c983 int child_count; in emc_load_timings_from_dt() local
986 child_count = of_get_child_count(node); in emc_load_timings_from_dt()
987 if (!child_count) { in emc_load_timings_from_dt()
992 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in emc_load_timings_from_dt()
997 emc->num_timings = child_count; in emc_load_timings_from_dt()
Dmc.c454 int child_count = of_get_child_count(node); in load_timings() local
457 mc->timings = devm_kcalloc(mc->dev, child_count, sizeof(*timing), in load_timings()
462 mc->num_timings = child_count; in load_timings()
Dtegra124-emc.c994 int child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt() local
999 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in tegra_emc_load_timings_from_dt()
1004 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
/linux-6.12.1/drivers/of/
Dunittest.c263 int allnode_count = 0, child_count; in of_unittest_check_tree_linkage() local
270 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage()
272 unittest(child_count > 0, "Device node data structure is corrupted\n"); in of_unittest_check_tree_linkage()
273 unittest(child_count == allnode_count, in of_unittest_check_tree_linkage()
275 allnode_count, child_count); in of_unittest_check_tree_linkage()
276 pr_debug("allnodes list size (%i); sibling lists size (%i)\n", allnode_count, child_count); in of_unittest_check_tree_linkage()
/linux-6.12.1/drivers/acpi/
Dacpi_video.c162 u8 child_count; member
1192 video->child_count++; in acpi_video_bus_get_one_device()
1260 if (!video->attached_count || video->child_count > 8) in acpi_video_device_in_dod()
/linux-6.12.1/drivers/perf/
Darm-cmn.c2260 u16 child_count, child_poff; in arm_cmn_discover() local
2306 child_count = FIELD_GET(CMN_CI_CHILD_COUNT, reg); in arm_cmn_discover()
2309 cmn->num_xps = child_count; in arm_cmn_discover()
2392 child_count = FIELD_GET(CMN_CI_CHILD_COUNT, reg); in arm_cmn_discover()
2395 for (j = 0; j < child_count; j++) { in arm_cmn_discover()
/linux-6.12.1/include/linux/
Dpm.h697 atomic_t child_count; member
Dperf_event.h744 atomic64_t child_count; member
/linux-6.12.1/Documentation/power/
Druntime_pm.rst232 `atomic_t child_count;`
236 - if set, the value of child_count is ignored (but still updated)
/linux-6.12.1/kernel/events/
Dcore.c4649 return local64_read(&event->count) + atomic64_read(&event->child_count); in perf_event_count()
13282 atomic64_add(child_val, &parent_event->child_count); in sync_child_event()