Home
last modified time | relevance | path

Searched refs:item (Results 1 - 25 of 58) sorted by relevance

123

/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_list.h304 * @param item [IN] Current node's pointer to the next node.
313 #define LOS_DL_LIST_ENTRY(item, type, member) \
314 ((type *)(VOID *)((CHAR *)(item) - LOS_OFF_SET_OF(type, member))) \
327 * @param item [IN] Pointer to the structure that contains the doubly linked list that is to be traversed.
337 #define LOS_DL_LIST_FOR_EACH_ENTRY(item, list, type, member) \
338 for ((item) = LOS_DL_LIST_ENTRY((list)->pstNext, type, member); \
339 &(item)->member != (list); \
340 (item) = LOS_DL_LIST_ENTRY((item)->member.pstNext, type, member))
353 * @param item [I
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Dhi_event.c39 hi_event_item *item; /* 指向item数组 */ member
61 g_event_ctrl.item = (hi_event_item *)event_space; in hi_event_init()
63 g_event_ctrl.item = (hi_event_item *)LOS_MemAlloc(m_aucSysMem0, sizeof(hi_event_item) * max_event_cnt); in hi_event_init()
66 if (g_event_ctrl.item == HI_NULL) { in hi_event_init()
70 memset_s(g_event_ctrl.item, sizeof(hi_event_item) * max_event_cnt, 0, sizeof(hi_event_item) * max_event_cnt); in hi_event_init()
85 hi_event_item *item = HI_NULL; in hi_event_create() local
99 item = &g_event_ctrl.item[i]; in hi_event_create()
101 if (HI_FALSE == item in hi_event_create()
130 hi_event_item *item = HI_NULL; hi_event_send() local
161 hi_event_item *item = HI_NULL; hi_event_wait() local
204 hi_event_item *item = HI_NULL; hi_event_clear() local
237 hi_event_item *item = HI_NULL; hi_event_delete() local
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_list.h206 #define hi_list_entry(item, type, member) \
207 ((type*)((char*)(item) - hi_offset_of_member(type, member)))
209 #define hi_list_for_each_entry(item, list, type, member) \
210 for ((item) = hi_list_entry((list)->next, type, member); \
211 &(item)->member != (list); \
212 (item) = hi_list_entry((item)->member.next, type, member))
214 #define hi_list_for_each_entry_safe(list, item, pnext, type, member) \
215 for ((item) = hi_list_entry((list)->next, type, member), \
216 (pnext) = hi_list_entry((item)
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/include/
H A Dhi_list.h264 #define hi_list_entry(item, type, member) ((type *)((char *)(item)-hi_offset_of_member(type, member)))
270 #define hi_list_for_each_entry(item, list, type, member) \
271 for ((item) = hi_list_entry((list)->next, type, member); &(item)->member != (list); \
272 (item) = hi_list_entry((item)->member.next, type, member))
278 #define hi_list_for_each_entry_safe(list, item, pnext, type, member) \
279 for ((item) = hi_list_entry((list)->next, type, member), \
280 (pnext) = hi_list_entry((item)
[all...]
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dmtd_vendor_storage.c46 struct vendor_item item[62]; member
213 if (g_vendor->item[i].id == id) { in mtd_vendor_read()
214 if (size > g_vendor->item[i].size) { in mtd_vendor_read()
215 size = g_vendor->item[i].size; in mtd_vendor_read()
217 memcpy(pbuf, &g_vendor->data[g_vendor->item[i].offset], size); in mtd_vendor_read()
229 struct vendor_item *item; in mtd_vendor_write() local
240 item = &g_vendor->item[i]; in mtd_vendor_write()
241 if (item->id == id) { in mtd_vendor_write()
242 alloc_size = ALIGN(item in mtd_vendor_write()
[all...]
H A Dsdmmc_vendor_storage.c57 struct vendor_item item[126]; member
144 if (g_vendor->item[i].id == id) { in emmc_vendor_read()
145 if (size > g_vendor->item[i].size) { in emmc_vendor_read()
146 size = g_vendor->item[i].size; in emmc_vendor_read()
148 memcpy(pbuf, &g_vendor->data[g_vendor->item[i].offset], size); in emmc_vendor_read()
160 struct vendor_item *item; in emmc_vendor_write() local
172 item = &g_vendor->item[i]; in emmc_vendor_write()
173 if (item->id == id) { in emmc_vendor_write()
174 alloc_size = ALIGN(item in emmc_vendor_write()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/common/
H A Defuse_opt.c113 efuse_config_item *item = (efuse_config_item *)(file_addr + header->stru_size); in efuse_burn() local
115 if (item == HI_NULL) { in efuse_burn()
118 ret = efuse_bits_write(item->start_bit, item->bit_width, item->value); in efuse_burn()
122 serial_puthex(item->start_bit, 1); in efuse_burn()
124 serial_puthex(item->bit_width, 1); in efuse_burn()
128 item = (efuse_config_item *)((uintptr_t)item + item in efuse_burn()
[all...]
/device/soc/rockchip/common/vendor/drivers/dma-buf/heaps/
H A Ddeferred-free-helper.c25 void deferred_free(struct deferred_freelist_item *item, void (*free)(struct deferred_freelist_item *, enum df_reason), in deferred_free() argument
30 INIT_LIST_HEAD(&item->list); in deferred_free()
31 item->nr_pages = nr_pages; in deferred_free()
32 item->free = free; in deferred_free()
35 list_add(&item->list, &free_list); in deferred_free()
46 struct deferred_freelist_item *item; in free_one_item() local
53 item = list_first_entry(&free_list, struct deferred_freelist_item, list); in free_one_item()
54 list_del(&item->list); in free_one_item()
55 nr_pages = item->nr_pages; in free_one_item()
59 item in free_one_item()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/dma-buf/heaps/
H A Ddeferred-free-helper.c25 void deferred_free(struct deferred_freelist_item *item, in deferred_free() argument
32 INIT_LIST_HEAD(&item->list); in deferred_free()
33 item->nr_pages = nr_pages; in deferred_free()
34 item->free = free; in deferred_free()
37 list_add(&item->list, &free_list); in deferred_free()
48 struct deferred_freelist_item *item; in free_one_item() local
55 item = list_first_entry(&free_list, struct deferred_freelist_item, list); in free_one_item()
56 list_del(&item->list); in free_one_item()
57 nr_pages = item->nr_pages; in free_one_item()
61 item in free_one_item()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Dsdmmc_vendor_storage.c57 struct vendor_item item[126]; /* 126 * 8*/ member
144 if (g_vendor->item[i].id == id) { in emmc_vendor_read()
145 if (size > g_vendor->item[i].size) in emmc_vendor_read()
146 size = g_vendor->item[i].size; in emmc_vendor_read()
148 &g_vendor->data[g_vendor->item[i].offset], in emmc_vendor_read()
161 struct vendor_item *item; in emmc_vendor_write() local
172 item = &g_vendor->item[i]; in emmc_vendor_write()
173 if (item->id == id) { in emmc_vendor_write()
174 alloc_size = ALIGN(item in emmc_vendor_write()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
H A Dhi_gv_listbox.h42 typedef HI_S32 (*HIGV_LIST_CONV_CB)(HIGV_HANDLE listHandle, HI_U32 col, HI_U32 item, const HI_CHAR *srcStr,
47 typedef HI_S32 (*HIGV_GET_WIDTH_CB)(HIGV_HANDLE listHandle, HI_U32 item, HI_U32 col);
72 HI_U32 ScrollCol; /* If item active,scroll col of item */
104 * param[in] item Item index.
112 HI_S32 HI_GV_List_GetCell(HIGV_HANDLE listHandle, HI_U32 item, HI_U32 col, HI_CHAR *value, HI_U32 length);
115 * brief Set skin of focus item.
126 * brief Set selected item of listbox.
127 * attention ::The api is only support the selected item and apply this api at the init stage.
130 * param[in] item Ite
[all...]
H A Dhi_gv_wheelview.h31 HI_U32 rowNum; /* The count of display item */
56 * brief Set selected item of wheelview.
58 * param[in] item Item index.
64 HI_S32 HI_GV_WheelView_SetSelItem(HIGV_HANDLE wheelViewHandle, HI_U32 item);
67 * brief Get the item of WheelView.
69 * param[out] item Item index.
75 HI_S32 HI_GV_WheelView_GetSelItem(HIGV_HANDLE wheelViewHandle, HI_U32 *item);
78 * brief Get the total item number of WheelView.
80 * param[out] itemNum Toal item number.
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
H A Dmali_dvfs_policy.c95 /* Find the first item > target_clock_hz */ in mali_pickup_closest_avail_clock()
96 if (((int)(gpu_clk->item[i].clock) - target_clock_mhz) > 0) { in mali_pickup_closest_avail_clock()
195 target_clk_mhz = gpu_clk->item[cur_clk_step].clock * current_gpu_util * mali_desired_fps / in mali_dvfs_policy_realize()
200 target_clk_mhz = gpu_clk->item[cur_clk_step].clock * current_gpu_util / under_perform_boundary_value; in mali_dvfs_policy_realize()
215 gpu_clk->item[clock_step].clock, gpu_clk->item[clock_step].vol / VOL_MILLI, 0, 0, in mali_dvfs_policy_realize()
246 gpu_clk->item[i].clock, gpu_clk->item[i].vol)); in mali_dvfs_policy_init()
288 gpu_clk->item[gpu_clk->num_of_steps - 1].clock, in mali_dvfs_policy_new_period()
289 gpu_clk->item[gpu_cl in mali_dvfs_policy_new_period()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
H A Dmali_dvfs_policy.c84 /* Find the first item > target_clock_hz */ in mali_pickup_closest_avail_clock()
85 if (((int)(gpu_clk->item[i].clock) - target_clock_mhz) > 0) { in mali_pickup_closest_avail_clock()
182 target_clk_mhz = gpu_clk->item[cur_clk_step].clock * current_gpu_util * mali_desired_fps / under_perform_boundary_value / current_fps; in mali_dvfs_policy_realize()
186 target_clk_mhz = gpu_clk->item[cur_clk_step].clock * current_gpu_util / under_perform_boundary_value; in mali_dvfs_policy_realize()
202 gpu_clk->item[clock_step].clock, in mali_dvfs_policy_realize()
203 gpu_clk->item[clock_step].vol / 1000, in mali_dvfs_policy_realize()
235 i, gpu_clk->item[i].clock, gpu_clk->item[i].vol)); in mali_dvfs_policy_init()
276 MALI_PROFILING_EVENT_REASON_SINGLE_GPU_FREQ_VOLT_CHANGE, gpu_clk->item[gpu_clk->num_of_steps - 1].clock, in mali_dvfs_policy_new_period()
277 gpu_clk->item[gpu_cl in mali_dvfs_policy_new_period()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/hid/
H A Dhid-core.c268 * If Usage item only includes usage id, concatenate it with in hid_add_usage()
349 * Read data value from item.
351 static u32 item_udata(struct hid_item *item) in item_udata() argument
353 switch (item->size) { in item_udata()
355 return item->data.u8; in item_udata()
357 return item->data.u16; in item_udata()
359 return item->data.u32; in item_udata()
364 static s32 item_sdata(struct hid_item *item) in item_sdata() argument
366 switch (item->size) { in item_sdata()
368 return item in item_sdata()
381 hid_parser_global(struct hid_parser *parser, struct hid_item *item) hid_parser_global() argument
478 hid_parser_local(struct hid_parser *parser, struct hid_item *item) hid_parser_local() argument
602 hid_parser_main(struct hid_parser *parser, struct hid_item *item) hid_parser_main() argument
640 hid_parser_reserved(struct hid_parser *parser, struct hid_item *item) hid_parser_reserved() argument
713 fetch_item(u8 *start, u8 *end, struct hid_item *item) fetch_item() argument
825 hid_scan_main(struct hid_parser *parser, struct hid_item *item) hid_scan_main() argument
872 struct hid_item item; hid_scan_report() local
1175 struct hid_item item; hid_open_report() local
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/scenario/cnn_trash_classify/
H A Dcnn_trash_classify.c94 const RecogNumInfo *item = &items; in PlayAudio() local
95 uint32_t score = item->score * MULTIPLE_OF_EXPANSION / SCORE_MAX; in PlayAudio()
96 if ((score > AUDIO_SCORE) && (g_num != item->num)) { in PlayAudio()
97 g_num = item->num; in PlayAudio()
191 const RecogNumInfo *item = &items[i]; in CnnTrashClassifyFlag() local
192 uint32_t score = item->score * HI_PER_BASE / SCORE_MAX; in CnnTrashClassifyFlag()
196 SAMPLE_PRT("----trash item flag----num:%d, score:%d\n", item->num, score); in CnnTrashClassifyFlag()
197 switch (item->num) { in CnnTrashClassifyFlag()
231 "%s%s %u:%u%%", (i == 0 ? " " : ", "), trashName, (int)item in CnnTrashClassifyFlag()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/make_scripts/
H A Dprepare.py103 for item in mod_dir:
104 line = '%s%s := %s\n'%(line, item, mod_dir[item])
110 for item in var:
111 line = '%s%s := %s\n'%(line, item, var[item])
113 #for item in append_var:
114 #line = '%s%s += %s\n'%(line, item, append_var[item])
118 '\n'.join(['%s += %s'%(item, append_va
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_common.c144 ump_session_memory_list_element *item; in _ump_ukk_close() local
180 _MALI_OSK_LIST_FOREACHENTRY(item, tmp, &session_data->list_head_session_memory_list, ump_session_memory_list_element, list) { in _ump_ukk_close()
181 _mali_osk_list_del(&item->list); in _ump_ukk_close()
182 DBG_MSG(2, ("Releasing UMP memory %u as part of file close\n", item->mem->secure_id)); in _ump_ukk_close()
183 ump_dd_reference_release(item->mem); in _ump_ukk_close()
184 _mali_osk_free(item); in _ump_ukk_close()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory.h135 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);
H A Dmali_memory_block_alloc.h30 mali_block_item *items; /* information for each block item */
37 unsigned long _mali_blk_item_get_phy_addr(mali_block_item *item);
38 unsigned long _mali_blk_item_get_pfn(mali_block_item *item);
H A Dmali_memory_block_alloc.c20 unsigned long _mali_blk_item_get_phy_addr(mali_block_item *item) in _mali_blk_item_get_phy_addr() argument
22 return (item->phy_addr & ~(MALI_BLOCK_REF_MASK)); in _mali_blk_item_get_phy_addr()
25 unsigned long _mali_blk_item_get_pfn(mali_block_item *item) in _mali_blk_item_get_pfn() argument
27 return (item->phy_addr / MALI_BLOCK_SIZE); in _mali_blk_item_get_pfn()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory.h135 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);
H A Dmali_memory_block_alloc.h31 mali_block_item *items; /* information for each block item*/
38 unsigned long _mali_blk_item_get_phy_addr(mali_block_item *item);
39 unsigned long _mali_blk_item_get_pfn(mali_block_item *item);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_proc.c64 osal_proc_entry_t *item = PDE_DATA(file_inode(file)); in osal_procwrite() local
66 if ((item != NULL) && (item->write != NULL)) { in osal_procwrite()
67 return item->write(item, buf, count, (long long *)ppos); in osal_procwrite()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/ddr_init/drv/cmd_bin/
H A Dddr_training_cmd.c172 ddrtr_res->phy_st[i].rank_st[j].item = cfg->phy[i].rank[j].item; in ddr_training_result_init()
454 if (rank_st->item & mask) in dump_result_by_rank()
492 unsigned int item; in ddr_training_cmd_func() local
495 item = cfg->cur_item; in ddr_training_cmd_func()
528 ddr_write(item | DDR_BYPASS_WL_MASK, DDR_REG_BASE_SYSCTRL + SYSCTRL_DDR_TRAINING_CFG); in ddr_training_cmd_func()
532 ddr_write(item, DDR_REG_BASE_SYSCTRL + SYSCTRL_DDR_TRAINING_CFG); in ddr_training_cmd_func()

Completed in 17 milliseconds

123