/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 72 cq->memsize, cq->queue, in destroy_cq() 96 cq->sw_queue = kzalloc(cq->memsize, GFP_KERNEL); in create_cq() 102 cq->queue = dma_alloc_coherent(&rdev->lldi.pdev->dev, cq->memsize, in create_cq() 109 memset(cq->queue, 0, cq->memsize); in create_cq() 167 dma_free_coherent(&rdev->lldi.pdev->dev, cq->memsize, cq->queue, in create_cq() 759 size_t memsize, hwentries; in c4iw_create_cq() local 796 memsize = hwentries * sizeof *chp->cq.queue; in c4iw_create_cq() 802 memsize = roundup(memsize, PAGE_SIZE); in c4iw_create_cq() 803 hwentries = memsize / sizeof *chp->cq.queue; in c4iw_create_cq() 805 memsize -= PAGE_SIZE; in c4iw_create_cq() [all …]
|
D | qp.c | 51 c4iw_ocqp_pool_free(rdev, sq->dma_addr, sq->memsize); in dealloc_oc_sq() 56 dma_free_coherent(&(rdev->lldi.pdev->dev), sq->memsize, sq->queue, in dealloc_host_sq() 72 sq->dma_addr = c4iw_ocqp_pool_alloc(rdev, sq->memsize); in alloc_oc_sq() 85 sq->queue = dma_alloc_coherent(&(rdev->lldi.pdev->dev), sq->memsize, in alloc_host_sq() 102 wq->rq.memsize, wq->rq.queue, in destroy_qp() 160 memset(wq->sq.queue, 0, wq->sq.memsize); in create_qp() 164 wq->rq.memsize, &(wq->rq.dma_addr), in create_qp() 173 memset(wq->rq.queue, 0, wq->rq.memsize); in create_qp() 272 wq->rq.memsize, wq->rq.queue, in create_qp() 1430 qhp->wq.sq.memsize = (sqsize + 1) * sizeof *qhp->wq.sq.queue; in c4iw_create_qp() [all …]
|
D | user.h | 47 __u64 memsize; member
|
D | t4.h | 300 size_t memsize; member 320 size_t memsize; member 460 size_t memsize; member
|
/drivers/video/ |
D | vgastate.c | 99 for (i = 0; i < state->memsize; i++) in save_vga_text() 185 for (i = 0; i < state->memsize; i++) in restore_vga_text() 400 if (state->memsize && state->memsize < 4 * 8192) { in save_vga() 404 if (!state->memsize) in save_vga() 405 state->memsize = 8 * 8192; in save_vga() 410 fbbase = ioremap(state->membase, state->memsize); in save_vga() 433 saved->vga_font1 = vmalloc(state->memsize); in save_vga() 467 void __iomem *fbbase = ioremap(state->membase, state->memsize); in restore_vga()
|
D | w100fb.c | 562 int memsize; in w100fb_save_vidmem() local 565 memsize=par->mach->mem->size; in w100fb_save_vidmem() 566 par->saved_extmem = vmalloc(memsize); in w100fb_save_vidmem() 568 memcpy_fromio(par->saved_extmem, remapped_fbuf + (W100_FB_BASE-MEM_WINDOW_BASE), memsize); in w100fb_save_vidmem() 570 memsize=MEM_INT_SIZE; in w100fb_save_vidmem() 571 par->saved_intmem = vmalloc(memsize); in w100fb_save_vidmem() 573 memcpy_fromio(par->saved_intmem, remapped_fbuf + (W100_FB_BASE-MEM_INT_BASE_VALUE), memsize); in w100fb_save_vidmem() 575 memcpy_fromio(par->saved_intmem, remapped_fbuf + (W100_FB_BASE-MEM_WINDOW_BASE), memsize); in w100fb_save_vidmem() 580 int memsize; in w100fb_restore_vidmem() local 583 memsize=par->mach->mem->size; in w100fb_restore_vidmem() [all …]
|
D | pm3fb.c | 1234 unsigned long memsize = 0; in pm3fb_size_memory() local 1274 memsize = i; in pm3fb_size_memory() 1279 DPRINTK("First detect pass already got %ld MB\n", memsize + 1); in pm3fb_size_memory() 1281 if (memsize + 1 == i) { in pm3fb_size_memory() 1298 memsize = i; in pm3fb_size_memory() 1303 DPRINTK("Second detect pass got %ld MB\n", memsize + 1); in pm3fb_size_memory() 1310 memsize = 1048576 * (memsize + 1); in pm3fb_size_memory() 1312 DPRINTK("Returning 0x%08lx bytes\n", memsize); in pm3fb_size_memory() 1314 return memsize; in pm3fb_size_memory()
|
D | sstfb.c | 825 static int __devinit sst_get_memsize(struct fb_info *info, __u32 *memsize) in sst_get_memsize() argument 831 *memsize = (mem * 0x100000); in sst_get_memsize() 832 printk(KERN_INFO "supplied memsize: %#x\n", *memsize); in sst_get_memsize() 851 *memsize = 0x400000; in sst_get_memsize() 853 *memsize = 0x200000; in sst_get_memsize() 855 *memsize = 0x100000; in sst_get_memsize() 856 f_ddprintk("detected memsize: %dMB\n", *memsize >> 20); in sst_get_memsize()
|
D | tridentfb.c | 67 static int memsize __devinitdata; 79 module_param(memsize, int, 0); 790 if (memsize) in get_memsize() 791 k = memsize * Kb; in get_memsize() 1624 memsize = simple_strtoul(opt + 8, NULL, 0); in tridentfb_setup()
|
/drivers/s390/char/ |
D | tape.h | 350 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_cc() argument 354 ccw->count = memsize; in tape_ccw_cc() 360 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end() argument 364 ccw->count = memsize; in tape_ccw_end()
|
/drivers/staging/xgifb/ |
D | vb_init.c | 609 unsigned short data = 0, memsize = 0; in XGINew_SetDRAMSizeReg() local 631 memsize = data >> 4; in XGINew_SetDRAMSizeReg() 646 return memsize; in XGINew_SetDRAMSizeReg() 653 unsigned short data = 0, memsize = 0; in XGINew_SetDRAMSize20Reg() local 675 memsize = data >> 4; in XGINew_SetDRAMSize20Reg() 691 return memsize; in XGINew_SetDRAMSize20Reg() 1024 unsigned short memsize, addr; in XGINew_DDRSizing340() local 1035 memsize = XGINew_SetDRAMSize20Reg(i, in XGINew_DDRSizing340() 1038 if (memsize == 0) in XGINew_DDRSizing340() 1041 addr = memsize + (pVBInfo->ram_channel - 2) + 20; in XGINew_DDRSizing340() [all …]
|
/drivers/net/wireless/bcmdhd/ |
D | siutils.c | 1798 uint32 memsize = 0; in si_socdevram_size() local 1826 memsize += socram_banksize(sii, regs, i, SOCRAM_MEMTYPE_DEVRAM); in si_socdevram_size() 1837 return memsize; in si_socdevram_size() 1846 uint32 memsize = 0, banksz; in si_socdevram_remap_size() local 1887 memsize += banksz; in si_socdevram_remap_size() 1903 return memsize; in si_socdevram_remap_size() 1918 uint memsize = 0; in si_socram_size() local 1938 memsize = 1 << (16 + (coreinfo & SRCI_MS0_MASK)); in si_socram_size() 1940 memsize = 1 << (SR_BSZ_BASE + (coreinfo & SRCI_SRBSZ_MASK)); in si_socram_size() 1941 memsize *= (coreinfo & SRCI_SRNB_MASK) >> SRCI_SRNB_SHIFT; in si_socram_size() [all …]
|
D | wl_cfgp2p.c | 788 s32 memsize; in wl_cfgp2p_escan() local 809 memsize = sizeof(wl_p2p_scan_t) + eparams_size; in wl_cfgp2p_escan() 811 if (memsize > sizeof(scanparambuf)) { in wl_cfgp2p_escan() 813 memsize, sizeof(scanparambuf))); in wl_cfgp2p_escan() 816 memset(memblk, 0, memsize); in wl_cfgp2p_escan() 917 memblk, memsize, wl->ioctl_buf, WLC_IOCTL_MAXLEN, bssidx, &wl->ioctl_buf_sync); in wl_cfgp2p_escan()
|
/drivers/isdn/sc/ |
D | init.c | 48 unsigned long memsize = 0; in sc_init() local 215 memsize = 0x100000; in sc_init() 223 memsize = 0x10000; in sc_init() 315 sc_adapter[cinst]->ramsize = memsize; in sc_init()
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_user.h | 58 __u32 memsize; member
|
/drivers/net/wireless/bcmdhd/include/ |
D | bcm_mpool_pub.h | 182 unsigned int memsize,
|
/drivers/video/via/ |
D | viafbdev.h | 77 unsigned int memsize; /*size of fbmem */ member
|
D | viafbdev.c | 247 if (line > VIA_PITCH_MAX || line * var->yres_virtual > ppar->memsize) in viafb_check_var() 483 viaparinfo->memsize - viaparinfo->fbmem_used; in viafb_ioctl() 1811 viaparinfo->memsize = vdev->fbmem_len; in via_fb_pci_probe() 1812 viaparinfo->fbmem_free = viaparinfo->memsize; in via_fb_pci_probe() 1869 viaparinfo1->memsize = viaparinfo->memsize - in via_fb_pci_probe() 1871 viaparinfo->memsize = viafb_second_offset; in via_fb_pci_probe() 1875 viaparinfo1->fbmem_free = viaparinfo1->memsize - in via_fb_pci_probe() 1877 viaparinfo->fbmem_free = viaparinfo->memsize; in via_fb_pci_probe()
|
/drivers/scsi/pm8001/ |
D | pm8001_init.c | 336 pm8001_ha->io_mem[logicalBar].memsize = in pm8001_ioremap() 340 pm8001_ha->io_mem[logicalBar].memsize); in pm8001_ioremap() 346 pm8001_ha->io_mem[logicalBar].memsize)); in pm8001_ioremap() 349 pm8001_ha->io_mem[logicalBar].memsize = 0; in pm8001_ioremap()
|
D | pm8001_sas.h | 343 u32 memsize; member
|
/drivers/video/matrox/ |
D | matroxfb_base.c | 1594 unsigned int memsize; in initMatrox2() local 1667 memsize = b->base->maxvram; in initMatrox2() 1671 if (!request_mem_region(video_base_phys, memsize, "matroxfb FB")) { in initMatrox2() 1674 minfo->video.len_maximum = memsize; in initMatrox2() 1679 if (mem && (mem < memsize)) in initMatrox2() 1680 memsize = mem; in initMatrox2() 1689 if (mga_ioremap(video_base_phys, memsize, MGA_IOREMAP_FB, &minfo->video.vbase)) { in initMatrox2() 1691 video_base_phys, memsize); in initMatrox2() 1727 if (!matroxfb_getmemory(minfo, memsize, &minfo->video.len) || !minfo->video.len) { in initMatrox2()
|
/drivers/staging/tidspbridge/pmgr/ |
D | dbll.c | 161 static void *allocate(struct dynamic_loader_sym *this, unsigned memsize); 1022 static void *allocate(struct dynamic_loader_sym *this, unsigned memsize) in allocate() argument 1030 buf = kzalloc(memsize, GFP_KERNEL); in allocate()
|
/drivers/video/mbx/ |
D | mbxfb.c | 960 fbi->screen_size = pdata->memsize; in mbxfb_probe() 966 fbi->fix.smem_len = pdata->memsize; in mbxfb_probe()
|
/drivers/scsi/ |
D | gdth.h | 640 u32 memsize; /* memory size (bytes) */ member
|
/drivers/video/sis/ |
D | init.c | 1569 unsigned int memsize = SiS_Pr->VideoMemorySize; in SiS_ClearBuffer() local 1573 if(!memaddr || !memsize) return; in SiS_ClearBuffer() 1577 memset_io(memaddr, 0, memsize); in SiS_ClearBuffer()
|