Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dpiornv50.c34 const u32 poff = nv50_ior_base(pior); in nv50_pior_clock() local
35 nvkm_mask(device, 0x614380 + poff, 0x00000707, 0x00000001); in nv50_pior_clock()
49 nv50_pior_power_wait(struct nvkm_device *device, u32 poff) in nv50_pior_power_wait() argument
52 if (!(nvkm_rd32(device, 0x61e004 + poff) & 0x80000000)) in nv50_pior_power_wait()
62 const u32 poff = nv50_ior_base(pior); in nv50_pior_power() local
67 nv50_pior_power_wait(device, poff); in nv50_pior_power()
68 nvkm_mask(device, 0x61e004 + poff, field, state); in nv50_pior_power()
69 nv50_pior_power_wait(device, poff); in nv50_pior_power()
Ddmacgv100.c67 const u32 poff = chan->chid.ctrl * 0x10; in gv100_disp_dmac_init() local
70 nvkm_wr32(device, 0x610b24 + poff, lower_32_bits(chan->push)); in gv100_disp_dmac_init()
71 nvkm_wr32(device, 0x610b20 + poff, upper_32_bits(chan->push)); in gv100_disp_dmac_init()
72 nvkm_wr32(device, 0x610b28 + poff, 0x00000001); in gv100_disp_dmac_init()
73 nvkm_wr32(device, 0x610b2c + poff, 0x00000040); in gv100_disp_dmac_init()
/kernel/linux/linux-5.10/drivers/video/fbdev/
Dcg14.c372 .poff = 0x80000000,
377 .poff = 0x80003000,
382 .poff = 0x80004000,
387 .poff = 0x80005000,
392 .poff = 0x80006000,
397 .poff = 0x80000000,
402 .poff = 0x00000000,
407 .poff = 0x80001000,
412 .poff = 0x01000000,
417 .poff = 0x02000000,
[all …]
Dffb.c716 .poff = FFB_SFB8R_POFF,
721 .poff = FFB_SFB8G_POFF,
726 .poff = FFB_SFB8B_POFF,
731 .poff = FFB_SFB8X_POFF,
736 .poff = FFB_SFB32_POFF,
741 .poff = FFB_SFB64_POFF,
746 .poff = FFB_FBC_REGS_POFF,
751 .poff = FFB_BM_FBC_REGS_POFF,
756 .poff = FFB_DFB8R_POFF,
761 .poff = FFB_DFB8G_POFF,
[all …]
Dleo.c350 .poff = LEO_OFF_SS0,
355 .poff = LEO_OFF_LC_SS0_USR,
360 .poff = LEO_OFF_LD_SS0,
365 .poff = LEO_OFF_LX_CURSOR,
370 .poff = LEO_OFF_SS1,
375 .poff = LEO_OFF_LC_SS1_USR,
380 .poff = LEO_OFF_LD_SS1,
385 .poff = LEO_OFF_UNK,
390 .poff = LEO_OFF_LX_KRN,
395 .poff = LEO_OFF_LC_SS0_KRN,
[all …]
Dcg6.c551 .poff = CG6_FBC_OFFSET,
556 .poff = CG6_TEC_OFFSET,
561 .poff = CG6_BROOKTREE_OFFSET,
566 .poff = CG6_FHC_OFFSET,
571 .poff = CG6_THC_OFFSET,
576 .poff = CG6_ROM_OFFSET,
581 .poff = CG6_RAM_OFFSET,
586 .poff = CG6_DHC_OFFSET,
Dsbuslib.h8 unsigned long poff; member
Dsbuslib.c76 map_offset = (physbase + map[i].poff) & POFF_MASK; in sbusfb_mmap_helper()
Dcg3.c221 .poff = CG3_RAM_OFFSET,
Dtcx.c439 par->mmap_map[i].poff = op->resource[j].start; in tcx_probe()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dprocess.c208 static inline int is_ra_save_ins(union mips_instruction *ip, int *poff) in is_ra_save_ins() argument
226 *poff = ip->mm16_r5_format.imm; in is_ra_save_ins()
227 *poff = (*poff << 2) / sizeof(ulong); in is_ra_save_ins()
233 *poff = ip->mm16_m_format.imm; in is_ra_save_ins()
234 *poff += 1 + ip->mm16_m_format.rlist; in is_ra_save_ins()
235 *poff = (*poff << 2) / sizeof(ulong); in is_ra_save_ins()
254 *poff = ip->i_format.simmediate / sizeof(ulong); in is_ra_save_ins()
265 *poff = ip->mm_m_format.simmediate; in is_ra_save_ins()
266 *poff += (ip->mm_m_format.rd & 0xf) * sizeof(u32); in is_ra_save_ins()
267 *poff /= sizeof(ulong); in is_ra_save_ins()
[all …]
/kernel/linux/linux-5.10/fs/iomap/
Dbuffered-io.c95 unsigned poff = offset_in_page(*pos); in iomap_adjust_read_range() local
96 unsigned plen = min_t(loff_t, PAGE_SIZE - poff, length); in iomap_adjust_read_range()
97 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
98 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
113 poff += block_size; in iomap_adjust_read_range()
140 *offp = poff; in iomap_adjust_read_range()
245 unsigned poff, plen; in iomap_readpage_actor() local
255 iomap_adjust_read_range(inode, iop, &pos, length, &poff, &plen); in iomap_readpage_actor()
260 zero_user(page, poff, plen); in iomap_readpage_actor()
261 iomap_set_range_uptodate(page, poff, plen); in iomap_readpage_actor()
[all …]
Dseek.c24 loff_t poff = page_offset(page); in page_seek_hole_data() local
26 if (WARN_ON_ONCE(*lastoff >= poff + PAGE_SIZE)) in page_seek_hole_data()
29 if (*lastoff < poff) { in page_seek_hole_data()
36 *lastoff = poff; in page_seek_hole_data()
56 *lastoff = poff + off + bsize; in page_seek_hole_data()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dalternative.c744 const s32 *poff; in alternatives_smp_lock() local
746 for (poff = start; poff < end; poff++) { in alternatives_smp_lock()
747 u8 *ptr = (u8 *)poff + *poff; in alternatives_smp_lock()
749 if (!*poff || ptr < text || ptr >= text_end) in alternatives_smp_lock()
760 const s32 *poff; in alternatives_smp_unlock() local
762 for (poff = start; poff < end; poff++) { in alternatives_smp_unlock()
763 u8 *ptr = (u8 *)poff + *poff; in alternatives_smp_unlock()
765 if (!*poff || ptr < text || ptr >= text_end) in alternatives_smp_unlock()
872 const s32 *poff; in alternatives_text_reserved() local
881 for (poff = mod->locks; poff < mod->locks_end; poff++) { in alternatives_text_reserved()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dsockex2_kern.c106 int poff; in flow_dissector() local
177 poff = proto_ports_offset(ip_proto); in flow_dissector()
178 if (poff >= 0) { in flow_dissector()
179 nhoff += poff; in flow_dissector()
Dsockex3_kern.c145 int poff; in parse_ip_proto() local
/kernel/linux/linux-5.10/net/core/
Dflow_dissector.c118 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() local
125 if (poff >= 0) { in __skb_flow_get_ports()
128 ports = __skb_header_pointer(skb, thoff + poff, in __skb_flow_get_ports()
1633 u32 poff = keys->control.thoff; in __skb_get_poff() local
1638 return poff; in __skb_get_poff()
1646 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), in __skb_get_poff()
1649 return poff; in __skb_get_poff()
1651 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); in __skb_get_poff()
1656 poff += sizeof(struct udphdr); in __skb_get_poff()
1662 poff += sizeof(struct icmphdr); in __skb_get_poff()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnf_nat_sip.c182 unsigned int olen, matchend, poff, plen, buflen, n; in nf_nat_sip() local
211 "maddr=", &poff, &plen, in nf_nat_sip()
219 poff, plen, buffer, buflen)) { in nf_nat_sip()
228 "received=", &poff, &plen, in nf_nat_sip()
236 poff, plen, buffer, buflen)) { in nf_nat_sip()
245 "rport=", &poff, &plen, in nf_nat_sip()
252 poff, plen, buffer, buflen)) { in nf_nat_sip()
Dxt_hashlimit.c643 int poff; in hashlimit_init_dst() local
692 poff = proto_ports_offset(nexthdr); in hashlimit_init_dst()
693 if (poff >= 0) { in hashlimit_init_dst()
694 ports = skb_header_pointer(skb, protoff + poff, sizeof(_ports), in hashlimit_init_dst()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx_transport.c77 unsigned int poff = (sg->offset + *offset) & in rtsx_stor_access_xfer_buf() local
94 PAGE_SIZE - poff); in rtsx_stor_access_xfer_buf()
98 memcpy(ptr + poff, buffer + cnt, plen); in rtsx_stor_access_xfer_buf()
100 memcpy(buffer + cnt, ptr + poff, plen); in rtsx_stor_access_xfer_buf()
104 poff = 0; in rtsx_stor_access_xfer_buf()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dipt_CLUSTERIP.c343 int poff; in clusterip_hashfn() local
345 poff = proto_ports_offset(iph->protocol); in clusterip_hashfn()
346 if (poff >= 0) { in clusterip_hashfn()
350 ports = skb_header_pointer(skb, iph->ihl * 4 + poff, 4, _ports); in clusterip_hashfn()
/kernel/linux/linux-5.10/kernel/
Drelay.c1203 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
1237 poff = read_start & ~PAGE_MASK; in subbuf_splice_actor()
1247 this_len = min_t(unsigned long, len, PAGE_SIZE - poff); in subbuf_splice_actor()
1251 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()
1263 poff = 0; in subbuf_splice_actor()
/kernel/linux/linux-5.10/samples/vfio-mdev/
Dmbochs.c444 loff_t poff; in mdev_access() local
480 poff = pos & ~PAGE_MASK; in mdev_access()
484 memcpy(map + poff, buf, count); in mdev_access()
486 memcpy(buf, map + poff, count); in mdev_access()
/kernel/linux/linux-5.10/drivers/video/fbdev/aty/
Datyfb_base.c209 unsigned long poff; member
1961 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
2998 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3011 par->mmap_map[j].poff = (base + 0x800000) & PAGE_MASK; in atyfb_setup_sparc()
3020 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3588 par->mmap_map[0].poff = (unsigned long) info->screen_base & PAGE_MASK; in atyfb_pci_probe()
3593 par->mmap_map[1].poff = (long)par->ati_regbase & PAGE_MASK; in atyfb_pci_probe()
/kernel/linux/linux-5.10/fs/ext4/
Dmballoc.c1040 int block, pnum, poff; in ext4_mb_get_buddy_page_lock() local
1055 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()
1061 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_get_buddy_page_lock()
1172 int poff; in ext4_mb_load_buddy_gfp() local
1211 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1237 (poff * sb->s_blocksize)); in ext4_mb_load_buddy_gfp()
1253 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()
1257 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1288 e4b->bd_buddy = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()

12