Home
last modified time | relevance | path

Searched refs:vsize (Results 1 – 25 of 40) sorted by relevance

12

/linux/lib/crypto/mpi/
H A Dmpih-mul.c339 prodp += vsize; in mpihelp_mul_karatsuba_case()
340 up += vsize; in mpihelp_mul_karatsuba_case()
341 usize -= vsize; in mpihelp_mul_karatsuba_case()
342 if (usize >= vsize) { in mpihelp_mul_karatsuba_case()
359 mpihelp_add_1(prodp + vsize, ctx->tp + vsize, vsize, in mpihelp_mul_karatsuba_case()
361 prodp += vsize; in mpihelp_mul_karatsuba_case()
362 up += vsize; in mpihelp_mul_karatsuba_case()
363 usize -= vsize; in mpihelp_mul_karatsuba_case()
380 vp, vsize, in mpihelp_mul_karatsuba_case()
387 mpihelp_add_1(prodp + vsize, ctx->tspace + vsize, usize, cy); in mpihelp_mul_karatsuba_case()
[all …]
H A Dmpi-mul.c18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
31 vsize = u->nlimbs; in mpi_mul()
38 vsize = v->nlimbs; in mpi_mul()
46 wsize = usize + vsize; in mpi_mul()
72 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul()
76 MPN_COPY(vp, wp, vsize); in mpi_mul()
80 if (!vsize) in mpi_mul()
83 err = mpihelp_mul(wp, up, usize, vp, vsize, &cy); in mpi_mul()
H A Dmpi-cmp.c50 mpi_size_t usize, vsize; in mpi_cmp() local
56 vsize = v->nlimbs; in mpi_cmp()
61 if (usize != vsize && !u->sign && !v->sign) in mpi_cmp()
62 return usize - vsize; in mpi_cmp()
63 if (usize != vsize && u->sign && v->sign) in mpi_cmp()
64 return vsize - usize; in mpi_cmp()
H A Dmpi-add.c19 mpi_size_t usize, vsize, wsize; in mpi_add() local
26 vsize = u->nlimbs; in mpi_add()
38 vsize = v->nlimbs; in mpi_add()
51 if (!vsize) { /* simple */ in mpi_add()
57 if (usize != vsize) { in mpi_add()
58 mpihelp_sub(wp, up, usize, vp, vsize); in mpi_add()
76 mpi_limb_t cy = mpihelp_add(wp, up, usize, vp, vsize); in mpi_add()
H A Dmpi-internal.h173 mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result);
180 mpi_ptr_t vp, mpi_size_t vsize,
/linux/arch/s390/boot/
H A Dstartup.c228 unsigned long max_mappable, vsize; in get_vmem_size() local
231 vsize = round_up(SZ_2G + max_mappable, rte_size) + in get_vmem_size()
234 return size_add(vsize, vmalloc_size); in get_vmem_size()
244 unsigned long vsize; in setup_kernel_memory_layout() local
257 (vsize > _REGION2_SIZE && kaslr_enabled())) { in setup_kernel_memory_layout()
284 vsize = min(vsize, vmax); in setup_kernel_memory_layout()
288 kaslr_len = max(KASLR_LEN, vmax - vsize); in setup_kernel_memory_layout()
294 } else if (vmax < __NO_KASLR_END_KERNEL || vsize > __NO_KASLR_END_KERNEL) { in setup_kernel_memory_layout()
309 vsize = (VMALLOC_END - FIXMAP_SIZE) / 2; in setup_kernel_memory_layout()
310 vsize = round_down(vsize, _SEGMENT_SIZE); in setup_kernel_memory_layout()
[all …]
/linux/fs/squashfs/
H A Dxattr.c94 le32_to_cpu(val.vsize)); in squashfs_listxattr()
115 int err, vsize; in squashfs_xattr_get() local
171 vsize = le32_to_cpu(val.vsize); in squashfs_xattr_get()
173 if (vsize > buffer_size) { in squashfs_xattr_get()
178 &offset, vsize); in squashfs_xattr_get()
191 le32_to_cpu(val.vsize)); in squashfs_xattr_get()
195 err = count ? vsize : -ENODATA; in squashfs_xattr_get()
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline.h245 u16 hsize, vsize; member
256 struct malidp_range hsize, vsize; member
279 struct malidp_range hsize, vsize; member
283 u16 hsize, vsize; member
291 u16 hsize, vsize; member
309 struct malidp_range hsize, vsize; member
314 u16 hsize, vsize; member
330 u16 hsize, vsize; member
528 u16 *hsize, u16 *vsize);
H A Dkomeda_pipeline_state.c364 st->vsize = kfb->aligned_h; in komeda_layer_validate()
371 st->vsize = dflow->in_h; in komeda_layer_validate()
420 st->vsize = dflow->out_h; in komeda_wb_layer_validate()
461 if (!malidp_in_range(&scaler->vsize, vsize_in) || in komeda_scaler_check_cfg()
600 st->vsize = dflow->in_h; in komeda_splitter_validate()
657 u16 *hsize, u16 *vsize) in pipeline_composition_size() argument
663 if (vsize) in pipeline_composition_size()
664 *vsize = m->vdisplay; in pipeline_composition_size()
700 cin->vsize = dflow->out_h; in komeda_compiz_set_input()
743 dflow->in_h = st->vsize; in komeda_compiz_validate()
[all …]
/linux/drivers/media/platform/ti/davinci/
H A Dvpif.c75 .vsize = 525,
92 .vsize = 625,
109 .vsize = 750,
126 .vsize = 750,
146 .vsize = 1125,
166 .vsize = 1125,
183 .vsize = 1125,
205 .vsize = 525,
225 .vsize = 625,
316 value = (config->vsize & vpifregs[config_channel_id].len_mask); in vpif_set_mode_info()
/linux/drivers/misc/genwqe/
H A Dcard_dev.c392 unsigned long vsize = vma->vm_end - vma->vm_start; in genwqe_vma_close() local
401 dma_map = __genwqe_search_mapping(cfile, vma->vm_start, vsize, in genwqe_vma_close()
407 vsize); in genwqe_vma_close()
438 unsigned long pfn, vsize = vma->vm_end - vma->vm_start; in genwqe_mmap() local
443 if (vsize == 0) in genwqe_mmap()
446 if (get_order(vsize) > MAX_PAGE_ORDER) in genwqe_mmap()
455 dma_map->size = vsize; in genwqe_mmap()
456 dma_map->nr_pages = DIV_ROUND_UP(vsize, PAGE_SIZE); in genwqe_mmap()
457 dma_map->k_vaddr = __genwqe_alloc_consistent(cd, vsize, in genwqe_mmap()
464 if (capable(CAP_SYS_ADMIN) && (vsize > sizeof(dma_addr_t))) in genwqe_mmap()
[all …]
/linux/fs/proc/
H A Dtask_nommu.c85 unsigned long vsize = 0; in task_vsize() local
89 vsize += vma->vm_end - vma->vm_start; in task_vsize()
91 return vsize; in task_vsize()
H A Darray.c470 unsigned long vsize, eip, esp, wchan = 0; in do_task_stat() local
489 vsize = eip = esp = 0; in do_task_stat()
493 vsize = task_vsize(mm); in do_task_stat()
613 seq_put_decimal_ull(m, " ", vsize); in do_task_stat()
/linux/drivers/acpi/
H A Dpfr_telemetry.c305 unsigned long psize, vsize; in pfrt_log_mmap() local
331 vsize = vma->vm_end - vma->vm_start; in pfrt_log_mmap()
332 if (vsize > psize) in pfrt_log_mmap()
337 vsize, vma->vm_page_prot)) in pfrt_log_mmap()
/linux/drivers/soc/aspeed/
H A Daspeed-p2a-ctrl.c102 unsigned long vsize; in aspeed_p2a_mmap() local
110 vsize = vma->vm_end - vma->vm_start; in aspeed_p2a_mmap()
121 vsize, prot)) in aspeed_p2a_mmap()
H A Daspeed-lpc-ctrl.c52 unsigned long vsize = vma->vm_end - vma->vm_start; in aspeed_lpc_ctrl_mmap() local
63 vsize, prot)) in aspeed_lpc_ctrl_mmap()
/linux/drivers/media/platform/xilinx/
H A Dxilinx-vtc.h29 unsigned int vsize; member
/linux/drivers/video/backlight/
H A Dvgg2432a4.c170 ili9320_write(lcd, ILI9320_VERT_END, cfg->vsize - 1); in vgg2432a4_lcd_init()
173 ILI9320_DRIVER2_NL(((cfg->vsize - 240) / 8) + 0x1D)); in vgg2432a4_lcd_init()
/linux/drivers/platform/x86/intel/pmt/
H A Dclass.c111 unsigned long vsize = vma->vm_end - vma->vm_start; in intel_pmt_mmap() local
121 if (vsize > psize) { in intel_pmt_mmap()
128 vsize, vma->vm_page_prot)) in intel_pmt_mmap()
/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_component.c281 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_layer_update()
369 line_sz = st->vsize - st->afbc_crop_t - st->afbc_crop_b; in d71_layer_validate()
481 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_wb_layer_update()
596 HV_SIZE(cin->hsize, cin->vsize)); in compiz_enable_input()
623 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_compiz_update()
690 set_range(&compiz->vsize, 64, d71->max_vsize); in d71_compiz_init()
860 set_range(&scaler->vsize, 4, 4096); in d71_scaler_init()
919 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_splitter_update()
969 set_range(&splitter->vsize, 4, d71->max_vsize); in d71_splitter_init()
1059 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_improc_update()
/linux/kernel/
H A Dacct.c556 unsigned long vsize = 0; in acct_collect() local
565 vsize += vma->vm_end - vma->vm_start; in acct_collect()
571 pacct->ac_mem = vsize / 1024; in acct_collect()
/linux/drivers/media/platform/renesas/
H A Drcar_fdp1.c477 unsigned int vsize; member
818 unsigned int vsize = src_q_data->format.height; in fdp1_set_ipc_sensor() local
829 ((vsize - 1) << FD1_IPC_SENSOR_CTL2_Y_SHIFT), in fdp1_set_ipc_sensor()
892 | (q_data->vsize << FD1_RPF_SIZE_V_SHIFT); in fdp1_configure_rpf()
1617 q_data->vsize = pix->height; in fdp1_set_format()
1619 q_data->vsize /= 2; in fdp1_set_format()
1650 dst_data->vsize = dst_data->format.height; in fdp1_set_format()
1841 fbuf->addrs[i] += q_data->vsize * in fdp1_buf_prepare_field()
1943 ctx->smsk_size = bpp * stride * q_data->vsize; in fdp1_start_streaming()
/linux/arch/x86/kernel/cpu/resctrl/
H A Dpseudo_lock.c1500 unsigned long vsize = vma->vm_end - vma->vm_start; in pseudo_lock_dev_mmap() local
1551 if (vsize > psize) { in pseudo_lock_dev_mmap()
1556 memset(plr->kmem + off, 0, vsize); in pseudo_lock_dev_mmap()
1559 vsize, vma->vm_page_prot)) { in pseudo_lock_dev_mmap()
/linux/include/video/
H A Dili9320.h179 unsigned short vsize; member
/linux/drivers/gpu/drm/
H A Ddrm_edid.c3024 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument
3034 if (vsize != ptr->vdisplay) in drm_mode_find_dmt()
3338 int hsize, vsize; in drm_mode_std() local
3356 vsize = hsize; in drm_mode_std()
3358 vsize = (hsize * 10) / 16; in drm_mode_std()
3360 vsize = (hsize * 3) / 4; in drm_mode_std()
3362 vsize = (hsize * 4) / 5; in drm_mode_std()
3364 vsize = (hsize * 9) / 16; in drm_mode_std()
3368 ((hsize == 1360 && vsize == 765) || in drm_mode_std()
3369 (hsize == 1368 && vsize == 769))) { in drm_mode_std()
[all …]

12