Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/riva/
H A 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 …]
/linux/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c309 ssize_t memlen, struct vm_area_struct *vma) in mmap_cdbg() argument
314 memaddr ?: (u64)memvirt, memlen, in mmap_cdbg()
330 ssize_t memlen = 0; in hfi1_file_mmap() local
368 memlen = PAGE_ALIGN(uctxt->sc->credits * PIO_BLOCK_SIZE); in hfi1_file_mmap()
399 memlen = PAGE_SIZE; in hfi1_file_mmap()
411 memlen = rcvhdrq_size(uctxt); in hfi1_file_mmap()
424 memlen = uctxt->egrbufs.size; in hfi1_file_mmap()
425 if ((vma->vm_end - vma->vm_start) != memlen) { in hfi1_file_mmap()
427 (vma->vm_end - vma->vm_start), memlen); in hfi1_file_mmap()
447 memlen = uctxt->egrbufs.buffers[i].len; in hfi1_file_mmap()
[all …]
/linux/sound/pci/asihpi/
H A Dhpioctl.c351 unsigned int memlen; in asihpi_adapter_probe() local
386 memlen = pci_resource_len(pci_dev, idx); in asihpi_adapter_probe()
388 pcim_iomap(pci_dev, idx, memlen); in asihpi_adapter_probe()
/linux/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c365 size_t memlen = ALIGN(sizeof(struct ep11_cprb) + payload_len, 4); in alloc_cprbmem() local
369 if (memlen <= CPRB_MEMPOOL_ITEM_SIZE) in alloc_cprbmem()
372 cprb = kmalloc(memlen, GFP_KERNEL); in alloc_cprbmem()
376 memset(cprb, 0, memlen); in alloc_cprbmem()
392 size_t memlen = ALIGN(sizeof(struct ep11_cprb) + payload_len, 4); in free_cprbmem() local
395 memzero_explicit(mem, memlen); in free_cprbmem()
/linux/drivers/video/fbdev/matrox/
H A 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()
/linux/drivers/usb/host/
H A Doxu210hp-hcd.c4104 unsigned long memstart, unsigned long memlen, in oxu_create() argument
4124 hcd->rsrc_len = memlen; in oxu_create()
4143 unsigned long memstart, unsigned long memlen, in oxu_init() argument
4160 hcd = oxu_create(pdev, memstart, memlen, base, irq, 1); in oxu_init()
4169 hcd = oxu_create(pdev, memstart, memlen, base, irq, 0); in oxu_init()
4194 unsigned long memstart, memlen; in oxu_drv_probe() local
4215 memlen = resource_size(res); in oxu_drv_probe()
4234 ret = oxu_init(pdev, memstart, memlen, base, irq); in oxu_drv_probe()
/linux/drivers/misc/
H A Dfastrpc.c1490 err = fastrpc_remote_heap_alloc(fl, fl->sctx->dev, init.memlen, in fastrpc_init_create_static_process()
1580 int memlen; in fastrpc_init_create_process() local
1629 memlen = ALIGN(max(INIT_FILELEN_MAX, (int)init.filelen * 4), in fastrpc_init_create_process()
1631 err = fastrpc_buf_alloc(fl, fl->sctx->dev, memlen, in fastrpc_init_create_process()