Searched refs:pgsz (Results 1 - 5 of 5) sorted by relevance

/drivers/pci/
H A Diov.c430 u32 pgsz; local
466 pci_read_config_dword(dev, pos + PCI_SRIOV_SUP_PGSIZE, &pgsz);
468 pgsz &= ~((1 << i) - 1);
469 if (!pgsz)
472 pgsz &= ~(pgsz - 1);
473 pci_write_config_dword(dev, pos + PCI_SRIOV_SYS_PGSIZE, pgsz);
502 iov->pgsz = pgsz;
556 pci_write_config_dword(dev, iov->pos + PCI_SRIOV_SYS_PGSIZE, iov->pgsz);
[all...]
H A Dpci.h245 u32 pgsz; /* page size for BAR alignment */ member in struct:pci_sriov
/drivers/mtd/nand/
H A Dnandsim.c212 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz)
329 uint pgsz; /* NAND flash page size, bytes */ member in struct:nandsim::__anon1796
580 ns->geom.pgsz = mtd->writesize;
583 ns->geom.pgszoob = ns->geom.pgsz + ns->geom.oobsz;
584 ns->geom.pgnum = divide(ns->geom.totsz, ns->geom.pgsz);
589 ns->geom.pgsec = ns->geom.secsz / ns->geom.pgsz;
593 if (ns->geom.pgsz == 256) {
596 else if (ns->geom.pgsz == 512) {
600 } else if (ns->geom.pgsz == 2048) {
602 } else if (ns->geom.pgsz
[all...]
/drivers/scsi/cxgbi/
H A Dlibcxgbi.c981 static int ddp_find_page_index(unsigned long pgsz) argument
986 if (pgsz == (1UL << ddp_page_shift[i]))
989 pr_info("ddp page size %lu not supported.\n", pgsz);
/drivers/iommu/
H A Domap-iommu.c614 switch (e->pgsz) {

Completed in 167 milliseconds