Searched refs:pgnum (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.c | 1128 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 …]
|
/openbmc/linux/drivers/scsi/bfa/ |
H A D | bfa_ioc.c | 704 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 …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-mpath.c | 1465 unsigned int pgnum; in switch_pg_num() local 1469 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num() 1470 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in switch_pg_num() 1478 if (--pgnum) in switch_pg_num() 1498 unsigned int pgnum; in bypass_pg_num() local 1501 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num() 1502 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in bypass_pg_num() 1508 if (!--pgnum) in bypass_pg_num()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 324 uint pgnum; /* total number of pages */ member 557 BITS_TO_LONGS(ns->geom.pgnum))); in ns_alloc_device() 581 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in ns_alloc_device() 586 for (i = 0; i < ns->geom.pgnum; i++) { in ns_alloc_device() 620 for (i = 0; i < ns->geom.pgnum; i++) { in ns_free_device() 660 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in ns_init() 661 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in ns_init() 749 printk("pages number: %u\n", ns->geom.pgnum); in ns_init() 1580 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in ns_do_state_action() 1625 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in ns_do_state_action()
|