Home
last modified time | relevance | path

Searched refs:usage (Results 1 – 25 of 203) sorted by relevance

123456789

/device/soc/rockchip/common/sdk_linux/drivers/hid/
Dhid-input.c56 #define map_abs(c) hid_map_usage(hidinput, usage, &bit, &max, EV_ABS, (c))
57 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
58 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c))
59 #define map_led(c) hid_map_usage(hidinput, usage, &bit, &max, EV_LED, (c))
61 #define map_abs_clear(c) hid_map_usage_clear(hidinput, usage, &bit, &max, EV_ABS, (c))
62 #define map_key_clear(c) hid_map_usage_clear(hidinput, usage, &bit, &max, EV_KEY, (c))
64 static bool match_scancode(struct hid_usage *usage, unsigned int cur_idx, unsigned int scancode) in match_scancode() argument
66 return (usage->hid & (HID_USAGE_PAGE | HID_USAGE)) == scancode; in match_scancode()
69 static bool match_keycode(struct hid_usage *usage, unsigned int cur_idx, unsigned int keycode) in match_keycode() argument
74 return (usage->type == EV_KEY && usage->code == keycode); in match_keycode()
[all …]
Dhid-core.c149 field->usage = (struct hid_usage *)(field + 1); in hid_register_field()
150 field->value = (s32 *)(field->usage + usages); in hid_register_field()
163 unsigned usage; in open_collection() local
166 usage = parser->local.usage[0]; in open_collection()
201 collection->usage = usage; in open_collection()
238 return collection[index].usage; in hid_lookup_collection()
251 parser->local.usage[index] &= HID_COMPLETE_USAGE_MASK; in complete_usage()
252 parser->local.usage[index] |= (parser->global.usage_page & HID_COMPLETE_USAGE_MASK) in complete_usage()
260 static int hid_add_usage(struct hid_parser *parser, unsigned usage, u8 size) in hid_add_usage() argument
265 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()
[all …]
/device/soc/amlogic/a311d/hardware/display/src/display_gralloc/
Ddisplay_buffer_vdi_impl.cpp50 if (info.usage & HBM_USE_MEM_DMA) { in AllocMem()
54 DISPLAY_LOGE("the usage is not support 0x(%{public}" PRIx64 ")", info.usage); in AllocMem()
61 if (handle.usage & HBM_USE_MEM_DMA) { in FreeMem()
66 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in FreeMem()
72 if (handle.usage & HBM_USE_MEM_DMA) { in Mmap()
76 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in Mmap()
83 if (handle.usage & HBM_USE_MEM_DMA) { in Unmap()
87 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in Unmap()
94 if (handle.usage & HBM_USE_MEM_DMA) { in FlushCache()
98 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in FlushCache()
[all …]
Ddisplay_gralloc.c27 if (info->usage & HBM_USE_MEM_DMA) { in AllocMem()
31 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", info->usage); in AllocMem()
39 if (handle->usage & HBM_USE_MEM_DMA) { in FreeMem()
50 if (handle->usage & HBM_USE_MEM_DMA) { in Mmap()
61 if (handle->usage & HBM_USE_MEM_DMA) { in Unmap()
72 if (handle->usage & HBM_USE_MEM_DMA) { in FlushCache()
83 if (handle->usage & HBM_USE_MEM_DMA) { in InvalidateCache()
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
Ddisplay_buffer_vdi_impl.cpp50 if (info.usage & HBM_USE_MEM_DMA) { in AllocMem()
54 DISPLAY_LOGE("the usage is not support 0x(%{public}" PRIx64 ")", info.usage); in AllocMem()
61 if (handle.usage & HBM_USE_MEM_DMA) { in FreeMem()
66 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in FreeMem()
72 if (handle.usage & HBM_USE_MEM_DMA) { in Mmap()
76 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in Mmap()
83 if (handle.usage & HBM_USE_MEM_DMA) { in Unmap()
87 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in Unmap()
94 if (handle.usage & HBM_USE_MEM_DMA) { in FlushCache()
98 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", handle.usage); in FlushCache()
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttclient_c/samples/linux/
Dstdoutsub.c57 void usage() in usage() function
114 usage(); in getopts()
117 usage(); in getopts()
124 usage(); in getopts()
131 usage(); in getopts()
138 usage(); in getopts()
145 usage(); in getopts()
152 usage(); in getopts()
170 usage(); in getopts()
173 usage(); in getopts()
[all …]
/device/board/isoftstone/yangfan/common/mqtt/mqttclient/samples/linux/
Dstdoutsub.cpp55 void usage() in usage() function
112 usage(); in getopts()
115 usage(); in getopts()
122 usage(); in getopts()
129 usage(); in getopts()
136 usage(); in getopts()
143 usage(); in getopts()
150 usage(); in getopts()
168 usage(); in getopts()
171 usage(); in getopts()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
Dump_kernel_descriptor_mapping.c44 …_mali_osk_set_nonatomic_bit(0, map->table->usage); /* reserve bit 0 to prevent NULL/zero logic to … in ump_descriptor_mapping_create()
67 descriptor = _mali_osk_find_first_zero_bit(map->table->usage, map->current_nr_mappings); in ump_descriptor_mapping_allocate_mapping()
86 …_mali_osk_memcpy(new_table->usage, old_table->usage, (sizeof(unsigned long)*map->current_nr_mappin… in ump_descriptor_mapping_allocate_mapping()
94 _mali_osk_set_nonatomic_bit(descriptor, map->table->usage); in ump_descriptor_mapping_allocate_mapping()
107 … && (descriptor < map->current_nr_mappings) && _mali_osk_test_bit(descriptor, map->table->usage)) { in ump_descriptor_mapping_get()
119 … && (descriptor < map->current_nr_mappings) && _mali_osk_test_bit(descriptor, map->table->usage)) { in ump_descriptor_mapping_set()
130 … && (descriptor < map->current_nr_mappings) && _mali_osk_test_bit(descriptor, map->table->usage)) { in ump_descriptor_mapping_free()
132 _mali_osk_clear_nonatomic_bit(descriptor, map->table->usage); in ump_descriptor_mapping_free()
144 table->usage = (u32 *)((u8 *)table + sizeof(ump_descriptor_table)); in descriptor_table_alloc()
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
Ddisplay_gralloc.c27 if (info->usage & HBM_USE_MEM_DMA) { in AllocMem()
31 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", info->usage); in AllocMem()
39 if (handle->usage & HBM_USE_MEM_DMA) { in FreeMem()
50 if (handle->usage & HBM_USE_MEM_DMA) { in Mmap()
61 if (handle->usage & HBM_USE_MEM_DMA) { in Unmap()
72 if (handle->usage & HBM_USE_MEM_DMA) { in FlushCache()
83 if (handle->usage & HBM_USE_MEM_DMA) { in InvalidateCache()
/device/soc/allwinner/t507/hardware/display/src/display_gralloc/
Ddisplay_gralloc.c27 if (info->usage & HBM_USE_MEM_DMA) { in AllocMem()
31 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", info->usage); in AllocMem()
39 if (handle->usage & HBM_USE_MEM_DMA) { in FreeMem()
50 if (handle->usage & HBM_USE_MEM_DMA) { in Mmap()
61 if (handle->usage & HBM_USE_MEM_DMA) { in Unmap()
72 if (handle->usage & HBM_USE_MEM_DMA) { in FlushCache()
83 if (handle->usage & HBM_USE_MEM_DMA) { in InvalidateCache()
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
Ddisplay_gralloc.c27 if (info->usage & HBM_USE_MEM_DMA) { in AllocMem()
31 DISPLAY_LOGE("the usage is not support 0x%{public}" PRIx64 "", info->usage); in AllocMem()
39 if (handle->usage & HBM_USE_MEM_DMA) { in FreeMem()
50 if (handle->usage & HBM_USE_MEM_DMA) { in Mmap()
61 if (handle->usage & HBM_USE_MEM_DMA) { in Unmap()
72 if (handle->usage & HBM_USE_MEM_DMA) { in FlushCache()
83 if (handle->usage & HBM_USE_MEM_DMA) { in InvalidateCache()
/device/qemu/hardware/display/
Ddisplay_gralloc.c123 buffer->hdl.usage = info->usage; in InitBufferHandle()
218 switch (buffer->usage) { in AllocMmz()
230 HDF_LOGE("%s: not support memory usage: 0x%" PRIx64 "", __func__, buffer->usage); in AllocMmz()
235 buffer->usage, ret); in AllocMmz()
286 if (bufferHdl->usage == HBM_USE_MEM_SHARE) { in AllocMem()
288 } else if ((bufferHdl->usage == HBM_USE_MEM_DMA ) || (bufferHdl->usage == HBM_USE_MEM_MMZ )) { in AllocMem()
291 HDF_LOGE("%s: not support memory usage: 0x%" PRIx64 "", __func__, bufferHdl->usage); in AllocMem()
325 switch (buffer->usage) { in FreeMem()
337 HDF_LOGE("%s: not support memory usage: 0x%" PRIx64 "", __func__, buffer->usage); in FreeMem()
394 if (buffer->usage == HBM_USE_MEM_MMZ_CACHE) { in MmapCache()
[all …]
/device/soc/nxp/hardware/display/src/display_gralloc/
Ddisplay_gralloc.cpp28 return AllocatorManager::GetInstance().GetAllocator(info->usage)->AllocMem(*info, handle); in AllocMem()
35 AllocatorManager::GetInstance().GetAllocator(handle->usage)->FreeMem(handle); in FreeMem()
42 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Mmap(*handle); in Mmap()
49 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Unmap(*handle); in Unmap()
56 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->FlushCache(*handle); in FlushCache()
63 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->InvalidateCache(*handle); in InvalidateCache()
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
Ddisplay_gralloc.cpp25 return AllocatorManager::GetInstance().GetAllocator(info->usage)->AllocMem(*info, handle); in AllocMem()
32 AllocatorManager::GetInstance().GetAllocator(handle->usage)->FreeMem(handle); in FreeMem()
39 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Mmap(*handle); in Mmap()
46 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->Unmap(*handle); in Unmap()
53 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->FlushCache(*handle); in FlushCache()
60 return AllocatorManager::GetInstance().GetAllocator(handle->usage)->InvalidateCache(*handle); in InvalidateCache()
/device/soc/rockchip/common/sdk_linux/scripts/
Drepack-bootimg6 usage() { function
8 usage: $0 [-h] [-z] --boot_img BOOT_IMG [--out OUT] [--kernel KERNEL] [--ramdisk RAMDISK] [--second…
58 usage
62 usage
85 usage
91 usage
Dmkimg7 usage() { function
9 usage: $0 [-h] --dtb DTB
25 usage
29 usage
68 usage
/device/soc/allwinner/t507/hardware/display/src/display_gfx/
Ddisplay_gfx.c277 int32_t usage = 0; in doFlit() local
370 usage |= rkBlendType; in doFlit()
372 usage |= IM_ALPHA_BLEND_PRE_MUL; in doFlit()
380 usage |= rkRotateType; in doFlit()
385 usage |= rkMirrorType; in doFlit()
391 usage |= IM_SYNC; in doFlit()
394 usage = 0; in doFlit()
414 usage = rkRotateType | rkMirrorType | IM_SYNC; in doFlit()
415 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
427 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ | HBM_USE_CPU_WRITE, in doFlit()
[all …]
/device/soc/rockchip/common/hardware/display/src/display_gfx/
Ddisplay_gfx.c277 int32_t usage = 0; in doFlit() local
374 usage |= rkBlendType; in doFlit()
376 usage |= IM_ALPHA_BLEND_PRE_MUL; in doFlit()
385 usage |= rkRotateType; in doFlit()
391 usage |= rkMirrorType; in doFlit()
398 usage |= IM_SYNC; in doFlit()
401 usage = 0; in doFlit()
421 usage = rkRotateType | rkMirrorType | IM_SYNC; in doFlit()
422 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
434 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ | HBM_USE_CPU_WRITE, in doFlit()
[all …]
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/
Ddisplay_gfx.c275 int32_t usage = 0; in doFlit() local
372 usage |= rkBlendType; in doFlit()
374 usage |= IM_ALPHA_BLEND_PRE_MUL; in doFlit()
382 usage |= rkRotateType; in doFlit()
387 usage |= rkMirrorType; in doFlit()
393 usage |= IM_SYNC; in doFlit()
396 usage = 0; in doFlit()
416 usage = rkRotateType | rkMirrorType | IM_SYNC; in doFlit()
417 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
429 .usage = HBM_USE_MEM_DMA | HBM_USE_CPU_READ | HBM_USE_CPU_WRITE, in doFlit()
[all …]
/device/soc/rockchip/rk3588/hardware/rga/include/
Dplatform_gralloc4.h86 int get_usage(buffer_handle_t handle, uint64_t* usage);
88 int get_allocation_size(buffer_handle_t handle, uint64_t* usage);
99 uint64_t usage,
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
Dcryp_symc.c189 static hi_void cryp_symc_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage) in cryp_symc_setiv() argument
211 hisi_ctx->iv_usage = usage; in cryp_symc_setiv()
342 symc_node_usage usage = SYMC_NODE_USAGE_NORMAL; in symc_get_out_usage() local
345 usage = SYMC_NODE_USAGE_LAST; in symc_get_out_usage()
348 return usage; in symc_get_out_usage()
351 static hi_s32 symc_add_next_node(cryp_symc_context *ctx, hi_u32 *total, symc_node_usage usage) in symc_add_next_node() argument
377 usage = symc_get_out_usage(ctx->mode, cur, ctx->total_nodes); in symc_add_next_node()
378 ret = drv_symc_add_outbuf(ctx->hard_chn, ctx->output_list[cur], total_len, usage); in symc_add_next_node()
391 usage = symc_get_out_usage(ctx->mode, cur, ctx->total_nodes); in symc_add_next_node()
392 ret = symc_add_buf(ctx, usage); /* Add one node. */ in symc_add_next_node()
[all …]
/device/soc/rockchip/rk3568/hardware/display/src/display_gfx/
Ddisplay_gfx.c268 int32_t usage = 0; in doFlit() local
368 usage |= rkBlendType; in doFlit()
376 usage |= rkTransformType; in doFlit()
382 usage |= IM_SYNC; in doFlit()
385 usage = 0; in doFlit()
406 usage = rkTransformType | IM_SYNC; in doFlit()
407 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
425 ret = improcess(srcRgaBuffer, bRgbBuffer, dstRgaBuffer, srect, prect, drect, usage); in doFlit()
436 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/
Ddisplay_gfx.c268 int32_t usage = 0; in doFlit() local
368 usage |= rkBlendType; in doFlit()
376 usage |= rkTransformType; in doFlit()
382 usage |= IM_SYNC; in doFlit()
385 usage = 0; in doFlit()
406 usage = rkTransformType | IM_SYNC; in doFlit()
407 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
425 ret = improcess(srcRgaBuffer, bRgbBuffer, dstRgaBuffer, srect, prect, drect, usage); in doFlit()
436 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
/device/soc/rockchip/rk3588/hardware/display/src/display_gfx/
Ddisplay_gfx.c268 int32_t usage = 0; in doFlit() local
368 usage |= rkBlendType; in doFlit()
376 usage |= rkTransformType; in doFlit()
382 usage |= IM_SYNC; in doFlit()
385 usage = 0; in doFlit()
406 usage = rkTransformType | IM_SYNC; in doFlit()
407 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
425 ret = improcess(srcRgaBuffer, bRgbBuffer, dstRgaBuffer, srect, prect, drect, usage); in doFlit()
436 ret = improcess(srcRgaBuffer, dstRgaBuffer, bRgbBuffer, srect, drect, prect, usage); in doFlit()
/device/soc/chipsea/cst85/liteos_m/sdk/modules/console/api/
Dcommand.h24 const char *usage; /* Usage message */ member
32 int command_add(const char *name, const char *usage, int maxargs, cmd_func_t func);

123456789