Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/core/engine/disp/
Dsornvd0.c58 const u32 loff = nvd0_sor_loff(outp); in nvd0_sor_dp_pattern() local
59 nv_mask(priv, 0x61c110 + loff, 0x0f0f0f0f, 0x01010101 * pattern); in nvd0_sor_dp_pattern()
68 const u32 loff = nvd0_sor_loff(outp); in nvd0_sor_dp_lnk_ctl() local
78 nv_mask(priv, 0x61c10c + loff, 0x001f4000, dpctrl); in nvd0_sor_dp_lnk_ctl()
88 const u32 loff = nvd0_sor_loff(outp); in nvd0_sor_dp_drv_ctl() local
105 data[0] = nv_rd32(priv, 0x61c118 + loff) & ~(0x000000ff << shift); in nvd0_sor_dp_drv_ctl()
106 data[1] = nv_rd32(priv, 0x61c120 + loff) & ~(0x000000ff << shift); in nvd0_sor_dp_drv_ctl()
107 data[2] = nv_rd32(priv, 0x61c130 + loff); in nvd0_sor_dp_drv_ctl()
110 nv_wr32(priv, 0x61c118 + loff, data[0] | (ocfg.dc << shift)); in nvd0_sor_dp_drv_ctl()
111 nv_wr32(priv, 0x61c120 + loff, data[1] | (ocfg.pe << shift)); in nvd0_sor_dp_drv_ctl()
[all …]
Dsornv94.c62 const u32 loff = nv94_sor_loff(outp); in nv94_sor_dp_pattern() local
63 nv_mask(priv, 0x61c10c + loff, 0x0f000000, pattern << 24); in nv94_sor_dp_pattern()
72 const u32 loff = nv94_sor_loff(outp); in nv94_sor_dp_lnk_pwr() local
78 nv_mask(priv, 0x61c130 + loff, 0x0000000f, mask); in nv94_sor_dp_lnk_pwr()
89 const u32 loff = nv94_sor_loff(outp); in nv94_sor_dp_lnk_ctl() local
100 nv_mask(priv, 0x61c10c + loff, 0x001f4000, dpctrl); in nv94_sor_dp_lnk_ctl()
110 const u32 loff = nv94_sor_loff(outp); in nv94_sor_dp_drv_ctl() local
127 data[0] = nv_rd32(priv, 0x61c118 + loff) & ~(0x000000ff << shift); in nv94_sor_dp_drv_ctl()
128 data[1] = nv_rd32(priv, 0x61c120 + loff) & ~(0x000000ff << shift); in nv94_sor_dp_drv_ctl()
129 data[2] = nv_rd32(priv, 0x61c130 + loff); in nv94_sor_dp_drv_ctl()
[all …]
Dnv50.c1639 const u32 loff = (link * 0x080) + soff; in nv50_disp_intr_unk20_2_dp() local
1645 u32 dpctrl = nv_rd32(priv, 0x61c10c + loff); in nv50_disp_intr_unk20_2_dp()
1745 nv_mask(priv, 0x61c10c + loff, 0x000001fc, bestTU << 2); in nv50_disp_intr_unk20_2_dp()
1746 nv_mask(priv, 0x61c128 + loff, 0x010f7f3f, bestVTUa << 24 | in nv50_disp_intr_unk20_2_dp()
1847 const u32 loff = (or * 0x800) + (link * 0x80); in nv50_disp_intr_unk40_0_tmds() local
1853 nv_mask(priv, 0x61c10c + loff, 0x00000001, 0x00000000); in nv50_disp_intr_unk40_0_tmds()
Dnvd0.c986 const u32 loff = (link * 0x080) + soff; in nvd0_disp_intr_unk2_2_tu() local
989 u32 dpctrl = nv_rd32(priv, 0x61c10c + loff); in nvd0_disp_intr_unk2_2_tu()
/drivers/scsi/bfa/
Dbfa_ioc.c711 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()
741 pgoff = PSS_SMEM_PGOFF(loff); in bfa_iocpf_sm_fwcheck_entry()
745 bfa_mem_write(iocpf->ioc->ioc_regs.smem_page_start, loff, 0); in bfa_iocpf_sm_fwcheck_entry()
746 loff += sizeof(u32); in bfa_iocpf_sm_fwcheck_entry()
1455 u32 loff = 0; in bfa_ioc_fwver_get() local
1459 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1460 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_fwver_get()
1466 bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_ioc_fwver_get()
1467 loff += sizeof(u32); in bfa_ioc_fwver_get()
[all …]
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1154 u32 pgnum, pgoff, loff = 0; in bfa_ioc_fwver_clear() local
1157 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear()
1158 pgoff = PSS_SMEM_PGOFF(loff); in bfa_ioc_fwver_clear()
1162 writel(0, ioc->ioc_regs.smem_page_start + loff); in bfa_ioc_fwver_clear()
1163 loff += sizeof(u32); in bfa_ioc_fwver_clear()
1313 u32 loff = 0; in bfa_nw_ioc_fwver_get() local
1317 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get()
1323 swab32(readl((loff) + (ioc->ioc_regs.smem_page_start))); in bfa_nw_ioc_fwver_get()
1324 loff += sizeof(u32); in bfa_nw_ioc_fwver_get()
2021 u32 loff = 0; in bfa_ioc_download_fw() local
[all …]
/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c444 dt3155_read(struct file *filp, char __user *user, size_t size, loff_t *loff) in dt3155_read() argument
451 res = vb2_read(pd->q, user, size, loff, filp->f_flags & O_NONBLOCK); in dt3155_read()
/drivers/usb/gadget/function/
Df_fs.c961 unsigned long nr_segs, loff_t loff) in ffs_epfile_aio_write() argument
988 unsigned long nr_segs, loff_t loff) in ffs_epfile_aio_read() argument