Searched refs:node (Results 1 - 25 of 885) sorted by relevance

1234567891011>>

/drivers/staging/lustre/lustre/ldlm/
H A Dinterval_tree.c50 static inline int node_is_left_child(struct interval_node *node) argument
52 LASSERT(node->in_parent != NULL);
53 return node == node->in_parent->in_left;
56 static inline int node_is_right_child(struct interval_node *node) argument
58 LASSERT(node->in_parent != NULL);
59 return node == node->in_parent->in_right;
62 static inline int node_is_red(struct interval_node *node) argument
64 return node
67 node_is_black(struct interval_node *node) argument
134 interval_first(struct interval_node *node) argument
143 interval_last(struct interval_node *node) argument
152 interval_next(struct interval_node *node) argument
163 interval_prev(struct interval_node *node) argument
181 struct interval_node *node; local
198 struct interval_node *node; local
233 __rotate_change_maxhigh(struct interval_node *node, struct interval_node *rotate) argument
248 __rotate_left(struct interval_node *node, struct interval_node **root) argument
277 __rotate_right(struct interval_node *node, struct interval_node **root) argument
314 interval_insert_color(struct interval_node *node, struct interval_node **root) argument
366 interval_insert(struct interval_node *node, struct interval_node **root) argument
402 node_is_black_or_0(struct interval_node *node) argument
407 interval_erase_color(struct interval_node *node, struct interval_node *parent, struct interval_node **root) argument
486 update_maxhigh(struct interval_node *node, __u64 old_maxhigh) argument
503 interval_erase(struct interval_node *node, struct interval_node **root) argument
575 interval_may_overlap(struct interval_node *node, struct interval_node_extent *ext) argument
603 interval_search(struct interval_node *node, struct interval_node_extent *ext, interval_callback_t func, void *data) argument
713 interval_expand_high(struct interval_node *node, __u64 high) argument
[all...]
/drivers/clk/ti/
H A Dfixed-factor.c30 * @node: device node for this clock
34 static void __init of_ti_fixed_factor_clk_setup(struct device_node *node) argument
37 const char *clk_name = node->name;
42 if (of_property_read_u32(node, "ti,clock-div", &div)) {
43 pr_err("%s must have a clock-div property\n", node->name);
47 if (of_property_read_u32(node, "ti,clock-mult", &mult)) {
48 pr_err("%s must have a clock-mult property\n", node->name);
52 if (of_property_read_bool(node, "ti,set-rate-parent"))
55 parent_name = of_clk_get_parent_name(node,
[all...]
H A Dinterface.c34 static void __init _of_ti_interface_clk_setup(struct device_node *node, argument
51 clk_hw->enable_reg = ti_clk_get_reg_addr(node, 0);
55 if (!of_property_read_u32(node, "ti,bit-shift", &val))
58 init.name = node->name;
62 parent_name = of_clk_get_parent_name(node, 0);
64 pr_err("%s must have a parent\n", node->name);
74 of_clk_add_provider(node, of_clk_src_simple_get, clk);
83 static void __init of_ti_interface_clk_setup(struct device_node *node) argument
85 _of_ti_interface_clk_setup(node, &clkhwops_iclk_wait);
90 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) argument
98 of_ti_hsotgusb_interface_clk_setup(struct device_node *node) argument
106 of_ti_dss_interface_clk_setup(struct device_node *node) argument
114 of_ti_ssi_interface_clk_setup(struct device_node *node) argument
121 of_ti_am35xx_interface_clk_setup(struct device_node *node) argument
130 of_ti_omap2430_interface_clk_setup(struct device_node *node) argument
[all...]
H A Dclk.c36 * default, DT clocks are found based on their node name. If any
43 struct device_node *node; local
48 node = of_find_node_by_name(NULL, c->node_name);
49 clkspec.np = node;
56 pr_warn("failed to lookup clock node %s\n",
63 struct device_node *node; member in struct:clk_init_item
73 * @node: device not for the clock
80 int __init ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, argument
85 pr_debug("%s: adding to retry list...\n", node->name);
90 retry->node
106 ti_clk_get_reg_addr(struct device_node *node, int index) argument
[all...]
H A Dgate.c73 /* Parent is the x2 node, get parent of parent for the m2 div */
93 static void __init _of_ti_gate_clk_setup(struct device_node *node, argument
100 const char *clk_name = node->name;
114 clk_hw->enable_reg = ti_clk_get_reg_addr(node, 0);
118 if (!of_property_read_u32(node, "ti,bit-shift", &val))
126 if (of_clk_get_parent_count(node) != 1) {
131 parent_name = of_clk_get_parent_name(node, 0);
135 if (of_property_read_bool(node, "ti,set-rate-parent"))
138 if (of_property_read_bool(node, "ti,set-bit-to-disable"))
144 of_clk_add_provider(node, of_clk_src_simple_ge
153 _of_ti_composite_gate_clk_setup(struct device_node *node, const struct clk_hw_omap_ops *hw_ops) argument
181 of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) argument
189 of_ti_composite_interface_clk_setup(struct device_node *node) argument
197 of_ti_composite_gate_clk_setup(struct device_node *node) argument
205 of_ti_clkdm_gate_clk_setup(struct device_node *node) argument
212 of_ti_hsdiv_gate_clk_setup(struct device_node *node) argument
220 of_ti_gate_clk_setup(struct device_node *node) argument
226 of_ti_wait_gate_clk_setup(struct device_node *node) argument
234 of_ti_am35xx_gate_clk_setup(struct device_node *node) argument
242 of_ti_dss_gate_clk_setup(struct device_node *node) argument
[all...]
/drivers/clk/
H A Dclk-moxart.c18 void __init moxart_of_pll_clk_init(struct device_node *node) argument
23 const char *name = node->name;
26 of_property_read_string(node, "clock-output-names", &name);
27 parent_name = of_clk_get_parent_name(node, 0);
29 base = of_iomap(node, 0);
31 pr_err("%s: of_iomap failed\n", node->full_name);
38 ref_clk = of_clk_get(node, 0);
40 pr_err("%s: of_clk_get failed\n", node->full_name);
46 pr_err("%s: failed to register clock\n", node->full_name);
51 of_clk_add_provider(node, of_clk_src_simple_ge
56 moxart_of_apb_clk_init(struct device_node *node) argument
[all...]
H A Dclk-conf.c18 static int __set_clk_parents(struct device_node *node, bool clk_supplier) argument
24 num_parents = of_count_phandle_with_args(node, "assigned-clock-parents",
28 node->full_name);
31 rc = of_parse_phandle_with_args(node, "assigned-clock-parents",
40 if (clkspec.np == node && !clk_supplier)
45 index, node->full_name);
49 rc = of_parse_phandle_with_args(node, "assigned-clocks",
53 if (clkspec.np == node && !clk_supplier) {
60 index, node->full_name);
78 static int __set_clk_rates(struct device_node *node, boo argument
131 of_clk_set_defaults(struct device_node *node, bool clk_supplier) argument
[all...]
/drivers/staging/lustre/lustre/include/
H A Dinterval_tree.h50 in_intree:1, /** set if the node is in tree */
65 static inline int interval_is_intree(struct interval_node *node) argument
67 return node->in_intree == 1;
70 static inline __u64 interval_low(struct interval_node *node) argument
72 return node->in_extent.start;
75 static inline __u64 interval_high(struct interval_node *node) argument
77 return node->in_extent.end;
80 static inline void interval_set(struct interval_node *node, argument
84 node->in_extent.start = start;
85 node
[all...]
/drivers/block/drbd/
H A Ddrbd_interval.c6 * interval_end - return end of @node
9 sector_t interval_end(struct rb_node *node) argument
11 struct drbd_interval *this = rb_entry(node, struct drbd_interval, rb);
16 * compute_subtree_last - compute end of @node
19 * node and of its children. Called for @node and its parents whenever the end
23 compute_subtree_last(struct drbd_interval *node) argument
25 sector_t max = node->sector + (node->size >> 9);
27 if (node
93 struct rb_node *node = root->rb_node; local
136 struct rb_node *node = root->rb_node; local
167 struct rb_node *node; local
[all...]
/drivers/acpi/acpica/
H A Ddsargs.c57 acpi_ds_execute_arguments(struct acpi_namespace_node *node,
65 * PARAMETERS: node - Object NS node
66 * scope_node - Parent NS node
77 acpi_ds_execute_arguments(struct acpi_namespace_node *node, argument
96 op->common.node = scope_node;
116 walk_state->deferred_node = node;
127 op->common.node = node;
137 op->common.node
183 struct acpi_namespace_node *node; local
228 struct acpi_namespace_node *node; local
278 struct acpi_namespace_node *node; local
322 struct acpi_namespace_node *node; local
366 struct acpi_namespace_node *node; local
[all...]
H A Dnsobject.c56 * PARAMETERS: node - Parent Node
73 acpi_ns_attach_object(struct acpi_namespace_node *node, argument
85 if (!node) {
102 if (ACPI_GET_DESCRIPTOR_TYPE(node) != ACPI_DESC_TYPE_NAMED) {
107 node, acpi_ut_get_descriptor_name(node)));
113 if (node->object == object) {
116 object, node));
155 obj_desc, node, acpi_ut_get_node_name(node)));
204 acpi_ns_detach_object(struct acpi_namespace_node *node) argument
278 acpi_ns_get_attached_object(struct acpi_namespace_node *node) argument
345 acpi_ns_attach_data(struct acpi_namespace_node *node, acpi_object_handler handler, void *data) argument
402 acpi_ns_detach_data(struct acpi_namespace_node * node, acpi_object_handler handler) argument
447 acpi_ns_get_attached_data(struct acpi_namespace_node * node, acpi_object_handler handler, void **data) argument
[all...]
H A Dexresnte.c58 * a pointer to a NS node, and will receive a
65 * DESCRIPTION: Resolve a Namespace node to a valued object
85 struct acpi_namespace_node *node; local
94 node = *object_ptr;
95 source_desc = acpi_ns_get_attached_object(node);
96 entry_type = acpi_ns_get_type((acpi_handle) node);
99 node, source_desc,
107 node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object);
108 source_desc = acpi_ns_get_attached_object(node);
[all...]
H A Dnsxfobj.c68 struct acpi_namespace_node *node; local
84 node = acpi_ns_validate_handle(handle);
85 if (!node) {
90 *ret_id = node->owner_id;
112 struct acpi_namespace_node *node; local
137 node = acpi_ns_validate_handle(handle);
138 if (!node) {
143 *ret_type = node->type;
166 struct acpi_namespace_node *node; local
187 node
235 struct acpi_namespace_node *node; local
[all...]
H A Dnssearch.c58 struct acpi_namespace_node *node,
67 * parent_node - Starting node where search will begin
100 struct acpi_namespace_node *node; local
125 node = parent_node->child;
126 while (node) {
130 if (node->name.integer == target_name) {
134 if (acpi_ns_get_type(node) ==
136 node =
138 node->object);
146 acpi_ut_get_type_name(node
199 acpi_ns_search_parent_tree(u32 target_name, struct acpi_namespace_node *node, acpi_object_type type, struct acpi_namespace_node **return_node) argument
287 acpi_ns_search_and_enter(u32 target_name, struct acpi_walk_state *walk_state, struct acpi_namespace_node *node, acpi_interpreter_mode interpreter_mode, acpi_object_type type, u32 flags, struct acpi_namespace_node **return_node) argument
[all...]
H A Devxfregn.c82 struct acpi_namespace_node *node; local
100 node = acpi_ns_validate_handle(device);
101 if (!node) {
109 acpi_ev_install_space_handler(node, space_id, handler, setup,
149 status = acpi_ev_execute_reg_methods(node, space_id);
180 struct acpi_namespace_node *node; local
198 node = acpi_ns_validate_handle(device);
199 if (!node ||
200 ((node->type != ACPI_TYPE_DEVICE) &&
201 (node
[all...]
H A Ddswload2.c73 struct acpi_namespace_node *node; local
142 node = NULL;
155 ACPI_NS_SEARCH_PARENT, walk_state, &(node));
160 /* Special case for Scope(\) -> refers to the Root node */
162 if (op && (op->named.node == acpi_gbl_root_node)) {
163 node = op->named.node;
166 acpi_ds_scope_stack_push(node, object_type,
181 &(node));
201 switch (node
377 struct acpi_namespace_node *node; local
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_sgdma.c13 struct nouveau_mem *node; member in struct:nouveau_sgdma_be
31 struct nouveau_mem *node = mem->mm_node; local
34 node->sg = ttm->sg;
35 node->pages = NULL;
37 node->sg = NULL;
38 node->pages = nvbe->ttm.dma_address;
40 node->size = (mem->num_pages << PAGE_SHIFT) >> 12;
42 nouveau_vm_map(&node->vma[0], node);
43 nvbe->node
65 struct nouveau_mem *node = mem->mm_node; local
[all...]
/drivers/media/v4l2-core/
H A Dv4l2-of.c22 static void v4l2_of_parse_csi_bus(const struct device_node *node, argument
32 prop = of_find_property(node, "data-lanes", NULL);
47 if (!of_property_read_u32(node, "clock-lanes", &v)) {
52 if (of_get_property(node, "clock-noncontinuous", &v))
61 static void v4l2_of_parse_parallel_bus(const struct device_node *node, argument
68 if (!of_property_read_u32(node, "hsync-active", &v))
72 if (!of_property_read_u32(node, "vsync-active", &v))
76 if (!of_property_read_u32(node, "pclk-sample", &v))
80 if (!of_property_read_u32(node, "field-even-active", &v))
88 if (!of_property_read_u32(node, "dat
127 v4l2_of_parse_endpoint(const struct device_node *node, struct v4l2_of_endpoint *endpoint) argument
[all...]
/drivers/gpu/drm/
H A Ddrm_vma_manager.c65 * node, you must call drm_vma_node_allow(). Otherwise, an mmap() call on this
66 * open-file with the offset of the node will fail with -EACCES. To revoke
82 * against concurrent access. However, node allocation and destruction is left
83 * for the caller. While calling into the vma-manager, a given node must
116 * drm_vma_offset_lookup() - Find node in offset space
121 * Find a node given a start address and object size. This returns the _best_
122 * match for the given node. That is, @start may point somewhere into a valid
123 * region and the given node will be returned, as long as the node spans the
127 * Returns NULL if no suitable node ca
135 struct drm_vma_offset_node *node; local
162 struct drm_vma_offset_node *node, *best; local
194 _drm_vma_offset_add_rb(struct drm_vma_offset_manager *mgr, struct drm_vma_offset_node *node) argument
240 drm_vma_offset_add(struct drm_vma_offset_manager *mgr, struct drm_vma_offset_node *node, unsigned long pages) argument
276 drm_vma_offset_remove(struct drm_vma_offset_manager *mgr, struct drm_vma_offset_node *node) argument
311 drm_vma_node_allow(struct drm_vma_offset_node *node, struct file *filp) argument
373 drm_vma_node_revoke(struct drm_vma_offset_node *node, struct file *filp) argument
413 drm_vma_node_is_allowed(struct drm_vma_offset_node *node, struct file *filp) argument
[all...]
H A Ddrm_mm.c76 * steep cliff not a real concern. Removing a node again is O(1).
107 struct drm_mm_node *node,
118 BUG_ON(node->allocated);
144 node->start = adj_start;
145 node->size = size;
146 node->mm = mm;
147 node->color = color;
148 node->allocated = 1;
150 INIT_LIST_HEAD(&node->hole_stack);
151 list_add(&node
106 drm_mm_insert_helper(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, enum drm_mm_allocator_flags flags) argument
176 drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node) argument
229 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, enum drm_mm_search_flags sflags, enum drm_mm_allocator_flags aflags) argument
247 drm_mm_insert_helper_range(struct drm_mm_node *hole_node, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, enum drm_mm_allocator_flags flags) argument
326 drm_mm_insert_node_in_range_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, enum drm_mm_search_flags sflags, enum drm_mm_allocator_flags aflags) argument
356 drm_mm_remove_node(struct drm_mm_node *node) argument
626 drm_mm_scan_add_block(struct drm_mm_node *node) argument
689 drm_mm_scan_remove_block(struct drm_mm_node *node) argument
[all...]
/drivers/firewire/
H A Dcore-topology.c113 struct fw_node *node; local
115 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]),
117 if (node == NULL)
120 node->color = color;
121 node->node_id = LOCAL_BUS | SELF_ID_PHY_ID(sid);
122 node->link_on = SELF_ID_LINK_ON(sid);
123 node->phy_speed = SELF_ID_PHY_SPEED(sid);
124 node
147 update_hop_count(struct fw_node *node) argument
186 struct fw_node *node, *child, *local_node, *irm_node; local
329 struct fw_node *node, *next, *child, *parent; local
359 report_lost_node(struct fw_card *card, struct fw_node *node, struct fw_node *parent) argument
369 report_found_node(struct fw_card *card, struct fw_node *node, struct fw_node *parent) argument
[all...]
/drivers/cpufreq/
H A Dppc_cbe_cpufreq_pmi.c81 u8 node, slow_mode; local
85 node = pmi_msg.data1;
88 pmi_slow_mode_limit[node] = slow_mode;
90 pr_debug("cbe_handle_pmi: node: %d max_freq: %d\n", node, slow_mode);
98 u8 node; local
107 node = cbe_cpu_to_node(policy->cpu);
109 pr_debug("got notified, event=%lu, node=%u\n", event, node);
111 if (pmi_slow_mode_limit[node] !
[all...]
/drivers/media/platform/exynos4-is/
H A Dfimc-is-sensor.c28 struct device_node *node)
32 of_id = of_match_node(fimc_is_sensor_of_ids, node);
27 fimc_is_sensor_get_drvdata( struct device_node *node) argument
/drivers/bus/
H A Dvexpress-config.c53 static void vexpress_config_find_prop(struct device_node *node, argument
59 of_node_get(node);
60 while (node) {
61 if (of_property_read_u32(node, name, val) == 0) {
62 of_node_put(node);
65 node = of_get_next_parent(node);
69 int vexpress_config_get_topo(struct device_node *node, u32 *site, argument
72 vexpress_config_find_prop(node, "arm,vexpress,site", site);
77 vexpress_config_find_prop(node, "ar
162 const struct device_node *node = data; local
170 vexpress_config_populate(struct device_node *node) argument
190 struct device_node *node; local
[all...]
/drivers/clk/keystone/
H A Dpll.c153 * @node: device tree node for this clock
157 static void __init _of_pll_clk_init(struct device_node *node, bool pllctrl) argument
170 parent_name = of_clk_get_parent_name(node, 0);
171 if (of_property_read_u32(node, "fixed-postdiv", &pll_data->postdiv)) {
177 i = of_property_match_string(node, "reg-names", "control");
178 pll_data->pll_ctl0 = of_iomap(node, i);
192 i = of_property_match_string(node, "reg-names", "multiplier");
193 pll_data->pllm = of_iomap(node, i);
200 clk = clk_register_pll(NULL, node
215 of_keystone_pll_clk_init(struct device_node *node) argument
226 of_keystone_main_pll_clk_init(struct device_node *node) argument
237 of_pll_div_clk_init(struct device_node *node) argument
281 of_pll_mux_clk_init(struct device_node *node) argument
[all...]

Completed in 7134 milliseconds

1234567891011>>