Home
last modified time | relevance | path

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

/linux-2.6.39/arch/arm/mach-omap2/
Diommu2.c62 #define get_cam_va_mask(pgsz) \ argument
63 (((pgsz) == MMU_CAM_PGSZ_16M) ? 0xff000000 : \
64 ((pgsz) == MMU_CAM_PGSZ_1M) ? 0xfff00000 : \
65 ((pgsz) == MMU_CAM_PGSZ_64K) ? 0xffff0000 : \
66 ((pgsz) == MMU_CAM_PGSZ_4K) ? 0xfffff000 : 0)
200 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in omap2_alloc_cr()
210 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; in omap2_alloc_cr()
228 attr <<= ((e->pgsz & MMU_CAM_PGSZ_4K) ? 0 : 6); in omap2_get_pte_attr()
314 e->pgsz = cr->cam & MMU_CAM_PGSZ_MASK; in omap2_cr_to_e()
/linux-2.6.39/arch/arm/plat-omap/
Diopgtable.h91 e->pgsz = flags & MMU_CAM_PGSZ_MASK; in iotlb_init_entry()
96 return iopgsz_to_bytes(e->pgsz); in iotlb_init_entry()
Diovmm.c474 int pgsz; in map_iovm_area() local
482 pgsz = bytes_to_iopgsz(bytes); in map_iovm_area()
483 if (pgsz < 0) in map_iovm_area()
485 flags |= pgsz; in map_iovm_area()
Diommu.c615 switch (e->pgsz) { in iopgtable_store_entry_core()
/linux-2.6.39/drivers/pci/
Diov.c415 u32 pgsz; in sriov_init() local
452 pci_read_config_dword(dev, pos + PCI_SRIOV_SUP_PGSIZE, &pgsz); in sriov_init()
454 pgsz &= ~((1 << i) - 1); in sriov_init()
455 if (!pgsz) in sriov_init()
458 pgsz &= ~(pgsz - 1); in sriov_init()
459 pci_write_config_dword(dev, pos + PCI_SRIOV_SYS_PGSIZE, pgsz); in sriov_init()
488 iov->pgsz = pgsz; in sriov_init()
542 pci_write_config_dword(dev, iov->pos + PCI_SRIOV_SYS_PGSIZE, iov->pgsz); in sriov_restore_state()
Dpci.h244 u32 pgsz; /* page size for BAR alignment */ member
/linux-2.6.39/drivers/mtd/nand/
Dnandsim.c212 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz)
329 uint pgsz; /* NAND flash page size, bytes */ member
580 ns->geom.pgsz = mtd->writesize; in init_nandsim()
583 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim()
584 ns->geom.pgnum = divide(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
589 ns->geom.pgsec = ns->geom.secsz / ns->geom.pgsz; in init_nandsim()
593 if (ns->geom.pgsz == 256) { in init_nandsim()
596 else if (ns->geom.pgsz == 512) { in init_nandsim()
600 } else if (ns->geom.pgsz == 2048) { in init_nandsim()
602 } else if (ns->geom.pgsz == 4096) { in init_nandsim()
[all …]
/linux-2.6.39/arch/mips/sgi-ip22/
Dip28-berr.c328 unsigned int pgsz = (ctl & 2) ? 14:12; /* 16k:4k */ in check_microtlb() local
331 pte += 8*((vaddr >> pgsz) & 0x1ff); in check_microtlb()
341 a += vaddr & ((1 << pgsz) - 1); in check_microtlb()
/linux-2.6.39/arch/arm/plat-omap/include/plat/
Diommu.h19 u32 pgsz, prsvd, valid; member
/linux-2.6.39/drivers/scsi/cxgbi/
Dlibcxgbi.c972 static int ddp_find_page_index(unsigned long pgsz) in ddp_find_page_index() argument
977 if (pgsz == (1UL << ddp_page_shift[i])) in ddp_find_page_index()
980 pr_info("ddp page size %lu not supported.\n", pgsz); in ddp_find_page_index()