/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | vce_v4_0.c | 159 uint32_t size; in vce_v4_0_mmsch_start() local 161 size = header->header_size + header->vce_table_size + header->uvd_table_size; in vce_v4_0_mmsch_start() 173 /* 3, notify mmsch about the size of this descriptor */ in vce_v4_0_mmsch_start() 174 WREG32(SOC15_REG_OFFSET(VCE, 0, mmVCE_MMSCH_VF_CTX_SIZE), size); in vce_v4_0_mmsch_start() 208 uint32_t offset, size; in vce_v4_0_sriov_start() local 284 size = VCE_V4_0_FW_SIZE; in vce_v4_0_sriov_start() 285 MMSCH_V1_0_INSERT_DIRECT_WT(SOC15_REG_OFFSET(VCE, 0, mmVCE_VCPU_CACHE_SIZE0), size); in vce_v4_0_sriov_start() 287 offset = (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) ? offset + size : 0; in vce_v4_0_sriov_start() 288 size = VCE_V4_0_STACK_SIZE; in vce_v4_0_sriov_start() 291 MMSCH_V1_0_INSERT_DIRECT_WT(SOC15_REG_OFFSET(VCE, 0, mmVCE_VCPU_CACHE_SIZE1), size); in vce_v4_0_sriov_start() 430 unsigned size; vce_v4_0_sw_init() local 447 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); vce_v4_0_sw_init() local 571 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); vce_v4_0_suspend() local 620 unsigned size = amdgpu_bo_size(adev->vce.vcpu_bo); vce_v4_0_resume() local 637 uint32_t offset, size; vce_v4_0_mc_resume() local [all...] |
/kernel/linux/linux-6.6/drivers/hv/ |
H A D | channel.c | 27 * hv_gpadl_size - Return the real size of a gpadl, the size that Hyper-V uses 29 * For BUFFER gpadl, Hyper-V uses the exact same size as the guest does. 35 * ringbuffer, the total size for a RING gpadl that Hyper-V uses is the 36 * total size that the guest uses minus twice of the gap size. 38 static inline u32 hv_gpadl_size(enum hv_gpadl_type type, u32 size) in hv_gpadl_size() argument 42 return size; in hv_gpadl_size() 44 /* The size of a ringbuffer must be page-aligned */ in hv_gpadl_size() 45 BUG_ON(size in hv_gpadl_size() 94 hv_gpadl_hvpfn(enum hv_gpadl_type type, void *kbuffer, u32 size, u32 send_offset, int i) hv_gpadl_hvpfn() argument 309 create_gpadl_header(enum hv_gpadl_type type, void *kbuffer, u32 size, u32 send_offset, struct vmbus_channel_msginfo **msginfo) create_gpadl_header() argument 457 __vmbus_establish_gpadl(struct vmbus_channel *channel, enum hv_gpadl_type type, void *kbuffer, u32 size, u32 send_offset, struct vmbus_gpadl *gpadl) __vmbus_establish_gpadl() argument 581 vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, u32 size, struct vmbus_gpadl *gpadl) vmbus_establish_gpadl() argument 596 request_arr_init(u32 size) request_arr_init() argument 619 vmbus_alloc_requestor(struct vmbus_requestor *rqstor, u32 size) vmbus_alloc_requestor() argument [all...] |
/test/xts/acts/distributeddatamgr/dataObjecttest/dataObjectjstest/hap/entry/src/ohosTest/js/test/ |
H A D | ObjectStoreJsunitV9.test.js | 87 * @tc.size: MediumTest
128 * @tc.size: MediumTest
158 * @tc.size: MediumTest
185 * @tc.size: MediumTest
210 * @tc.size: MediumTest
247 * @tc.size: MediumTest
295 * @tc.size: MediumTest
333 * @tc.size: MediumTest
373 * @tc.size: MediumTest
423 * @tc.size [all...] |
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_ct.c | 84 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_ignore_hbq_buffer() 95 size, get_job_ulpstatus(phba, piocbq)); in lpfc_ct_ignore_hbq_buffer() 100 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_unsol_buffer() 102 lpfc_ct_ignore_hbq_buffer(phba, piocbq, mp, size); in lpfc_ct_unsol_buffer() 346 uint32_t size; in lpfc_ct_unsol_event() local 412 size = iocb->wqe.gen_req.bde.tus.f.bdeSize; in lpfc_ct_unsol_event() 414 size = iocb->iocb.un.cont64[0].tus.f.bdeSize; in lpfc_ct_unsol_event() 415 lpfc_ct_unsol_buffer(phba, ctiocbq, bdeBuf1, size); in lpfc_ct_unsol_event() 421 size = iocb->unsol_rcv_len; in lpfc_ct_unsol_event() 423 size in lpfc_ct_unsol_event() 83 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) lpfc_ct_ignore_hbq_buffer() argument 99 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, struct lpfc_dmabuf *mp, uint32_t size) lpfc_ct_unsol_buffer() argument 489 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, __be16 cmdcode, struct ulp_bde64 *bpl, uint32_t size, int *entries) lpfc_alloc_ct_rsp() argument 1802 lpfc_vport_symbolic_port_name(struct lpfc_vport *vport, char *symbol, size_t size) lpfc_vport_symbolic_port_name() argument 1818 lpfc_vport_symbolic_node_name(struct lpfc_vport *vport, char *symbol, size_t size) lpfc_vport_symbolic_node_name() argument 1913 size_t size; lpfc_ns_cmd() local 2516 int size = sizeof(*ae); lpfc_fdmi_set_attr_u32() local 2529 int size = sizeof(*ae); lpfc_fdmi_set_attr_wwn() local 2547 int size = sizeof(*ae); lpfc_fdmi_set_attr_fullwwn() local 2564 int len, size; lpfc_fdmi_set_attr_string() local 2594 int size = sizeof(*ae); lpfc_fdmi_set_attr_fc4types() local 3192 uint32_t size, addsz; lpfc_fdmi_cmd() local 3692 u32 size; lpfc_vmid_cmd() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
H A D | navi10_ppt.c | 519 dummy_read_1_table->size = 0x40000; in navi10_tables_init() 539 kzalloc(tables[SMU_TABLE_DRIVER_SMU_CONFIG].size, GFP_KERNEL); in navi10_tables_init() 1468 int i, levels, size = 0, ret = 0; in navi10_print_clk_levels() local 1482 smu_cmn_get_sysfs_buf(&buf, &size); in navi10_print_clk_levels() 1496 return size; in navi10_print_clk_levels() 1500 return size; in navi10_print_clk_levels() 1506 return size; in navi10_print_clk_levels() 1508 size += sysfs_emit_at(buf, size, "%d: %uMhz %s\n", i, value, in navi10_print_clk_levels() 1514 return size; in navi10_print_clk_levels() 1911 uint32_t i, size = 0; navi10_get_power_profile_mode() local 1999 navi10_set_power_profile_mode(struct smu_context *smu, long *input, uint32_t size) navi10_set_power_profile_mode() argument 2177 navi10_read_sensor(struct smu_context *smu, enum amd_pp_sensors sensor, void *data, uint32_t *size) navi10_read_sensor() argument 2563 navi10_od_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, long input[], uint32_t size) navi10_od_edit_dpm_table() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | setup_64.c | 343 * calculating/retrieving the hash table size. in early_setup() 501 static void init_cache_info(struct ppc_cache_info *info, u32 size, u32 lsize, in init_cache_info() argument 504 info->size = size; in init_cache_info() 517 info->assoc = size / (sets * lsize); in init_cache_info() 525 "i-cache-size", in parse_cache_info() 527 "i-cache-block-size", in parse_cache_info() 528 "i-cache-line-size", in parse_cache_info() 531 "d-cache-size", in parse_cache_info() 533 "d-cache-block-size", in parse_cache_info() 538 u32 size, lsize, bsize, sets; parse_cache_info() local 786 pcpu_alloc_bootmem(unsigned int cpu, size_t size, size_t align) pcpu_alloc_bootmem() argument 812 pcpu_free_bootmem(void *ptr, size_t size) pcpu_free_bootmem() argument 814 memblock_free(__pa(ptr), size); pcpu_free_bootmem() local [all...] |
/kernel/linux/linux-6.6/arch/s390/mm/ |
H A D | vmem.c | 28 unsigned long size = PAGE_SIZE << order; in vmem_alloc_pages() local 32 return memblock_alloc(size, size); in vmem_alloc_pages() 59 unsigned long size = PTRS_PER_PTE * sizeof(pte_t); in vmem_pte_alloc() local 65 pte = (pte_t *) memblock_alloc(size, size); in vmem_pte_alloc() 473 static int vmem_add_range(unsigned long start, unsigned long size) in vmem_add_range() argument 476 return add_pagetable(start, start + size, true); in vmem_add_range() 482 static void vmem_remove_range(unsigned long start, unsigned long size) in vmem_remove_range() argument 485 remove_pagetable(start, start + size, tru in vmem_remove_range() 513 vmem_remove_mapping(unsigned long start, unsigned long size) vmem_remove_mapping() argument 529 vmem_add_mapping(unsigned long start, unsigned long size) vmem_add_mapping() argument [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | fhci-hcd.c | 391 int size = 0; in fhci_urb_enqueue() local 398 size = 2; in fhci_urb_enqueue() 402 size += urb->transfer_buffer_length / 4096; in fhci_urb_enqueue() 405 size++; in fhci_urb_enqueue() 407 if (size == 0) in fhci_urb_enqueue() 408 size++; in fhci_urb_enqueue() 413 size++; in fhci_urb_enqueue() 416 size = urb->number_of_packets; in fhci_urb_enqueue() 417 if (size <= 0) in fhci_urb_enqueue() 425 size in fhci_urb_enqueue() 572 int size; of_fhci_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 119 size_t size) in ttm_mem_zone_store() 129 return size; in ttm_mem_zone_store() 151 return size; in ttm_mem_zone_store() 199 size_t size) in ttm_mem_global_store() 209 return size; in ttm_mem_global_store() 219 return size; in ttm_mem_global_store() 632 struct page *page, uint64_t size, in ttm_mem_global_alloc_page() 649 return ttm_mem_global_alloc_zone(glob, zone, size, ctx); in ttm_mem_global_alloc_page() 653 uint64_t size) in ttm_mem_global_free_page() 664 ttm_mem_global_free_zone(glob, zone, size); in ttm_mem_global_free_page() 116 ttm_mem_zone_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_zone_store() argument 196 ttm_mem_global_store(struct kobject *kobj, struct attribute *attr, const char *buffer, size_t size) ttm_mem_global_store() argument 631 ttm_mem_global_alloc_page(struct ttm_mem_global *glob, struct page *page, uint64_t size, struct ttm_operation_ctx *ctx) ttm_mem_global_alloc_page() argument 652 ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page, uint64_t size) ttm_mem_global_free_page() argument 667 ttm_round_pot(size_t size) ttm_round_pot() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | ioctl.c | 301 u64 logical = 0, phys = 0, size = 0; in __generic_block_fiemap() local 332 * we set b_size to the total size we want so it will map as in __generic_block_fiemap() 361 if (past_eof && size) { in __generic_block_fiemap() 364 phys, size, in __generic_block_fiemap() 366 } else if (size) { in __generic_block_fiemap() 368 phys, size, flags); in __generic_block_fiemap() 369 size = 0; in __generic_block_fiemap() 393 phys, size, in __generic_block_fiemap() 399 * if size != 0 then we know we already have an extent in __generic_block_fiemap() 402 if (size) { in __generic_block_fiemap() 625 unsigned long size; ioctl_file_dedupe_range() local [all...] |
/kernel/linux/linux-6.6/drivers/accel/ivpu/ |
H A D | ivpu_fw.c | 114 if (fw->file->size <= FW_FILE_IMAGE_OFFSET) { in ivpu_fw_parse() 115 ivpu_err(vdev, "Firmware file is too small: %zu\n", fw->file->size); in ivpu_fw_parse() 134 if (runtime_size < fw->file->size || runtime_size > FW_RUNTIME_MAX_SIZE) { in ivpu_fw_parse() 135 ivpu_err(vdev, "Invalid firmware runtime size: %llu\n", runtime_size); in ivpu_fw_parse() 139 if (FW_FILE_IMAGE_OFFSET + image_size > fw->file->size) { in ivpu_fw_parse() 140 ivpu_err(vdev, "Invalid image size: %llu\n", image_size); in ivpu_fw_parse() 146 ivpu_err(vdev, "Invalid firmware load address size: 0x%llx and size %llu\n", in ivpu_fw_parse() 186 fw->file->size, fw->image_size, fw->runtime_size, fw->shave_nn_size); in ivpu_fw_parse() 202 u64 size in ivpu_fw_update_global_range() local 328 u64 size = fw->mem->base.size - image_end_offset; ivpu_fw_load() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | fhci-hcd.c | 392 int size = 0; in fhci_urb_enqueue() local 399 size = 2; in fhci_urb_enqueue() 403 size += urb->transfer_buffer_length / 4096; in fhci_urb_enqueue() 406 size++; in fhci_urb_enqueue() 408 if (size == 0) in fhci_urb_enqueue() 409 size++; in fhci_urb_enqueue() 413 size++; in fhci_urb_enqueue() 416 size = urb->number_of_packets; in fhci_urb_enqueue() 417 if (size <= 0) in fhci_urb_enqueue() 425 size in fhci_urb_enqueue() 572 int size; of_fhci_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_h264_if.c | 67 * @pic_w: picture width. Picture size is visible stream resolution, in pixels, 69 * size. 71 * @buf_w: buffer width. Buffer size is stream resolution in pixels aligned to 74 * @gop_size: group of picture size (idr frame) 102 * @size: buffer size (in bytes) 107 u32 size; member 117 * The work_bufs here is for storing the 'size' info shared to AP side. 119 * in AP side. The AP driver will copy the 'size' from here to the one in 135 * @pic_w: picture width. Picture size i 181 u32 size; global() member 568 h264_encode_filler(struct venc_h264_inst *inst, void *buf, int size) h264_encode_filler() argument [all...] |
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | util.h | 36 size_t size, used; \ 44 (heap)->size = (_size); \ 45 _bytes = (heap)->size * sizeof(*(heap)->data); \ 112 #define heap_full(h) ((h)->used == (h)->size) 116 size_t front, back, size, mask; \ 128 BUG_ON(!(fifo)->size); \ 130 _allocated_size = roundup_pow_of_two((fifo)->size + 1); \ 142 (fifo)->size = (_size); \ 148 (fifo)->size = (_size); \ 149 if ((fifo)->size > [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | sve-ptrace.c | 74 static void fill_buf(char *buf, size_t size) in fill_buf() argument 78 for (i = 0; i < size; i++) in fill_buf() 112 void **buf, size_t *size) in get_sve() 120 if (*size < sz) { in get_sve() 128 *size = sz; in get_sve() 137 if (sve->size <= sz) in get_sve() 140 sz = sve->size; in get_sve() 155 iov.iov_len = sve->size; in set_sve() 169 sve.size = sizeof(sve); in ptrace_set_get_inherit() 235 sve.size in ptrace_set_get_vl() 111 get_sve(pid_t pid, const struct vec_type *type, void **buf, size_t *size) get_sve() argument [all...] |
/test/xts/acts/communication_lite/wifiservice_hal/src/ |
H A D | wifiservice_func_test.c | 53 printf("WifiScanStateTask:get scan size is %u.\n", checkSize); in WifiScanStateTask() 84 unsigned int size = WIFI_MAX_STA_NUM; in HotspotStateTask() local 85 WifiErrorCode error = GetStationList(info, &size); in HotspotStateTask() 90 printf("HotspotStaJoin:list size is %u.\n", size); in HotspotStateTask() 97 static void OnWifiScanStateChangedHandler(int state, int size) in OnWifiScanStateChangedHandler() argument 102 printf("ScanStateChanged:state[%d], size[%d].\n", state, size); in OnWifiScanStateChangedHandler() 245 unsigned int size = WIFI_MAX_CONFIG_SIZE; in WifiServiceFuncTestSuiteSetUp() local 246 error = GetDeviceConfigs(config, &size); in WifiServiceFuncTestSuiteSetUp() 327 unsigned int size = WIFI_SCAN_HOTSPOT_LIMIT; global() variable 436 unsigned int size = WIFI_MAX_CONFIG_SIZE; global() variable [all...] |
/test/xts/acts/security_lite/huks/common/ |
H A D | hks_test_aes.c | 96 aadParam.blob.size = sizeof(g_aad); in ConstructParamSetEncryptDecryptAesPost() 107 ivParam.blob.size = sizeof(g_iv); in ConstructParamSetEncryptDecryptAesPost() 117 nonceParam.blob.size = sizeof(g_nonce); in ConstructParamSetEncryptDecryptAesPost() 374 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByAgree() 376 g_bufferSize = cipherText1.size; in TestAes256ByAgree() 442 (void)memset_s(cipherText1.data, cipherText1.size, 0, cipherText1.size); in TestAes256ByAgree1() 444 g_bufferSize = cipherText1.size; in TestAes256ByAgree1() 500 (void)memset_s(cipherText1.data, cipherText1.size, in TestAes256ByAgree2() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_main.c | 18 "Maximum size of packet that is copied to a new buffer on receive"); 284 /* restore frame size information */ in ixgb_reset() 543 * OS network device settings (MTU size). 667 int size; in ixgb_setup_tx_resources() local 669 size = sizeof(struct ixgb_buffer) * txdr->count; in ixgb_setup_tx_resources() 670 txdr->buffer_info = vzalloc(size); in ixgb_setup_tx_resources() 676 txdr->size = txdr->count * sizeof(struct ixgb_tx_desc); in ixgb_setup_tx_resources() 677 txdr->size = ALIGN(txdr->size, 4096); in ixgb_setup_tx_resources() 679 txdr->desc = dma_alloc_coherent(&pdev->dev, txdr->size, in ixgb_setup_tx_resources() 750 int size; ixgb_setup_rx_resources() local 921 unsigned long size; ixgb_clean_tx_ring() local 980 unsigned long size; ixgb_clean_rx_ring() local 1293 unsigned int offset = 0, size, count = 0, i; ixgb_tx_map() local 1435 __ixgb_maybe_stop_tx(struct net_device *netdev, int size) __ixgb_maybe_stop_tx() argument 1457 ixgb_maybe_stop_tx(struct net_device *netdev, struct ixgb_desc_ring *tx_ring, int size) ixgb_maybe_stop_tx() argument [all...] |
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | x_tables.c | 273 static int xt_obj_to_user(u16 __user *psize, u16 size, in xt_obj_to_user() argument 277 if (put_user(size, psize)) in xt_obj_to_user() 293 int usersize, int size, int aligned_size) in xt_data_to_user() 295 usersize = usersize ? : size; in xt_data_to_user() 309 K->u.kernel.TYPE->TYPE##size, \ 310 XT_ALIGN(K->u.kernel.TYPE->TYPE##size)) 397 textify_hooks(char *buf, size_t size, unsigned int mask, uint8_t nfproto) in textify_hooks() argument 419 res = snprintf(p, size, "%s%s", np ? "/" : "", names[i]); in textify_hooks() 421 size -= res; in textify_hooks() 434 * @size 292 xt_data_to_user(void __user *dst, const void *src, int usersize, int size, int aligned_size) xt_data_to_user() argument 443 xt_check_proc_name(const char *name, unsigned int size) xt_check_proc_name() argument 460 xt_check_match(struct xt_mtchk_param *par, unsigned int size, u16 proto, bool inv_proto) xt_check_match() argument 731 xt_compat_match_from_user(struct xt_entry_match *m, void **dstptr, unsigned int *size) xt_compat_match_from_user() argument 764 xt_compat_match_to_user(const struct xt_entry_match *m, void __user **dstptr, unsigned int *size) xt_compat_match_to_user() argument 943 xt_alloc_entry_offsets(unsigned int size) xt_alloc_entry_offsets() argument 960 xt_find_jump_offset(const unsigned int *offsets, unsigned int target, unsigned int size) xt_find_jump_offset() argument 980 xt_check_target(struct xt_tgchk_param *par, unsigned int size, u16 proto, bool inv_proto) xt_check_target() argument 1054 u64 size; xt_copy_counters() local 1111 xt_compat_target_from_user(struct xt_entry_target *t, void **dstptr, unsigned int *size) xt_compat_target_from_user() argument 1138 xt_compat_target_to_user(const struct xt_entry_target *t, void __user **dstptr, unsigned int *size) xt_compat_target_to_user() argument 1164 xt_alloc_table_info(unsigned int size) xt_alloc_table_info() argument 1292 unsigned int size; xt_jumpstack_alloc() local [all...] |
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_events_synth.c | 116 unsigned int i, size, n_u64; in synth_event_define_fields() local 122 size = event->fields[i]->size; in synth_event_define_fields() 126 ret = trace_define_field(call, type, name, offset, size, in synth_event_define_fields() 169 int size, err; in synth_field_string_size() local 190 err = kstrtouint(buf, 0, &size); in synth_field_string_size() 194 if (size > STR_VAR_LEN_MAX) in synth_field_string_size() 197 return size; in synth_field_string_size() 202 int size = 0; in synth_field_size() local 205 size in synth_field_size() 288 print_synth_event_num_val(struct trace_seq *s, char *print_fmt, char *name, int size, u64 val, char *space) print_synth_event_num_val() argument 589 ssize_t size; parse_synth_field() local 894 int size; synth_event_check_arg_fn() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.c | 142 static void add_modifier(uint64_t **mods, uint64_t *size, uint64_t *cap, uint64_t mod) in add_modifier() argument 147 if (*cap - *size < 1) { in add_modifier() 157 memcpy(new_mods, *mods, sizeof(uint64_t) * *size); in add_modifier() 163 (*mods)[*size] = mod; in add_modifier() 164 *size += 1; in add_modifier() 358 uint64_t **mods, uint64_t *size, uint64_t *capacity) in add_gfx10_1_modifiers() 362 add_modifier(mods, size, capacity, AMD_FMT_MOD | in add_gfx10_1_modifiers() 371 add_modifier(mods, size, capacity, AMD_FMT_MOD | in add_gfx10_1_modifiers() 381 add_modifier(mods, size, capacity, AMD_FMT_MOD | in add_gfx10_1_modifiers() 386 add_modifier(mods, size, capacit in add_gfx10_1_modifiers() 357 add_gfx10_1_modifiers(const struct amdgpu_device *adev, uint64_t **mods, uint64_t *size, uint64_t *capacity) add_gfx10_1_modifiers() argument 402 add_gfx9_modifiers(const struct amdgpu_device *adev, uint64_t **mods, uint64_t *size, uint64_t *capacity) add_gfx9_modifiers() argument 508 add_gfx10_3_modifiers(const struct amdgpu_device *adev, uint64_t **mods, uint64_t *size, uint64_t *capacity) add_gfx10_3_modifiers() argument 580 add_gfx11_modifiers(struct amdgpu_device *adev, uint64_t **mods, uint64_t *size, uint64_t *capacity) add_gfx11_modifiers() argument 647 uint64_t size = 0, capacity = 128; get_plane_modifiers() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
H A D | smu_v13_0_6_ppt.c | 303 uint32_t table_size = smu_table->tables[SMU_TABLE_SMU_METRICS].size; in smu_v13_0_6_get_metrics_table() 788 int i, now, size = 0; in smu_v13_0_6_print_clk_levels() local 797 smu_cmn_get_sysfs_buf(&buf, &size); in smu_v13_0_6_print_clk_levels() 800 size += sysfs_emit_at(buf, size, "unavailable\n"); in smu_v13_0_6_print_clk_levels() 801 return size; in smu_v13_0_6_print_clk_levels() 808 size += sysfs_emit_at(buf, size, "%s:\n", "GFXCLK"); in smu_v13_0_6_print_clk_levels() 824 size += sysfs_emit_at(buf, size, " in smu_v13_0_6_print_clk_levels() 1175 smu_v13_0_6_read_sensor(struct smu_context *smu, enum amd_pp_sensors sensor, void *data, uint32_t *size) smu_v13_0_6_read_sensor() argument 1548 smu_v13_0_6_usr_edit_dpm_table(struct smu_context *smu, enum PP_OD_DPM_TABLE_COMMAND type, long input[], uint32_t size) smu_v13_0_6_usr_edit_dpm_table() argument 2171 smu_v13_0_6_smu_send_hbm_bad_page_num(struct smu_context *smu, uint32_t size) smu_v13_0_6_smu_send_hbm_bad_page_num() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | stratix10-svc.c | 62 * @size: size of shared memory block 65 * This struct is used to save physical address and size of shared memory 69 * Service layer driver uses the physical address and size to create a memory 75 unsigned long size; member 83 * @size: size of memory 93 size_t size; member 101 * @size: playload size 111 size_t size; global() member 613 size_t size; svc_create_memory_pool() local 903 stratix10_svc_allocate_memory(struct stratix10_svc_chan *chan, size_t size) stratix10_svc_allocate_memory() argument [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/mtrr/ |
H A D | cleanup.c | 69 unsigned long base, size; in x86_get_mtrr_mem_range() local 78 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range() 80 base, base + size); in x86_get_mtrr_mem_range() 95 size = range_state[i].size_pfn; in x86_get_mtrr_mem_range() 96 if (!size) in x86_get_mtrr_mem_range() 104 if (base + size <= (1<<(20-PAGE_SHIFT))) in x86_get_mtrr_mem_range() 106 size -= (1<<(20-PAGE_SHIFT)) - base; in x86_get_mtrr_mem_range() 109 subtract_range(range, RANGE_NUM, base, base + size); in x86_get_mtrr_mem_range() 259 /* Compute the maximum size with which we can make a range: */ in range_to_mtrr() 311 /* Align with gran size, preven in range_to_mtrr_with_hole() 559 unsigned long size; mtrr_need_cleanup() local 686 unsigned long base, size, def, dummy; mtrr_cleanup() local 879 unsigned long i, base, size, highest_pfn = 0, def, dummy; mtrr_trim_uncached_memory() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | video-i2c.c | 94 const struct v4l2_frmsize_discrete *size; member 100 /* pixel buffer size */ 103 /* pixel size in bits */ 134 .size = 1664, 361 .size = &amg88xx_size, 374 .size = &mlx90640_size, 402 unsigned int size = data->chip->buffer_size; in queue_setup() local 408 return sizes[0] < size ? -EINVAL : 0; in queue_setup() 411 sizes[0] = size; in queue_setup() 420 unsigned int size in buffer_prepare() local 625 const struct v4l2_frmsize_discrete *size = data->chip->size; video_i2c_enum_framesizes() local 645 const struct v4l2_frmsize_discrete *size = data->chip->size; video_i2c_enum_frameintervals() local 663 const struct v4l2_frmsize_discrete *size = data->chip->size; video_i2c_try_fmt_vid_cap() local [all...] |