| /linux-6.15/include/linux/ |
| H A D | irq_work.h | 18 struct __call_single_node node; member 24 .node = { .u_flags = (_flags), }, \ 44 return atomic_read(&work->node.a_flags) & IRQ_WORK_PENDING; in irq_work_is_pending() 49 return atomic_read(&work->node.a_flags) & IRQ_WORK_BUSY; in irq_work_is_busy() 54 return atomic_read(&work->node.a_flags) & IRQ_WORK_HARD_IRQ; in irq_work_is_hard()
|
| /linux-6.15/tools/include/linux/ |
| H A D | hashtable.h | 57 #define hash_add(hashtable, node, key) \ argument 58 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 64 static inline bool hash_hashed(struct hlist_node *node) in hash_hashed() argument 66 return !hlist_unhashed(node); in hash_hashed() 93 static inline void hash_del(struct hlist_node *node) in hash_del() argument 95 hlist_del_init(node); in hash_del()
|
| /linux-6.15/drivers/acpi/acpica/ |
| H A D | dsdebug.c | 25 acpi_ds_print_node_pathname(struct acpi_namespace_node *node, 41 acpi_ds_print_node_pathname(struct acpi_namespace_node *node, in acpi_ds_print_node_pathname() argument 49 if (!node) { in acpi_ds_print_node_pathname() 58 status = acpi_ns_handle_to_pathname(node, &buffer, TRUE); in acpi_ds_print_node_pathname() 66 (char *)buffer.pointer, node)); in acpi_ds_print_node_pathname() 145 method_desc->method.node, in acpi_ds_dump_method_stack()
|
| /linux-6.15/drivers/irqchip/ |
| H A D | irq-aspeed-intc.c | 86 static int __init aspeed_intc_ic_of_init(struct device_node *node, in aspeed_intc_ic_of_init() argument 96 intc_ic->base = of_iomap(node, 0); in aspeed_intc_ic_of_init() 105 intc_ic->irq_domain = irq_domain_add_linear(node, INTC_IRQS_PER_WORD, in aspeed_intc_ic_of_init() 116 for (i = 0; i < of_irq_count(node); i++) { in aspeed_intc_ic_of_init() 117 irq = irq_of_parse_and_map(node, i); in aspeed_intc_ic_of_init() 125 for (i = 0; i < of_irq_count(node); i++) { in aspeed_intc_ic_of_init() 126 irq = irq_of_parse_and_map(node, i); in aspeed_intc_ic_of_init()
|
| H A D | irq-vic.c | 270 struct device_node *node) in vic_register() argument 292 v->domain = irq_domain_add_simple(node, fls(valid_sources), irq, in vic_register() 404 u32 vic_sources, struct device_node *node) in vic_init_st() argument 430 vic_register(base, 0, irq_start, vic_sources, 0, node); in vic_init_st() 435 struct device_node *node) in __vic_init() argument 453 vic_init_st(base, irq_start, vic_sources, node); in __vic_init() 487 static int __init vic_of_init(struct device_node *node, in vic_of_init() argument 495 regs = of_iomap(node, 0); in vic_of_init() 499 of_property_read_u32(node, "valid-mask", &interrupt_mask); in vic_of_init() 500 of_property_read_u32(node, "valid-wakeup-mask", &wakeup_mask); in vic_of_init() [all …]
|
| /linux-6.15/arch/riscv/mm/ |
| H A D | cacheflush.c | 104 static void __init cbo_get_block_size(struct device_node *node, in cbo_get_block_size() argument 111 if (riscv_of_processor_hartid(node, &hartid)) in cbo_get_block_size() 114 if (of_property_read_u32(node, name, &val)) in cbo_get_block_size() 130 struct device_node *node; in riscv_init_cbo_blocksizes() local 135 for_each_of_cpu_node(node) { in riscv_init_cbo_blocksizes() 137 cbo_get_block_size(node, "riscv,cbom-block-size", in riscv_init_cbo_blocksizes() 139 cbo_get_block_size(node, "riscv,cboz-block-size", in riscv_init_cbo_blocksizes()
|
| /linux-6.15/drivers/clk/ |
| H A D | clk-fixed-rate.c | 160 static struct clk_hw *_of_fixed_clk_setup(struct device_node *node) in _of_fixed_clk_setup() argument 163 const char *clk_name = node->name; in _of_fixed_clk_setup() 168 if (of_property_read_u32(node, "clock-frequency", &rate)) in _of_fixed_clk_setup() 171 of_property_read_u32(node, "clock-accuracy", &accuracy); in _of_fixed_clk_setup() 173 of_property_read_string(node, "clock-output-names", &clk_name); in _of_fixed_clk_setup() 180 ret = of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw); in _of_fixed_clk_setup() 193 void __init of_fixed_clk_setup(struct device_node *node) in of_fixed_clk_setup() argument 195 _of_fixed_clk_setup(node); in of_fixed_clk_setup()
|
| /linux-6.15/drivers/video/fbdev/mmp/ |
| H A D | core.c | 79 list_add_tail(&panel->node, &panel_list); in mmp_register_panel() 82 list_for_each_entry(path, &path_list, node) { in mmp_register_panel() 107 list_del(&panel->node); in mmp_unregister_panel() 109 list_for_each_entry(path, &path_list, node) { in mmp_unregister_panel() 133 list_for_each_entry(iter, &path_list, node) { in mmp_get_path() 175 list_for_each_entry(panel, &panel_list, node) { in mmp_register_path() 203 list_add_tail(&path->node, &path_list); in mmp_register_path() 225 list_del(&path->node); in mmp_unregister_path()
|
| /linux-6.15/tools/perf/scripts/python/ |
| H A D | flamegraph.py | 87 def find_or_create_node(node, name, libtype): argument 88 for child in node.children: 93 node.children.append(child) 106 node = self.find_or_create_node(self.stack, comm, libtype) 112 node = self.find_or_create_node(node, name, libtype) 116 node = self.find_or_create_node(node, name, libtype) 117 node.value += 1
|
| /linux-6.15/fs/btrfs/ |
| H A D | delayed-ref.h | 424 static inline u64 btrfs_delayed_ref_owner(struct btrfs_delayed_ref_node *node) in btrfs_delayed_ref_owner() argument 426 if (node->type == BTRFS_EXTENT_DATA_REF_KEY || in btrfs_delayed_ref_owner() 427 node->type == BTRFS_SHARED_DATA_REF_KEY) in btrfs_delayed_ref_owner() 428 return node->data_ref.objectid; in btrfs_delayed_ref_owner() 429 return node->tree_ref.level; in btrfs_delayed_ref_owner() 432 static inline u64 btrfs_delayed_ref_offset(struct btrfs_delayed_ref_node *node) in btrfs_delayed_ref_offset() argument 434 if (node->type == BTRFS_EXTENT_DATA_REF_KEY || in btrfs_delayed_ref_offset() 435 node->type == BTRFS_SHARED_DATA_REF_KEY) in btrfs_delayed_ref_offset() 436 return node->data_ref.offset; in btrfs_delayed_ref_offset()
|
| /linux-6.15/Documentation/devicetree/bindings/powerpc/fsl/ |
| H A D | raideng.txt | 4 Engine should have a separate node. 30 There must be a sub-node for each job queue present in RAID Engine 31 This node must be a sub-node of the main RAID Engine node 48 There must be a sub-node for each job ring present in RAID Engine 49 This node must be a sub-node of job queue node
|
| /linux-6.15/drivers/usb/gadget/legacy/ |
| H A D | hid.c | 33 struct list_head node; member 100 list_for_each_entry(e, &hidg_func_list, node) { in do_config() 115 list_for_each_entry(n, &hidg_func_list, node) { in do_config() 144 list_for_each_entry(iter_n, &hidg_func_list, node) { in hid_bind() 197 list_for_each_entry(m, &hidg_func_list, node) { in hid_bind() 209 list_for_each_entry(n, &hidg_func_list, node) { in hid_unbind() 235 list_add_tail(&entry->node, &hidg_func_list); in hidg_plat_driver_probe() 244 list_for_each_entry_safe(e, n, &hidg_func_list, node) { in hidg_plat_driver_remove() 245 list_del(&e->node); in hidg_plat_driver_remove()
|
| /linux-6.15/arch/arm/mach-pxa/ |
| H A D | irq.c | 144 pxa_init_irq_common(struct device_node *node, int irq_nr, in pxa_init_irq_common() argument 150 pxa_irq_domain = irq_domain_add_legacy(node, irq_nr, in pxa_init_irq_common() 236 struct device_node *node; in pxa_dt_irq_init() local 240 node = of_find_matching_node(NULL, intc_ids); in pxa_dt_irq_init() 241 if (!node) { in pxa_dt_irq_init() 246 ret = of_property_read_u32(node, "marvell,intc-nr-irqs", in pxa_dt_irq_init() 253 ret = of_address_to_resource(node, 0, &res); in pxa_dt_irq_init() 260 cpu_has_ipr = of_property_read_bool(node, "marvell,intc-priority"); in pxa_dt_irq_init() 268 pxa_init_irq_common(node, pxa_internal_irq_nr, fn); in pxa_dt_irq_init()
|
| /linux-6.15/arch/arm64/kvm/hyp/nvhe/ |
| H A D | page_alloc.c | 74 struct list_head *node = hyp_page_to_virt(p); in page_remove_from_list() local 76 __list_del_entry(node); in page_remove_from_list() 77 memset(node, 0, sizeof(*node)); in page_remove_from_list() 82 struct list_head *node = hyp_page_to_virt(p); in page_add_to_list() local 84 INIT_LIST_HEAD(node); in page_add_to_list() 85 list_add_tail(node, head); in page_add_to_list() 88 static inline struct hyp_page *node_to_page(struct list_head *node) in node_to_page() argument 90 return hyp_virt_to_page(node); in node_to_page()
|
| /linux-6.15/drivers/leds/ |
| H A D | leds-ns2.c | 175 static int ns2_led_register(struct device *dev, struct fwnode_handle *node, in ns2_led_register() argument 183 led->cmd = devm_fwnode_gpiod_get_index(dev, node, "cmd", 0, GPIOD_ASIS, in ns2_led_register() 184 fwnode_get_name(node)); in ns2_led_register() 188 led->slow = devm_fwnode_gpiod_get_index(dev, node, "slow", 0, in ns2_led_register() 190 fwnode_get_name(node)); in ns2_led_register() 194 ret = fwnode_property_count_u32(node, "modes-map"); in ns2_led_register() 196 dev_err(dev, "Missing or malformed modes-map for %pfw\n", node); in ns2_led_register() 205 fwnode_property_read_u32_array(node, "modes-map", (void *)modval, in ns2_led_register() 229 init_data.fwnode = node; in ns2_led_register() 233 dev_err(dev, "Failed to register LED for node %pfw\n", node); in ns2_led_register()
|
| /linux-6.15/arch/sparc/kernel/ |
| H A D | btext.c | 40 static int __init btext_initialize(phandle node) in btext_initialize() argument 46 if (prom_getproperty(node, "width", (char *)&width, 4) < 0) in btext_initialize() 48 if (prom_getproperty(node, "height", (char *)&height, 4) < 0) in btext_initialize() 50 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) in btext_initialize() 54 if (prom_getproperty(node, "linebytes", (char *)&prop, 4) >= 0 && in btext_initialize() 61 if (prom_getproperty(node, "address", (char *)&prop, 4) >= 0) in btext_initialize() 310 phandle node; in btext_find_display() local 314 node = prom_inst2pkg(prom_stdout); in btext_find_display() 315 if (prom_getproperty(node, "device_type", type, 32) < 0) in btext_find_display() 320 ret = btext_initialize(node); in btext_find_display()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | alloc.c | 57 int node) in mlx5_dma_zalloc_coherent_node() argument 66 set_dev_node(device, node); in mlx5_dma_zalloc_coherent_node() 75 struct mlx5_frag_buf *buf, int node) in mlx5_frag_buf_alloc_node() argument 92 &frag->map, node); in mlx5_frag_buf_alloc_node() 134 int node) in mlx5_alloc_db_pgdir() argument 139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir() 143 pgdir->bitmap = bitmap_zalloc_node(db_per_page, GFP_KERNEL, node); in mlx5_alloc_db_pgdir() 152 &pgdir->db_dma, node); in mlx5_alloc_db_pgdir() 187 int mlx5_db_alloc_node(struct mlx5_core_dev *dev, struct mlx5_db *db, int node) in mlx5_db_alloc_node() argument 198 pgdir = mlx5_alloc_db_pgdir(dev, node); in mlx5_db_alloc_node()
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_sync.c | 39 struct hlist_node node; member 137 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later() 176 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence() 303 hash_del(&e->node); in amdgpu_sync_entry_free() 324 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_peek_fence() 364 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence() 368 hash_del(&e->node); in amdgpu_sync_get_fence() 395 hash_for_each_safe(source->fences, i, tmp, e, node) { in amdgpu_sync_clone() 442 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_push_to_job() 465 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_wait() [all …]
|
| /linux-6.15/tools/perf/tests/ |
| H A D | hists_link.c | 164 struct rb_node *node; in __validate_match() local 174 node = rb_first_cached(root); in __validate_match() 175 while (node) { in __validate_match() 178 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_match() 191 node = rb_next(node); in __validate_match() 214 struct rb_node *node; in __validate_link() local 226 node = rb_first_cached(root); in __validate_link() 227 while (node) { in __validate_link() 230 he = rb_entry(node, struct hist_entry, rb_node_in); in __validate_link() 248 node = rb_next(node); in __validate_link()
|
| H A D | hists_cumulate.c | 135 struct rb_node *node; in del_hist_entries() local 145 node = rb_first_cached(root_out); in del_hist_entries() 147 he = rb_entry(node, struct hist_entry, rb_node); in del_hist_entries() 148 rb_erase_cached(node, root_out); in del_hist_entries() 187 } node[10]; member 197 struct rb_node *node; in do_test() local 216 for (node = rb_first(root), i = 0; in do_test() 217 node && (he = rb_entry(node, struct hist_entry, rb_node)); in do_test() 218 node = rb_next(node), i++) { in do_test() 235 root = &he->callchain->node.rb_root; in do_test() [all …]
|
| /linux-6.15/Documentation/ABI/stable/ |
| H A D | firewire-cdev | 14 Each /dev/fw* is associated with one IEEE 1394 node, which can 18 - The 1394 node which is associated with the file: 22 - Query node ID 23 - Query maximum speed of the path between this node 24 and local node 26 - The 1394 bus (i.e. "card") to which the node is attached to: 34 - Query node IDs of local node, root node, IRM, bus 51 with a local node: 57 A /dev/fw* file remains associated with one particular node 59 node ID changes, are tracked by firewire-core. ABI users do not
|
| /linux-6.15/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() 249 prop = fdt_getprop(fdt, node, "#address-cells", &len); in get_cell_sizes() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/pinctrl/ |
| H A D | fsl,mxs-pinctrl.txt | 16 The node of mxs pin controller acts as a container for an arbitrary number of 25 Those subnodes under mxs pin controller node will fall into two categories. 27 configurations, and it's called group node in the binding document. The other 29 different configuration than what is defined in group node. The binding 30 document calls this type of node config node. 35 group node should include all the pins needed for one function rather than 37 "pinctrl-*" phandle in client device node should only have one group node 38 pointed in there, while the phandle can have multiple config node referenced 51 effects only on group node, and will get ignored by driver with config node, 52 since config node is only meant to set up pin configurations. [all …]
|
| /linux-6.15/drivers/clk/tegra/ |
| H A D | clk-tegra124-emc.c | 388 struct device_node *node) in load_one_timing_from_dt() argument 395 pr_err("timing %pOF: failed to read rate\n", node); in load_one_timing_from_dt() 409 timing->parent = of_clk_get_by_name(node, "emc-parent"); in load_one_timing_from_dt() 420 node, __clk_get_name(timing->parent)); in load_one_timing_from_dt() 443 struct device_node *node, in load_timings_from_dt() argument 448 int child_count = of_get_child_count(node); in load_timings_from_dt() 461 for_each_child_of_node(node, child) { in load_timings_from_dt() 492 struct device_node *node; in tegra124_clk_register_emc() local 506 for_each_child_of_node(np, node) { in tegra124_clk_register_emc() 507 err = of_property_read_u32(node, "nvidia,ram-code", in tegra124_clk_register_emc() [all …]
|
| /linux-6.15/scripts/gcc-plugins/ |
| H A D | latent_entropy_plugin.c | 136 switch (TREE_CODE(*node)) { in handle_latent_entropy_attribute() 144 if (DECL_INITIAL(*node)) { in handle_latent_entropy_attribute() 147 *node, name); in handle_latent_entropy_attribute() 151 if (!TREE_STATIC(*node)) { in handle_latent_entropy_attribute() 154 *node, name); in handle_latent_entropy_attribute() 158 type = TREE_TYPE(*node); in handle_latent_entropy_attribute() 163 *node, name); in handle_latent_entropy_attribute() 179 *node, name, fld); in handle_latent_entropy_attribute() 218 *node, name); in handle_latent_entropy_attribute() 479 varpool_node_ptr node; in create_latent_entropy_decl() local [all …]
|