/device/soc/rockchip/common/sdk_linux/drivers/pwm/ |
H A D | sysfs.c | 18 struct device child; member 24 static struct pwm_export *child_to_pwm_export(struct device *child) in child_to_pwm_export() argument 26 return container_of(child, struct pwm_export, child); in child_to_pwm_export() 29 static struct pwm_device *child_to_pwm_device(struct device *child) in child_to_pwm_device() argument 31 struct pwm_export *export = child_to_pwm_export(child); in child_to_pwm_device() 36 static ssize_t period_show(struct device *child, struct device_attribute *attr, char *buf) in period_show() argument 38 const struct pwm_device *pwm = child_to_pwm_device(child); in period_show() 46 static ssize_t period_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) in period_store() argument 48 struct pwm_export *export = child_to_pwm_export(child); in period_store() 68 duty_cycle_show(struct device *child, struct device_attribute *attr, char *buf) duty_cycle_show() argument 78 duty_cycle_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) duty_cycle_store() argument 101 oneshot_count_show(struct device *child, struct device_attribute *attr, char *buf) oneshot_count_show() argument 111 oneshot_count_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) oneshot_count_store() argument 134 enable_show(struct device *child, struct device_attribute *attr, char *buf) enable_show() argument 144 enable_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) enable_store() argument 179 polarity_show(struct device *child, struct device_attribute *attr, char *buf) polarity_show() argument 200 polarity_store(struct device *child, struct device_attribute *attr, const char *buf, size_t size) polarity_store() argument 225 capture_show(struct device *child, struct device_attribute *attr, char *buf) capture_show() argument 256 pwm_export_release(struct device *child) pwm_export_release() argument 303 pwm_unexport_match(struct device *child, void *data) pwm_unexport_match() argument 310 struct device *child; pwm_unexport_child() local 405 struct device *child; pwm_class_get_state() local [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_group.c | 122 struct mali_group *child; in mali_group_delete() local 125 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_delete() 127 child->parent_group = NULL; in mali_group_delete() 128 mali_group_delete(child); in mali_group_delete() 254 /* Deal with child groups first */ in mali_group_activate() 259 * let the child groups take the needed L2 cache ref in mali_group_activate() 264 struct mali_group *child; in mali_group_activate() local 271 MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) in mali_group_activate() 273 MALI_DEBUG_ASSERT(MALI_GROUP_STATE_INACTIVE == child->state); in mali_group_activate() 275 child in mali_group_activate() 346 struct mali_group *child; mali_group_set_active() local 387 struct mali_group *child; mali_group_deactivate() local 572 mali_group_add_group(struct mali_group *parent, struct mali_group *child) mali_group_add_group() argument 701 mali_group_remove_group(struct mali_group *parent, struct mali_group *child) mali_group_remove_group() argument 745 struct mali_group *child = NULL; mali_group_acquire_group() local 911 struct mali_group *child; mali_group_start_pp_job() local 935 struct mali_group *child; mali_group_start_pp_job() local 1040 struct mali_group *child; mali_group_reset_mmu() local 1065 struct mali_group *child; mali_group_reset_pp() local 1104 struct mali_group *child; mali_group_complete_pp() local 1326 struct mali_group *child, *temp; mali_group_recovery_reset() local 1360 struct mali_group *child; mali_group_dump_state() local [all...] |
H A D | mali_pp.c | 454 void mali_pp_update_performance_counters(struct mali_pp_core *parent, struct mali_pp_core *child, in mali_pp_update_performance_counters() argument 462 int counter_index = COUNTER_FP_0_C0 + (2 * child->core_id); in mali_pp_update_performance_counters() 466 val0 = mali_hw_core_register_read(&child->hw_core, MALI200_REG_ADDR_MGMT_PERF_CNT_0_VALUE); in mali_pp_update_performance_counters() 476 val1 = mali_hw_core_register_read(&child->hw_core, MALI200_REG_ADDR_MGMT_PERF_CNT_1_VALUE); in mali_pp_update_performance_counters()
|
H A D | mali_group.h | 75 /* Used by group to link child groups (for virtual group) */ 213 * When one of child group's disable_requeset is set TRUE, then in mali_group_set_disable_request() 216 * only when all of its child group's disable_request are set to FALSE. in mali_group_set_disable_request() 231 void mali_group_add_group(struct mali_group *parent, struct mali_group *child); 233 void mali_group_remove_group(struct mali_group *parent, struct mali_group *child);
|
H A D | mali_pp.h | 73 * parent and child is always the same, except for virtual jobs on Mali-450. 75 * but values need to be read from the child cores. 78 * @param child The core to actually read the values from 82 void mali_pp_update_performance_counters(struct mali_pp_core *parent, struct mali_pp_core *child,
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_group.c | 119 struct mali_group *child; in mali_group_delete() local 122 _MALI_OSK_LIST_FOREACHENTRY(child, temp, &group->group_list, struct mali_group, group_list) { in mali_group_delete() 123 child->parent_group = NULL; in mali_group_delete() 124 mali_group_delete(child); in mali_group_delete() 251 /* Deal with child groups first */ in mali_group_activate() 256 * let the child groups take the needed L2 cache ref in mali_group_activate() 261 struct mali_group *child; in mali_group_activate() local 268 _MALI_OSK_LIST_FOREACHENTRY(child, temp, in mali_group_activate() 272 == child->state); in mali_group_activate() 274 child in mali_group_activate() 358 struct mali_group *child; mali_group_set_active() local 400 struct mali_group *child; mali_group_deactivate() local 592 mali_group_add_group(struct mali_group *parent, struct mali_group *child) mali_group_add_group() argument 720 mali_group_remove_group(struct mali_group *parent, struct mali_group *child) mali_group_remove_group() argument 765 struct mali_group *child = NULL; mali_group_acquire_group() local 941 struct mali_group *child; mali_group_start_pp_job() local 964 struct mali_group *child; mali_group_start_pp_job() local 1070 struct mali_group *child; mali_group_reset_mmu() local 1094 struct mali_group *child; mali_group_reset_pp() local 1134 struct mali_group *child; mali_group_complete_pp() local 1353 struct mali_group *child, *temp; mali_group_recovery_reset() local 1386 struct mali_group *child; mali_group_dump_state() local [all...] |
H A D | mali_pp.c | 462 void mali_pp_update_performance_counters(struct mali_pp_core *parent, struct mali_pp_core *child, struct mali_pp_job *job, u32 subjob) in mali_pp_update_performance_counters() argument 469 int counter_index = COUNTER_FP_0_C0 + (2 * child->core_id); in mali_pp_update_performance_counters() 473 val0 = mali_hw_core_register_read(&child->hw_core, MALI200_REG_ADDR_MGMT_PERF_CNT_0_VALUE); in mali_pp_update_performance_counters() 483 val1 = mali_hw_core_register_read(&child->hw_core, MALI200_REG_ADDR_MGMT_PERF_CNT_1_VALUE); in mali_pp_update_performance_counters()
|
H A D | mali_group.h | 74 /* Used by group to link child groups (for virtual group) */ 220 * When one of child group's disable_requeset is set TRUE, then in mali_group_set_disable_request() 223 * only when all of its child group's disable_request are set to FALSE. in mali_group_set_disable_request() 239 void mali_group_add_group(struct mali_group *parent, struct mali_group *child); 241 void mali_group_remove_group(struct mali_group *parent, struct mali_group *child);
|
H A D | mali_pp.h | 71 * parent and child is always the same, except for virtual jobs on Mali-450. 73 * but values need to be read from the child cores. 76 * @param child The core to actually read the values from 80 void mali_pp_update_performance_counters(struct mali_pp_core *parent, struct mali_pp_core *child, struct mali_pp_job *job, u32 subjob);
|
/device/soc/rockchip/common/sdk_linux/drivers/regulator/ |
H A D | of_regulator.c | 324 * contain a set of child nodes, each providing the init data for one 325 * regulator. The data parsed from a child node will be matched to a regulator 327 * or otherwise the child node's name. Note that the match table is modified 339 struct device_node *child; in of_regulator_match() local 362 for_each_child_of_node(node, child) in of_regulator_match() 364 name = of_get_property(child, "regulator-compatible", NULL); in of_regulator_match() 366 name = child->name; in of_regulator_match() 378 match->init_data = of_get_regulator_init_data(dev, child, match->desc); in of_regulator_match() 380 dev_err(dev, "failed to parse DT for regulator %pOFn\n", child); in of_regulator_match() 381 of_node_put(child); in of_regulator_match() 396 struct device_node *search, *child; regulator_of_get_init_node() local 442 struct device_node *child; regulator_of_get_init_data() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
H A D | clk.c | 225 struct rockchip_clk_branch *child, unsigned long max_prate, in rockchip_clk_register_frac_branch() 238 if (child && child->branch_type != branch_mux) { in rockchip_clk_register_frac_branch() 239 pr_err("%s: fractional child clock for %s can only be a mux\n", __func__, name); in rockchip_clk_register_frac_branch() 278 if (child) { in rockchip_clk_register_frac_branch() 284 frac->mux_frac_idx = match_string(child->parent_names, child->num_parents, name); in rockchip_clk_register_frac_branch() 288 frac_mux->reg = base + child->muxdiv_offset; in rockchip_clk_register_frac_branch() 289 frac_mux->shift = child->mux_shift; in rockchip_clk_register_frac_branch() 290 frac_mux->mask = BIT(child in rockchip_clk_register_frac_branch() 221 rockchip_clk_register_frac_branch(struct rockchip_clk_provider *ctx, const char *name, const char *const *parent_names, u8 num_parents, void __iomem *base, int muxdiv_offset, u8 div_flags, int gate_offset, u8 gate_shift, u8 gate_flags, unsigned long flags, struct rockchip_clk_branch *child, unsigned long max_prate, spinlock_t *lock) rockchip_clk_register_frac_branch() argument [all...] |
H A D | clk.h | 506 struct rockchip_clk_branch *child; member 523 .gate_shift = (gs), .gate_flags = (gf), .child = (bro), \ 576 .mux_flags = (mf), .div_shift = (ds), .div_width = (dw), .div_flags = (df), .gate_offset = -1, .child = (bro), \ 600 .gate_offset = (go), .gate_shift = (gs), .gate_flags = (gf), .child = (ch), .max_prate = (prate), \ 608 .gate_offset = -1, .child = (ch), .max_prate = (prate), \
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | topology.c | 65 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && !(sd->child->flags & flag)) { in sched_domain_debug_one() 66 printk(KERN_ERR "ERROR: flag %s set here but not in child\n", sd_flag_debug[idx].name); in sched_domain_debug_one() 106 if (group == sd->groups && sd->child && !cpumask_equal(sched_domain_span(sd->child), sched_group_span(group))) { in sched_domain_debug_one() 107 printk(KERN_ERR "ERROR: domain->groups does not match domain->child\n"); in sched_domain_debug_one() 727 parent->parent->child = tmp; in cpu_attach_domain() 748 sd->child = NULL; in cpu_attach_domain() 828 * When we iterate a domain in child domain chunks some nodes can be 837 * - the first group of each domain is its child domai 1178 struct sched_domain *child = sd->child; get_group() local 1447 sd_init(struct sched_domain_topology_level *tl, const struct cpumask *cpu_map, struct sched_domain *child, int dflags, int cpu) sd_init() argument 1984 build_sched_domain(struct sched_domain_topology_level *tl, const struct cpumask *cpu_map, struct sched_domain_attr *attr, struct sched_domain *child, int dflags, int cpu) build_sched_domain() argument [all...] |
/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
H A D | checks.c | 134 struct node *child; in check_nodes_props() local 141 for_each_child(node, child) check_nodes_props(c, dti, child); in check_nodes_props() 265 struct node *child, *child2; in check_duplicate_node_names() local 267 for_each_child(node, child) { in check_duplicate_node_names() 268 for (child2 = child->next_sibling; child2; in check_duplicate_node_names() 270 if (streq(child->name, child2->name)) in check_duplicate_node_names() 646 struct node *child; in fixup_omit_unused_nodes() local 654 for_each_child(parent, child) return; in fixup_omit_unused_nodes() 836 "(parent #address-cells == %d, child #addres in check_ranges_format() 1059 struct node *child; check_i2c_bus_bridge() local 1147 struct node *child; check_spi_bus_bridge() local 1276 struct node *child; check_avoid_unnecessary_addr_size() local 1744 struct node *child; check_graph_nodes() local 1767 struct node *child; check_graph_child_address() local [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/init/hi3516cv500/linux/ |
H A D | base_init.c | 55 .child = comm_eproc_table 64 .child = comm_dir_table
|
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/ |
H A D | phy-rockchip-usb.c | 736 static int rockchip_usb_phy_init(struct rockchip_usb_phy_base *base, struct device_node *child)
in rockchip_usb_phy_init() argument 751 rk_phy->np = child;
in rockchip_usb_phy_init() 754 if (of_property_read_u32(child, "reg", ®_offset)) {
in rockchip_usb_phy_init() 755 dev_err(base->dev, "missing reg property in node %pOFn\n", child);
in rockchip_usb_phy_init() 759 rk_phy->reset = of_reset_control_get(child, "phy-reset");
in rockchip_usb_phy_init() 766 rk_phy->clk = of_clk_get_by_name(child, "phyclk");
in rockchip_usb_phy_init() 810 err = of_clk_add_provider(child, of_clk_src_simple_get, rk_phy->clk480m);
in rockchip_usb_phy_init() 821 rk_phy->phy = devm_phy_create(base->dev, child, &ops);
in rockchip_usb_phy_init() 995 struct device_node *child;
in rockchip_usb_phy_probe() local 1029 for_each_available_child_of_node(dev->of_node, child)
in rockchip_usb_phy_probe() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
H A D | gpiolib-of.c | 171 * property named "cs-gpios" we need to inspect the child node in of_gpio_flags_quirks() 175 struct device_node *child; in of_gpio_flags_quirks() local 179 for_each_child_of_node(np, child) in of_gpio_flags_quirks() 181 ret = of_property_read_u32(child, "reg", &cs); in of_gpio_flags_quirks() 198 if (of_property_read_bool(child, "spi-cs-high")) { in of_gpio_flags_quirks() 200 pr_warn("%s GPIO handle specifies active low - ignored\n", of_node_full_name(child)); in of_gpio_flags_quirks() 205 pr_info("%s enforce active low on chipselect handle\n", of_node_full_name(child)); in of_gpio_flags_quirks() 209 of_node_put(child); in of_gpio_flags_quirks()
|
/device/soc/rockchip/common/vendor/drivers/devfreq/ |
H A D | rockchip_bus.c | 72 struct device_node *child; in rockchip_bus_smc_config() local 76 for_each_available_child_of_node(np, child) in rockchip_bus_smc_config() 78 ret = of_property_read_u32_index(child, "bus-id", 0, &bus_id); in rockchip_bus_smc_config() 83 ret = of_property_read_u32_index(child, "cfg-val", 0, &cfg); in rockchip_bus_smc_config() 94 ret = of_property_read_u32_index(child, "enable-msk", 0, &enable_msk); in rockchip_bus_smc_config()
|
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/ |
H A D | rockchip_bus.c | 74 struct device_node *child; in rockchip_bus_smc_config() local 78 for_each_available_child_of_node(np, child) { in rockchip_bus_smc_config() 79 ret = of_property_read_u32_index(child, "bus-id", 0, in rockchip_bus_smc_config() 84 ret = of_property_read_u32_index(child, "cfg-val", 0, in rockchip_bus_smc_config() 96 ret = of_property_read_u32_index(child, "enable-msk", 0, in rockchip_bus_smc_config()
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | sched.h | 971 * Pointers to the (original) parent process, youngest child, younger sibling,
1704 * child->flags of its traced child (same goes for fork, the parent
1705 * can write to the child->flags), because we're guaranteed the
1706 * child is not running and in turn not changing child->flags
1709 #define clear_stopped_child_used_math(child) \
1711 (child)->flags &= ~PF_USED_MATH; \
1713 #define set_stopped_child_used_math(child) \
1715 (child) [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/ |
H A D | core.c | 545 struct device_node *parent, *child;
in nvmem_add_cells_from_of() local 553 for_each_child_of_node(parent, child)
in nvmem_add_cells_from_of() 555 addr = of_get_property(child, "reg", &len);
in nvmem_add_cells_from_of() 560 dev_err(dev, "nvmem: invalid reg on %pOF\n", child);
in nvmem_add_cells_from_of() 561 of_node_put(child);
in nvmem_add_cells_from_of() 567 of_node_put(child);
in nvmem_add_cells_from_of() 574 cell->name = kasprintf(GFP_KERNEL, "%pOFn", child);
in nvmem_add_cells_from_of() 576 addr = of_get_property(child, "bits", &len);
in nvmem_add_cells_from_of() 591 of_node_put(child);
in nvmem_add_cells_from_of() 595 cell->np = of_node_get(child);
in nvmem_add_cells_from_of() [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | legacy_freezer.c | 267 struct freezer *child = css_freezer(pos); in update_if_frozen() local 269 if ((child->state & CGROUP_FREEZER_ONLINE) && !(child->state & CGROUP_FROZEN)) { in update_if_frozen()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
H A D | Tree.h | 66 *child[2]; /**< pointers to child tree nodes 0 = left, 1 = right */ member
|
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/linuxkpi/include/linux/ |
H A D | platform_device.h | 45 struct resource *parent, *sibling, *child;
member
|
/device/soc/rockchip/common/sdk_linux/include/trace/events/ |
H A D | sched.h | 218 TP_PROTO(struct task_struct *parent, struct task_struct *child),
220 TP_ARGS(parent, child),
226 memcpy(__entry->child_comm, child->comm, TASK_COMM_LEN); __entry->child_pid = child->pid;),
|