Searched refs:pgnum (Results 1 – 4 of 4) sorted by relevance
| /linux-6.15/drivers/net/ethernet/brocade/bna/ |
| H A D | bfa_ioc.c | 1128 u32 pgnum, loff = 0; in bfa_ioc_fwver_clear() local 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() 2055 pgnum++; in bfa_ioc_download_fw() 2056 writel(pgnum, in bfa_ioc_download_fw() 2192 u32 pgnum, loff, r32; in bfa_nw_ioc_smem_read() local [all …]
|
| /linux-6.15/drivers/scsi/bfa/ |
| H A D | bfa_ioc.c | 1441 u32 pgnum; in bfa_ioc_fwver_get() local 1662 u32 pgnum; in bfa_ioc_fwsig_invalidate() local 1862 u32 pgnum; in bfa_ioc_download_fw() local 1927 pgnum++; in bfa_ioc_download_fw() 2041 u32 pgnum, loff; in bfa_ioc_smem_read() local 2048 bfa_trc(ioc, pgnum); in bfa_ioc_smem_read() 2074 pgnum++; in bfa_ioc_smem_read() 2086 bfa_trc(ioc, pgnum); in bfa_ioc_smem_read() 2101 u32 pgnum, loff; in bfa_ioc_smem_clr() local 2130 pgnum++; in bfa_ioc_smem_clr() [all …]
|
| /linux-6.15/drivers/md/ |
| H A D | dm-mpath.c | 1463 unsigned int pgnum; in switch_pg_num() local 1467 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num() 1468 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in switch_pg_num() 1476 if (--pgnum) in switch_pg_num() 1496 unsigned int pgnum; in bypass_pg_num() local 1499 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num() 1500 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in bypass_pg_num() 1506 if (!--pgnum) in bypass_pg_num()
|
| /linux-6.15/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()
|