Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dg94.c37 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_watermark() local
39 nvkm_mask(device, 0x61c128 + loff, 0x0000003f, watermark); in g94_sor_dp_watermark()
47 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_activesym() local
49 nvkm_mask(device, 0x61c10c + loff, 0x000001fc, TU << 2); in g94_sor_dp_activesym()
50 nvkm_mask(device, 0x61c128 + loff, 0x010f7f00, VTUa << 24 | VTUf << 16 | VTUi << 8); in g94_sor_dp_activesym()
67 const u32 loff = nv50_sor_link(sor); in g94_sor_dp_drive() local
71 data[0] = nvkm_rd32(device, 0x61c118 + loff) & ~(0x000000ff << shift); in g94_sor_dp_drive()
72 data[1] = nvkm_rd32(device, 0x61c120 + loff) & ~(0x000000ff << shift); in g94_sor_dp_drive()
73 data[2] = nvkm_rd32(device, 0x61c130 + loff); in g94_sor_dp_drive()
77 nvkm_wr32(device, 0x61c118 + loff, data[0] | (dc << shift)); in g94_sor_dp_drive()
[all …]
H A Dgm200.c37 const u32 loff = nv50_sor_link(sor); in gm200_sor_dp_drive() local
43 data[0] = nvkm_rd32(device, 0x61c118 + loff) & ~(0x000000ff << shift); in gm200_sor_dp_drive()
44 data[1] = nvkm_rd32(device, 0x61c120 + loff) & ~(0x000000ff << shift); in gm200_sor_dp_drive()
45 data[2] = nvkm_rd32(device, 0x61c130 + loff); in gm200_sor_dp_drive()
49 nvkm_wr32(device, 0x61c118 + loff, data[0] | (dc << shift)); in gm200_sor_dp_drive()
50 nvkm_wr32(device, 0x61c120 + loff, data[1] | (pe << shift)); in gm200_sor_dp_drive()
51 nvkm_wr32(device, 0x61c130 + loff, data[2]); in gm200_sor_dp_drive()
53 data[3] = nvkm_rd32(device, 0x61c13c + loff) & ~(0x000000ff << shift); in gm200_sor_dp_drive()
54 nvkm_wr32(device, 0x61c13c + loff, data[3] | (pc << shift)); in gm200_sor_dp_drive()
H A Dga102.c36 const u32 loff = nv50_sor_link(sor); in ga102_sor_dp_links() local
65 nvkm_mask(device, 0x61c10c + loff, 0x00000003, 0x00000001); in ga102_sor_dp_links()
67 nvkm_mask(device, 0x61c10c + loff, 0x401f4000, dpctrl); in ga102_sor_dp_links()
H A Dgf119.c132 const u32 loff = nv50_sor_link(sor); in gf119_sor_dp_drive() local
136 data[0] = nvkm_rd32(device, 0x61c118 + loff) & ~(0x000000ff << shift); in gf119_sor_dp_drive()
137 data[1] = nvkm_rd32(device, 0x61c120 + loff) & ~(0x000000ff << shift); in gf119_sor_dp_drive()
138 data[2] = nvkm_rd32(device, 0x61c130 + loff); in gf119_sor_dp_drive()
142 nvkm_wr32(device, 0x61c118 + loff, data[0] | (dc << shift)); in gf119_sor_dp_drive()
143 nvkm_wr32(device, 0x61c120 + loff, data[1] | (pe << shift)); in gf119_sor_dp_drive()
144 nvkm_wr32(device, 0x61c130 + loff, data[2]); in gf119_sor_dp_drive()
146 data[3] = nvkm_rd32(device, 0x61c13c + loff) & ~(0x000000ff << shift); in gf119_sor_dp_drive()
147 nvkm_wr32(device, 0x61c13c + loff, data[3] | (pc << shift)); in gf119_sor_dp_drive()
175 const u32 loff = nv50_sor_link(sor); in gf119_sor_dp_links() local
[all …]
H A Dtu102.c47 const u32 loff = nv50_sor_link(sor); in tu102_sor_dp_links() local
63 nvkm_mask(device, 0x61c10c + loff, 0x00000003, 0x00000001); in tu102_sor_dp_links()
65 nvkm_mask(device, 0x61c10c + loff, 0x401f4000, dpctrl); in tu102_sor_dp_links()
/openbmc/linux/drivers/bluetooth/
H A Dh4_recv.h14 u8 loff; /* Data length offset in header */ member
23 .loff = 2, \
30 .loff = 2, \
37 .loff = 1, \
108 dlen = skb->data[(&pkts[i])->loff]; in h4_recv_buf()
119 (&pkts[i])->loff); in h4_recv_buf()
H A Dhci_uart.h129 u8 loff; /* Data length offset in header */ member
138 .loff = 2, \
145 .loff = 2, \
152 .loff = 1, \
159 .loff = 2, \
H A Dhci_h4.c229 dlen = skb->data[(&pkts[i])->loff]; in h4_recv_buf()
240 (&pkts[i])->loff); in h4_recv_buf()
H A Dhci_ll.c389 .loff = 0, \
396 .loff = 0, \
403 .loff = 0, \
410 .loff = 0, \
H A Dhci_nokia.c61 .loff = 0, \
68 .loff = 0, \
75 .loff = 1, \
H A Dhci_mrvl.c233 .loff = 0, \
240 .loff = 0, \
H A Dhci_bcm.c658 .loff = 0, \
665 .loff = 0, \
672 .loff = 0, \
679 .loff = 0, \
H A Dbtnxpuart.c202 .loff = 0, \
209 .loff = 0, \
216 .loff = 0, \
223 .loff = 0, \
H A Dbpa10x.c73 .loff = 3, \
H A Dbtmtksdio.c509 dlen = skb->data[(&pkts[i])->loff]; in btmtksdio_rx_packet()
513 (&pkts[i])->loff); in btmtksdio_rx_packet()
/openbmc/libpldm/src/requester/
H A Dinstance-id.c136 off_t loff; in pldm_instance_id_alloc() local
145 loff = tid * PLDM_INST_ID_MAX + l_iid; in pldm_instance_id_alloc()
149 flop.l_start = loff; in pldm_instance_id_alloc()
171 flop.l_start = loff; in pldm_instance_id_alloc()
197 flop.l_start = loff; in pldm_instance_id_alloc()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Ddebug.c23 size_t count, loff_t *loff);
60 size_t count, loff_t *loff) in rtw_debugfs_common_write() argument
64 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_common_write()
69 size_t count, loff_t *loff) in rtw_debugfs_single_write() argument
74 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw_debugfs_single_write()
196 size_t count, loff_t *loff) in rtw_debugfs_set_read_reg() argument
286 size_t count, loff_t *loff) in rtw_debugfs_set_rsvd_page() argument
315 size_t count, loff_t *loff) in rtw_debugfs_set_single_input() argument
343 size_t count, loff_t *loff) in rtw_debugfs_set_write_reg() argument
389 size_t count, loff_t *loff) in rtw_debugfs_set_h2c() argument
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Ddebug.c49 size_t count, loff_t *loff);
267 size_t count, loff_t *loff) in rtl_debugfs_set_write_reg() argument
316 size_t count, loff_t *loff) in rtl_debugfs_set_write_h2c() argument
362 size_t count, loff_t *loff) in rtl_debugfs_set_write_rfreg() argument
408 size_t count, loff_t *loff) in rtl_debugfs_common_write() argument
412 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtl_debugfs_common_write()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_ioc.c1128 u32 pgnum, loff = 0; in bfa_ioc_fwver_clear() local
1131 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_clear()
1135 writel(0, ioc->ioc_regs.smem_page_start + loff); in bfa_ioc_fwver_clear()
1136 loff += sizeof(u32); in bfa_ioc_fwver_clear()
1286 u32 loff = 0; in bfa_nw_ioc_fwver_get() local
1290 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_nw_ioc_fwver_get()
1296 swab32(readl(loff + ioc->ioc_regs.smem_page_start)); in bfa_nw_ioc_fwver_get()
1297 loff += sizeof(u32); in bfa_nw_ioc_fwver_get()
1995 u32 loff = 0; in bfa_ioc_download_fw() local
2019 pgnum = bfa_ioc_smem_pgnum(ioc, loff); in bfa_ioc_download_fw()
[all …]
/openbmc/linux/fs/btrfs/
H A Dreflink.c663 static int btrfs_extent_same_range(struct inode *src, u64 loff, u64 len, in btrfs_extent_same_range() argument
674 btrfs_double_extent_lock(src, loff, dst, dst_loff, len); in btrfs_extent_same_range()
675 ret = btrfs_clone(src, dst, loff, len, ALIGN(len, bs), dst_loff, 1); in btrfs_extent_same_range()
676 btrfs_double_extent_unlock(src, loff, dst, dst_loff, len); in btrfs_extent_same_range()
683 static int btrfs_extent_same(struct inode *src, u64 loff, u64 olen, in btrfs_extent_same() argument
706 ret = btrfs_extent_same_range(src, loff, BTRFS_MAX_DEDUPE_LEN, in btrfs_extent_same()
711 loff += BTRFS_MAX_DEDUPE_LEN; in btrfs_extent_same()
716 ret = btrfs_extent_same_range(src, loff, tail_len, dst, dst_loff); in btrfs_extent_same()
/openbmc/linux/drivers/scsi/bfa/
H A Dbfa_ioc.c704 u32 r32, fwstate, pgnum, loff = 0; in bfa_iocpf_sm_fwcheck_entry() local
733 pgnum = PSS_SMEM_PGNUM(iocpf->ioc->ioc_regs.smem_pg0, loff); in bfa_iocpf_sm_fwcheck_entry()
737 bfa_mem_write(iocpf->ioc->ioc_regs.smem_page_start, loff, 0); in bfa_iocpf_sm_fwcheck_entry()
738 loff += sizeof(u32); in bfa_iocpf_sm_fwcheck_entry()
1443 u32 loff = 0; in bfa_ioc_fwver_get() local
1447 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwver_get()
1453 bfa_mem_read(ioc->ioc_regs.smem_page_start, loff); in bfa_ioc_fwver_get()
1454 loff += sizeof(u32); in bfa_ioc_fwver_get()
1664 u32 loff = 0; in bfa_ioc_fwsig_invalidate() local
1671 pgnum = PSS_SMEM_PGNUM(ioc->ioc_regs.smem_pg0, loff); in bfa_ioc_fwsig_invalidate()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dscif_ioctl.h179 __s64 loff; member
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Ddebug.c28 size_t count, loff_t *loff);
80 size_t count, loff_t *loff) in rtw89_debugfs_single_write() argument
84 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_single_write()
89 size_t count, loff_t *loff) in rtw89_debugfs_seq_file_write() argument
94 return debugfs_priv->cb_write(filp, buffer, count, loff); in rtw89_debugfs_seq_file_write()
134 size_t count, loff_t *loff) in rtw89_debug_priv_read_reg_select() argument
212 size_t count, loff_t *loff) in rtw89_debug_priv_write_reg_set() argument
256 size_t count, loff_t *loff) in rtw89_debug_priv_read_rf_select() argument
311 size_t count, loff_t *loff) in rtw89_debug_priv_write_rf_set() argument
646 size_t count, loff_t *loff) in rtw89_debug_priv_mac_reg_dump_select() argument
[all …]
/openbmc/linux/net/netfilter/
H A Dxt_recent.c560 size_t size, loff_t *loff) in recent_mt_proc_write() argument
578 if (*loff != 0) in recent_mt_proc_write()
623 *loff += size + 1; in recent_mt_proc_write()
/openbmc/qemu/scripts/
H A Dcheckpatch.pl695 my $loff = 0;
716 $loff = $len;
793 $loff = $len + 1;
807 $line, $remain + 1, $off - $loff + 1, $level);

12