Searched refs:pgnum (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 1138 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local 1141 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear() 1143 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_clear() 1296 u32 pgnum; in bfa_nw_ioc_fwver_get() local 1301 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get() 1302 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_nw_ioc_fwver_get() 2006 u32 pgnum; in bfa_ioc_download_fw() local 2031 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw() 2033 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_download_fw() 2067 pgnum++; in bfa_ioc_download_fw() [all …]
|
/Linux-v4.19/drivers/md/ |
D | dm-mpath.c | 1371 unsigned pgnum; in switch_pg_num() local 1375 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num() 1376 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in switch_pg_num() 1384 if (--pgnum) in switch_pg_num() 1404 unsigned pgnum; in bypass_pg_num() local 1407 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num() 1408 !m->nr_priority_groups || (pgnum > m->nr_priority_groups)) { in bypass_pg_num() 1414 if (!--pgnum) in bypass_pg_num()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_ioc.c | 712 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local 741 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry() 743 writel(pgnum, iocpf->ioc->ioc_regs.host_page_num_fn); in bfa_iocpf_sm_fwcheck_entry() 1455 u32 pgnum, pgoff; in bfa_ioc_fwver_get() local 1460 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get() 1462 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_get() 1677 u32 pgnum, pgoff; in bfa_ioc_fwsig_invalidate() local 1685 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate() 1687 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwsig_invalidate() 1878 u32 pgnum, pgoff; in bfa_ioc_download_fw() local [all …]
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nandsim.c | 333 uint pgnum; /* total number of pages */ member 570 BITS_TO_LONGS(ns->geom.pgnum))); in alloc_device() 586 ns->pages = vmalloc(array_size(sizeof(union ns_mem), ns->geom.pgnum)); in alloc_device() 591 for (i = 0; i < ns->geom.pgnum; i++) { in alloc_device() 625 for (i = 0; i < ns->geom.pgnum; i++) { in free_device() 668 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim() 669 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim() 755 printk("pages number: %u\n", ns->geom.pgnum); in init_nandsim() 1589 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in do_state_action() 1634 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in do_state_action()
|
/Linux-v4.19/drivers/media/common/videobuf2/ |
D | videobuf2-vmalloc.c | 323 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() argument 327 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_vmalloc_dmabuf_ops_kmap()
|
D | videobuf2-dma-sg.c | 484 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() argument 488 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dma_sg_dmabuf_ops_kmap()
|
D | videobuf2-dma-contig.c | 335 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument 339 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dc_dmabuf_ops_kmap()
|
/Linux-v4.19/drivers/tee/ |
D | tee_shm.c | 83 static void *tee_shm_op_map(struct dma_buf *dmabuf, unsigned long pgnum) in tee_shm_op_map() argument
|