/kernel/linux/linux-6.6/include/linux/ |
H A D | of_fdt.h | 39 extern u64 of_flat_dt_translate_address(unsigned long node); 45 extern int of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, 48 extern int of_scan_flat_dt_subnodes(unsigned long node, 49 int (*it)(unsigned long node, 53 extern int of_get_flat_dt_subnode_by_name(unsigned long node, 55 extern const void *of_get_flat_dt_prop(unsigned long node, const char *name, 57 extern int of_flat_dt_is_compatible(unsigned long node, const char *name); 59 extern uint32_t of_get_flat_dt_phandle(unsigned long node);
|
H A D | freelist.h | 30 static inline void __freelist_add(struct freelist_node *node, struct freelist_head *list) in __freelist_add() argument 34 * zero (except us, and we run only one copy of this method per node at in __freelist_add() 36 * change the next pointer of the node; however, once the refcount is in __freelist_add() 39 * and a refcount increment of a node in try_get, then back up to in __freelist_add() 41 * thread) -- so if the CAS to add the node to the actual list fails, in __freelist_add() 49 WRITE_ONCE(node->next, head); in __freelist_add() 50 atomic_set_release(&node->refs, 1); in __freelist_add() 52 if (!try_cmpxchg_release(&list->head, &head, node)) { in __freelist_add() 57 if (atomic_fetch_add_release(REFS_ON_FREELIST - 1, &node->refs) == 1) in __freelist_add() 64 static inline void freelist_add(struct freelist_node *node, struc argument [all...] |
H A D | reset.h | 44 struct reset_control *__of_reset_control_get(struct device_node *node, 118 struct device_node *node, in __of_reset_control_get() 444 * @node: device to be reset by the controller 452 struct device_node *node, const char *id) in of_reset_control_get_exclusive() 454 return __of_reset_control_get(node, id, 0, false, false, true); in of_reset_control_get_exclusive() 460 * @node: device to be reset by the controller 472 struct device_node *node, const char *id) in of_reset_control_get_optional_exclusive() 474 return __of_reset_control_get(node, id, 0, false, true, true); in of_reset_control_get_optional_exclusive() 480 * @node: device to be reset by the controller 497 struct device_node *node, cons in of_reset_control_get_shared() 117 __of_reset_control_get( struct device_node *node, const char *id, int index, bool shared, bool optional, bool acquired) __of_reset_control_get() argument 451 of_reset_control_get_exclusive( struct device_node *node, const char *id) of_reset_control_get_exclusive() argument 471 of_reset_control_get_optional_exclusive( struct device_node *node, const char *id) of_reset_control_get_optional_exclusive() argument 496 of_reset_control_get_shared( struct device_node *node, const char *id) of_reset_control_get_shared() argument 513 of_reset_control_get_exclusive_by_index( struct device_node *node, int index) of_reset_control_get_exclusive_by_index() argument 541 of_reset_control_get_shared_by_index( struct device_node *node, int index) of_reset_control_get_shared_by_index() argument 817 of_reset_control_get( struct device_node *node, const char *id) of_reset_control_get() argument 823 of_reset_control_get_by_index( struct device_node *node, int index) of_reset_control_get_by_index() argument 876 of_reset_control_array_get_exclusive(struct device_node *node) of_reset_control_array_get_exclusive() argument 882 of_reset_control_array_get_exclusive_released(struct device_node *node) of_reset_control_array_get_exclusive_released() argument 888 of_reset_control_array_get_shared(struct device_node *node) of_reset_control_array_get_shared() argument 894 of_reset_control_array_get_optional_exclusive(struct device_node *node) of_reset_control_array_get_optional_exclusive() argument 900 of_reset_control_array_get_optional_shared(struct device_node *node) of_reset_control_array_get_optional_shared() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/core/ |
H A D | of.c | 14 * usb_of_get_device_node() - get a USB device node 18 * Look up the node of a USB device given its parent hub device and one-based 21 * Return: A pointer to the node with incremented refcount if found, or 26 struct device_node *node; in usb_of_get_device_node() local 29 for_each_child_of_node(hub->dev.of_node, node) { in usb_of_get_device_node() 30 if (of_property_read_u32(node, "reg", ®)) in usb_of_get_device_node() 34 return node; in usb_of_get_device_node() 42 * usb_of_has_combined_node() - determine whether a device has a combined node 45 * Determine whether a USB device has a so called combined node which is 47 * has a node an 93 struct device_node *node; usb_of_get_interface_node() local [all...] |
/kernel/linux/linux-6.6/drivers/base/ |
H A D | trace.h | 20 TP_PROTO(struct device *dev, const char *op, void *node, const char *name, size_t size), 21 TP_ARGS(dev, op, node, name, size), 26 __field(void *, node) 33 __entry->node = node; 38 __entry->op, __entry->node, __entry->name, __entry->size) 42 TP_PROTO(struct device *dev, const char *op, void *node, const char *name, size_t size), 43 TP_ARGS(dev, op, node, name, size)
|
/third_party/node/deps/v8/src/compiler/ |
H A D | select-lowering.cc | 11 #include "src/compiler/node-properties.h" 12 #include "src/compiler/node.h" 23 Reduction SelectLowering::Reduce(Node* node) { in Reduce() argument 24 if (node->opcode() != IrOpcode::kSelect) return NoChange(); in Reduce() 25 return LowerSelect(node); in Reduce() 30 Reduction SelectLowering::LowerSelect(Node* node) { in LowerSelect() argument 31 SelectParameters const p = SelectParametersOf(node->op()); in LowerSelect() 33 Node* condition = node->InputAt(0); in LowerSelect() 34 Node* vtrue = node->InputAt(1); in LowerSelect() 35 Node* vfalse = node in LowerSelect() [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-graph-labeller.h | 19 void RegisterNode(const Node* node) { in RegisterNode() argument 20 if (node_ids_.emplace(node, next_node_id_).second) { in RegisterNode() 32 int NodeId(const NodeBase* node) { return node_ids_[node]; } in NodeId() argument 38 void PrintNodeLabel(std::ostream& os, const Node* node) { in PrintNodeLabel() argument 39 auto node_id_it = node_ids_.find(node); in PrintNodeLabel() 42 os << "<invalid node " << node << ">"; in PrintNodeLabel() local 50 PrintNodeLabel(os, input.node()); in PrintInput()
|
/third_party/musl/libc-test/src/functionalext/queue/ |
H A D | sys_queue.c | 47 struct Node *node; in delete_node() local 48 LIST_FOREACH(node, &head, entries) { in delete_node() 49 if (node->data == data) { in delete_node() 50 LIST_REMOVE(node, entries); in delete_node() 51 free(node); in delete_node() 60 struct Node *node; in traverse_list() local 63 LIST_FOREACH(node, &head, entries) { in traverse_list() 64 int res = snprintf(buffer, sizeof(buffer), "%d ", node->data); in traverse_list()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | RewriteCaseDeclarations.cpp | 28 PreResult visitSwitchPre(TIntermSwitch &node) override 31 return node; 34 PostResult visitSwitchPost(TIntermSwitch &node) override 46 block.appendStatement(&node); 49 return node; 52 PreResult visitDeclarationPre(TIntermDeclaration &node) override 62 Declaration decl = ViewDeclaration(node); 76 return node;
|
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_post.c | 565 static int __cil_post_db_count_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) in __cil_post_db_count_helper() argument 569 switch(node->flavor) { in __cil_post_db_count_helper() 571 struct cil_block *blk = node->data; in __cil_post_db_count_helper() 581 struct cil_class *class = node->data; in __cil_post_db_count_helper() 582 if (class->datum.nodes->head->data == node) { in __cil_post_db_count_helper() 589 struct cil_type *type = node->data; in __cil_post_db_count_helper() 590 if (type->datum.nodes->head->data == node) { in __cil_post_db_count_helper() 599 struct cil_typeattribute *attr = node->data; in __cil_post_db_count_helper() 600 if (attr->datum.nodes->head->data == node) { in __cil_post_db_count_helper() 608 struct cil_role *role = node in __cil_post_db_count_helper() 673 __cil_post_db_array_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_array_helper() argument 892 struct cil_tree_node *node = datum->nodes->head->data; __cil_type_to_bitmap() local 944 struct cil_tree_node *node = datum->nodes->head->data; __cil_user_to_bitmap() local 992 struct cil_tree_node *node = datum->nodes->head->data; __cil_role_to_bitmap() local 1143 struct cil_tree_node *node = datum->nodes->head->data; __cil_cat_to_bitmap() local 1505 __cil_post_db_neverallow_attr_helper(struct cil_tree_node *node, uint32_t *finished, __attribute__((unused)) void *extra_args) __cil_post_db_neverallow_attr_helper() argument 1534 __cil_post_db_attr_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_attr_helper() argument 1604 struct cil_tree_node *node = datum->nodes->head->data; __cil_role_assign_types() local 1635 __cil_post_db_roletype_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_roletype_helper() argument 1695 struct cil_tree_node *node = datum->nodes->head->data; __cil_user_assign_roles() local 1721 __cil_post_db_userrole_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_userrole_helper() argument 1815 __cil_post_db_cat_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_cat_helper() argument 2190 __cil_post_db_classperms_helper(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_db_classperms_helper() argument 2248 __cil_post_report_conflict(struct cil_tree_node *node, uint32_t *finished, void *extra_args) __cil_post_report_conflict() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/boot/ |
H A D | cuboot-8xx.c | 22 void *node; in platform_fixups() local 28 node = finddevice("/soc/cpm"); in platform_fixups() 29 if (node) in platform_fixups() 30 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups() 32 node = finddevice("/soc/cpm/brg"); in platform_fixups() 33 if (node) in platform_fixups() 34 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
|
/kernel/linux/linux-5.10/drivers/clk/sunxi/ |
H A D | clk-a10-codec.c | 14 static void __init sun4i_codec_clk_setup(struct device_node *node) in sun4i_codec_clk_setup() argument 17 const char *clk_name = node->name, *parent_name; in sun4i_codec_clk_setup() 20 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun4i_codec_clk_setup() 24 of_property_read_string(node, "clock-output-names", &clk_name); in sun4i_codec_clk_setup() 25 parent_name = of_clk_get_parent_name(node, 0); in sun4i_codec_clk_setup() 32 of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun4i_codec_clk_setup()
|
/kernel/linux/linux-6.6/arch/powerpc/boot/ |
H A D | cuboot-8xx.c | 22 void *node; in platform_fixups() local 28 node = finddevice("/soc/cpm"); in platform_fixups() 29 if (node) in platform_fixups() 30 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups() 32 node = finddevice("/soc/cpm/brg"); in platform_fixups() 33 if (node) in platform_fixups() 34 setprop(node, "clock-frequency", &bd.bi_busfreq, 4); in platform_fixups()
|
/kernel/linux/linux-6.6/drivers/clk/sunxi/ |
H A D | clk-a10-codec.c | 14 static void __init sun4i_codec_clk_setup(struct device_node *node) in sun4i_codec_clk_setup() argument 17 const char *clk_name = node->name, *parent_name; in sun4i_codec_clk_setup() 20 reg = of_io_request_and_map(node, 0, of_node_full_name(node)); in sun4i_codec_clk_setup() 24 of_property_read_string(node, "clock-output-names", &clk_name); in sun4i_codec_clk_setup() 25 parent_name = of_clk_get_parent_name(node, 0); in sun4i_codec_clk_setup() 32 of_clk_add_provider(node, of_clk_src_simple_get, clk); in sun4i_codec_clk_setup()
|
/kernel/linux/linux-5.10/Documentation/sphinx/ |
H A D | kfigure.py | 104 node = nodes.literal_block(data, data) 105 return node 116 def pass_handle(self, node): # pylint: disable=W0613 205 """Convert a image node for the builder. 338 def visit_kernel_image(self, node): # pylint: disable=W0613 341 Handles the ``image`` child-node with the ``convert_image(...)``. 343 img_node = node[0] 354 *glob* pattern. The KernelImage wraps a image node into a 355 kernel_image node. See ``visit_kernel_image``. 368 # wrap image node int [all...] |
/kernel/linux/linux-5.10/drivers/clk/ti/ |
H A D | clk.c | 127 * default, DT clocks are found based on their node name. If any 134 struct device_node *node, *parent, *child; in ti_dt_clocks_register() local 171 node = of_find_node_by_name(NULL, buf); in ti_dt_clocks_register() 173 parent = node; in ti_dt_clocks_register() 179 node = child; in ti_dt_clocks_register() 183 clkspec.np = node; in ti_dt_clocks_register() 190 of_node_put(node); in ti_dt_clocks_register() 195 of_node_put(node); in ti_dt_clocks_register() 216 pr_warn("failed to lookup clock node %s, ret=%ld\n", in ti_dt_clocks_register() 223 struct device_node *node; member 240 ti_clk_retry_init(struct device_node *node, void *user, ti_of_clk_init_cb_t func) ti_clk_retry_init() argument 268 ti_clk_get_reg_addr(struct device_node *node, int index, struct clk_omap_reg *reg) ti_clk_get_reg_addr() argument 531 of_ti_clk_register(struct device_node *node, struct clk_hw *hw, const char *con) of_ti_clk_register() argument 562 of_ti_clk_register_omap_hw(struct device_node *node, struct clk_hw *hw, const char *con) of_ti_clk_register_omap_hw() argument [all...] |
/kernel/linux/linux-6.6/Documentation/sphinx/ |
H A D | kfigure.py | 96 node = nodes.literal_block(data, data) 97 return node 108 def pass_handle(self, node): # pylint: disable=W0613 246 """Convert a image node for the builder. 436 def visit_kernel_image(self, node): # pylint: disable=W0613 439 Handles the ``image`` child-node with the ``convert_image(...)``. 441 img_node = node[0] 452 *glob* pattern. The KernelImage wraps a image node into a 453 kernel_image node. See ``visit_kernel_image``. 466 # wrap image node int [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-dust.c | 18 struct rb_node node; member 38 struct rb_node *node = root->rb_node; in dust_rb_search() local 40 while (node) { in dust_rb_search() 41 struct badblock *bblk = rb_entry(node, struct badblock, node); in dust_rb_search() 44 node = node->rb_left; in dust_rb_search() 46 node = node->rb_right; in dust_rb_search() 62 bblk = rb_entry(parent, struct badblock, node); in dust_rb_insert() 243 struct rb_node *node = NULL, *nnode = NULL; __dust_clear_badblocks() local 292 struct rb_node *node; dust_list_badblocks() local [all...] |
/kernel/linux/linux-5.10/security/selinux/ss/ |
H A D | ebitmap.c | 38 n1 = e1->node; in ebitmap_cmp() 39 n2 = e2->node; in ebitmap_cmp() 58 n = src->node; in ebitmap_cpy() 72 dst->node = new; in ebitmap_cpy() 113 struct ebitmap_node *e_iter = ebmap->node; in ebitmap_netlbl_export() 192 ebmap->node = e_iter; in ebitmap_netlbl_import() 228 n1 = e1->node; in ebitmap_contains() 229 n2 = e2->node; in ebitmap_contains() 268 n = e->node; in ebitmap_get_bit() 283 n = e->node; in ebitmap_set_bit() 548 struct ebitmap_node *node; ebitmap_hash() local [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 133 int node = cpu_to_node(cpu); in octeon_wdt_poke_irq() local 138 cvmx_write_csr_node(node, CVMX_CIU_PP_POKEX(core), 1); in octeon_wdt_poke_irq() 147 cvmx_write_csr_node(node, CVMX_CIU_PP_POKEX(core), 1); in octeon_wdt_poke_irq() 279 unsigned int node = cvmx_get_node_num(); in octeon_wdt_nmi_stage3() local 289 ciu_wdog.u64 = cvmx_read_csr_node(node, CVMX_CIU_WDOGX(lcore)); in octeon_wdt_nmi_stage3() 302 int node; in octeon_wdt_cpu_to_irq() local 306 node = cpu_to_node(cpu); in octeon_wdt_cpu_to_irq() 312 domain = octeon_irq_get_block_domain(node, in octeon_wdt_cpu_to_irq() 325 int node; in octeon_wdt_cpu_pre_down() local 330 node in octeon_wdt_cpu_pre_down() 348 int node; octeon_wdt_cpu_online() local 406 int node; octeon_wdt_ping() local 458 int node; octeon_wdt_set_timeout() local [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | octeon-wdt-main.c | 134 int node = cpu_to_node(cpu); in octeon_wdt_poke_irq() local 139 cvmx_write_csr_node(node, CVMX_CIU_PP_POKEX(core), 1); in octeon_wdt_poke_irq() 148 cvmx_write_csr_node(node, CVMX_CIU_PP_POKEX(core), 1); in octeon_wdt_poke_irq() 282 unsigned int node = cvmx_get_node_num(); in octeon_wdt_nmi_stage3() local 292 ciu_wdog.u64 = cvmx_read_csr_node(node, CVMX_CIU_WDOGX(lcore)); in octeon_wdt_nmi_stage3() 305 int node; in octeon_wdt_cpu_to_irq() local 309 node = cpu_to_node(cpu); in octeon_wdt_cpu_to_irq() 315 domain = octeon_irq_get_block_domain(node, in octeon_wdt_cpu_to_irq() 328 int node; in octeon_wdt_cpu_pre_down() local 333 node in octeon_wdt_cpu_pre_down() 351 int node; octeon_wdt_cpu_online() local 409 int node; octeon_wdt_ping() local 461 int node; octeon_wdt_set_timeout() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-dust.c | 18 struct rb_node node; member 38 struct rb_node *node = root->rb_node; in dust_rb_search() local 40 while (node) { in dust_rb_search() 41 struct badblock *bblk = rb_entry(node, struct badblock, node); in dust_rb_search() 44 node = node->rb_left; in dust_rb_search() 46 node = node->rb_right; in dust_rb_search() 62 bblk = rb_entry(parent, struct badblock, node); in dust_rb_insert() 243 struct rb_node *node = NULL, *nnode = NULL; __dust_clear_badblocks() local 292 struct rb_node *node; dust_list_badblocks() local [all...] |
/kernel/linux/linux-6.6/security/selinux/ss/ |
H A D | ebitmap.c | 38 n1 = e1->node; in ebitmap_cmp() 39 n2 = e2->node; in ebitmap_cmp() 59 n = src->node; in ebitmap_cpy() 73 dst->node = new; in ebitmap_cpy() 114 struct ebitmap_node *e_iter = ebmap->node; in ebitmap_netlbl_export() 193 ebmap->node = e_iter; in ebitmap_netlbl_import() 229 n1 = e1->node; in ebitmap_contains() 230 n2 = e2->node; in ebitmap_contains() 269 n = e->node; in ebitmap_get_bit() 284 n = e->node; in ebitmap_set_bit() 548 struct ebitmap_node *node; ebitmap_hash() local [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | place-dep.js | 1 // Given a dep, a node that depends on it, and the edge representing that 2 // dependency, place the dep somewhere in the node's tree, and all of its 63 // walk up the tree until we hit either a top/root node, or a place 103 // a given node we're trying to place, but there actually is no current 104 // node. Eg, 217 // have it. In that case, we ought to REMOVE the nm/x/nm/y node, because 267 // MAY end up putting a better/identical node further up the tree in 269 // now-unnecessary node. 276 for (const node of target.root.inventory.query('name', this.name)) { 277 if (node [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | pytracediff.py | 153 def visit_literal(self, node): 154 if node.value is None: 156 elif isinstance(node.value, str): 157 self.literal('"' + node.value + '"') 159 self.literal(repr(node.value)) 161 def visit_blob(self, node): 164 def visit_named_constant(self, node): 165 self.literal(node.name) 167 def visit_array(self, node): 170 for value in node [all...] |