Home
last modified time | relevance | path

Searched refs:usage (Results 1 - 25 of 86) sorted by relevance

1234

/device/soc/rockchip/common/sdk_linux/drivers/hid/
H A 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 in match_keycode()
77 match_index(struct hid_usage *usage, unsigned int cur_idx, unsigned int idx) match_index() argument
89 struct hid_usage *usage; hidinput_find_key() local
116 struct hid_usage *usage; hidinput_locate_usage() local
133 struct hid_usage *usage; hidinput_getkeycode() local
152 struct hid_usage *usage; hidinput_setkeycode() local
538 hidinput_configure_usage(struct hid_input *hidinput, struct hid_field *field, struct hid_usage *usage) hidinput_configure_usage() argument
1723 hidinput_handle_scroll(struct hid_usage *usage, struct input_dev *input, __s32 value) hidinput_handle_scroll() argument
1756 hidinput_hid_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value) hidinput_hid_event() argument
2065 struct hid_usage *usage; __hidinput_change_resolution_multipliers() local
2147 struct hid_usage *usage; report_features() local
[all...]
H A 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()
157 * Open a collection. The type/usage is pushed on the stack.
163 unsigned usage; in open_collection() local
166 usage = parser->local.usage[0]; in open_collection()
201 collection->usage = usage; in open_collection()
227 * and return the usage.
238 return collection[index].usage; in hid_lookup_collection()
260 hid_add_usage(struct hid_parser *parser, unsigned usage, u8 size) hid_add_usage() argument
767 hid_scan_input_usage(struct hid_parser *parser, u32 usage) hid_scan_input_usage() argument
776 hid_scan_feature_usage(struct hid_parser *parser, u32 usage) hid_scan_feature_usage() argument
1043 struct hid_usage *usage; hid_apply_multiplier_to_field() local
1137 struct hid_usage *usage; hid_setup_resolution_multiplier() local
1458 hid_match_usage(struct hid_device *hid, struct hid_usage *usage) hid_match_usage() argument
1476 hid_process_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, s32 value, int interrupt) hid_process_event() argument
[all...]
/device/soc/rockchip/rk3588/hardware/display/src/display_gralloc/
H A 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 in Unmap()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.c44 _mali_osk_set_nonatomic_bit(0, map->table->usage); /* reserve bit 0 to prevent NULL/zero logic to kick in */ 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_mappings) / BITS_PER_LONG); in ump_descriptor_mapping_allocate_mapping()
93 /* we have found a valid descriptor, set the value and usage bit */ in ump_descriptor_mapping_allocate_mapping()
94 _mali_osk_set_nonatomic_bit(descriptor, map->table->usage); in ump_descriptor_mapping_allocate_mapping()
107 if ((descriptor > 0) && (descriptor < map->current_nr_mappings) && _mali_osk_test_bit(descriptor, map->table->usage)) { in ump_descriptor_mapping_get()
119 if ((descriptor > 0) && (descriptor < map->current_nr_mappings) && _mali_osk_test_bit(descriptor, map->table->usage)) { in ump_descriptor_mapping_set()
130 if ((descriptor > 0) && (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()
[all...]
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A 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/rk3399/hardware/display/src/display_gralloc/
H A 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/
H A 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()
234 HDF_LOGE("%s: mmzalloc failure, usage = 0x%" PRIx64 ", ret 0x%x", __func__, 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 in AllocMem()
[all...]
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/
H A 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()
H A Dallocator_manager.cpp66 Allocator* AllocatorManager::GetAllocator(uint64_t usage) in GetAllocator() argument
69 if ((usage & HBM_USE_MEM_FB) != 0) { in GetAllocator()
H A Dallocator.cpp24 "format %{public}d phy 0x%{public}" PRIx64 " usage 0x%{public}" PRIx64 " viraddr 0x%{public}p", in DumpBufferHandle()
26 handle.usage, handle.virAddr); in DumpBufferHandle()
138 bufferInfo.usage_ = info.usage; in ConvertToBufferInfo()
170 priBuffer->usage = bufferInfo.usage_; in AllocMem()
221 if (handle.usage & HBM_USE_CPU_WRITE) { in DmaBufferSync()
224 if (handle.usage & HBM_USE_CPU_READ) { in DmaBufferSync()
/device/soc/rockchip/common/sdk_linux/scripts/
H A Drepack-bootimg6 usage() { function
8 usage: $0 [-h] [-z] --boot_img BOOT_IMG [--out OUT] [--kernel KERNEL] [--ramdisk RAMDISK] [--second SECOND] [--dtb DTB ] [--recovery_dtbo RECOVERY_DTBO] -o OUTPUT
58 usage
62 usage
85 usage
91 usage
H A Dmkimg7 usage() { function
9 usage: $0 [-h] --dtb DTB
25 usage
29 usage
68 usage
/device/soc/rockchip/rk3588/hardware/rga/include/
H A 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/rockchip/common/hardware/display/src/display_gfx/
H A 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 in doFlit()
[all...]
/device/soc/rockchip/rk3399/hardware/display/src/display_gfx/
H A 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 in doFlit()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/crypto/
H A 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); /* Ad in symc_add_next_node()
415 symc_node_usage usage; symc_add_buf_list() local
583 cryp_symc_crypto_init(cryp_symc_context *hisi_ctx, hi_u32 operation, symc_multi_pack *pack, symc_node_usage usage) cryp_symc_crypto_init() argument
735 cryp_aead_ccm_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage) cryp_aead_ccm_setiv() argument
778 cryp_aead_gcm_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage) cryp_aead_gcm_setiv() argument
1488 cryp_symc_setiv_default(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage) cryp_symc_setiv_default() argument
[all...]
/device/soc/rockchip/rk3566/hardware/display/src/display_gfx/
H A 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/rk3568/hardware/display/src/display_gfx/
H A 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/
H A 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/common/hardware/rga/include/
H A 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);
/device/soc/rockchip/rk3399/hardware/rga/include/
H A Dplatform_gralloc4.h90 int get_usage(buffer_handle_t handle, uint64_t* usage);
92 int get_allocation_size(buffer_handle_t handle, uint64_t* usage);
/device/soc/rockchip/rk3568/hardware/rga/include/
H A Dplatform_gralloc4.h90 int get_usage(buffer_handle_t handle, uint64_t* usage);
92 int get_allocation_size(buffer_handle_t handle, uint64_t* usage);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/extend/include/
H A Dext_alg.h51 hi_s32 ext_mbedtls_aead_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage);
150 hi_s32 ext_mbedtls_symc_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage);
223 hi_s32 ext_sm4_setiv(hi_void *ctx, const hi_u8 *iv, hi_u32 ivlen, hi_u32 usage);
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/drivers/core/include/
H A Ddrv_symc.h130 SYMC_NODE_USAGE_FIRST = 0x01, /* The first buffer, the usage of iv is expired */
216 symc_node_usage *usage; member
234 hi_u32 iv_usage; /* symc IV usage */
260 symc_node_usage *usage_list; /* usage of node list */
381 hi_s32 drv_symc_add_inbuf(hi_u32 chn_num, compat_addr buf_phy, hi_u32 buf_size, symc_node_usage usage);
391 hi_s32 drv_symc_add_outbuf(hi_u32 chn_num, compat_addr buf_phy, hi_u32 buf_size, symc_node_usage usage);
394 * brief add a buffer usage to the nodes list.
397 * param[in] usage usage.
400 hi_void drv_symc_add_buf_usage(hi_u32 chn_num, hi_u32 in, symc_node_usage usage);
[all...]
/device/soc/rockchip/rk3588/kernel/scripts/
H A Dmkimg7 usage() { function
9 usage: $0 [-h] --dtb DTB
25 usage
29 usage
67 usage

Completed in 14 milliseconds

1234