Home
last modified time | relevance | path

Searched refs:memlen (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/riva/
Dnv_driver.c158 unsigned long memlen = 0; in riva_get_memlen() local
174 memlen = 1024 * 4; in riva_get_memlen()
177 memlen = 1024 * 2; in riva_get_memlen()
180 memlen = 1024 * 8; in riva_get_memlen()
184 memlen = 1024 * 8; in riva_get_memlen()
192 memlen = 1024 * 8; in riva_get_memlen()
195 memlen = 1024 * 4; in riva_get_memlen()
198 memlen = 1024 * 2; in riva_get_memlen()
205 memlen = ((NV_RD32(chip->PFB, 0x00000000)>>12)&0x0F) * in riva_get_memlen()
210 memlen = 1024 * 32; in riva_get_memlen()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
Dfile_ops.c360 ssize_t memlen = 0; in hfi1_file_mmap() local
393 memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE); in hfi1_file_mmap()
413 memlen = PAGE_SIZE; in hfi1_file_mmap()
425 memlen = rcvhdrq_size(uctxt); in hfi1_file_mmap()
436 memlen = uctxt->egrbufs.size; in hfi1_file_mmap()
437 if ((vma->vm_end - vma->vm_start) != memlen) { in hfi1_file_mmap()
439 (vma->vm_end - vma->vm_start), memlen); in hfi1_file_mmap()
450 memlen = uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()
460 memlen, in hfi1_file_mmap()
464 addr += memlen; in hfi1_file_mmap()
[all …]
/kernel/linux/linux-5.10/sound/pci/asihpi/
Dhpioctl.c351 unsigned int memlen; in asihpi_adapter_probe() local
386 memlen = pci_resource_len(pci_dev, idx); in asihpi_adapter_probe()
389 memlen); in asihpi_adapter_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/matrox/
Dmatroxfb_crtc2.c195 unsigned int memlen; in matroxfb_dh_decode_var() local
213 memlen = var->xres_virtual * var->yres_virtual * (var->bits_per_pixel >> 3); in matroxfb_dh_decode_var()
214 if (memlen > vramlen) in matroxfb_dh_decode_var()
Dmatroxfb_base.c553 unsigned int memlen; in matroxfb_decode_var() local
574 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
575 if (memlen > vramlen) { in matroxfb_decode_var()
577 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var()
582 if (!minfo->capable.cross4MB && (memlen > 0x400000)) { in matroxfb_decode_var()
/kernel/linux/linux-5.10/drivers/video/fbdev/nvidia/
Dnvidia.c762 int memlen, vramlen, mode_valid = 0; in nvidiafb_check_var() local
872 memlen = pitch * var->yres_virtual; in nvidiafb_check_var()
874 if (memlen > vramlen) { in nvidiafb_check_var()
884 memlen = pitch * var->yres; in nvidiafb_check_var()
890 memlen, var->xres_virtual, in nvidiafb_check_var()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dneofb.c583 int memlen, vramlen; in neofb_check_var() local
693 memlen = var->xres_virtual * var->bits_per_pixel * var->yres_virtual >> 3; in neofb_check_var()
695 if (memlen > vramlen) { in neofb_check_var()
698 memlen = var->xres_virtual * var->bits_per_pixel * in neofb_check_var()
/kernel/linux/linux-5.10/drivers/usb/host/
Doxu210hp-hcd.c4127 unsigned long memstart, unsigned long memlen, in oxu_create() argument
4147 hcd->rsrc_len = memlen; in oxu_create()
4166 unsigned long memstart, unsigned long memlen, in oxu_init() argument
4183 hcd = oxu_create(pdev, memstart, memlen, base, irq, 1); in oxu_init()
4192 hcd = oxu_create(pdev, memstart, memlen, base, irq, 0); in oxu_init()
4217 unsigned long memstart, memlen; in oxu_drv_probe() local
4243 memlen = resource_size(res); in oxu_drv_probe()
4262 ret = oxu_init(pdev, memstart, memlen, base, irq); in oxu_drv_probe()
/kernel/linux/linux-5.10/drivers/video/fbdev/savage/
Dsavagefb_driver.c867 int memlen, vramlen, mode_valid = 0; in savagefb_check_var() local
944 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var()
946 if (memlen > vramlen) { in savagefb_check_var()
949 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var()
/kernel/linux/linux-5.10/drivers/misc/
Dfastrpc.c1032 int memlen; in fastrpc_init_create_process() local
1072 memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4), in fastrpc_init_create_process()
1074 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen, in fastrpc_init_create_process()