Searched refs:pgsz (Results 1 – 10 of 10) sorted by relevance
/linux-4.4.14/drivers/iommu/ |
D | omap-iommu.h | 26 u32 pgsz, prsvd, valid; member 157 #define get_cam_va_mask(pgsz) \ argument 158 (((pgsz) == MMU_CAM_PGSZ_16M) ? 0xff000000 : \ 159 ((pgsz) == MMU_CAM_PGSZ_1M) ? 0xfff00000 : \ 160 ((pgsz) == MMU_CAM_PGSZ_64K) ? 0xffff0000 : \ 161 ((pgsz) == MMU_CAM_PGSZ_4K) ? 0xfffff000 : 0)
|
D | omap-iommu.c | 237 attr <<= (((e->pgsz == MMU_CAM_PGSZ_4K) || in get_iopte_attr() 238 (e->pgsz == MMU_CAM_PGSZ_64K)) ? 0 : 6); in get_iopte_attr() 319 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in iotlb_alloc_cr() 329 cr->cam = (e->da & MMU_CAM_VATAG_MASK) | e->prsvd | e->pgsz | e->valid; in iotlb_alloc_cr() 616 switch (e->pgsz) { in iopgtable_store_entry_core() 1021 static u32 iotlb_init_entry(struct iotlb_entry *e, u32 da, u32 pa, int pgsz) in iotlb_init_entry() argument 1028 e->pgsz = pgsz; in iotlb_init_entry() 1033 return iopgsz_to_bytes(e->pgsz); in iotlb_init_entry()
|
/linux-4.4.14/drivers/pci/ |
D | iov.c | 384 u32 pgsz; in sriov_init() local 416 pci_read_config_dword(dev, pos + PCI_SRIOV_SUP_PGSIZE, &pgsz); in sriov_init() 418 pgsz &= ~((1 << i) - 1); in sriov_init() 419 if (!pgsz) in sriov_init() 422 pgsz &= ~(pgsz - 1); in sriov_init() 423 pci_write_config_dword(dev, pos + PCI_SRIOV_SYS_PGSIZE, pgsz); in sriov_init() 459 iov->pgsz = pgsz; in sriov_init() 520 pci_write_config_dword(dev, iov->pos + PCI_SRIOV_SYS_PGSIZE, iov->pgsz); in sriov_restore_state()
|
D | pci.h | 258 u32 pgsz; /* page size for BAR alignment */ member
|
/linux-4.4.14/fs/ |
D | dax.c | 53 unsigned pgsz = PAGE_SIZE - offset_in_page(addr); in dax_clear_blocks() local 54 if (pgsz > count) in dax_clear_blocks() 55 pgsz = count; in dax_clear_blocks() 56 clear_pmem(addr, pgsz); in dax_clear_blocks() 57 addr += pgsz; in dax_clear_blocks() 58 size -= pgsz; in dax_clear_blocks() 59 count -= pgsz; in dax_clear_blocks() 60 BUG_ON(pgsz & 511); in dax_clear_blocks() 61 sector += pgsz / 512; in dax_clear_blocks()
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nandsim.c | 216 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz) 333 uint pgsz; /* NAND flash page size, bytes */ member 686 ns->geom.pgsz = mtd->writesize; in init_nandsim() 689 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz; in init_nandsim() 690 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim() 694 ns->geom.pgsec = ns->geom.secsz / ns->geom.pgsz; in init_nandsim() 698 if (ns->geom.pgsz == 512) { in init_nandsim() 702 } else if (ns->geom.pgsz == 2048) { in init_nandsim() 704 } else if (ns->geom.pgsz == 4096) { in init_nandsim() 707 NS_ERR("init_nandsim: unknown page size %u\n", ns->geom.pgsz); in init_nandsim() [all …]
|
/linux-4.4.14/arch/mips/sgi-ip22/ |
D | ip28-berr.c | 327 unsigned int pgsz = (ctl & 2) ? 14:12; /* 16k:4k */ in check_microtlb() local 330 pte += 8*((vaddr >> pgsz) & 0x1ff); in check_microtlb() 340 a += vaddr & ((1 << pgsz) - 1); in check_microtlb()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 56 u32 pgsz; /* page size for BAR alignment */ member
|
D | bnx2x_sriov.c | 1135 pci_read_config_dword(dev, pos + PCI_SRIOV_SUP_PGSIZE, &iov->pgsz); in bnx2x_sriov_pci_cfg_info() 1165 iov->initial, iov->nr_virtfn, iov->offset, iov->stride, iov->pgsz); in bnx2x_sriov_info()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 1227 static int ddp_find_page_index(unsigned long pgsz) in ddp_find_page_index() argument 1232 if (pgsz == (1UL << ddp_page_shift[i])) in ddp_find_page_index() 1235 pr_info("ddp page size %lu not supported.\n", pgsz); in ddp_find_page_index()
|