Home
last modified time | relevance | path

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

12345678910>>...13

/device/soc/rockchip/common/sdk_linux/scripts/dtc/
H A Dchecks.c31 typedef void (*check_fn)(struct check *c, struct dt_info *dti, struct node *node);
61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) in check_msg() argument
74 } else if (node && node->srcpos) { in check_msg()
75 pos = node->srcpos; in check_msg()
90 if (node) { in check_msg()
92 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg()
94 xasprintf_append(&str, "%s: ", node in check_msg()
132 check_nodes_props(struct check *c, struct dt_info *dti, struct node *node) check_nodes_props() argument
192 check_always_fail(struct check *c, struct dt_info *dti, struct node *node) check_always_fail() argument
198 check_is_string(struct check *c, struct dt_info *dti, struct node *node) check_is_string() argument
215 check_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_is_string_list() argument
242 check_is_cell(struct check *c, struct dt_info *dti, struct node *node) check_is_cell() argument
263 check_duplicate_node_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_node_names() argument
277 check_duplicate_property_names(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_property_names() argument
301 check_node_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars() argument
310 check_node_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_node_name_chars_strict() argument
319 check_node_name_format(struct check *c, struct dt_info *dti, struct node *node) check_node_name_format() argument
327 check_unit_address_vs_reg(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_vs_reg() argument
356 check_property_name_chars(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars() argument
370 check_property_name_chars_strict(struct check *c, struct dt_info *dti, struct node *node) check_property_name_chars_strict() argument
407 check_duplicate_label(struct check *c, struct dt_info *dti, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument
433 check_duplicate_label_node(struct check *c, struct dt_info *dti, struct node *node) check_duplicate_label_node() argument
451 check_phandle_prop(struct check *c, struct dt_info *dti, struct node *node, const char *propname) check_phandle_prop() argument
495 check_explicit_phandles(struct check *c, struct dt_info *dti, struct node *node) check_explicit_phandles() argument
532 check_name_properties(struct check *c, struct dt_info *dti, struct node *node) check_name_properties() argument
568 fixup_phandle_references(struct check *c, struct dt_info *dti, struct node *node) fixup_phandle_references() argument
605 fixup_path_references(struct check *c, struct dt_info *dti, struct node *node) fixup_path_references() argument
635 fixup_omit_unused_nodes(struct check *c, struct dt_info *dti, struct node *node) fixup_omit_unused_nodes() argument
675 check_names_is_string_list(struct check *c, struct dt_info *dti, struct node *node) check_names_is_string_list() argument
692 check_alias_paths(struct check *c, struct dt_info *dti, struct node *node) check_alias_paths() argument
717 fixup_addr_size_cells(struct check *c, struct dt_info *dti, struct node *node) fixup_addr_size_cells() argument
766 check_reg_format(struct check *c, struct dt_info *dti, struct node *node) check_reg_format() argument
798 check_ranges_format(struct check *c, struct dt_info *dti, struct node *node) check_ranges_format() argument
848 check_pci_bridge(struct check *c, struct dt_info *dti, struct node *node) check_pci_bridge() argument
895 check_pci_device_bus_num(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_bus_num() argument
927 check_pci_device_reg(struct check *c, struct dt_info *dti, struct node *node) check_pci_device_reg() argument
980 node_is_compatible(struct node *node, const char *compat) node_is_compatible() argument
998 check_simple_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_bridge() argument
1006 check_simple_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_simple_bus_reg() argument
1053 check_i2c_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_bridge() argument
1087 check_i2c_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_i2c_bus_reg() argument
1139 check_spi_bus_bridge(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_bridge() argument
1188 check_spi_bus_reg(struct check *c, struct dt_info *dti, struct node *node) check_spi_bus_reg() argument
1222 check_unit_address_format(struct check *c, struct dt_info *dti, struct node *node) check_unit_address_format() argument
1249 check_avoid_default_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_default_addr_size() argument
1273 check_avoid_unnecessary_addr_size(struct check *c, struct dt_info *dti, struct node *node) check_avoid_unnecessary_addr_size() argument
1301 node_is_disabled(struct node *node) node_is_disabled() argument
1316 check_unique_unit_address_common(struct check *c, struct dt_info *dti, struct node *node, bool disable_check) check_unique_unit_address_common() argument
1360 check_unique_unit_address(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address() argument
1366 check_unique_unit_address_if_enabled(struct check *c, struct dt_info *dti, struct node *node) check_unique_unit_address_if_enabled() argument
1373 check_obsolete_chosen_interrupt_controller(struct check *c, struct dt_info *dti, struct node *node) check_obsolete_chosen_interrupt_controller() argument
1395 check_chosen_node_is_root(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_is_root() argument
1407 check_chosen_node_bootargs(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_bootargs() argument
1425 check_chosen_node_stdout_path(struct check *c, struct dt_info *dti, struct node *node) check_chosen_node_stdout_path() argument
1453 check_property_phandle_args(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const struct provider *provider) check_property_phandle_args() argument
1522 check_provider_cells_property(struct check *c, struct dt_info *dti, struct node *node) check_provider_cells_property() argument
1580 check_gpios_property(struct check *c, struct dt_info *dti, struct node *node) check_gpios_property() argument
1605 check_deprecated_gpio_property(struct check *c, struct dt_info *dti, struct node *node) check_deprecated_gpio_property() argument
1627 node_is_interrupt_provider(struct node *node) node_is_interrupt_provider() argument
1644 check_interrupt_provider(struct check *c, struct dt_info *dti, struct node *node) check_interrupt_provider() argument
1664 check_interrupts_property(struct check *c, struct dt_info *dti, struct node *node) check_interrupts_property() argument
1742 check_graph_nodes(struct check *c, struct dt_info *dti, struct node *node) check_graph_nodes() argument
1764 check_graph_child_address(struct check *c, struct dt_info *dti, struct node *node) check_graph_child_address() argument
1792 check_graph_reg(struct check *c, struct dt_info *dti, struct node *node) check_graph_reg() argument
1823 check_graph_port(struct check *c, struct dt_info *dti, struct node *node) check_graph_port() argument
1840 struct node *node; get_remote_endpoint() local
1862 check_graph_endpoint(struct check *c, struct dt_info *dti, struct node *node) check_graph_endpoint() argument
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
H A Drk_list.cpp41 static inline void list_node_init(rk_list_node *node) in list_node_init() argument
43 node->prev = node->next = node; in list_node_init()
46 static inline void list_node_init_with_key_and_size(rk_list_node *node, RK_U32 key, RK_S32 size) in list_node_init_with_key_and_size() argument
48 list_node_init(node); in list_node_init_with_key_and_size()
49 node->key = key; in list_node_init_with_key_and_size()
50 node->size = size; in list_node_init_with_key_and_size()
55 rk_list_node *node = (rk_list_node*)malloc(sizeof(rk_list_node) + size); in create_list() local
56 if (node) { in create_list()
91 rk_list_node *node = create_list(data, size, 0); add_at_head() local
109 rk_list_node *node = create_list(data, size, 0); add_at_tail() local
145 rk_list_del_init(rk_list_node *node) rk_list_del_init() argument
151 _list_del_node_no_lock(rk_list_node *node, void *data, RK_S32 size) _list_del_node_no_lock() argument
231 rk_list_node* node = head->next; flush() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_list.h45 * Structure of a node in a doubly linked list.
48 struct LOS_DL_LIST *pstPrev; /**< Current node's pointer to the previous node */
49 struct LOS_DL_LIST *pstNext; /**< Current node's pointer to the next node */
78 * @brief Point to the next node pointed to by the current node.
82 * <li>This API is used to point to the next node pointed to by the current node.</li>
100 * @brief Point to the previous node pointe
139 LOS_ListAdd(LOS_DL_LIST *list, LOS_DL_LIST *node) LOS_ListAdd() argument
166 LOS_ListTailInsert(LOS_DL_LIST *list, LOS_DL_LIST *node) LOS_ListTailInsert() argument
190 LOS_ListHeadInsert(LOS_DL_LIST *list, LOS_DL_LIST *node) LOS_ListHeadInsert() argument
214 LOS_ListDelete(LOS_DL_LIST *node) LOS_ListDelete() argument
243 LOS_ListEmpty(const LOS_DL_LIST *node) LOS_ListEmpty() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_virtual.c29 *internal helper to link node into the rb-tree
32 struct mali_vma_node *node) in _mali_vma_offset_add_rb()
42 if (node->vm_node.start < iter_node->vm_node.start) in _mali_vma_offset_add_rb()
44 else if (node->vm_node.start > iter_node->vm_node.start) in _mali_vma_offset_add_rb()
50 rb_link_node(&node->vm_rb, parent, iter); in _mali_vma_offset_add_rb()
51 rb_insert_color(&node->vm_rb, &mgr->allocation_mgr_rb); in _mali_vma_offset_add_rb()
55 * mali_vma_offset_add() - Add offset node to RB Tree
58 struct mali_vma_node *node) in mali_vma_offset_add()
63 if (node->vm_node.allocated) { in mali_vma_offset_add()
67 _mali_vma_offset_add_rb(mgr, node); in mali_vma_offset_add()
31 _mali_vma_offset_add_rb(struct mali_allocation_manager *mgr, struct mali_vma_node *node) _mali_vma_offset_add_rb() argument
57 mali_vma_offset_add(struct mali_allocation_manager *mgr, struct mali_vma_node *node) mali_vma_offset_add() argument
79 mali_vma_offset_remove(struct mali_allocation_manager *mgr, struct mali_vma_node *node) mali_vma_offset_remove() argument
97 struct mali_vma_node *node, *best; mali_vma_offset_search() local
[all...]
H A Dmali_memory.c438 void _mali_page_node_ref(struct mali_page_node *node) in _mali_page_node_ref() argument
440 if (node->type == MALI_PAGE_NODE_OS) { in _mali_page_node_ref()
442 get_page(node->page); in _mali_page_node_ref()
443 } else if (node->type == MALI_PAGE_NODE_BLOCK) { in _mali_page_node_ref()
444 mali_mem_block_add_ref(node); in _mali_page_node_ref()
445 } else if (node->type == MALI_PAGE_NODE_SWAP) { in _mali_page_node_ref()
446 atomic_inc(&node->swap_it->ref_count); in _mali_page_node_ref()
448 MALI_DEBUG_PRINT_ERROR(("Invalid type of mali page node! \n")); in _mali_page_node_ref()
452 void _mali_page_node_unref(struct mali_page_node *node) in _mali_page_node_unref() argument
454 if (node in _mali_page_node_unref()
465 _mali_page_node_add_page(struct mali_page_node *node, struct page *page) _mali_page_node_add_page() argument
472 _mali_page_node_add_swap_item(struct mali_page_node *node, struct mali_swap_item *item) _mali_page_node_add_swap_item() argument
478 _mali_page_node_add_block_item(struct mali_page_node *node, mali_block_item *item) _mali_page_node_add_block_item() argument
485 _mali_page_node_get_ref_count(struct mali_page_node *node) _mali_page_node_get_ref_count() argument
501 _mali_page_node_get_dma_addr(struct mali_page_node *node) _mali_page_node_get_dma_addr() argument
516 _mali_page_node_get_pfn(struct mali_page_node *node) _mali_page_node_get_pfn() argument
[all...]
H A Dmali_memory_block_alloc.c32 u32 mali_mem_block_get_ref_count(mali_page_node *node) in mali_mem_block_get_ref_count() argument
34 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_get_ref_count()
35 return (node->blk_it->phy_addr & MALI_BLOCK_REF_MASK); in mali_mem_block_get_ref_count()
43 u32 mali_mem_block_add_ref(mali_page_node *node) in mali_mem_block_add_ref() argument
45 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_add_ref()
46 MALI_DEBUG_ASSERT(mali_mem_block_get_ref_count(node) < MALI_BLOCK_MAX_REF_COUNT); in mali_mem_block_add_ref()
47 return (node->blk_it->phy_addr++ & MALI_BLOCK_REF_MASK); in mali_mem_block_add_ref()
53 u32 mali_mem_block_dec_ref(mali_page_node *node) in mali_mem_block_dec_ref() argument
55 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_dec_ref()
56 MALI_DEBUG_ASSERT(mali_mem_block_get_ref_count(node) > in mali_mem_block_dec_ref()
216 mali_mem_block_free_node(struct mali_page_node *node) mali_mem_block_free_node() argument
237 mali_mem_block_unref_node(struct mali_page_node *node) mali_mem_block_unref_node() argument
[all...]
H A Dmali_memory.h55 * mmap syscalls on the Mali device node will end up here.
63 * Called when a process opens the Mali device node.
71 * Called when a process closes the Mali device node.
131 void _mali_page_node_ref(struct mali_page_node *node);
132 void _mali_page_node_unref(struct mali_page_node *node);
133 void _mali_page_node_add_page(struct mali_page_node *node, struct page *page);
135 void _mali_page_node_add_block_item(struct mali_page_node *node, mali_block_item *item);
137 void _mali_page_node_add_swap_item(struct mali_page_node *node, struct mali_swap_item *item);
139 int _mali_page_node_get_ref_count(struct mali_page_node *node);
140 dma_addr_t _mali_page_node_get_dma_addr(struct mali_page_node *node);
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_virtual.c30 * internal helper to link node into the rb-tree
32 static inline void _mali_vma_offset_add_rb(struct mali_allocation_manager *mgr, struct mali_vma_node *node) in _mali_vma_offset_add_rb() argument
42 if (node->vm_node.start < iter_node->vm_node.start) { in _mali_vma_offset_add_rb()
44 } else if (node->vm_node.start > iter_node->vm_node.start) { in _mali_vma_offset_add_rb()
51 rb_link_node(&node->vm_rb, parent, iter); in _mali_vma_offset_add_rb()
52 rb_insert_color(&node->vm_rb, &mgr->allocation_mgr_rb); in _mali_vma_offset_add_rb()
56 * mali_vma_offset_add() - Add offset node to RB Tree
58 int mali_vma_offset_add(struct mali_allocation_manager *mgr, struct mali_vma_node *node) in mali_vma_offset_add() argument
63 if (node->vm_node.allocated) { in mali_vma_offset_add()
67 _mali_vma_offset_add_rb(mgr, node); in mali_vma_offset_add()
79 mali_vma_offset_remove(struct mali_allocation_manager *mgr, struct mali_vma_node *node) mali_vma_offset_remove() argument
96 struct mali_vma_node *node, *best; mali_vma_offset_search() local
[all...]
H A Dmali_memory.c436 void _mali_page_node_ref(struct mali_page_node *node) in _mali_page_node_ref() argument
438 if (node->type == MALI_PAGE_NODE_OS) { in _mali_page_node_ref()
440 get_page(node->page); in _mali_page_node_ref()
441 } else if (node->type == MALI_PAGE_NODE_BLOCK) { in _mali_page_node_ref()
442 mali_mem_block_add_ref(node); in _mali_page_node_ref()
443 } else if (node->type == MALI_PAGE_NODE_SWAP) { in _mali_page_node_ref()
444 atomic_inc(&node->swap_it->ref_count); in _mali_page_node_ref()
446 MALI_DEBUG_PRINT_ERROR(("Invalid type of mali page node! \n")); in _mali_page_node_ref()
450 void _mali_page_node_unref(struct mali_page_node *node) in _mali_page_node_unref() argument
452 if (node in _mali_page_node_unref()
462 _mali_page_node_add_page(struct mali_page_node *node, struct page *page) _mali_page_node_add_page() argument
468 _mali_page_node_add_swap_item(struct mali_page_node *node, struct mali_swap_item *item) _mali_page_node_add_swap_item() argument
474 _mali_page_node_add_block_item(struct mali_page_node *node, mali_block_item *item) _mali_page_node_add_block_item() argument
480 mali_page_node_get_ref_count(struct mali_page_node *node) mali_page_node_get_ref_count() argument
495 _mali_page_node_get_dma_addr(struct mali_page_node *node) _mali_page_node_get_dma_addr() argument
509 _mali_page_node_get_pfn(struct mali_page_node *node) _mali_page_node_get_pfn() argument
[all...]
H A Dmali_memory_block_alloc.c30 u32 mali_mem_block_get_ref_count(mali_page_node *node) in mali_mem_block_get_ref_count() argument
32 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_get_ref_count()
33 return (node->blk_it->phy_addr & MALI_BLOCK_REF_MASK); in mali_mem_block_get_ref_count()
40 u32 mali_mem_block_add_ref(mali_page_node *node) in mali_mem_block_add_ref() argument
42 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_add_ref()
43 MALI_DEBUG_ASSERT(mali_mem_block_get_ref_count(node) < MALI_BLOCK_MAX_REF_COUNT); in mali_mem_block_add_ref()
44 return (node->blk_it->phy_addr++ & MALI_BLOCK_REF_MASK); in mali_mem_block_add_ref()
50 u32 mali_mem_block_dec_ref(mali_page_node *node) in mali_mem_block_dec_ref() argument
52 MALI_DEBUG_ASSERT(node->type == MALI_PAGE_NODE_BLOCK); in mali_mem_block_dec_ref()
53 MALI_DEBUG_ASSERT(mali_mem_block_get_ref_count(node) > in mali_mem_block_dec_ref()
216 mali_mem_block_free_node(struct mali_page_node *node) mali_mem_block_free_node() argument
237 mali_mem_block_unref_node(struct mali_page_node *node) mali_mem_block_unref_node() argument
[all...]
H A Dmali_memory.h56 * mmap syscalls on the Mali device node will end up here.
64 * Called when a process opens the Mali device node.
72 * Called when a process closes the Mali device node.
131 void _mali_page_node_ref(struct mali_page_node *node);
132 void _mali_page_node_unref(struct mali_page_node *node);
133 void _mali_page_node_add_page(struct mali_page_node *node, struct page *page);
135 void _mali_page_node_add_block_item(struct mali_page_node *node, mali_block_item *item);
137 void _mali_page_node_add_swap_item(struct mali_page_node *node, struct mali_swap_item *item);
139 int mali_page_node_get_ref_count(struct mali_page_node *node);
140 dma_addr_t _mali_page_node_get_dma_addr(struct mali_page_node *node);
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_list.h46node插入为list的第一个节点
48 static inline hi_void hi_list_head_insert(hi_list *node, hi_list *list) in hi_list_head_insert() argument
50 node->next = list->next; in hi_list_head_insert()
51 node->prev = list; in hi_list_head_insert()
52 list->next->prev = node; in hi_list_head_insert()
53 list->next = node; in hi_list_head_insert()
58node插入为list的第一个节点
60 __attribute__((always_inline)) static inline hi_void hi_list_head_insert_optimize(hi_list *node, hi_list *list) in hi_list_head_insert_optimize() argument
62 node->next = list->next; in hi_list_head_insert_optimize()
63 node in hi_list_head_insert_optimize()
72 hi_list_tail_insert(hi_list *node, hi_list *list) hi_list_tail_insert() argument
81 hi_list_tail_insert_optimize(hi_list *node, hi_list *list) hi_list_tail_insert_optimize() argument
90 hi_list_delete(hi_list *node) hi_list_delete() argument
106 hi_list_delete_optimize(hi_list *node) hi_list_delete_optimize() argument
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_event.c289 struct event_handler_list *node, *cur, **evt_head; in wl_ext_event_free() local
292 node = *evt_head; in wl_ext_event_free()
294 for (;node;) { in wl_ext_event_free()
295 EVENT_TRACE(node->dev->name, "Free etype=%d\n", node->etype); in wl_ext_event_free()
296 cur = node; in wl_ext_event_free()
297 node = cur->next; in wl_ext_event_free()
318 struct event_handler_list *node, *leaf, *node_prev, **evt_head; in wl_ext_event_register() local
324 node = *evt_head; in wl_ext_event_register()
325 for (;node;) { in wl_ext_event_register()
382 struct event_handler_list *node, *prev, **evt_head; wl_ext_event_deregister() local
[all...]
/device/board/hihope/rk3568/audio_drivers/headset_monitor/src/
H A Danalog_headset_core.c91 static int32_t LinuxReadMicConfig(struct device_node *node, struct HeadsetPdata *pdata) in LinuxReadMicConfig() argument
97 if ((node == NULL) || (pdata == NULL)) { in LinuxReadMicConfig()
98 AUDIO_DEVICE_LOG_ERR("node or pdata is NULL."); in LinuxReadMicConfig()
102 ret = of_get_named_gpio_flags(node, "mic_switch_gpio", 0, &pdata->micGpioFlags); in LinuxReadMicConfig()
107 ret = of_property_read_u32(node, "hp_mic_io_value", &pdata->hpMicIoValue); in LinuxReadMicConfig()
112 ret = of_property_read_u32(node, "main_mic_io_value", &pdata->mainMicIoValue); in LinuxReadMicConfig()
123 static int32_t LinuxReadConfig(struct device_node *node, struct HeadsetPdata *pdata) in LinuxReadConfig() argument
128 if ((node == NULL) || (pdata == NULL)) { in LinuxReadConfig()
129 AUDIO_DEVICE_LOG_ERR("node or pdata is NULL."); in LinuxReadConfig()
134 ret = of_get_named_gpio_flags(node, "headset_gpi in LinuxReadConfig()
170 ReadHookModeConfig(struct DeviceResourceIface *parser, const struct DeviceResourceNode *node, struct HeadsetPdata *pdata) ReadHookModeConfig() argument
211 ReadMicConfig(struct DeviceResourceIface *parser, const struct DeviceResourceNode *node, struct HeadsetPdata *pdata) ReadMicConfig() argument
244 ReadConfig(const struct DeviceResourceNode *node, struct HeadsetPdata *pdata) ReadConfig() argument
340 struct device_node *node = pdev->dev.of_node; AudioHeadsetProbe() local
429 const struct DeviceResourceNode *node = NULL; HdfHeadsetInit() local
[all...]
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/inc/
H A Dmpp_cluster.h37 MPP_RET mpp_node_init(MppNode *node);
38 MPP_RET mpp_node_deinit(MppNode node);
40 MPP_RET mpp_node_set_func(MppNode node, TaskProc proc, void *param);
42 MPP_RET mpp_node_attach(MppNode node, MppClientType type);
43 MPP_RET mpp_node_detach(MppNode node);
45 #define mpp_node_trigger(node, trigger) mpp_node_trigger_f(__FUNCTION__, node, trigger)
47 MPP_RET mpp_node_trigger_f(const char *caller, MppNode node, RK_S32 trigger);
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/base/include/
H A Dlos_memory_pri.h51 * Memory linked list node structure
54 LOS_DL_LIST freeNodeInfo; /**< Free memory node */
55 struct tagLosMemDynNode *preNode; /**< Pointer to the previous memory node */
56 UINT32 sizeAndFlag; /**< Size and flag of the current node(the highest bit
66 extern LITE_OS_RAM_SECTION void Asan_free_set(LosMemDynNode *node);
70 #define OS_MEM_TASKID_SET(node, ID) \
72 UINTPTR tmp = (UINTPTR)(((LosMemDynNode *)(node))->freeNodeInfo.pstNext); \
75 ((LosMemDynNode *)(node))->freeNodeInfo.pstNext = (LOS_DL_LIST *)(tmp); \
78 #define OS_MEM_TASKID_GET(node) ((UINT32)(UINTPTR)(((LosMemDynNode *)(node))
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_trace_gpu_mem.c34 * @dma_buf_node: Link node to maintain a rb_tree of kbase_dma_buf.
53 * the node from the tree.
60 struct rb_node *node = tree->rb_node; in kbase_delete_dma_buf_mapping() local
65 while (node) { in kbase_delete_dma_buf_mapping()
66 buf_node = rb_entry(node, struct kbase_dma_buf, dma_buf_node); in kbase_delete_dma_buf_mapping()
83 node = node->rb_left; in kbase_delete_dma_buf_mapping()
85 node = node->rb_right; in kbase_delete_dma_buf_mapping()
109 struct rb_node *node in kbase_capture_dma_buf_mapping() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_trace_gpu_mem.c35 * @dma_buf_node: Link node to maintain a rb_tree of kbase_dma_buf.
54 * the node from the tree.
59 struct rb_node *node = tree->rb_node; in kbase_delete_dma_buf_mapping() local
64 while (node) { in kbase_delete_dma_buf_mapping()
65 buf_node = rb_entry(node, struct kbase_dma_buf, dma_buf_node); in kbase_delete_dma_buf_mapping()
82 node = node->rb_left; in kbase_delete_dma_buf_mapping()
84 node = node->rb_right; in kbase_delete_dma_buf_mapping()
107 struct rb_node *node in kbase_capture_dma_buf_mapping() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip_pm_config.c75 static int parse_on_off_regulator(struct device_node *node, enum rk_pm_state state) in parse_on_off_regulator() argument
114 if (of_find_property(node, on_prop_name, NULL)) { in parse_on_off_regulator()
116 (dn = of_parse_phandle(node, on_prop_name, i)); in parse_on_off_regulator()
134 if (of_find_property(node, off_prop_name, NULL)) { in parse_on_off_regulator()
136 (dn = of_parse_phandle(node, off_prop_name, i)); in parse_on_off_regulator()
161 struct device_node *node; in pm_config_probe() local
179 node = of_find_node_by_name(NULL, "rockchip-suspend"); in pm_config_probe()
181 if (IS_ERR_OR_NULL(node)) { in pm_config_probe()
182 dev_err(&pdev->dev, "%s dev node err\n", __func__); in pm_config_probe()
186 if (of_property_read_u32_array(node, in pm_config_probe()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_list.h41 * Initialize the head node. Note that this node is used only for management, not the data node entered by the user.
51 * Function description: Inserts a node as the first node in the list.
52 * CNcomment:功能描述:把node插入为list的第一个节点
54 __attribute__((always_inline)) static inline hi_void hi_list_head_insert(hi_list *node, hi_list *list) in hi_list_head_insert() argument
56 node->next = list->next; in hi_list_head_insert()
57 node->prev = list; in hi_list_head_insert()
58 list->next->prev = node; in hi_list_head_insert()
66 hi_list_tail_insert(hi_list *node, hi_list *list) hi_list_tail_insert() argument
75 hi_list_delete(hi_list *node) hi_list_delete() argument
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_notifier.c31 struct osal_list_head node; member
42 struct nb_node *ns = osal_list_entry(this, struct nb_node, node); in osal_find_ob()
60 struct nb_node *ns = osal_list_entry(this, struct nb_node, node); in osal_del_nb()
83 struct nb_node *node = NULL; in osal_register_reboot_notifier() local
92 node = kmalloc(sizeof(struct nb_node), GFP_KERNEL); in osal_register_reboot_notifier()
93 if (node == NULL) { in osal_register_reboot_notifier()
98 (void)memset_s(node, sizeof(struct nb_node), 0, sizeof(struct nb_node)); in osal_register_reboot_notifier()
103 node->osal_nb = ob; in osal_register_reboot_notifier()
104 node->nb = nb; in osal_register_reboot_notifier()
105 osal_list_add(&(node in osal_register_reboot_notifier()
[all...]
/device/soc/rockchip/rk2206/hdf_driver/spi/
H A Dspi_driver.c76 static int32_t spidrv_readdrs(struct DeviceResourceNode *node, struct spi_params *params) in spidrv_readdrs() argument
81 if (node == NULL) { in spidrv_readdrs()
82 PRINT_ERR("%s: node is null\n", __func__); in spidrv_readdrs()
102 ret = iface->GetUint32(node, "bus", &params->bus, 0); in spidrv_readdrs()
108 ret = iface->GetUint32(node, "id", &params->id, 0); in spidrv_readdrs()
114 ret = iface->GetUint32(node, "func_mode", &params->func_mode, 0); in spidrv_readdrs()
120 ret = iface->GetUint32(node, "cs_gpio", &params->cs_gpio, 0); in spidrv_readdrs()
126 ret = iface->GetUint32(node, "cs_func", &params->cs_func, 0); in spidrv_readdrs()
132 ret = iface->GetUint32(node, "cs_type", &params->cs_type, 0); in spidrv_readdrs()
138 ret = iface->GetUint32(node, "cs_dr in spidrv_readdrs()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_random_mapping.c26 struct rb_node *node = root->rb_node; in search() local
28 while (node) { in search()
29 ump_dd_mem *e = container_of(node, ump_dd_mem, node); in search()
32 node = node->rb_left; in search()
34 node = node->rb_right; in search()
49 ump_dd_mem *this = container_of(*new, ump_dd_mem, node); in insert()
62 rb_link_node(&mem->node, paren in insert()
[all...]
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Davc.h16 TP_PROTO(const struct avc_node *node),
17 TP_ARGS(node));
20 TP_PROTO(const struct avc_node *node),
21 TP_ARGS(node));
28 TP_PROTO(const struct avc_node *node, u32 ssid, u32 tsid, u16 tclass),
29 TP_ARGS(node, ssid, tsid, tclass));
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/tde/driver/src/adp/tde_v2_0/
H A Dtde_hal_k.c42 #define drv_tde_node_blend_mode(node, a, b) \
44 (node)->src1_cbmpara.bits.s1_blendmode = (a); \
45 (node)->src2_cbmpara.bits.s2_blendmode = (b); \
76 #define TDE_AQ_CTRL_COMP_LINE 0x4 /* start next AQ list, after complete current node and line */
431 * Description: init the software node struct for tde
432 * Input: hw_node: the pointer of software node struct
462 * Description: Free TDE operate node buffer
485 * Input: nodephy_addr: the start address of head node address
486 * update:the head node update set
499 /* write the first node addres in tde_hal_node_execute()
2076 tde_hal_calc_src1_set_zme(tde_hw_node *node, hi_tde_color_fmt in_fmt, hi_tde_rect *in_rect, hi_tde_rect *out_rect) tde_hal_calc_src1_set_zme() argument
2117 tde_hal_calc_src1_filter_opt(tde_hw_node *node, hi_tde_color_fmt in_fmt, hi_tde_rect *in_rect, hi_tde_rect *out_rect, hi_tde_deflicker_mode filter_mode) tde_hal_calc_src1_filter_opt() argument
2183 tde_hal_calc_src2_filter_opt_chesk(tde_hw_node *node, tde_rect_opt *rect_opt) tde_hal_calc_src2_filter_opt_chesk() argument
2203 tde_hal_set_zme_in_limit(tde_hw_node *node, tde_rect_opt *rect_opt) tde_hal_set_zme_in_limit() argument
2248 tde_hal_set_zme(tde_hw_node *node, tde_rect_opt *rect_opt, hi_tde_deflicker_mode filter_mode, hi_bool defilicker) tde_hal_set_zme() argument
2309 tde_hal_set_defilicker(tde_hw_node *node) tde_hal_set_defilicker() argument
2331 tde_hal_calc_src2_filter_opt(tde_hw_node *node, tde_rect_opt *rect_opt, hi_bool defilicker, hi_tde_deflicker_mode filter_mode) tde_hal_calc_src2_filter_opt() argument
[all...]

Completed in 16 milliseconds

12345678910>>...13