/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | ref-verify.c | 25 struct rb_node node; member 39 struct rb_node node; member 74 struct rb_node node; member 87 entry = rb_entry(parent_node, struct block_entry, node); in insert_block_entry() 96 rb_link_node(&be->node, parent_node, p); in insert_block_entry() 97 rb_insert_color(&be->node, root); in insert_block_entry() 108 entry = rb_entry(n, struct block_entry, node); in lookup_block_entry() 128 entry = rb_entry(parent_node, struct root_entry, node); in insert_root_entry() 137 rb_link_node(&re->node, parent_node, p); in insert_root_entry() 138 rb_insert_color(&re->node, roo in insert_root_entry() [all...] |
/kernel/linux/linux-6.6/fs/jffs2/ |
H A D | summary.c | 98 JFFS2_WARNING("UNKNOWN node type %u\n", in jffs2_sum_add_mem() 246 /* Called from wbuf.c to collect writed node info */ 251 union jffs2_node_union *node; in jffs2_sum_add_kvec() local 259 node = invecs[0].iov_base; in jffs2_sum_add_kvec() 263 switch (je16_to_cpu(node->u.nodetype)) { in jffs2_sum_add_kvec() 271 temp->nodetype = node->i.nodetype; in jffs2_sum_add_kvec() 272 temp->inode = node->i.ino; in jffs2_sum_add_kvec() 273 temp->version = node->i.version; in jffs2_sum_add_kvec() 275 temp->totlen = node->i.totlen; in jffs2_sum_add_kvec() 283 kmalloc(sizeof(struct jffs2_sum_dirent_mem) + node in jffs2_sum_add_kvec() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_migrate.c | 290 svm_migrate_copy_to_vram(struct kfd_node *node, struct svm_range *prange, in svm_migrate_copy_to_vram() argument 295 struct amdgpu_device *adev = node->adev; in svm_migrate_copy_to_vram() 394 svm_migrate_vma_to_vram(struct kfd_node *node, struct svm_range *prange, in svm_migrate_vma_to_vram() argument 400 struct amdgpu_device *adev = node->adev; in svm_migrate_vma_to_vram() 426 kfd_smi_event_migration_start(node, p->lead_thread->pid, in svm_migrate_vma_to_vram() 428 0, node->id, prange->prefetch_loc, in svm_migrate_vma_to_vram() 450 r = svm_migrate_copy_to_vram(node, prange, &migrate, &mfence, scratch, ttm_res_offset); in svm_migrate_vma_to_vram() 459 kfd_smi_event_migration_end(node, p->lead_thread->pid, in svm_migrate_vma_to_vram() 461 0, node->id, trigger); in svm_migrate_vma_to_vram() 469 pdd = svm_range_get_pdd_by_node(prange, node); in svm_migrate_vma_to_vram() 497 struct kfd_node *node; svm_migrate_ram_to_vram() local 671 svm_migrate_vma_to_ram(struct kfd_node *node, struct svm_range *prange, struct vm_area_struct *vma, uint64_t start, uint64_t end, uint32_t trigger, struct page *fault_page) svm_migrate_vma_to_ram() argument 776 struct kfd_node *node; svm_migrate_vram_to_ram() local [all...] |
/kernel/linux/linux-6.6/drivers/net/xen-netback/ |
H A D | xenbus.c | 549 char *node; in xen_register_credit_watch() local 552 if (vif->credit_watch.node) in xen_register_credit_watch() 555 node = kmalloc(maxlen, GFP_KERNEL); in xen_register_credit_watch() 556 if (!node) in xen_register_credit_watch() 558 snprintf(node, maxlen, "%s/rate", dev->nodename); in xen_register_credit_watch() 559 vif->credit_watch.node = node; in xen_register_credit_watch() 564 pr_err("Failed to set watcher %s\n", vif->credit_watch.node); in xen_register_credit_watch() 565 kfree(node); in xen_register_credit_watch() 566 vif->credit_watch.node in xen_register_credit_watch() 597 char *node; xen_register_mcast_ctrl_watch() local [all...] |
/third_party/ltp/testcases/kernel/hotplug/memory_hotplug/ |
H A D | commands.c | 64 static inline int nodemask_isset(nodemask_t * mask, int node) in nodemask_isset() argument 66 if ((unsigned)node >= NUMA_NUM_NODES) in nodemask_isset() 68 if (mask->n[node / (8 * sizeof(unsigned long))] & in nodemask_isset() 69 (1UL << (node % (8 * sizeof(unsigned long))))) in nodemask_isset() 74 static inline void nodemask_set(nodemask_t * mask, int node) in nodemask_set() argument 76 mask->n[node / (8 * sizeof(unsigned long))] |= in nodemask_set() 77 (1UL << (node % (8 * sizeof(unsigned long)))); in nodemask_set() 340 * get_nodemask() -- get nodemask from comma-separated list of node ids. 349 int node; in get_nodemask() local 352 fprintf(stderr, "%s: expected digit for <node/lis in get_nodemask() 390 int node, count = 0; get_arg_nodeid_list() local 444 int node; get_current_nodeid_list() local 519 int node = nodeids[i]; numa_info() local [all...] |
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_core.c | 59 * - Comfortable node types and helper functions for scalar arrays and tables. 786 node_instance->node = mn; in snmp_get_node_instance_from_oid() 797 LWIP_DEBUGF(SNMP_DEBUG, ("SNMP inconsistent access: node is readable but no get_value function is specified\n")); in snmp_get_node_instance_from_oid() 800 LWIP_DEBUGF(SNMP_DEBUG, ("SNMP inconsistent access: node is writable but no set_value and/or set_test function is specified\n")); in snmp_get_node_instance_from_oid() 833 /* resolve target node from MIB, skip to next MIB if no suitable node is found in current MIB */ in snmp_get_next_node_instance_from_oid() 837 /* check if OID directly references a node inside current MIB, in this case we have to ask this node for the next instance */ in snmp_get_next_node_instance_from_oid() 840 snmp_oid_assign(node_oid, start_oid, start_oid_len - oid_instance_len); /* set oid to node */ in snmp_get_next_node_instance_from_oid() 843 /* OID does not reference a node, searc in snmp_get_next_node_instance_from_oid() 985 const struct snmp_node *const *node = &mib->root_node; snmp_mib_tree_resolve_exact() local 1020 const struct snmp_node *const *node; snmp_mib_tree_resolve_next() local [all...] |
/drivers/hdf_core/adapter/khdf/linux/platform/adc/ |
H A D | adc_iio_adapter.c | 142 static int32_t AdcIioReadDrs(struct AdcIioDevice *adcDevice, const struct DeviceResourceNode *node) in AdcIioReadDrs() argument 155 ret = drsOps->GetUint32(node, "deviceNum", &adcDevice->deviceNum, 0); in AdcIioReadDrs() 160 ret = drsOps->GetUint32(node, "channelNum", &adcDevice->channelNum, 1); in AdcIioReadDrs() 173 ret = drsOps->GetString(node, channelName, &drName, NULL); in AdcIioReadDrs() 183 ret = drsOps->GetUint32(node, "scanMode", &adcDevice->scanMode, 0); in AdcIioReadDrs() 189 ret = drsOps->GetUint32(node, "rate", &adcDevice->rate, 0); in AdcIioReadDrs() 198 static int32_t AdcIioParseAndDeviceAdd(struct HdfDeviceObject *device, struct DeviceResourceNode *node) in AdcIioParseAndDeviceAdd() argument 209 ret = AdcIioReadDrs(adcDevice, node); in AdcIioParseAndDeviceAdd() 215 adcDevice->device.priv = (void *)node; in AdcIioParseAndDeviceAdd() 249 static void AdcIioRemoveByNode(const struct DeviceResourceNode *node) in AdcIioRemoveByNode() argument [all...] |
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | devfreq-event.c | 224 struct device_node *node; in devfreq_event_get_edev_by_phandle() local 230 node = of_parse_phandle(dev->of_node, phandle_name, index); in devfreq_event_get_edev_by_phandle() 231 if (!node) in devfreq_event_get_edev_by_phandle() 235 list_for_each_entry(edev, &devfreq_event_list, node) { in devfreq_event_get_edev_by_phandle() 236 if (edev->dev.parent && edev->dev.parent->of_node == node) in devfreq_event_get_edev_by_phandle() 240 list_for_each_entry(edev, &devfreq_event_list, node) { in devfreq_event_get_edev_by_phandle() 241 if (of_node_name_eq(node, edev->desc->name)) in devfreq_event_get_edev_by_phandle() 249 of_node_put(node); in devfreq_event_get_edev_by_phandle() 253 of_node_put(node); in devfreq_event_get_edev_by_phandle() 271 dev_err(dev, "device does not have a device node entr in devfreq_event_get_edev_count() [all...] |
/kernel/linux/linux-5.10/arch/arm64/mm/ |
H A D | numa.c | 45 * Returns a pointer to the bitmask of CPUs on Node 'node'. 47 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() argument 50 if (node == NUMA_NO_NODE) in cpumask_of_node() 53 if (WARN_ON(node < 0 || node >= nr_node_ids)) in cpumask_of_node() 56 if (WARN_ON(node_to_cpumask_map[node] == NULL)) in cpumask_of_node() 59 return node_to_cpumask_map[node]; in cpumask_of_node() 103 int node; in setup_node_to_cpumask_map() local 110 for (node = 0; node < nr_node_id in setup_node_to_cpumask_map() [all...] |
/kernel/linux/common_modules/container_escape_detection/core/ |
H A D | ced_detection.c | 74 struct rb_node *node = root_tree.rb_node; in point_search() local 75 while (node != NULL) { in point_search() 76 struct point_info *point = container_of(node, struct point_info, node); in point_search() 79 node = node->rb_left; in point_search() 81 node = node->rb_right; in point_search() 95 /* Figure out where to put new node */ in point_insert() 97 point = container_of((*new), struct point_info, node); in point_insert() [all...] |
/kernel/linux/linux-5.10/drivers/clk/bcm/ |
H A D | clk-cygnus.c | 51 static void __init cygnus_armpll_init(struct device_node *node) in cygnus_armpll_init() argument 53 iproc_armpll_setup(node); in cygnus_armpll_init() 110 static void __init cygnus_genpll_clk_init(struct device_node *node) in cygnus_genpll_clk_init() argument 112 iproc_pll_clk_setup(node, &genpll, NULL, 0, genpll_clk, in cygnus_genpll_clk_init() 168 static void __init cygnus_lcpll0_clk_init(struct device_node *node) in cygnus_lcpll0_clk_init() argument 170 iproc_pll_clk_setup(node, &lcpll0, NULL, 0, lcpll0_clk, in cygnus_lcpll0_clk_init() 246 static void __init cygnus_mipipll_clk_init(struct device_node *node) in cygnus_mipipll_clk_init() argument 248 iproc_pll_clk_setup(node, &mipipll, mipipll_vco_params, in cygnus_mipipll_clk_init() 266 static void __init cygnus_asiu_init(struct device_node *node) in cygnus_asiu_init() argument 268 iproc_asiu_setup(node, asiu_di in cygnus_asiu_init() 308 cygnus_audiopll_clk_init(struct device_node *node) cygnus_audiopll_clk_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/clk/ti/ |
H A D | clk-dra7-atl.c | 171 static void __init of_dra7_atl_clock_setup(struct device_node *node) in of_dra7_atl_clock_setup() argument 187 name = ti_dt_clk_name(node); in of_dra7_atl_clock_setup() 191 init.num_parents = of_clk_get_parent_count(node); in of_dra7_atl_clock_setup() 195 node); in of_dra7_atl_clock_setup() 204 parent_names[0] = of_clk_get_parent_name(node, 0); in of_dra7_atl_clock_setup() 208 clk = of_ti_clk_register(node, &clk_hw->hw, name); in of_dra7_atl_clock_setup() 211 of_clk_add_provider(node, of_clk_src_simple_get, clk); in of_dra7_atl_clock_setup() 223 struct device_node *node = pdev->dev.of_node; in of_dra7_atl_clk_probe() local 228 if (!node) in of_dra7_atl_clk_probe() 235 cinfo->iobase = of_iomap(node, in of_dra7_atl_clk_probe() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/mm/nohash/ |
H A D | kaslr_booke.c | 77 int node, len; in get_kaslr_seed() local 81 node = fdt_path_offset(fdt, "/chosen"); in get_kaslr_seed() 82 if (node < 0) in get_kaslr_seed() 85 prop = fdt_getprop_w(fdt, node, "kaslr-seed", &len); in get_kaslr_seed() 197 int node, len; in get_initrd_range() local 200 node = fdt_path_offset(fdt, "/chosen"); in get_initrd_range() 201 if (node < 0) in get_initrd_range() 204 prop = fdt_getprop(fdt, node, "linux,initrd-start", &len); in get_initrd_range() 209 prop = fdt_getprop(fdt, node, "linux,initrd-end", &len); in get_initrd_range() 237 static __init void get_cell_sizes(const void *fdt, int node, in argument [all...] |
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-owl-sirq.c | 278 struct device_node *node, in owl_sirq_init() 287 pr_err("%pOF: failed to find sirq parent domain\n", node); in owl_sirq_init() 299 chip_data->base = of_iomap(node, 0); in owl_sirq_init() 301 pr_err("%pOF: failed to map sirq registers\n", node); in owl_sirq_init() 309 ret = of_irq_parse_one(node, i, &irq); in owl_sirq_init() 311 pr_err("%pOF: failed to parse interrupt %d\n", node, i); in owl_sirq_init() 326 domain = irq_domain_add_hierarchy(parent_domain, 0, NUM_SIRQ, node, in owl_sirq_init() 329 pr_err("%pOF: failed to add domain\n", node); in owl_sirq_init() 344 static int __init owl_sirq_s500_of_init(struct device_node *node, in owl_sirq_s500_of_init() argument 347 return owl_sirq_init(&owl_sirq_s500_params, node, paren in owl_sirq_s500_of_init() 277 owl_sirq_init(const struct owl_sirq_params *params, struct device_node *node, struct device_node *parent) owl_sirq_init() argument 353 owl_sirq_s900_of_init(struct device_node *node, struct device_node *parent) owl_sirq_s900_of_init() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/meson/ |
H A D | axg-card.c | 147 * make sure the node count is balanced in axg_card_add_tdm_loopback() 159 struct device_node *node, in axg_card_parse_cpu_tdm_slots() 175 snd_soc_of_get_slot_mask(node, propname, &be->tx_mask[i]); in axg_card_parse_cpu_tdm_slots() 185 snd_soc_of_get_slot_mask(node, propname, &be->rx_mask[i]); in axg_card_parse_cpu_tdm_slots() 199 of_property_read_u32(node, "dai-tdm-slot-num", &be->slots); in axg_card_parse_cpu_tdm_slots() 215 of_property_read_u32(node, "dai-tdm-slot-width", &be->slot_width); in axg_card_parse_cpu_tdm_slots() 222 struct device_node *node, in axg_card_parse_codecs_masks() 235 for_each_child_of_node(node, np) { in axg_card_parse_codecs_masks() 248 struct device_node *node, in axg_card_parse_tdm() 265 link->dai_fmt = meson_card_parse_daifmt(node, lin in axg_card_parse_tdm() 157 axg_card_parse_cpu_tdm_slots(struct snd_soc_card *card, struct snd_soc_dai_link *link, struct device_node *node, struct axg_dai_link_tdm_data *be) axg_card_parse_cpu_tdm_slots() argument 220 axg_card_parse_codecs_masks(struct snd_soc_card *card, struct snd_soc_dai_link *link, struct device_node *node, struct axg_dai_link_tdm_data *be) axg_card_parse_codecs_masks() argument 247 axg_card_parse_tdm(struct snd_soc_card *card, struct device_node *node, int *index) axg_card_parse_tdm() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | hists_link.c | 145 struct rb_node *node; in __validate_match() local 155 node = rb_first_cached(root); in __validate_match() 156 while (node) { in __validate_match() 159 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match() 172 node = rb_next(node); in __validate_match() 195 struct rb_node *node; in __validate_link() local 207 node = rb_first_cached(root); in __validate_link() 208 while (node) { in __validate_link() 211 he = rb_entry(node, struc in __validate_link() [all...] |
/kernel/linux/linux-5.10/kernel/irq/ |
H A D | affinity.c | 46 int node; in alloc_node_to_cpumask() local 52 for (node = 0; node < nr_node_ids; node++) { in alloc_node_to_cpumask() 53 if (!zalloc_cpumask_var(&masks[node], GFP_KERNEL)) in alloc_node_to_cpumask() 60 while (--node >= 0) in alloc_node_to_cpumask() 61 free_cpumask_var(masks[node]); in alloc_node_to_cpumask() 68 int node; in free_node_to_cpumask() local 70 for (node = 0; node < nr_node_id in free_node_to_cpumask() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_vm.c | 16 struct drm_mm_node node; member 123 err = drm_mm_insert_node(&vm->mm, &bo_va->node, lima_bo_size(bo)); in lima_vm_bo_add() 129 bo_va->node.start + offset); in lima_vm_bo_add() 145 lima_vm_unmap_range(vm, bo_va->node.start, bo_va->node.start + offset - 1); in lima_vm_bo_add() 146 drm_mm_remove_node(&bo_va->node); in lima_vm_bo_add() 170 size = bo->heap_size ? bo->heap_size : bo_va->node.size; in lima_vm_bo_del() 171 lima_vm_unmap_range(vm, bo_va->node.start, in lima_vm_bo_del() 172 bo_va->node.start + size - 1); in lima_vm_bo_del() 174 drm_mm_remove_node(&bo_va->node); in lima_vm_bo_del() [all...] |
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | connection.h | 58 struct hmdfs_peer *node; member 160 * add conn node to conn_deleting_list, so call hmdfs_disconnect_node 280 static inline bool hmdfs_is_node_online(const struct hmdfs_peer *node) in hmdfs_is_node_online() argument 282 return READ_ONCE(node->status) == NODE_STAT_ONLINE; in hmdfs_is_node_online() 285 static inline unsigned int hmdfs_node_inc_evt_seq(struct hmdfs_peer *node) in hmdfs_node_inc_evt_seq() argument 288 return atomic_inc_return(&node->evt_seq); in hmdfs_node_inc_evt_seq() 291 static inline unsigned int hmdfs_node_evt_seq(const struct hmdfs_peer *node) in hmdfs_node_evt_seq() argument 293 return atomic_read(&node->evt_seq); in hmdfs_node_evt_seq() 296 struct connection *get_conn_impl(struct hmdfs_peer *node, int connect_type); 298 void set_conn_sock_quickack(struct hmdfs_peer *node); [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | arch_numa.c | 44 * Returns a pointer to the bitmask of CPUs on Node 'node'. 46 const struct cpumask *cpumask_of_node(int node) in cpumask_of_node() argument 49 if (node == NUMA_NO_NODE) in cpumask_of_node() 52 if (WARN_ON(node < 0 || node >= nr_node_ids)) in cpumask_of_node() 55 if (WARN_ON(node_to_cpumask_map[node] == NULL)) in cpumask_of_node() 58 return node_to_cpumask_map[node]; in cpumask_of_node() 102 int node; in setup_node_to_cpumask_map() local 109 for (node = 0; node < nr_node_id in setup_node_to_cpumask_map() [all...] |
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | connection.h | 58 struct hmdfs_peer *node; member 160 * add conn node to conn_deleting_list, so call hmdfs_disconnect_node 280 static inline bool hmdfs_is_node_online(const struct hmdfs_peer *node) in hmdfs_is_node_online() argument 282 return READ_ONCE(node->status) == NODE_STAT_ONLINE; in hmdfs_is_node_online() 285 static inline unsigned int hmdfs_node_inc_evt_seq(struct hmdfs_peer *node) in hmdfs_node_inc_evt_seq() argument 288 return atomic_inc_return(&node->evt_seq); in hmdfs_node_inc_evt_seq() 291 static inline unsigned int hmdfs_node_evt_seq(const struct hmdfs_peer *node) in hmdfs_node_evt_seq() argument 293 return atomic_read(&node->evt_seq); in hmdfs_node_evt_seq() 296 struct connection *get_conn_impl(struct hmdfs_peer *node, int connect_type); 298 void set_conn_sock_quickack(struct hmdfs_peer *node); [all...] |
/kernel/linux/linux-6.6/drivers/clk/bcm/ |
H A D | clk-cygnus.c | 41 static void __init cygnus_armpll_init(struct device_node *node) in cygnus_armpll_init() argument 43 iproc_armpll_setup(node); in cygnus_armpll_init() 100 static void __init cygnus_genpll_clk_init(struct device_node *node) in cygnus_genpll_clk_init() argument 102 iproc_pll_clk_setup(node, &genpll, NULL, 0, genpll_clk, in cygnus_genpll_clk_init() 158 static void __init cygnus_lcpll0_clk_init(struct device_node *node) in cygnus_lcpll0_clk_init() argument 160 iproc_pll_clk_setup(node, &lcpll0, NULL, 0, lcpll0_clk, in cygnus_lcpll0_clk_init() 236 static void __init cygnus_mipipll_clk_init(struct device_node *node) in cygnus_mipipll_clk_init() argument 238 iproc_pll_clk_setup(node, &mipipll, mipipll_vco_params, in cygnus_mipipll_clk_init() 256 static void __init cygnus_asiu_init(struct device_node *node) in cygnus_asiu_init() argument 258 iproc_asiu_setup(node, asiu_di in cygnus_asiu_init() 298 cygnus_audiopll_clk_init(struct device_node *node) cygnus_audiopll_clk_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk-fixed-factor.c | 248 static struct clk_hw *_of_fixed_factor_clk_setup(struct device_node *node) in _of_fixed_factor_clk_setup() argument 251 const char *clk_name = node->name; in _of_fixed_factor_clk_setup() 255 if (of_property_read_u32(node, "clock-div", &div)) { in _of_fixed_factor_clk_setup() 257 __func__, node); in _of_fixed_factor_clk_setup() 261 if (of_property_read_u32(node, "clock-mult", &mult)) { in _of_fixed_factor_clk_setup() 263 __func__, node); in _of_fixed_factor_clk_setup() 267 of_property_read_string(node, "clock-output-names", &clk_name); in _of_fixed_factor_clk_setup() 269 hw = __clk_hw_register_fixed_factor(NULL, node, clk_name, NULL, NULL, 0, in _of_fixed_factor_clk_setup() 276 of_node_clear_flag(node, OF_POPULATED); in _of_fixed_factor_clk_setup() 280 ret = of_clk_add_hw_provider(node, of_clk_hw_simple_ge in _of_fixed_factor_clk_setup() 293 of_fixed_factor_clk_setup(struct device_node *node) of_fixed_factor_clk_setup() argument [all...] |
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | kmem.h | 18 int node), 20 TP_ARGS(call_site, ptr, s, gfp_flags, node), 28 __field( int, node ) 38 __entry->node = node; 44 TP_printk("call_site=%pS ptr=%p bytes_req=%zu bytes_alloc=%zu gfp_flags=%s node=%d accounted=%s", 50 __entry->node, 61 int node), 63 TP_ARGS(call_site, ptr, bytes_req, bytes_alloc, gfp_flags, node), 71 __field( int, node ) [all...] |
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | devfreq-event.c | 224 struct device_node *node; in devfreq_event_get_edev_by_phandle() local 230 node = of_parse_phandle(dev->of_node, phandle_name, index); in devfreq_event_get_edev_by_phandle() 231 if (!node) in devfreq_event_get_edev_by_phandle() 235 list_for_each_entry(edev, &devfreq_event_list, node) { in devfreq_event_get_edev_by_phandle() 236 if (edev->dev.parent && device_match_of_node(edev->dev.parent, node)) in devfreq_event_get_edev_by_phandle() 240 list_for_each_entry(edev, &devfreq_event_list, node) { in devfreq_event_get_edev_by_phandle() 241 if (of_node_name_eq(node, edev->desc->name)) in devfreq_event_get_edev_by_phandle() 249 of_node_put(node); in devfreq_event_get_edev_by_phandle() 253 of_node_put(node); in devfreq_event_get_edev_by_phandle() 271 dev_err(dev, "device does not have a device node entr in devfreq_event_get_edev_count() [all...] |