Searched refs:pgnum (Results 1 – 8 of 8) sorted by relevance
/drivers/md/ |
D | dm-mpath.c | 1069 unsigned pgnum; in switch_pg_num() local 1073 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num() 1074 (pgnum > m->nr_priority_groups)) { in switch_pg_num() 1082 if (--pgnum) in switch_pg_num() 1102 unsigned pgnum; in bypass_pg_num() local 1105 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num() 1106 (pgnum > m->nr_priority_groups)) { in bypass_pg_num() 1112 if (!--pgnum) in bypass_pg_num()
|
/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 …]
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 711 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/ |
D | nandsim.c | 338 uint pgnum; /* total number of pages */ member 591 ns->pages_written = vzalloc(BITS_TO_LONGS(ns->geom.pgnum) * in alloc_device() 608 ns->pages = vmalloc(ns->geom.pgnum * sizeof(union ns_mem)); in alloc_device() 613 for (i = 0; i < ns->geom.pgnum; i++) { in alloc_device() 647 for (i = 0; i < ns->geom.pgnum; i++) { in free_device() 690 ns->geom.pgnum = div_u64(ns->geom.totsz, ns->geom.pgsz); in init_nandsim() 691 ns->geom.totszoob = ns->geom.totsz + (uint64_t)ns->geom.pgnum * ns->geom.oobsz; in init_nandsim() 777 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/ |
D | videobuf2-vmalloc.c | 317 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() argument 321 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_vmalloc_dmabuf_ops_kmap()
|
D | videobuf2-dma-contig.c | 328 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument 332 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_dc_dmabuf_ops_kmap()
|
D | videobuf2-dma-sg.c | 494 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() argument 498 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dma_sg_dmabuf_ops_kmap()
|
/drivers/tee/ |
D | tee_shm.c | 83 static void *tee_shm_op_kmap_atomic(struct dma_buf *dmabuf, unsigned long pgnum) in tee_shm_op_kmap_atomic() argument 88 static void *tee_shm_op_kmap(struct dma_buf *dmabuf, unsigned long pgnum) in tee_shm_op_kmap() argument
|