Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/video/fbdev/
Dcg14.c373 .poff = 0x80000000,
378 .poff = 0x80003000,
383 .poff = 0x80004000,
388 .poff = 0x80005000,
393 .poff = 0x80006000,
398 .poff = 0x80000000,
403 .poff = 0x00000000,
408 .poff = 0x80001000,
413 .poff = 0x01000000,
418 .poff = 0x02000000,
[all …]
Dffb.c717 .poff = FFB_SFB8R_POFF,
722 .poff = FFB_SFB8G_POFF,
727 .poff = FFB_SFB8B_POFF,
732 .poff = FFB_SFB8X_POFF,
737 .poff = FFB_SFB32_POFF,
742 .poff = FFB_SFB64_POFF,
747 .poff = FFB_FBC_REGS_POFF,
752 .poff = FFB_BM_FBC_REGS_POFF,
757 .poff = FFB_DFB8R_POFF,
762 .poff = FFB_DFB8G_POFF,
[all …]
Dleo.c351 .poff = LEO_OFF_SS0,
356 .poff = LEO_OFF_LC_SS0_USR,
361 .poff = LEO_OFF_LD_SS0,
366 .poff = LEO_OFF_LX_CURSOR,
371 .poff = LEO_OFF_SS1,
376 .poff = LEO_OFF_LC_SS1_USR,
381 .poff = LEO_OFF_LD_SS1,
386 .poff = LEO_OFF_UNK,
391 .poff = LEO_OFF_LX_KRN,
396 .poff = LEO_OFF_LC_SS0_KRN,
[all …]
Dcg6.c552 .poff = CG6_FBC_OFFSET,
557 .poff = CG6_TEC_OFFSET,
562 .poff = CG6_BROOKTREE_OFFSET,
567 .poff = CG6_FHC_OFFSET,
572 .poff = CG6_THC_OFFSET,
577 .poff = CG6_ROM_OFFSET,
582 .poff = CG6_RAM_OFFSET,
587 .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.c222 .poff = CG3_RAM_OFFSET,
Dtcx.c439 par->mmap_map[i].poff = op->resource[j].start; in tcx_probe()
/linux-6.6.21/drivers/watchdog/
Dpm8916_wdt.c147 u8 poff[2]; in pm8916_wdt_probe() local
189 &poff, ARRAY_SIZE(poff)); in pm8916_wdt_probe()
195 dev_dbg(dev, "POFF reason: %#x %#x\n", poff[0], poff[1]); in pm8916_wdt_probe()
196 if (poff[0] & PON_POFF_REASON1_PMIC_WD) in pm8916_wdt_probe()
198 if (poff[1] & PON_POFF_REASON2_UVLO) in pm8916_wdt_probe()
200 if (poff[1] & PON_POFF_REASON2_OTST3) in pm8916_wdt_probe()
/linux-6.6.21/arch/mips/kernel/
Dprocess.c223 static inline int is_ra_save_ins(union mips_instruction *ip, int *poff) in is_ra_save_ins() argument
241 *poff = ip->mm16_r5_format.imm; in is_ra_save_ins()
242 *poff = (*poff << 2) / sizeof(ulong); in is_ra_save_ins()
248 *poff = ip->mm16_m_format.imm; in is_ra_save_ins()
249 *poff += 1 + ip->mm16_m_format.rlist; in is_ra_save_ins()
250 *poff = (*poff << 2) / sizeof(ulong); in is_ra_save_ins()
269 *poff = ip->i_format.simmediate / sizeof(ulong); in is_ra_save_ins()
280 *poff = ip->mm_m_format.simmediate; in is_ra_save_ins()
281 *poff += (ip->mm_m_format.rd & 0xf) * sizeof(u32); in is_ra_save_ins()
282 *poff /= sizeof(ulong); in is_ra_save_ins()
[all …]
/linux-6.6.21/fs/iomap/
Dbuffered-io.c202 size_t poff = offset_in_folio(folio, *pos); in iomap_adjust_read_range() local
203 size_t plen = min_t(loff_t, folio_size(folio) - poff, length); in iomap_adjust_read_range()
204 unsigned first = poff >> block_bits; in iomap_adjust_read_range()
205 unsigned last = (poff + plen - 1) >> block_bits; in iomap_adjust_read_range()
220 poff += block_size; in iomap_adjust_read_range()
247 *offp = poff; in iomap_adjust_read_range()
298 size_t poff = offset_in_page(iomap->offset); in iomap_read_inline_data() local
305 if (WARN_ON_ONCE(size > PAGE_SIZE - poff)) in iomap_read_inline_data()
317 memset(addr + size, 0, PAGE_SIZE - poff - size); in iomap_read_inline_data()
319 iomap_set_range_uptodate(folio, offset, PAGE_SIZE - poff); in iomap_read_inline_data()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dalternative.c1275 const s32 *poff; in alternatives_smp_lock() local
1277 for (poff = start; poff < end; poff++) { in alternatives_smp_lock()
1278 u8 *ptr = (u8 *)poff + *poff; in alternatives_smp_lock()
1280 if (!*poff || ptr < text || ptr >= text_end) in alternatives_smp_lock()
1291 const s32 *poff; in alternatives_smp_unlock() local
1293 for (poff = start; poff < end; poff++) { in alternatives_smp_unlock()
1294 u8 *ptr = (u8 *)poff + *poff; in alternatives_smp_unlock()
1296 if (!*poff || ptr < text || ptr >= text_end) in alternatives_smp_unlock()
1403 const s32 *poff; in alternatives_text_reserved() local
1412 for (poff = mod->locks; poff < mod->locks_end; poff++) { in alternatives_text_reserved()
[all …]
/linux-6.6.21/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.c110 int poff; in parse_ip_proto() local
/linux-6.6.21/net/core/
Dflow_dissector.c122 int poff = proto_ports_offset(ip_proto); in __skb_flow_get_ports() local
129 if (poff >= 0) { in __skb_flow_get_ports()
132 ports = __skb_header_pointer(skb, thoff + poff, in __skb_flow_get_ports()
1874 u32 poff = keys->control.thoff; in __skb_get_poff() local
1879 return poff; in __skb_get_poff()
1887 doff = __skb_header_pointer(skb, poff + 12, sizeof(_doff), in __skb_get_poff()
1890 return poff; in __skb_get_poff()
1892 poff += max_t(u32, sizeof(struct tcphdr), (*doff & 0xF0) >> 2); in __skb_get_poff()
1897 poff += sizeof(struct udphdr); in __skb_get_poff()
1903 poff += sizeof(struct icmphdr); in __skb_get_poff()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
97 memcpy_to_page(page, poff, buffer + cnt, plen); in rtsx_stor_access_xfer_buf()
99 memcpy_from_page(buffer + cnt, page, poff, plen); in rtsx_stor_access_xfer_buf()
102 poff = 0; in rtsx_stor_access_xfer_buf()
/linux-6.6.21/kernel/
Drelay.c1115 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
1149 poff = read_start & ~PAGE_MASK; in subbuf_splice_actor()
1159 this_len = min_t(unsigned long, len, PAGE_SIZE - poff); in subbuf_splice_actor()
1163 spd.partial[spd.nr_pages].offset = poff; in subbuf_splice_actor()
1175 poff = 0; in subbuf_splice_actor()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dnv50.c48 const u32 poff = nv50_ior_base(pior); in nv50_pior_clock() local
50 nvkm_mask(device, 0x614380 + poff, 0x00000707, 0x00000001); in nv50_pior_clock()
69 nv50_pior_power_wait(struct nvkm_device *device, u32 poff) in nv50_pior_power_wait() argument
72 if (!(nvkm_rd32(device, 0x61e004 + poff) & 0x80000000)) in nv50_pior_power_wait()
81 const u32 poff = nv50_ior_base(pior); in nv50_pior_power() local
86 nv50_pior_power_wait(device, poff); in nv50_pior_power()
87 nvkm_mask(device, 0x61e004 + poff, field, state); in nv50_pior_power()
88 nv50_pior_power_wait(device, poff); in nv50_pior_power()
Dgv100.c377 const u32 poff = chan->chid.ctrl * 0x10; in gv100_disp_dmac_init() local
380 nvkm_wr32(device, 0x610b24 + poff, lower_32_bits(chan->push)); in gv100_disp_dmac_init()
381 nvkm_wr32(device, 0x610b20 + poff, upper_32_bits(chan->push)); in gv100_disp_dmac_init()
382 nvkm_wr32(device, 0x610b28 + poff, 0x00000001); in gv100_disp_dmac_init()
383 nvkm_wr32(device, 0x610b2c + poff, 0x00000040); in gv100_disp_dmac_init()
/linux-6.6.21/drivers/net/ethernet/sfc/
Dtc_counters.c410 #define TCV2_PKT_PTR(pkt, poff, i, field) \ argument
412 (pkt) + ERF_SC_PACKETISER_PAYLOAD_##field##_LBN/8 + poff + \
/linux-6.6.21/samples/vfio-mdev/
Dmbochs.c442 loff_t poff; in mdev_access() local
478 poff = pos & ~PAGE_MASK; in mdev_access()
482 memcpy(map + poff, buf, count); in mdev_access()
484 memcpy(buf, map + poff, count); in mdev_access()
/linux-6.6.21/drivers/video/fbdev/aty/
Datyfb_base.c219 unsigned long poff; member
1971 map_offset = par->mmap_map[i].poff + (offset - start); in atyfb_mmap()
3003 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3016 par->mmap_map[j].poff = (base + 0x800000) & PAGE_MASK; in atyfb_setup_sparc()
3025 par->mmap_map[j].poff = base & PAGE_MASK; in atyfb_setup_sparc()
3591 par->mmap_map[0].poff = (unsigned long) info->screen_base & PAGE_MASK; in atyfb_pci_probe()
3596 par->mmap_map[1].poff = (long)par->ati_regbase & PAGE_MASK; in atyfb_pci_probe()
/linux-6.6.21/fs/ext4/
Dmballoc.c1448 int block, pnum, poff; in ext4_mb_get_buddy_page_lock() local
1463 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()
1469 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_get_buddy_page_lock()
1580 int poff; in ext4_mb_load_buddy_gfp() local
1619 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1651 (poff * sb->s_blocksize)); in ext4_mb_load_buddy_gfp()
1667 e4b->bd_bitmap = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()
1671 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1708 e4b->bd_buddy = page_address(page) + (poff * sb->s_blocksize); in ext4_mb_load_buddy_gfp()

12