Home
last modified time | relevance | path

Searched refs:node (Results 2326 - 2350 of 6932) sorted by relevance

1...<<919293949596979899100>>...278

/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dnsrepair2.c37 *node);
136 * node - Namespace node for the method/object
151 struct acpi_namespace_node *node, in acpi_ns_complex_repairs()
160 predefined = acpi_ns_match_complex_repair(node); in acpi_ns_complex_repairs()
173 * PARAMETERS: node - Namespace node for the method/object
183 *node) in acpi_ns_match_complex_repair()
191 if (ACPI_COMPARE_NAMESEG(node->name.ascii, this_name->name)) { in acpi_ns_match_complex_repair()
715 struct acpi_namespace_node *node; in acpi_ns_repair_TSS() local
150 acpi_ns_complex_repairs(struct acpi_evaluate_info *info, struct acpi_namespace_node *node, acpi_status validate_status, union acpi_operand_object **return_object_ptr) acpi_ns_complex_repairs() argument
181 acpi_ns_match_complex_repair(struct acpi_namespace_node *node) acpi_ns_match_complex_repair() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dsmp.c226 struct device_node *node; in mips_smp_ipi_allocate() local
228 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate()
229 ipidomain = irq_find_matching_host(node, DOMAIN_BUS_IPI); in mips_smp_ipi_allocate()
232 * Some platforms have half DT setup. So if we found irq node but in mips_smp_ipi_allocate()
236 if (node && !ipidomain) in mips_smp_ipi_allocate()
286 struct device_node *node; in mips_smp_ipi_free() local
288 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
289 ipidomain = irq_find_matching_host(node, DOMAIN_BUS_IPI); in mips_smp_ipi_free()
292 * Some platforms have half DT setup. So if we found irq node but in mips_smp_ipi_free()
296 if (node in mips_smp_ipi_free()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dkvm_book3s_64.h72 * @node: pointer to the first entry
101 #define for_each_nest_rmap_safe(pos, node, rmapp) \
102 for ((pos) = llist_entry((node), typeof(*(pos)), list); \
103 (node) && \
104 (*(rmapp) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \
105 ((u64) (node)) : ((pos)->rmap))) && \
106 (((node) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \
109 (pos) = llist_entry((node), typeof(*(pos)), list))
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A Dtime_64.c166 static unsigned long cpuid_to_freq(phandle node, int cpuid) in cpuid_to_freq() argument
172 if (!node) in cpuid_to_freq()
175 if (prom_getproperty(node, "device_type", type, sizeof(type)) != -1) in cpuid_to_freq()
179 if (is_cpu_node && (prom_getint(node, "upa-portid") == cpuid || in cpuid_to_freq()
180 prom_getint(node, "cpuid") == cpuid)) in cpuid_to_freq()
181 freq = prom_getintdefault(node, "clock-frequency", 0); in cpuid_to_freq()
183 freq = cpuid_to_freq(prom_getchild(node), cpuid); in cpuid_to_freq()
185 freq = cpuid_to_freq(prom_getsibling(node), cpuid); in cpuid_to_freq()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dsmp.c244 struct device_node *node; in mips_smp_ipi_allocate() local
246 node = of_irq_find_parent(of_root); in mips_smp_ipi_allocate()
247 ipidomain = irq_find_matching_host(node, DOMAIN_BUS_IPI); in mips_smp_ipi_allocate()
250 * Some platforms have half DT setup. So if we found irq node but in mips_smp_ipi_allocate()
254 if (node && !ipidomain) in mips_smp_ipi_allocate()
304 struct device_node *node; in mips_smp_ipi_free() local
306 node = of_irq_find_parent(of_root); in mips_smp_ipi_free()
307 ipidomain = irq_find_matching_host(node, DOMAIN_BUS_IPI); in mips_smp_ipi_free()
310 * Some platforms have half DT setup. So if we found irq node but in mips_smp_ipi_free()
314 if (node in mips_smp_ipi_free()
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dsmp.c253 struct device_node *node = NULL; in fdt_smp_setup() local
255 for_each_of_cpu_node(node) { in fdt_smp_setup()
256 if (!of_device_is_available(node)) in fdt_smp_setup()
259 cpuid = of_get_cpu_hwid(node, 0); in fdt_smp_setup()
451 unsigned int cpu, node, rr_node; in smp_prepare_boot_cpu() local
459 node = early_cpu_to_node(cpu); in smp_prepare_boot_cpu()
466 * will return valid node. in smp_prepare_boot_cpu()
474 if (node != NUMA_NO_NODE) in smp_prepare_boot_cpu()
475 set_cpu_numa_node(cpu, node); in smp_prepare_boot_cpu()
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dkvm_book3s_64.h59 * @node: pointer to the first entry
88 #define for_each_nest_rmap_safe(pos, node, rmapp) \
89 for ((pos) = llist_entry((node), typeof(*(pos)), list); \
90 (node) && \
91 (*(rmapp) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \
92 ((u64) (node)) : ((pos)->rmap))) && \
93 (((node) = ((RMAP_NESTED_IS_SINGLE_ENTRY & ((u64) (node))) ? \
96 (pos) = llist_entry((node), typeof(*(pos)), list))
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dtime_64.c166 static unsigned long cpuid_to_freq(phandle node, int cpuid) in cpuid_to_freq() argument
172 if (!node) in cpuid_to_freq()
175 if (prom_getproperty(node, "device_type", type, sizeof(type)) != -1) in cpuid_to_freq()
179 if (is_cpu_node && (prom_getint(node, "upa-portid") == cpuid || in cpuid_to_freq()
180 prom_getint(node, "cpuid") == cpuid)) in cpuid_to_freq()
181 freq = prom_getintdefault(node, "clock-frequency", 0); in cpuid_to_freq()
183 freq = cpuid_to_freq(prom_getchild(node), cpuid); in cpuid_to_freq()
185 freq = cpuid_to_freq(prom_getsibling(node), cpuid); in cpuid_to_freq()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Dti_am335x_tsc.c344 struct device_node *node = pdev->dev.of_node; in titsc_parse_dt() local
347 if (!node) in titsc_parse_dt()
350 err = of_property_read_u32(node, "ti,wires", &ts_dev->wires); in titsc_parse_dt()
362 err = of_property_read_u32(node, "ti,x-plate-resistance", in titsc_parse_dt()
371 err = of_property_read_u32(node, "ti,coordinate-readouts", in titsc_parse_dt()
375 err = of_property_read_u32(node, "ti,coordiante-readouts", in titsc_parse_dt()
388 err = of_property_read_u32(node, "ti,charge-delay", in titsc_parse_dt()
399 return of_property_read_u32_array(node, "ti,wire-config", in titsc_parse_dt()
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dbacklight.c101 int node = evdata->info->node; in fb_notifier_callback() local
117 if (fb_blank == FB_BLANK_UNBLANK && !bd->fb_bl_on[node]) { in fb_notifier_callback()
118 bd->fb_bl_on[node] = true; in fb_notifier_callback()
124 } else if (fb_blank != FB_BLANK_UNBLANK && bd->fb_bl_on[node]) { in fb_notifier_callback()
125 bd->fb_bl_on[node] = false; in fb_notifier_callback()
654 * of_find_backlight_by_node() - find backlight device by device-tree node
655 * @node: device-tree node of the backlight device
658 * node o
665 of_find_backlight_by_node(struct device_node *node) of_find_backlight_by_node() argument
[all...]
H A Dlp855x_bl.c348 struct device_node *node = dev->of_node; in lp855x_parse_dt() local
352 if (!node) { in lp855x_parse_dt()
361 of_property_read_string(node, "bl-name", &pdata->name); in lp855x_parse_dt()
362 of_property_read_u8(node, "dev-ctrl", &pdata->device_control); in lp855x_parse_dt()
363 of_property_read_u8(node, "init-brt", &pdata->initial_brightness); in lp855x_parse_dt()
364 of_property_read_u32(node, "pwm-period", &pdata->period_ns); in lp855x_parse_dt()
367 rom_length = of_get_child_count(node); in lp855x_parse_dt()
377 for_each_child_of_node(node, child) { in lp855x_parse_dt()
/kernel/linux/linux-5.10/sound/xen/
H A Dxen_snd_front_cfg.c393 char node[3]; in cfg_device() local
417 snprintf(node, sizeof(node), "%d", num_streams); in cfg_device()
418 if (!xenbus_exists(XBT_NIL, device_path, node)) in cfg_device()
481 char node[3]; in xen_snd_front_cfg_card() local
486 snprintf(node, sizeof(node), "%d", num_devices); in xen_snd_front_cfg_card()
487 if (!xenbus_exists(XBT_NIL, xb_dev->nodename, node)) in xen_snd_front_cfg_card()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dconfig.c539 list_for_each_entry(section, sections, node) in find_section()
551 list_for_each_entry(item, &section->items, node) in find_config_item()
574 list_add_tail(&section->node, sections); in add_section()
593 list_add_tail(&item->node, &section->items); in add_config_item()
804 list_for_each_entry_safe(item, tmp, &section->items, node) { in perf_config_section__purge()
805 list_del_init(&item->node); in perf_config_section__purge()
821 list_for_each_entry_safe(section, tmp, &set->sections, node) { in perf_config_set__purge()
822 list_del_init(&section->node); in perf_config_set__purge()
/kernel/linux/linux-5.10/lib/
H A Didr.c292 struct radix_tree_node *node; in idr_replace() local
298 entry = __radix_tree_lookup(&idr->idr_rt, id, &node, &slot); in idr_replace()
302 __radix_tree_replace(&idr->idr_rt, node, slot, ptr); in idr_replace()
337 * I considered telling the XArray that each slot is an order-10 node
349 * single 128-byte bitmap, we currently switch to a 576-byte node, put
351 * 128-byte entries. We could instead use the 512 bytes of the node's
569 struct xa_node *node = xa_to_node(entry); in ida_dump_entry() local
570 unsigned int shift = node->shift + IDA_CHUNK_SHIFT + in ida_dump_entry()
574 xa_dump_node(node); in ida_dump_entry()
576 ida_dump_entry(node in ida_dump_entry()
[all...]
/kernel/linux/linux-5.10/drivers/spmi/
H A Dspmi.c452 struct device_node *node; in of_spmi_register_devices() local
458 for_each_available_child_of_node(ctrl->dev.of_node, node) { in of_spmi_register_devices()
462 dev_dbg(&ctrl->dev, "adding child %pOF\n", node); in of_spmi_register_devices()
464 err = of_property_read_u32_array(node, "reg", reg, 2); in of_spmi_register_devices()
467 "node %pOF err (%d) does not have 'reg' property\n", in of_spmi_register_devices()
468 node, err); in of_spmi_register_devices()
474 "node %pOF contains unsupported 'reg' entry\n", in of_spmi_register_devices()
475 node); in of_spmi_register_devices()
480 dev_err(&ctrl->dev, "invalid usid on node %pOF\n", node); in of_spmi_register_devices()
[all...]
/kernel/linux/linux-6.6/drivers/misc/lkdtm/
H A Dbugs.c21 struct list_head node; member
416 * test_head.next->prev = &good.node in lkdtm_CORRUPT_LIST_ADD()
417 * good.node.next = test_head.next in lkdtm_CORRUPT_LIST_ADD()
418 * good.node.prev = test_head in lkdtm_CORRUPT_LIST_ADD()
419 * test_head.next = good.node in lkdtm_CORRUPT_LIST_ADD()
421 list_add(&good.node, &test_head); in lkdtm_CORRUPT_LIST_ADD()
426 * the address of &bad.node, and the "where" is the address held in lkdtm_CORRUPT_LIST_ADD()
430 list_add(&bad.node, &test_head); in lkdtm_CORRUPT_LIST_ADD()
447 list_add(&item.node, &test_head); in lkdtm_CORRUPT_LIST_DEL()
450 list_del(&item.node); in lkdtm_CORRUPT_LIST_DEL()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dpptt.c12 * The PPTT structure is an inverted tree, with each node potentially
60 struct acpi_pptt_processor *node, in acpi_get_pptt_resource()
65 if (resource >= node->number_of_priv_resources) in acpi_get_pptt_resource()
68 ref = ACPI_ADD_PTR(u32, node, sizeof(struct acpi_pptt_processor)); in acpi_get_pptt_resource()
91 * of cache levels for the cache node.
93 * Given a pptt resource, verify that it is a cache node, then walk
136 * continue looking at this node's resource list in acpi_pptt_walk_cache()
138 * cache node. in acpi_pptt_walk_cache()
158 /* walk down from processor node */ in acpi_find_cache_level()
167 * possible for a given node t in acpi_find_cache_level()
59 acpi_get_pptt_resource(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *node, int resource) acpi_get_pptt_resource() argument
216 acpi_pptt_leaf_node(struct acpi_table_header *table_hdr, struct acpi_pptt_processor *node) acpi_pptt_leaf_node() argument
318 acpi_find_cache_node(struct acpi_table_header *table_hdr, u32 acpi_cpu_id, enum cache_type type, unsigned int level, struct acpi_pptt_processor **node) acpi_find_cache_node() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dnsrepair2.c37 *node);
136 * node - Namespace node for the method/object
151 struct acpi_namespace_node *node, in acpi_ns_complex_repairs()
162 predefined = acpi_ns_match_complex_repair(node); in acpi_ns_complex_repairs()
175 * PARAMETERS: node - Namespace node for the method/object
185 *node) in acpi_ns_match_complex_repair()
193 if (ACPI_COMPARE_NAMESEG(node->name.ascii, this_name->name)) { in acpi_ns_match_complex_repair()
719 struct acpi_namespace_node *node; in acpi_ns_repair_TSS() local
150 acpi_ns_complex_repairs(struct acpi_evaluate_info *info, struct acpi_namespace_node *node, acpi_status validate_status, union acpi_operand_object **return_object_ptr) acpi_ns_complex_repairs() argument
183 acpi_ns_match_complex_repair(struct acpi_namespace_node *node) acpi_ns_match_complex_repair() argument
[all...]
/kernel/linux/linux-6.6/fs/ntfs3/
H A Ddir.c403 struct indx_node *node = NULL; in ntfs_readdir() local
483 &node); in ntfs_readdir()
487 err = ntfs_read_hdr(sbi, ni, &node->index->ihdr, in ntfs_readdir()
498 put_indx_node(node); in ntfs_readdir()
519 struct indx_node *node = NULL; in ntfs_dir_count() local
578 &node); in ntfs_dir_count()
582 hdr = &node->index->ihdr; in ntfs_dir_count()
587 put_indx_node(node); in ntfs_dir_count()
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dbacklight.c101 int node = evdata->info->node; in fb_notifier_callback() local
117 if (fb_blank == FB_BLANK_UNBLANK && !bd->fb_bl_on[node]) { in fb_notifier_callback()
118 bd->fb_bl_on[node] = true; in fb_notifier_callback()
124 } else if (fb_blank != FB_BLANK_UNBLANK && bd->fb_bl_on[node]) { in fb_notifier_callback()
125 bd->fb_bl_on[node] = false; in fb_notifier_callback()
666 * of_find_backlight_by_node() - find backlight device by device-tree node
667 * @node: device-tree node of the backlight device
670 * node o
677 of_find_backlight_by_node(struct device_node *node) of_find_backlight_by_node() argument
[all...]
H A Dlp855x_bl.c327 struct device_node *node = dev->of_node; in lp855x_parse_dt() local
331 if (!node) { in lp855x_parse_dt()
336 of_property_read_string(node, "bl-name", &pdata->name); in lp855x_parse_dt()
337 of_property_read_u8(node, "dev-ctrl", &pdata->device_control); in lp855x_parse_dt()
338 of_property_read_u8(node, "init-brt", &pdata->initial_brightness); in lp855x_parse_dt()
340 of_property_read_u32(node, "pwm-period", &pdata->period_ns); in lp855x_parse_dt()
343 rom_length = of_get_child_count(node); in lp855x_parse_dt()
353 for_each_child_of_node(node, child) { in lp855x_parse_dt()
/kernel/linux/linux-6.6/drivers/spmi/
H A Dspmi.c391 * spmi_device_from_of() - get the associated SPMI device from a device node
393 * @np: device node
395 * Returns the struct spmi_device associated with a device node or NULL.
479 struct device_node *node; in of_spmi_register_devices() local
485 for_each_available_child_of_node(ctrl->dev.of_node, node) { in of_spmi_register_devices()
489 dev_dbg(&ctrl->dev, "adding child %pOF\n", node); in of_spmi_register_devices()
491 err = of_property_read_u32_array(node, "reg", reg, 2); in of_spmi_register_devices()
494 "node %pOF err (%d) does not have 'reg' property\n", in of_spmi_register_devices()
495 node, err); in of_spmi_register_devices()
501 "node in of_spmi_register_devices()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-octeon.c416 struct device_node *node = dev->of_node; in dwc3_octeon_probe() local
424 if (of_property_read_u32(node, "refclk-frequency", &clock_rate)) { in dwc3_octeon_probe()
428 if (of_property_read_string(node, "refclk-type-ss", &ss_clock_type)) { in dwc3_octeon_probe()
432 if (of_property_read_string(node, "refclk-type-hs", &hs_clock_type)) { in dwc3_octeon_probe()
479 if (of_find_property(node, "power", &len)) { in dwc3_octeon_probe()
484 of_property_read_u32_array(node, "power", gpio_pwr, 2); in dwc3_octeon_probe()
487 of_property_read_u32_array(node, "power", gpio_pwr, 3); in dwc3_octeon_probe()
516 return of_platform_populate(node, NULL, NULL, dev); in dwc3_octeon_probe()
/kernel/linux/linux-6.6/drivers/clocksource/
H A Dtimer-microchip-pit64b.c433 static int __init mchp_pit64b_dt_init_timer(struct device_node *node, in mchp_pit64b_dt_init_timer() argument
441 /* Parse DT node. */ in mchp_pit64b_dt_init_timer()
442 timer.pclk = of_clk_get_by_name(node, "pclk"); in mchp_pit64b_dt_init_timer()
446 timer.gclk = of_clk_get_by_name(node, "gclk"); in mchp_pit64b_dt_init_timer()
450 timer.base = of_iomap(node, 0); in mchp_pit64b_dt_init_timer()
455 irq = irq_of_parse_and_map(node, 0); in mchp_pit64b_dt_init_timer()
491 static int __init mchp_pit64b_dt_init(struct device_node *node) in mchp_pit64b_dt_init() argument
498 return mchp_pit64b_dt_init_timer(node, true); in mchp_pit64b_dt_init()
501 return mchp_pit64b_dt_init_timer(node, false); in mchp_pit64b_dt_init()
/kernel/linux/linux-6.6/block/
H A Dblk-mq-tag.c540 bool round_robin, int node) in bt_alloc()
543 node); in bt_alloc()
549 int node, int alloc_policy) in blk_mq_init_bitmaps()
554 if (bt_alloc(bitmap_tags, depth, round_robin, node)) in blk_mq_init_bitmaps()
556 if (bt_alloc(breserved_tags, reserved, round_robin, node)) in blk_mq_init_bitmaps()
568 int node, int alloc_policy) in blk_mq_init_tags()
577 tags = kzalloc_node(sizeof(*tags), GFP_KERNEL, node); in blk_mq_init_tags()
586 total_tags, reserved_tags, node, in blk_mq_init_tags()
539 bt_alloc(struct sbitmap_queue *bt, unsigned int depth, bool round_robin, int node) bt_alloc() argument
546 blk_mq_init_bitmaps(struct sbitmap_queue *bitmap_tags, struct sbitmap_queue *breserved_tags, unsigned int queue_depth, unsigned int reserved, int node, int alloc_policy) blk_mq_init_bitmaps() argument
566 blk_mq_init_tags(unsigned int total_tags, unsigned int reserved_tags, int node, int alloc_policy) blk_mq_init_tags() argument

Completed in 27 milliseconds

1...<<919293949596979899100>>...278