Home
last modified time | relevance | path

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

/drivers/md/
Ddm-mpath.c1045 unsigned pgnum; in switch_pg_num() local
1049 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num()
1050 (pgnum > m->nr_priority_groups)) { in switch_pg_num()
1058 if (--pgnum) in switch_pg_num()
1078 unsigned pgnum; in bypass_pg_num() local
1081 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num()
1082 (pgnum > m->nr_priority_groups)) { in bypass_pg_num()
1088 if (!--pgnum) in bypass_pg_num()
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1154 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local
1157 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear()
1159 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_clear()
1312 u32 pgnum; in bfa_nw_ioc_fwver_get() local
1317 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get()
1318 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_nw_ioc_fwver_get()
2020 u32 pgnum; in bfa_ioc_download_fw() local
2045 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw()
2047 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_download_fw()
2081 pgnum++; in bfa_ioc_download_fw()
[all …]
/drivers/scsi/bfa/
Dbfa_ioc.c711 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
740 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry()
742 writel(pgnum, iocpf->ioc->ioc_regs.host_page_num_fn); in bfa_iocpf_sm_fwcheck_entry()
1454 u32 pgnum, pgoff; in bfa_ioc_fwver_get() local
1459 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1461 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_get()
1676 u32 pgnum, pgoff; in bfa_ioc_fwsig_invalidate() local
1684 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate()
1686 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwsig_invalidate()
1875 u32 pgnum, pgoff; in bfa_ioc_download_fw() local
[all …]
/drivers/mtd/nand/
Dnandsim.c335 uint pgnum; /* total number of pages */ member
588 ns->pages_written = vzalloc(BITS_TO_LONGS(ns->geom.pgnum) * in alloc_device()
605 ns->pages = vmalloc(ns->geom.pgnum * sizeof(union ns_mem)); in alloc_device()
610 for (i = 0; i < ns->geom.pgnum; i++) { in alloc_device()
644 for (i = 0; i < ns->geom.pgnum; i++) { in free_device()
687 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
688 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
769 printk("pages number: %u\n", ns->geom.pgnum); in init_nandsim()
1623 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in do_state_action()
1668 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in do_state_action()
/drivers/media/v4l2-core/
Dvideobuf2-dma-contig.c345 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument
349 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_dc_dmabuf_ops_kmap()