Home
last modified time | relevance | path

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

12

/linux-6.6.21/lib/crypto/mpi/
Dmpih-mul.c348 mpi_ptr_t vp, mpi_size_t vsize, in mpihelp_mul_karatsuba_case() argument
353 if (!ctx->tspace || ctx->tspace_size < vsize) { in mpihelp_mul_karatsuba_case()
356 ctx->tspace = mpi_alloc_limb_space(2 * vsize); in mpihelp_mul_karatsuba_case()
359 ctx->tspace_size = vsize; in mpihelp_mul_karatsuba_case()
362 MPN_MUL_N_RECURSE(prodp, up, vp, vsize, ctx->tspace); in mpihelp_mul_karatsuba_case()
364 prodp += vsize; in mpihelp_mul_karatsuba_case()
365 up += vsize; in mpihelp_mul_karatsuba_case()
366 usize -= vsize; in mpihelp_mul_karatsuba_case()
367 if (usize >= vsize) { in mpihelp_mul_karatsuba_case()
368 if (!ctx->tp || ctx->tp_size < vsize) { in mpihelp_mul_karatsuba_case()
[all …]
Dmpi-mul.c18 mpi_size_t usize, vsize, wsize; in mpi_mul() local
30 vsize = u->nlimbs; in mpi_mul()
37 vsize = v->nlimbs; in mpi_mul()
45 wsize = usize + vsize; in mpi_mul()
65 vp = tmp_limb = mpi_alloc_limb_space(vsize); in mpi_mul()
67 MPN_COPY(vp, wp, vsize); in mpi_mul()
71 if (!vsize) in mpi_mul()
74 mpihelp_mul(wp, up, usize, vp, vsize, &cy); in mpi_mul()
Dmpi-cmp.c51 mpi_size_t vsize; in do_mpi_cmp() local
60 vsize = v->nlimbs; in do_mpi_cmp()
73 if (usize != vsize && !usign && !vsign) in do_mpi_cmp()
74 return usize - vsize; in do_mpi_cmp()
75 if (usize != vsize && usign && vsign) in do_mpi_cmp()
76 return vsize + usize; in do_mpi_cmp()
Dmpi-add.c70 mpi_size_t usize, vsize, wsize; in mpi_add() local
76 vsize = u->nlimbs; in mpi_add()
86 vsize = v->nlimbs; in mpi_add()
97 if (!vsize) { /* simple */ in mpi_add()
103 if (usize != vsize) { in mpi_add()
104 mpihelp_sub(wp, up, usize, vp, vsize); in mpi_add()
122 mpi_limb_t cy = mpihelp_add(wp, up, usize, vp, vsize); in mpi_add()
Dmpi-internal.h180 mpi_ptr_t vp, mpi_size_t vsize, mpi_limb_t *_result);
189 mpi_ptr_t vp, mpi_size_t vsize,
/linux-6.6.21/fs/squashfs/
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-6.6.21/drivers/gpu/drm/arm/display/komeda/
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);
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()
462 !malidp_in_range(&scaler->vsize, vsize_out)) { in komeda_scaler_check_cfg()
583 if (!malidp_in_range(&splitter->vsize, dflow->in_h)) { in komeda_splitter_validate()
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()
[all …]
/linux-6.6.21/drivers/media/platform/ti/davinci/
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-6.6.21/arch/s390/boot/
Dstartup.c178 unsigned long vsize; in setup_kernel_memory_layout() local
186 vsize = round_up(ident_map_size, _REGION3_SIZE) + vmemmap_size + in setup_kernel_memory_layout()
188 vsize = size_add(vsize, vmalloc_size); in setup_kernel_memory_layout()
189 if (IS_ENABLED(CONFIG_KASAN) || (vsize > _REGION2_SIZE)) { in setup_kernel_memory_layout()
215 vsize = round_down(VMALLOC_END / 2, _SEGMENT_SIZE); in setup_kernel_memory_layout()
216 vmalloc_size = min(vmalloc_size, vsize); in setup_kernel_memory_layout()
/linux-6.6.21/drivers/misc/genwqe/
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_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-6.6.21/fs/proc/
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()
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()
606 seq_put_decimal_ull(m, " ", vsize); in do_task_stat()
/linux-6.6.21/drivers/acpi/
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-6.6.21/drivers/soc/aspeed/
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()
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-6.6.21/drivers/platform/x86/intel/pmt/
Dclass.c98 unsigned long vsize = vma->vm_end - vma->vm_start; in intel_pmt_mmap() local
108 if (vsize > psize) { in intel_pmt_mmap()
115 vsize, vma->vm_page_prot)) in intel_pmt_mmap()
/linux-6.6.21/drivers/media/platform/xilinx/
Dxilinx-vtc.h29 unsigned int vsize; member
/linux-6.6.21/drivers/video/backlight/
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-6.6.21/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_component.c279 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_layer_update()
367 line_sz = st->vsize - st->afbc_crop_t - st->afbc_crop_b; in d71_layer_validate()
479 malidp_write32(reg, BLK_IN_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_wb_layer_update()
594 HV_SIZE(cin->hsize, cin->vsize)); in compiz_enable_input()
621 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_compiz_update()
688 set_range(&compiz->vsize, 64, d71->max_vsize); in d71_compiz_init()
858 set_range(&scaler->vsize, 4, 4096); in d71_scaler_init()
917 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_splitter_update()
967 set_range(&splitter->vsize, 4, d71->max_vsize); in d71_splitter_init()
1057 malidp_write32(reg, BLK_SIZE, HV_SIZE(st->hsize, st->vsize)); in d71_improc_update()
/linux-6.6.21/kernel/
Dacct.c557 unsigned long vsize = 0; in acct_collect() local
566 vsize += vma->vm_end - vma->vm_start; in acct_collect()
572 pacct->ac_mem = vsize / 1024; in acct_collect()
/linux-6.6.21/drivers/media/platform/renesas/
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-6.6.21/drivers/gpu/drm/
Ddrm_edid.c2989 int hsize, int vsize, int fresh, in drm_mode_find_dmt() argument
2999 if (vsize != ptr->vdisplay) in drm_mode_find_dmt()
3267 int hsize, int vsize, int vrefresh_rate) in drm_gtf2_mode() argument
3276 mode = drm_gtf_mode(dev, hsize, vsize, vrefresh_rate, 0, 0); in drm_gtf2_mode()
3282 mode = drm_gtf_mode_complex(dev, hsize, vsize, in drm_gtf2_mode()
3303 int hsize, vsize; in drm_mode_std() local
3321 vsize = hsize; in drm_mode_std()
3323 vsize = (hsize * 10) / 16; in drm_mode_std()
3325 vsize = (hsize * 3) / 4; in drm_mode_std()
3327 vsize = (hsize * 4) / 5; in drm_mode_std()
[all …]
/linux-6.6.21/arch/x86/kernel/cpu/resctrl/
Dpseudo_lock.c1499 unsigned long vsize = vma->vm_end - vma->vm_start; in pseudo_lock_dev_mmap() local
1550 if (vsize > psize) { in pseudo_lock_dev_mmap()
1555 memset(plr->kmem + off, 0, vsize); in pseudo_lock_dev_mmap()
1558 vsize, vma->vm_page_prot)) { in pseudo_lock_dev_mmap()
/linux-6.6.21/include/video/
Dili9320.h179 unsigned short vsize; member

12