/linux-6.6.21/drivers/video/fbdev/riva/ |
D | nv_driver.c | 158 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 …]
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 309 ssize_t memlen, struct vm_area_struct *vma) in mmap_cdbg() argument 314 memaddr ?: (u64)memvirt, memlen, in mmap_cdbg() 329 ssize_t memlen = 0; in hfi1_file_mmap() local 367 memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE); in hfi1_file_mmap() 389 memlen = PAGE_SIZE; in hfi1_file_mmap() 401 memlen = rcvhdrq_size(uctxt); in hfi1_file_mmap() 414 memlen = uctxt->egrbufs.size; in hfi1_file_mmap() 415 if ((vma->vm_end - vma->vm_start) != memlen) { in hfi1_file_mmap() 417 (vma->vm_end - vma->vm_start), memlen); in hfi1_file_mmap() 437 memlen = uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap() [all …]
|
/linux-6.6.21/include/uapi/misc/ |
D | fastrpc.h | 93 __u32 memlen; member
|
/linux-6.6.21/sound/pci/asihpi/ |
D | hpioctl.c | 351 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()
|
/linux-6.6.21/drivers/video/fbdev/matrox/ |
D | matroxfb_crtc2.c | 195 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()
|
D | matroxfb_base.c | 554 unsigned int memlen; in matroxfb_decode_var() local 575 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var() 576 if (memlen > vramlen) { in matroxfb_decode_var() 578 memlen = var->xres_virtual * bpp * var->yres_virtual / 8; in matroxfb_decode_var() 583 if (!minfo->capable.cross4MB && (memlen > 0x400000)) { in matroxfb_decode_var()
|
/linux-6.6.21/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 763 int memlen, vramlen, mode_valid = 0; in nvidiafb_check_var() local 875 memlen = pitch * var->yres_virtual; in nvidiafb_check_var() 877 if (memlen > vramlen) { in nvidiafb_check_var() 887 memlen = pitch * var->yres; in nvidiafb_check_var() 893 memlen, var->xres_virtual, in nvidiafb_check_var()
|
/linux-6.6.21/drivers/video/fbdev/ |
D | neofb.c | 584 int memlen, vramlen; in neofb_check_var() local 694 memlen = var->xres_virtual * var->bits_per_pixel * var->yres_virtual >> 3; in neofb_check_var() 696 if (memlen > vramlen) { in neofb_check_var() 699 memlen = var->xres_virtual * var->bits_per_pixel * in neofb_check_var()
|
/linux-6.6.21/drivers/usb/host/ |
D | oxu210hp-hcd.c | 4128 unsigned long memstart, unsigned long memlen, in oxu_create() argument 4148 hcd->rsrc_len = memlen; in oxu_create() 4167 unsigned long memstart, unsigned long memlen, in oxu_init() argument 4184 hcd = oxu_create(pdev, memstart, memlen, base, irq, 1); in oxu_init() 4193 hcd = oxu_create(pdev, memstart, memlen, base, irq, 0); in oxu_init() 4218 unsigned long memstart, memlen; in oxu_drv_probe() local 4239 memlen = resource_size(res); in oxu_drv_probe() 4258 ret = oxu_init(pdev, memstart, memlen, base, irq); in oxu_drv_probe()
|
/linux-6.6.21/drivers/misc/ |
D | fastrpc.c | 1275 err = fastrpc_remote_heap_alloc(fl, fl->sctx->dev, init.memlen, in fastrpc_init_create_static_process() 1360 int memlen; in fastrpc_init_create_process() local 1409 memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4), in fastrpc_init_create_process() 1411 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen, in fastrpc_init_create_process()
|
/linux-6.6.21/drivers/video/fbdev/savage/ |
D | savagefb_driver.c | 868 int memlen, vramlen, mode_valid = 0; in savagefb_check_var() local 948 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var() 950 if (memlen > vramlen) { in savagefb_check_var() 953 memlen = var->xres_virtual * var->bits_per_pixel * in savagefb_check_var()
|