Home
last modified time | relevance | path

Searched refs:pgnum (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1128 u32 pgnum, loff = 0; in bfa_ioc_fwver_clear() local
1131 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear()
1132 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_clear()
1285 u32 pgnum; in bfa_nw_ioc_fwver_get() local
1290 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get()
1291 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_nw_ioc_fwver_get()
1994 u32 pgnum; in bfa_ioc_download_fw() local
2019 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw()
2021 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_download_fw()
2055 pgnum++; in bfa_ioc_download_fw()
[all …]
/linux/drivers/mtd/nand/raw/
H A Dnandsim.c324 uint pgnum; /* total number of pages */ member
555 ns->pages_written = vcalloc(BITS_TO_LONGS(ns->geom.pgnum), in ns_alloc_device()
580 ns->pages = vmalloc_array(ns->geom.pgnum, sizeof(union ns_mem)); in ns_alloc_device()
585 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device()
619 for (i = 0; i < ns->geom.pgnum; i++) { in ns_free_device()
659 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in ns_init()
660 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init()
748 printk("pages number: %u\n", ns->geom.pgnum); in ns_init()
1579 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in ns_do_state_action()
1624 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in ns_do_state_action()