| /include/drm/ |
| D | drm_vma_manager.h | 60 struct drm_vma_offset_node *node, unsigned long pages); 62 struct drm_vma_offset_node *node); 64 int drm_vma_node_allow(struct drm_vma_offset_node *node, struct drm_file *tag); 65 void drm_vma_node_revoke(struct drm_vma_offset_node *node, 67 bool drm_vma_node_is_allowed(struct drm_vma_offset_node *node, 87 struct drm_vma_offset_node *node; in drm_vma_offset_exact_lookup_locked() local 89 node = drm_vma_offset_lookup_locked(mgr, start, pages); in drm_vma_offset_exact_lookup_locked() 90 return (node && node->vm_node.start == start) ? node : NULL; in drm_vma_offset_exact_lookup_locked() 135 static inline void drm_vma_node_reset(struct drm_vma_offset_node *node) in drm_vma_node_reset() argument 137 memset(node, 0, sizeof(*node)); in drm_vma_node_reset() [all …]
|
| D | drm_of.h | 22 struct device_node *node); 26 int drm_of_encoder_active_endpoint(struct device_node *node, 44 struct device_node *node) in drm_of_component_match_add() argument 56 static inline int drm_of_encoder_active_endpoint(struct device_node *node, in drm_of_encoder_active_endpoint() argument 71 static inline int drm_of_encoder_active_endpoint_id(struct device_node *node, in drm_of_encoder_active_endpoint_id() argument 75 int ret = drm_of_encoder_active_endpoint(node, encoder, in drm_of_encoder_active_endpoint_id() 81 static inline int drm_of_encoder_active_port_id(struct device_node *node, in drm_of_encoder_active_port_id() argument 85 int ret = drm_of_encoder_active_endpoint(node, encoder, in drm_of_encoder_active_port_id()
|
| D | drm_mm.h | 164 void (*color_adjust)(const struct drm_mm_node *node, 222 static inline bool drm_mm_node_allocated(const struct drm_mm_node *node) in drm_mm_node_allocated() argument 224 return node->allocated; in drm_mm_node_allocated() 257 static inline bool drm_mm_hole_follows(const struct drm_mm_node *node) in drm_mm_hole_follows() argument 259 return node->hole_size; in drm_mm_hole_follows() 370 int drm_mm_reserve_node(struct drm_mm *mm, struct drm_mm_node *node); 372 struct drm_mm_node *node, 398 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, in drm_mm_insert_node_generic() argument 403 return drm_mm_insert_node_in_range(mm, node, in drm_mm_insert_node_generic() 423 struct drm_mm_node *node, in drm_mm_insert_node() argument [all …]
|
| /include/linux/ |
| D | interval_tree_generic.h | 45 static inline ITTYPE ITPREFIX ## _compute_subtree_last(ITSTRUCT *node) \ 47 ITTYPE max = ITLAST(node), subtree_last; \ 48 if (node->ITRB.rb_left) { \ 49 subtree_last = rb_entry(node->ITRB.rb_left, \ 54 if (node->ITRB.rb_right) { \ 55 subtree_last = rb_entry(node->ITRB.rb_right, \ 68 ITSTATIC void ITPREFIX ## _insert(ITSTRUCT *node, \ 72 ITTYPE start = ITSTART(node), last = ITLAST(node); \ 89 node->ITSUBTREE = last; \ 90 rb_link_node(&node->ITRB, rb_parent, link); \ [all …]
|
| D | rbtree_latch.h | 40 struct rb_node node[2]; member 69 __lt_from_rb(struct rb_node *node, int idx) in __lt_from_rb() argument 71 return container_of(node, struct latch_tree_node, node[idx]); in __lt_from_rb() 80 struct rb_node *node = <n->node[idx]; in __lt_insert() local 94 rb_link_node_rcu(node, parent, link); in __lt_insert() 95 rb_insert_color(node, root); in __lt_insert() 101 rb_erase(<n->node[idx], <r->tree[idx]); in __lt_erase() 106 int (*comp)(void *key, struct latch_tree_node *node)) in __lt_find() argument 108 struct rb_node *node = rcu_dereference_raw(ltr->tree[idx].rb_node); in __lt_find() local 112 while (node) { in __lt_find() [all …]
|
| D | topology.h | 38 #define nr_cpus_node(node) cpumask_weight(cpumask_of_node(node)) argument 41 #define for_each_node_with_cpus(node) \ argument 42 for_each_online_node(node) \ 43 if (nr_cpus_node(node)) 85 static inline void set_numa_node(int node) in set_numa_node() argument 87 this_cpu_write(numa_node, node); in set_numa_node() 92 static inline void set_cpu_numa_node(int cpu, int node) in set_cpu_numa_node() argument 94 per_cpu(numa_node, cpu) = node; in set_cpu_numa_node() 121 static inline void set_numa_mem(int node) in set_numa_mem() argument 123 this_cpu_write(_numa_mem_, node); in set_numa_mem() [all …]
|
| D | of_fdt.h | 31 unsigned long node, 35 unsigned long node); 36 extern int of_fdt_match(const void *blob, unsigned long node, 51 extern int of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, 54 extern int of_scan_flat_dt_subnodes(unsigned long node, 55 int (*it)(unsigned long node, 59 extern int of_get_flat_dt_subnode_by_name(unsigned long node, 61 extern const void *of_get_flat_dt_prop(unsigned long node, const char *name, 63 extern int of_flat_dt_is_compatible(unsigned long node, const char *name); 64 extern int of_flat_dt_match(unsigned long node, const char *const *matches); [all …]
|
| D | rbtree.h | 71 #define RB_EMPTY_NODE(node) \ argument 72 ((node)->__rb_parent_color == (unsigned long)(node)) 73 #define RB_CLEAR_NODE(node) \ argument 74 ((node)->__rb_parent_color = (unsigned long)(node)) 89 extern void rb_erase_cached(struct rb_node *node, struct rb_root_cached *); 103 static inline void rb_link_node(struct rb_node *node, struct rb_node *parent, in rb_link_node() argument 106 node->__rb_parent_color = (unsigned long)parent; in rb_link_node() 107 node->rb_left = node->rb_right = NULL; in rb_link_node() 109 *rb_link = node; in rb_link_node() 112 static inline void rb_link_node_rcu(struct rb_node *node, struct rb_node *parent, in rb_link_node_rcu() argument [all …]
|
| D | of_graph.h | 44 int of_graph_parse_endpoint(const struct device_node *node, 47 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id); 53 const struct device_node *node); 54 struct device_node *of_graph_get_port_parent(struct device_node *node); 56 const struct device_node *node); 57 struct device_node *of_graph_get_remote_port(const struct device_node *node); 58 struct device_node *of_graph_get_remote_node(const struct device_node *node, 62 static inline int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint() argument 74 struct device_node *node, u32 id) in of_graph_get_port_by_id() argument 93 const struct device_node *node) in of_graph_get_remote_endpoint() argument [all …]
|
| D | timerqueue.h | 10 struct rb_node node; member 21 struct timerqueue_node *node); 23 struct timerqueue_node *node); 25 struct timerqueue_node *node); 41 static inline void timerqueue_init(struct timerqueue_node *node) in timerqueue_init() argument 43 RB_CLEAR_NODE(&node->node); in timerqueue_init()
|
| D | nodemask.h | 118 #define node_set(node, dst) __node_set((node), &(dst)) argument 119 static __always_inline void __node_set(int node, volatile nodemask_t *dstp) in __node_set() argument 121 set_bit(node, dstp->bits); in __node_set() 124 #define node_clear(node, dst) __node_clear((node), &(dst)) argument 125 static inline void __node_clear(int node, volatile nodemask_t *dstp) in __node_clear() argument 127 clear_bit(node, dstp->bits); in __node_clear() 143 #define node_isset(node, nodemask) test_bit((node), (nodemask).bits) argument 145 #define node_test_and_set(node, nodemask) \ argument 146 __node_test_and_set((node), &(nodemask)) 147 static inline int __node_test_and_set(int node, nodemask_t *addr) in __node_test_and_set() argument [all …]
|
| D | rbtree_augmented.h | 39 void (*propagate)(struct rb_node *node, struct rb_node *stop); 44 extern void __rb_insert_augmented(struct rb_node *node, 59 rb_insert_augmented(struct rb_node *node, struct rb_root *root, in rb_insert_augmented() argument 62 __rb_insert_augmented(node, root, false, NULL, augment->rotate); in rb_insert_augmented() 66 rb_insert_augmented_cached(struct rb_node *node, in rb_insert_augmented_cached() argument 70 __rb_insert_augmented(node, &root->rb_root, in rb_insert_augmented_cached() 80 rbstruct *node = rb_entry(rb, rbstruct, rbfield); \ 81 rbtype augmented = rbcompute(node); \ 82 if (node->rbaugmented == augmented) \ 84 node->rbaugmented = augmented; \ [all …]
|
| D | reset.h | 16 struct reset_control *__of_reset_control_get(struct device_node *node, 65 struct device_node *node, in __of_reset_control_get() argument 182 struct device_node *node, const char *id) in of_reset_control_get_exclusive() argument 184 return __of_reset_control_get(node, id, 0, false, false); in of_reset_control_get_exclusive() 207 struct device_node *node, const char *id) in of_reset_control_get_shared() argument 209 return __of_reset_control_get(node, id, 0, true, false); in of_reset_control_get_shared() 224 struct device_node *node, int index) in of_reset_control_get_exclusive_by_index() argument 226 return __of_reset_control_get(node, NULL, index, false, false); in of_reset_control_get_exclusive_by_index() 252 struct device_node *node, int index) in of_reset_control_get_shared_by_index() argument 254 return __of_reset_control_get(node, NULL, index, true, false); in of_reset_control_get_shared_by_index() [all …]
|
| D | llist.h | 126 #define llist_for_each(pos, node) \ argument 127 for ((pos) = (node); pos; (pos) = (pos)->next) 145 #define llist_for_each_safe(pos, n, node) \ argument 146 for ((pos) = (node); (pos) && ((n) = (pos)->next, true); (pos) = (n)) 163 #define llist_for_each_entry(pos, node, member) \ argument 164 for ((pos) = llist_entry((node), typeof(*(pos)), member); \ 185 #define llist_for_each_entry_safe(pos, n, node, member) \ argument 186 for (pos = llist_entry((node), typeof(*pos), member); \ 204 static inline struct llist_node *llist_next(struct llist_node *node) in llist_next() argument 206 return node->next; in llist_next()
|
| D | of_pdt.h | 22 int (*nextprop)(phandle node, char *prev, char *buf); 25 int (*getproplen)(phandle node, const char *prop); 26 int (*getproperty)(phandle node, const char *prop, char *buf, 31 phandle (*getsibling)(phandle node); 34 int (*pkg2path)(phandle node, char *buf, const int buflen, int *len);
|
| D | plist.h | 112 #define PLIST_NODE_INIT(node, __prio) \ argument 115 .prio_list = LIST_HEAD_INIT((node).prio_list), \ 116 .node_list = LIST_HEAD_INIT((node).node_list), \ 134 static inline void plist_node_init(struct plist_node *node, int prio) in plist_node_init() argument 136 node->prio = prio; in plist_node_init() 137 INIT_LIST_HEAD(&node->prio_list); in plist_node_init() 138 INIT_LIST_HEAD(&node->node_list); in plist_node_init() 141 extern void plist_add(struct plist_node *node, struct plist_head *head); 142 extern void plist_del(struct plist_node *node, struct plist_head *head); 144 extern void plist_requeue(struct plist_node *node, struct plist_head *head); [all …]
|
| D | resource_ext.h | 32 struct list_head node; member 45 list_add(&entry->node, head); in resource_list_add() 51 list_add_tail(&entry->node, head); in resource_list_add_tail() 56 list_del(&entry->node); in resource_list_del() 72 list_for_each_entry((entry), (list), node) 75 list_for_each_entry_safe((entry), (tmp), (list), node)
|
| D | cpuhotplug.h | 255 struct hlist_node *node), in cpuhp_setup_state_multi() argument 257 struct hlist_node *node)) in cpuhp_setup_state_multi() 264 int __cpuhp_state_add_instance(enum cpuhp_state state, struct hlist_node *node, 267 struct hlist_node *node, bool invoke); 280 struct hlist_node *node) in cpuhp_state_add_instance() argument 282 return __cpuhp_state_add_instance(state, node, true); in cpuhp_state_add_instance() 295 struct hlist_node *node) in cpuhp_state_add_instance_nocalls() argument 297 return __cpuhp_state_add_instance(state, node, false); in cpuhp_state_add_instance_nocalls() 302 struct hlist_node *node) in cpuhp_state_add_instance_nocalls_cpuslocked() argument 304 return __cpuhp_state_add_instance_cpuslocked(state, node, false); in cpuhp_state_add_instance_nocalls_cpuslocked() [all …]
|
| D | compaction.h | 231 struct node; 232 extern int compaction_register_node(struct node *node); 233 extern void compaction_unregister_node(struct node *node); 237 static inline int compaction_register_node(struct node *node) in compaction_register_node() argument 242 static inline void compaction_unregister_node(struct node *node) in compaction_unregister_node() argument
|
| D | node.h | 22 struct node { struct 31 extern struct node *node_devices[]; argument 32 typedef void (*node_registration_func_t)(struct node *); 43 extern void unregister_node(struct node *node); 116 #define to_node(device) container_of(device, struct node, dev)
|
| D | hashtable.h | 60 #define hash_add(hashtable, node, key) \ argument 61 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 69 #define hash_add_rcu(hashtable, node, key) \ argument 70 hlist_add_head_rcu(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 76 static inline bool hash_hashed(struct hlist_node *node) in hash_hashed() argument 78 return !hlist_unhashed(node); in hash_hashed() 105 static inline void hash_del(struct hlist_node *node) in hash_del() argument 107 hlist_del_init(node); in hash_del() 114 static inline void hash_del_rcu(struct hlist_node *node) in hash_del_rcu() argument 116 hlist_del_init_rcu(node); in hash_del_rcu()
|
| D | of_pci.h | 18 int of_pci_parse_bus_range(struct device_node *node, struct resource *res); 19 int of_get_pci_domain_nr(struct device_node *node); 20 int of_pci_get_max_link_speed(struct device_node *node); 49 of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range() argument 55 of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr() argument 68 of_pci_get_max_link_speed(struct device_node *node) in of_pci_get_max_link_speed() argument
|
| /include/asm-generic/ |
| D | topology.h | 38 #define set_numa_node(node) argument 41 #define set_cpu_numa_node(cpu, node) argument 48 #define parent_node(node) ((void)(node),0) argument 52 #define cpumask_of_node(node) ((node) == 0 ? cpu_online_mask : cpu_none_mask) argument 54 #define cpumask_of_node(node) ((void)node, cpu_online_mask) argument 72 #define set_numa_mem(node) argument 75 #define set_cpu_numa_mem(cpu, node) argument
|
| /include/sound/ |
| D | simple_card_utils.h | 32 struct device_node *node, 43 #define asoc_simple_card_parse_clk_cpu(dev, node, dai_link, simple_dai) \ argument 44 asoc_simple_card_parse_clk(dev, node, dai_link->cpu_of_node, simple_dai, \ 46 #define asoc_simple_card_parse_clk_codec(dev, node, dai_link, simple_dai) \ argument 47 asoc_simple_card_parse_clk(dev, node, dai_link->codec_of_node, simple_dai,\ 50 struct device_node *node, 57 #define asoc_simple_card_parse_cpu(node, dai_link, \ argument 59 asoc_simple_card_parse_dai(node, &dai_link->cpu_of_node, \ 61 #define asoc_simple_card_parse_codec(node, dai_link, list_name, cells_name) \ argument 62 asoc_simple_card_parse_dai(node, &dai_link->codec_of_node, \ [all …]
|
| /include/linux/regulator/ |
| D | of_regulator.h | 23 struct device_node *node, 25 extern int of_regulator_match(struct device *dev, struct device_node *node, 31 struct device_node *node, in of_get_regulator_init_data() argument 38 struct device_node *node, in of_regulator_match() argument
|