Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1127 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local
1130 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()
1995 u32 pgnum; in bfa_ioc_download_fw() local
2020 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw()
2022 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_download_fw()
2056 pgnum++; in bfa_ioc_download_fw()
[all …]
/Linux-v5.4/drivers/md/
Ddm-mpath.c1377 unsigned pgnum; in switch_pg_num() local
1381 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num()
1382 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in switch_pg_num()
1390 if (--pgnum) in switch_pg_num()
1410 unsigned pgnum; in bypass_pg_num() local
1413 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num()
1414 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in bypass_pg_num()
1420 if (!--pgnum) in bypass_pg_num()
/Linux-v5.4/drivers/scsi/bfa/
Dbfa_ioc.c704 u32 r32, fwstate, pgnum, pgoff, 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()
735 writel(pgnum, iocpf->ioc->ioc_regs.host_page_num_fn); in bfa_iocpf_sm_fwcheck_entry()
1443 u32 pgnum, pgoff; in bfa_ioc_fwver_get() local
1448 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1450 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_get()
1665 u32 pgnum, pgoff; in bfa_ioc_fwsig_invalidate() local
1673 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate()
1675 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwsig_invalidate()
1866 u32 pgnum, pgoff; in bfa_ioc_download_fw() local
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/
Dnandsim.c322 uint pgnum; /* total number of pages */ member
548 BITS_TO_LONGS(ns->geom.pgnum))); in alloc_device()
564 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in alloc_device()
569 for (i = 0; i < ns->geom.pgnum; i++) { in alloc_device()
603 for (i = 0; i < ns->geom.pgnum; i++) { in free_device()
643 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim()
644 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim()
730 printk("pages number: %u\n", ns->geom.pgnum); in init_nandsim()
1564 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in do_state_action()
1609 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in do_state_action()
/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c322 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() argument
326 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_vmalloc_dmabuf_ops_kmap()
Dvideobuf2-dma-sg.c473 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() argument
477 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dma_sg_dmabuf_ops_kmap()
Dvideobuf2-dma-contig.c338 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument
342 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dc_dmabuf_ops_kmap()
/Linux-v5.4/drivers/tee/
Dtee_shm.c74 static void *tee_shm_op_map(struct dma_buf *dmabuf, unsigned long pgnum) in tee_shm_op_map() argument
/Linux-v5.4/drivers/misc/
Dfastrpc.c558 static void *fastrpc_kmap(struct dma_buf *dmabuf, unsigned long pgnum) in fastrpc_kmap() argument
562 return buf->virt ? buf->virt + pgnum * PAGE_SIZE : NULL; in fastrpc_kmap()