Home
last modified time | relevance | path

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

/drivers/net/ethernet/brocade/bna/
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 …]
/drivers/scsi/bfa/
Dbfa_ioc.c704 u32 r32, fwstate, pgnum, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
733 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry()
734 writel(pgnum, iocpf->ioc->ioc_regs.host_page_num_fn); in bfa_iocpf_sm_fwcheck_entry()
1442 u32 pgnum; in bfa_ioc_fwver_get() local
1447 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1448 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_get()
1663 u32 pgnum; in bfa_ioc_fwsig_invalidate() local
1671 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate()
1672 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwsig_invalidate()
1863 u32 pgnum; in bfa_ioc_download_fw() local
[all …]
/drivers/md/
Ddm-mpath.c1457 unsigned pgnum; in switch_pg_num() local
1461 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num()
1462 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in switch_pg_num()
1470 if (--pgnum) in switch_pg_num()
1490 unsigned pgnum; in bypass_pg_num() local
1493 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num()
1494 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in bypass_pg_num()
1500 if (!--pgnum) in bypass_pg_num()
/drivers/mtd/nand/raw/
Dnandsim.c322 uint pgnum; /* total number of pages */ member
555 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device()
579 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device()
584 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device()
618 for (i = 0; i < ns->geom.pgnum; i++) { in ns_free_device()
658 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in ns_init()
659 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init()
747 printk("pages number: %u\n", ns->geom.pgnum); in ns_init()
1585 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in ns_do_state_action()
1630 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in ns_do_state_action()