Searched refs:pgnum (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/md/ |
D | dm-mpath.c | 1084 unsigned pgnum; in switch_pg_num() local 1088 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in switch_pg_num() 1089 (pgnum > m->nr_priority_groups)) { in switch_pg_num() 1097 if (--pgnum) in switch_pg_num() 1117 unsigned pgnum; in bypass_pg_num() local 1120 if (!pgstr || (sscanf(pgstr, "%u%c", &pgnum, &dummy) != 1) || !pgnum || in bypass_pg_num() 1121 (pgnum > m->nr_priority_groups)) { in bypass_pg_num() 1127 if (!--pgnum) in bypass_pg_num()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc.c | 1155 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local 1158 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear() 1160 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_fwver_clear() 1313 u32 pgnum; in bfa_nw_ioc_fwver_get() local 1318 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get() 1319 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_nw_ioc_fwver_get() 2021 u32 pgnum; in bfa_ioc_download_fw() local 2046 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw() 2048 writel(pgnum, ioc->ioc_regs.host_page_num_fn); in bfa_ioc_download_fw() 2082 pgnum++; in bfa_ioc_download_fw() [all …]
|
/linux-4.1.27/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 …]
|
/linux-4.1.27/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() 772 printk("pages number: %u\n", ns->geom.pgnum); in init_nandsim() 1624 if (action != ACTION_SECERASE && ns->regs.row >= ns->geom.pgnum) { in do_state_action() 1669 if (ns->regs.row >= ns->geom.pgnum - ns->geom.pgsec in do_state_action()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | videobuf2-vmalloc.c | 335 static void *vb2_vmalloc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_vmalloc_dmabuf_ops_kmap() argument 339 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_vmalloc_dmabuf_ops_kmap()
|
D | videobuf2-dma-sg.c | 550 static void *vb2_dma_sg_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dma_sg_dmabuf_ops_kmap() argument 554 return buf->vaddr ? buf->vaddr + pgnum * PAGE_SIZE : NULL; in vb2_dma_sg_dmabuf_ops_kmap()
|
D | videobuf2-dma-contig.c | 347 static void *vb2_dc_dmabuf_ops_kmap(struct dma_buf *dbuf, unsigned long pgnum) in vb2_dc_dmabuf_ops_kmap() argument 351 return buf->vaddr + pgnum * PAGE_SIZE; in vb2_dc_dmabuf_ops_kmap()
|