Home
last modified time | relevance | path

Searched refs:loff (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/scsi/bfa/
Dbfa_ioc.c684 u32 r32, fwstate, pgnum, pgoff, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
713 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry()
714 pgoff = PSS_SMEM_PGOFF(loff); in bfa_iocpf_sm_fwcheck_entry()
718 bfa_mem_write(iocpf->ioc->ioc_regs.smem_page_start, loff, 0); in bfa_iocpf_sm_fwcheck_entry()
719 loff += sizeof(u32); in bfa_iocpf_sm_fwcheck_entry()
1429 u32 loff = 0; in bfa_ioc_fwver_get() local
1433 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1434 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_fwver_get()
1440 bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_ioc_fwver_get()
1441 loff += sizeof(u32); in bfa_ioc_fwver_get()
[all …]
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1343 u32 loff = 0; in bfa_nw_ioc_fwver_get() local
1347 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get()
1353 swab32(readl((loff) + (ioc->ioc_regs.smem_page_start))); in bfa_nw_ioc_fwver_get()
1354 loff += sizeof(u32); in bfa_nw_ioc_fwver_get()
1583 u32 loff = 0; in bfa_ioc_download_fw() local
1595 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw()
1610 ((ioc->ioc_regs.smem_page_start) + (loff))); in bfa_ioc_download_fw()
1612 loff += sizeof(u32); in bfa_ioc_download_fw()
1617 loff = PSS_SMEM_PGOFF(loff); in bfa_ioc_download_fw()
1618 if (loff == 0) { in bfa_ioc_download_fw()
[all …]
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnvd0_display.c1203 const u32 loff = (or * 0x800) + (link * 0x80); in nvd0_sor_dp_train_set() local
1204 nv_mask(dev, 0x61c110 + loff, 0x0f0f0f0f, 0x01010101 * pattern); in nvd0_sor_dp_train_set()
1212 const u32 loff = (or * 0x800) + (link * 0x80); in nvd0_sor_dp_train_adj() local
1242 nv_mask(dev, 0x61c118 + loff, mask, config[1] << shift); in nvd0_sor_dp_train_adj()
1243 nv_mask(dev, 0x61c120 + loff, mask, config[2] << shift); in nvd0_sor_dp_train_adj()
1244 nv_mask(dev, 0x61c130 + loff, 0x0000ff00, config[3] << 8); in nvd0_sor_dp_train_adj()
1245 nv_mask(dev, 0x61c13c + loff, 0x00000000, 0x00000000); in nvd0_sor_dp_train_adj()
1253 const u32 loff = (or * 0x800) + (link * 0x80); in nvd0_sor_dp_link_set() local
1255 u32 dpctrl = nv_rd32(dev, 0x61c10c + loff) & ~0x001f4000; in nvd0_sor_dp_link_set()
1287 nv_wr32(dev, 0x61c10c + loff, dpctrl); in nvd0_sor_dp_link_set()
[all …]
/linux-3.4.99/fs/
Dsplice.c310 unsigned int loff, nr_pages, req_pages; in __generic_file_splice_read() local
330 loff = *ppos & ~PAGE_CACHE_MASK; in __generic_file_splice_read()
331 req_pages = (len + loff + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in __generic_file_splice_read()
398 this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); in __generic_file_splice_read()
474 if (plen <= loff) in __generic_file_splice_read()
480 this_len = min(this_len, plen - loff); in __generic_file_splice_read()
484 spd.partial[page_nr].offset = loff; in __generic_file_splice_read()
487 loff = 0; in __generic_file_splice_read()
/linux-3.4.99/net/netfilter/
Dxt_recent.c494 size_t size, loff_t *loff) in recent_mt_proc_write() argument
513 if (*loff != 0) in recent_mt_proc_write()
560 *loff += size + 1; in recent_mt_proc_write()
/linux-3.4.99/mm/
Dshmem.c1364 unsigned int loff, nr_pages, req_pages; in shmem_file_splice_read() local
1392 loff = *ppos & ~PAGE_CACHE_MASK; in shmem_file_splice_read()
1393 req_pages = (len + loff + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT; in shmem_file_splice_read()
1420 this_len = min_t(unsigned long, len, PAGE_CACHE_SIZE - loff); in shmem_file_splice_read()
1442 if (plen <= loff) in shmem_file_splice_read()
1445 this_len = min(this_len, plen - loff); in shmem_file_splice_read()
1449 spd.partial[page_nr].offset = loff; in shmem_file_splice_read()
1452 loff = 0; in shmem_file_splice_read()
/linux-3.4.99/scripts/
Dcheckpatch.pl653 my $loff = 0;
674 $loff = $len;
762 $loff = $len + 1;
776 $line, $remain + 1, $off - $loff + 1, $level);
/linux-3.4.99/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c436 dt3155_read(struct file *filp, char __user *user, size_t size, loff_t *loff) in dt3155_read() argument
440 return vb2_read(pd->q, user, size, loff, filp->f_flags & O_NONBLOCK); in dt3155_read()