Searched refs:pgnum (Results 1 - 4 of 4) sorted by relevance

/drivers/md/
H A Ddm-mpath.c1071 unsigned pgnum; local
1075 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum ||
1076 (pgnum > m->nr_priority_groups)) {
1084 if (--pgnum)
1104 unsigned pgnum; local
1107 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum ||
1108 (pgnum > m->nr_priority_groups)) {
1114 if (!--pgnum)
[all...]
/drivers/scsi/bfa/
H A Dbfa_ioc.c684 u32 r32, fwstate, pgnum, pgoff, loff = 0; local
713 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff);
715 writel(pgnum, iocpf->ioc->ioc_regs.host_page_num_fn);
1428 u32 pgnum, pgoff; local
1433 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff);
1435 writel(pgnum, ioc->ioc_regs.host_page_num_fn);
1681 u32 pgnum, pgoff; local
1690 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff);
1693 writel(pgnum, ioc->ioc_regs.host_page_num_fn);
1716 pgnum
1824 u32 pgnum, loff; local
1884 u32 pgnum, loff; local
4506 u32 pgnum, pgoff, i; local
[all...]
/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1342 u32 pgnum; local
1347 pgnum = bfa_ioc_smem_pgnum(ioc, loff);
1348 writel(pgnum, ioc->ioc_regs.host_page_num_fn);
1582 u32 pgnum; local
1595 pgnum = bfa_ioc_smem_pgnum(ioc, loff);
1597 writel(pgnum, ioc->ioc_regs.host_page_num_fn);
1619 pgnum++;
1620 writel(pgnum,
1759 u32 pgnum, loff, r32; local
1763 pgnum
[all...]
/drivers/mtd/nand/
H A Dnandsim.c334 uint pgnum; /* total number of pages */ member in struct:nandsim::__anon1796
478 ns->pages_written = vzalloc(ns->geom.pgnum);
494 ns->pages = vmalloc(ns->geom.pgnum * sizeof(union ns_mem));
499 for (i = 0; i < ns->geom.pgnum; i++) {
533 for (i = 0; i < ns->geom.pgnum; i++) {
584 ns->geom.pgnum = divide(ns->geom.totsz, ns->geom.pgsz);
585 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz;
678 printk("pages number: %u\n", ns->geom.pgnum);
1598 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) {
1643 if (ns->regs.row >= ns->geom.pgnum
[all...]

Completed in 136 milliseconds