/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 36 * set_attr_from_string - Parse a string to set elements of an array 43 * @array: Address of an object that can be accessed like an array. 44 * @nelems: Number of elements in the array. 45 * @set_attr_fn: Function to be called back for each array element. 49 static int set_attr_from_string(char *const buf, void *const array, size_t const nelems, in set_attr_from_string() argument 88 set_attr_fn(array, index, new_size); in set_attr_from_string() 94 int kbase_debugfs_helper_set_attr_from_string(const char *const buf, void *const array, size_t const nelems, in kbase_debugfs_helper_set_attr_from_string() argument 104 err = set_attr_from_string(wbuf, array, nelems, set_attr_fn); in kbase_debugfs_helper_set_attr_from_string() 110 ssize_t kbase_debugfs_helper_get_attr_to_string(char *const buf, size_t const size, void *const array, in kbase_debugfs_helper_get_attr_to_string() argument 133 void *const array = sfile->private; kbase_debugfs_helper_seq_write() local 165 void *const array = sfile->private; kbase_debugfs_helper_seq_read() local [all...] |
H A D | mali_kbase_mem_pool_debugfs.c | 29 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_trim() argument 31 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_trim() 40 void kbase_mem_pool_debugfs_set_max_size(void *const array, size_t const index, size_t const value) in kbase_mem_pool_debugfs_set_max_size() argument 42 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_set_max_size() 51 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument 53 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_size() 62 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument 64 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_max_size() 73 void kbase_mem_pool_config_debugfs_set_max_size(void *const array, size_t const index, size_t const value) in kbase_mem_pool_config_debugfs_set_max_size() argument 75 struct kbase_mem_pool_config *const configs = array; in kbase_mem_pool_config_debugfs_set_max_size() 84 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument [all...] |
H A D | mali_kbase_mem_pool_debugfs.h | 44 * @array: Address of the first in an array of physical memory pools. 45 * @index: A memory group ID to be used as an index into the array of memory 53 void kbase_mem_pool_debugfs_trim(void *array, size_t index, size_t value); 59 * @array: Address of the first in an array of physical memory pools. 60 * @index: A memory group ID to be used as an index into the array of memory 67 void kbase_mem_pool_debugfs_set_max_size(void *array, size_t index, size_t value); 72 * @array: Address of the first in an array o [all...] |
H A D | mali_kbase_debugfs_helper.h | 28 * attribute value from an array 30 * @array: Address of an object that can be accessed like an array. 34 typedef void (*kbase_debugfs_helper_set_attr_fn)(void *array, size_t index, size_t value); 38 * array 42 * values than the specified number of array elements. 50 * @array: Address of an object that can be accessed like an array. 51 * @nelems: Number of elements in the array. 52 * @set_attr_fn: Function to be called back for each array elemen [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
H A D | mali_kbase_debugfs_helper.c | 35 * set_attr_from_string - Parse a string to set elements of an array 42 * @array: Address of an object that can be accessed like an array. 43 * @nelems: Number of elements in the array. 44 * @set_attr_fn: Function to be called back for each array element. 49 set_attr_from_string(char *const buf, void *const array, size_t const nelems, in set_attr_from_string() argument 85 set_attr_fn(array, index, new_size); in set_attr_from_string() 145 const char *const buf, void *const array, size_t const nelems, in kbase_debugfs_helper_set_attr_from_string() 161 err = set_attr_from_string(wbuf, array, nelems, in kbase_debugfs_helper_set_attr_from_string() 169 char *const buf, size_t const size, void *const array, in kbase_debugfs_helper_get_attr_to_string() 144 kbase_debugfs_helper_set_attr_from_string( const char *const buf, void *const array, size_t const nelems, kbase_debugfs_helper_set_attr_fn *const set_attr_fn) kbase_debugfs_helper_set_attr_from_string() argument 168 kbase_debugfs_helper_get_attr_to_string( char *const buf, size_t const size, void *const array, size_t const nelems, kbase_debugfs_helper_get_attr_fn *const get_attr_fn) kbase_debugfs_helper_get_attr_to_string() argument 195 void *const array = sfile->private; kbase_debugfs_helper_seq_write() local 234 void *const array = sfile->private; kbase_debugfs_helper_seq_read() local [all...] |
H A D | mali_kbase_mem_pool_debugfs.c | 28 void kbase_mem_pool_debugfs_trim(void *const array, size_t const index, in kbase_mem_pool_debugfs_trim() argument 31 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_trim() 40 void kbase_mem_pool_debugfs_set_max_size(void *const array, in kbase_mem_pool_debugfs_set_max_size() argument 43 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_set_max_size() 52 size_t kbase_mem_pool_debugfs_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_size() argument 54 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_size() 63 size_t kbase_mem_pool_debugfs_max_size(void *const array, size_t const index) in kbase_mem_pool_debugfs_max_size() argument 65 struct kbase_mem_pool *const mem_pools = array; in kbase_mem_pool_debugfs_max_size() 74 void kbase_mem_pool_config_debugfs_set_max_size(void *const array, in kbase_mem_pool_config_debugfs_set_max_size() argument 77 struct kbase_mem_pool_config *const configs = array; in kbase_mem_pool_config_debugfs_set_max_size() 86 kbase_mem_pool_config_debugfs_max_size(void *const array, size_t const index) kbase_mem_pool_config_debugfs_max_size() argument [all...] |
H A D | mali_kbase_mem_pool_debugfs.h | 44 * @array: Address of the first in an array of physical memory pools. 45 * @index: A memory group ID to be used as an index into the array of memory 53 void kbase_mem_pool_debugfs_trim(void *array, size_t index, size_t value); 59 * @array: Address of the first in an array of physical memory pools. 60 * @index: A memory group ID to be used as an index into the array of memory 67 void kbase_mem_pool_debugfs_set_max_size(void *array, size_t index, 73 * @array: Address of the first in an array o [all...] |
H A D | mali_kbase_debugfs_helper.h | 27 * attribute value from an array 29 * @array: Address of an object that can be accessed like an array. 33 typedef void kbase_debugfs_helper_set_attr_fn(void *array, size_t index, 38 * array 42 * values than the specified number of array elements. 50 * @array: Address of an object that can be accessed like an array. 51 * @nelems: Number of elements in the array. 52 * @set_attr_fn: Function to be called back for each array elemen [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/ |
H A D | wal_regdb.h | 37 #define array_size(array) (sizeof(array) / sizeof((array)[0])) 71 #define array_size(array) (sizeof(array) / sizeof((array)[0]))
|
/device/soc/rockchip/rk3568/hardware/omx_il/libOMXPlugin/ |
H A D | OMXPlugin.cpp | 195 OMX_U8 **array = new OMX_U8 *[numRoles]; in GetRolesForComponent() local 197 array[i] = new OMX_U8[OMX_MAX_STRINGNAME_SIZE]; in GetRolesForComponent() 202 const_cast<OMX_STRING>(name), &numRoles2, array); in GetRolesForComponent() 208 string s((const char *)array[i]); in GetRolesForComponent() 211 delete[] array[i]; in GetRolesForComponent() 212 array[i] = NULL; in GetRolesForComponent() 215 delete[] array; in GetRolesForComponent() 216 array = NULL; in GetRolesForComponent()
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
H A D | sync_debug.c | 127 struct dma_fence_array *array = to_dma_fence_array(sync_file->fence); in sync_print_sync_file() local 129 for (i = 0; i < array->num_fences; ++i) { in sync_print_sync_file() 130 sync_print_fence(s, array->fences[i], true); in sync_print_sync_file()
|
/device/soc/rockchip/common/sdk_linux/kernel/sched/ |
H A D | rt.c | 89 struct rt_prio_array *array; in init_rt_rq() local 92 array = &rt_rq->active; in init_rt_rq() 94 INIT_LIST_HEAD(array->queue + i); in init_rt_rq() 95 __clear_bit(i, array->bitmap); in init_rt_rq() 98 __set_bit(MAX_RT_PRIO, array->bitmap); in init_rt_rq() 1217 struct rt_prio_array *array = &rt_rq->active; in dec_rt_prio() local 1219 rt_rq->highest_prio.curr = sched_find_first_bit(array->bitmap); in dec_rt_prio() 1338 static void __delist_rt_entity(struct sched_rt_entity *rt_se, struct rt_prio_array *array) in __delist_rt_entity() argument 1342 if (list_empty(array->queue + rt_se_prio(rt_se))) { in __delist_rt_entity() 1343 __clear_bit(rt_se_prio(rt_se), array in __delist_rt_entity() 1352 struct rt_prio_array *array = &rt_rq->active; __enqueue_rt_entity() local 1388 struct rt_prio_array *array = &rt_rq->active; __dequeue_rt_entity() local 1503 struct rt_prio_array *array = &rt_rq->active; requeue_rt_entity() local 1716 struct rt_prio_array *array = &rt_rq->active; pick_next_rt_entity() local [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/ |
H A D | bcmutils.h | 220 /* Read an array of values from a possibly slice-specific nvram string */ 572 /* GCC 4.8+ complains when using our OFFSETOF macro in array length declarations. */ 597 #ifndef ARRAYLAST /* returns pointer to last array element */ 614 extern void setbit(void *array, uint bit); 615 extern void clrbit(void *array, uint bit); 616 extern bool isset(const void *array, uint bit); 617 extern bool isclr(const void *array, uint bit); 626 /* read/write/clear field in a consecutive bits in an octet array. 627 * 'addr' is the octet array's start byte address 628 * 'size' is the octet array' [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.h | 40 #include <linux/fence-array.h> 42 #include <linux/dma-fence-array.h>
|
H A D | mali_internal_sync.c | 385 struct fence_array *array; in mali_internal_sync_fence_set_fence_array() local 387 struct dma_fence_array *array; in mali_internal_sync_fence_set_fence_array() 394 array = fence_array_create(num_fences, fences, in mali_internal_sync_fence_set_fence_array() 397 array = dma_fence_array_create(num_fences, fences, in mali_internal_sync_fence_set_fence_array() 400 if (!array){ in mali_internal_sync_fence_set_fence_array() 403 sync_fence->fence = &array->base; in mali_internal_sync_fence_set_fence_array()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_internal_sync.h | 41 #include <linux/fence-array.h> 43 #include <linux/dma-fence-array.h>
|
H A D | mali_internal_sync.c | 434 struct fence_array *array; in mali_internal_sync_fence_set_fence_array() local 436 struct dma_fence_array *array; in mali_internal_sync_fence_set_fence_array() 443 array = fence_array_create(num_fences, fences, fence_context_alloc(1), in mali_internal_sync_fence_set_fence_array() 446 array = dma_fence_array_create(num_fences, fences, in mali_internal_sync_fence_set_fence_array() 449 if (!array) { in mali_internal_sync_fence_set_fence_array() 452 sync_fence->fence = &array->base; in mali_internal_sync_fence_set_fence_array()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/ |
H A D | mali_kbase_csf_kcpu_debugfs.c | 140 kctx->csf.kcpu_queues.array[idx]; in kbasep_csf_kcpu_debugfs_show() 145 kctx->csf.kcpu_queues.array[idx]); in kbasep_csf_kcpu_debugfs_show()
|
H A D | mali_kbase_csf_kcpu.c | 1445 if ((id < KBASEP_MAX_KCPU_QUEUES) && kctx->csf.kcpu_queues.array[id]) { in delete_queue() 1447 kctx->csf.kcpu_queues.array[id]; in delete_queue() 1463 kctx->csf.kcpu_queues.array[id] = NULL; in delete_queue() 1971 if (!kctx->csf.kcpu_queues.array[enq->id]) { in kbase_csf_kcpu_queue_enqueue() 1976 queue = kctx->csf.kcpu_queues.array[enq->id]; in kbase_csf_kcpu_queue_enqueue() 2120 kctx->csf.kcpu_queues.array[idx] = NULL; in kbase_csf_kcpu_queue_context_init() 2141 if (WARN_ON(!kctx->csf.kcpu_queues.array[id])) in kbase_csf_kcpu_queue_context_term() 2165 * array as an id, so the number of elements in the array can't be in kbase_csf_kcpu_queue_new() 2179 if (WARN_ON(kctx->csf.kcpu_queues.array[id in kbase_csf_kcpu_queue_new() [all...] |
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | bcmutils.c | 618 * array indexed access and 3 arithmetic operations. When not defined, a runtime 624 * Note: wd_bitmap[] is statically declared and is not ROM friendly ... array 2697 const uint8 *pdata, /* pointer to array of data to process */ in hndcrc8() 2770 const uint8 *pdata, /* pointer to array of data to process */ in hndcrc16() 3017 * tainted elt->len to index into array 'elt->data'. in bcm_tlv_buffer_advance_past() 3241 /* print out whcih bits in octet array 'addr' are set. bcm_bit_desc_t:bit is a bit offset. */ 3676 /* Set bit in byte array. */ 3678 setbit(void *array, uint bit) in setbit() argument 3680 ((uint8 *)array)[bit / NBBY] |= 1 << (bit % NBBY); in setbit() 3683 /* Clear bit in byte array 3685 clrbit(void *array, uint bit) clrbit() argument 3692 isset(const void *array, uint bit) isset() argument 3699 isclr(const void *array, uint bit) isclr() argument 3707 set_bitrange(void *array, uint start, uint end, uint maxbit) set_bitrange() argument 4169 array_value_mismatch_count(uint8 value, uint8 *array, int array_size) array_value_mismatch_count() argument 4188 array_nonzero_count(uint8 *array, int array_size) array_nonzero_count() argument 4195 array_nonzero_count_int16(int16 *array, int array_size) array_nonzero_count_int16() argument 4210 array_zero_count(uint8 *array, int array_size) array_zero_count() argument 4275 verify_ordered_array_uint8(uint8 *array, int array_size, uint8 range_lo, uint8 range_hi) verify_ordered_array_uint8() argument 4284 verify_ordered_array_int16(int16 *array, int array_size, int16 range_lo, int16 range_hi) verify_ordered_array_int16() argument 4293 verify_array_values(uint8 *array, int array_size, int range_lo, int range_hi, bool zero_terminated) verify_array_values() argument [all...] |
/device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
H A D | cgroup-v1.c | 193 /* array of xids */ 340 pid_t *array; in pidlist_array_load() local 342 int pid, n = 0; /* used for populating the array */ in pidlist_array_load() 356 array = kvmalloc_array(length, sizeof(pid_t), GFP_KERNEL); in pidlist_array_load() 357 if (!array) { in pidlist_array_load() 360 /* now, populate the array */ in pidlist_array_load() 373 array[n++] = pid; in pidlist_array_load() 379 sort(array, length, sizeof(pid_t), cmppid, NULL); in pidlist_array_load() 381 length = pidlist_uniq(array, length); in pidlist_array_load() 386 kvfree(array); in pidlist_array_load() [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | bpf.h | 786 u32 func_idx; /* 0 for non-func prog, the index in func array for func prog */ 860 /* 'Ownership' of prog array is claimed by the first program that 870 /* Programs with direct jumps into programs part of this array. */ 1015 bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp); 1028 /* an array of programs to be executed under rcu_lock. 1036 * is removed from the array before bpf_prog_put(). 1038 * since other cpus are walking the array of pointers in parallel. 1053 bool bpf_prog_array_is_empty(struct bpf_prog_array *array); 1057 int bpf_prog_array_delete_safe_at(struct bpf_prog_array *array, int index); 1058 int bpf_prog_array_update_at(struct bpf_prog_array *array, in [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
H A D | MQTTProperties.h | 120 int count; /**< number of property entries in the array */ 121 int max_count; /**< max number of properties that the currently allocated array can store */ 123 MQTTProperty *array; /**< array of properties */ member 136 * Add a property pointer to the property array. There is no memory allocation. 152 * Reads a property list from a character buffer into an array.
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/backend/ |
H A D | mali_kbase_timeline_csf.c | 163 kctx->csf.kcpu_queues.array[i]; in kbase_create_timeline_objects()
|
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/ddr_init/boot/ |
H A D | start.S | 84 mcr p15, 0, r0, c7, c5, 6 @ invalidate BP array
|