Home
last modified time | relevance | path

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

/drivers/gpu/drm/rockchip/
Drockchip_rgb.c80 int ret = 0, child_count = 0; in rockchip_rgb_init() local
103 child_count++; in rockchip_rgb_init()
115 if (!child_count) in rockchip_rgb_init()
Drockchip_lvds.c549 int ret = 0, child_count = 0; in rockchip_lvds_bind() local
561 child_count++; in rockchip_lvds_bind()
570 if (!child_count) { in rockchip_lvds_bind()
/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()
/drivers/base/power/
Druntime.c270 atomic_read(&dev->power.child_count)) in rpm_check_suspend_allowed()
685 atomic_add_unless(&parent->power.child_count, -1, 0); in rpm_suspend()
848 atomic_inc(&dev->parent->power.child_count); in rpm_resume()
918 atomic_inc(&parent->power.child_count); in rpm_resume()
1262 atomic_add_unless(&parent->power.child_count, -1, 0); in __pm_runtime_set_status()
1280 atomic_inc(&parent->power.child_count); in __pm_runtime_set_status()
1473 atomic_read(&dev->power.child_count) > 0, in pm_runtime_enable()
1684 atomic_set(&dev->power.child_count, 0); in pm_runtime_init()
1816 (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()
/drivers/bus/fsl-mc/
Ddprc-driver.c22 int child_count; member
52 for (i = 0; i < objs->child_count; i++) { in __fsl_mc_device_remove_if_not_in_mc()
60 if (i == objs->child_count) in __fsl_mc_device_remove_if_not_in_mc()
95 objs.child_count = num_child_objects_in_mc; in dprc_remove_devices()
/drivers/memory/tegra/
Dtegra20-emc.c386 int child_count; in tegra_emc_load_timings_from_dt() local
389 child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt()
390 if (!child_count) { in tegra_emc_load_timings_from_dt()
395 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in tegra_emc_load_timings_from_dt()
400 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
Dmc.c428 int child_count = of_get_child_count(node); in load_timings() local
431 mc->timings = devm_kcalloc(mc->dev, child_count, sizeof(*timing), in load_timings()
436 mc->num_timings = child_count; in load_timings()
Dtegra30-emc.c969 int child_count; in emc_load_timings_from_dt() local
972 child_count = of_get_child_count(node); in emc_load_timings_from_dt()
973 if (!child_count) { in emc_load_timings_from_dt()
978 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in emc_load_timings_from_dt()
983 emc->num_timings = child_count; in emc_load_timings_from_dt()
Dtegra124-emc.c994 int child_count = of_get_child_count(node); in tegra_emc_load_timings_from_dt() local
1000 emc->timings = devm_kcalloc(emc->dev, child_count, sizeof(*timing), in tegra_emc_load_timings_from_dt()
1005 emc->num_timings = child_count; in tegra_emc_load_timings_from_dt()
/drivers/of/
Dunittest.c260 int allnode_count = 0, child_count; in of_unittest_check_tree_linkage() local
267 child_count = of_unittest_check_node_linkage(of_root); in of_unittest_check_tree_linkage()
269 unittest(child_count > 0, "Device node data structure is corrupted\n"); in of_unittest_check_tree_linkage()
270 unittest(child_count == allnode_count, in of_unittest_check_tree_linkage()
272 allnode_count, child_count); in of_unittest_check_tree_linkage()
273 pr_debug("allnodes list size (%i); sibling lists size (%i)\n", allnode_count, child_count); in of_unittest_check_tree_linkage()
/drivers/perf/
Darm-cmn.c1666 u16 child_count, child_poff; in arm_cmn_discover() local
1686 child_count = FIELD_GET(CMN_CI_CHILD_COUNT, reg); in arm_cmn_discover()
1689 cmn->num_xps = child_count; in arm_cmn_discover()
1767 child_count = FIELD_GET(CMN_CI_CHILD_COUNT, reg); in arm_cmn_discover()
1770 for (j = 0; j < child_count; j++) { in arm_cmn_discover()
/drivers/acpi/
Dacpi_video.c167 u8 child_count; member
1325 if (!video->attached_count || video->child_count > 8) in acpi_video_device_in_dod()
1587 video->child_count++; in acpi_video_bus_get_devices()