Home
last modified time | relevance | path

Searched refs:entry_offset (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dpower_budget.c106 u32 entry_offset; in nvbios_power_budget_entry() local
112 entry_offset = budget->offset + budget->hlen + idx * budget->elen; in nvbios_power_budget_entry()
115 entry->min_w = nvbios_rd32(bios, entry_offset + 0x2); in nvbios_power_budget_entry()
116 entry->avg_w = nvbios_rd32(bios, entry_offset + 0x6); in nvbios_power_budget_entry()
117 entry->max_w = nvbios_rd32(bios, entry_offset + 0xa); in nvbios_power_budget_entry()
120 entry->max_w = nvbios_rd32(bios, entry_offset + 0x2); in nvbios_power_budget_entry()
/linux-6.6.21/arch/sh/mm/
Dcache-sh4.c161 unsigned long addr, end_addr, entry_offset; in flush_dcache_all() local
168 entry_offset = 1 << current_cpu_data.dcache.entry_shift; in flush_dcache_all()
171 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
172 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
173 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
174 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
175 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
176 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
177 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
178 __raw_writel(0, addr); addr += entry_offset; in flush_dcache_all()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_ioctl.c55 u32 entry_offset = i915_mmio_reg_offset(entry->offset_ldw); in i915_reg_read_ioctl() local
59 GEM_BUG_ON(entry_offset & (entry->size - 1)); in i915_reg_read_ioctl()
62 entry_offset == (reg->offset & -entry->size)) in i915_reg_read_ioctl()
/linux-6.6.21/arch/loongarch/kernel/
Dunwind_prologue.c30 static inline bool scan_handlers(unsigned long entry_offset) in scan_handlers() argument
34 if (entry_offset >= EXCCODE_INT_START * VECSIZE) in scan_handlers()
37 idx = entry_offset / VECSIZE; in scan_handlers()
38 offset = entry_offset % VECSIZE; in scan_handlers()
/linux-6.6.21/sound/firewire/dice/
Ddice-extension.c65 u32 entry_offset; in read_stream_entries() local
71 entry_offset = base_offset + i * EXT_APP_STREAM_ENTRY_SIZE; in read_stream_entries()
73 entry_offset + EXT_APP_NUMBER_AUDIO, in read_stream_entries()
/linux-6.6.21/arch/x86/boot/compressed/
Dmisc.c382 size_t entry_offset; in extract_kernel() local
487 entry_offset = decompress_kernel(output, virt_addr, error); in extract_kernel()
490 debug_puthex(entry_offset); in extract_kernel()
496 return output + entry_offset; in extract_kernel()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dfill_link_info.c34 ssize_t offset, ssize_t entry_offset) in verify_perf_link_info() argument
61 ASSERT_EQ(info.perf_event.kprobe.addr, addr + entry_offset, in verify_perf_link_info()
142 ssize_t entry_offset = 0; in test_kprobe_fill_link_info() local
154 entry_offset = 4; in test_kprobe_fill_link_info()
155 err = verify_perf_link_info(link_fd, type, kprobe_addr, 0, entry_offset); in test_kprobe_fill_link_info()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_huc_fw.c125 static inline u32 entry_offset(const struct intel_gsc_cpd_entry *entry) in entry_offset() function
221 data + entry_offset(entry)); in intel_huc_fw_get_binary_info()
224 u32 offset = entry_offset(entry); in intel_huc_fw_get_binary_info()
/linux-6.6.21/scripts/gdb/linux/
Dpgtable.py61 entry_offset = ((translating_va >> start_bit(level)) & 511) * 8
62 entry_va = _page_offset_base() + phys_addr + entry_offset
/linux-6.6.21/mm/
Dzswap.c319 pgoff_t entry_offset; in zswap_rb_search() local
323 entry_offset = swp_offset(entry->swpentry); in zswap_rb_search()
324 if (entry_offset > offset) in zswap_rb_search()
326 else if (entry_offset < offset) in zswap_rb_search()
343 pgoff_t myentry_offset, entry_offset = swp_offset(entry->swpentry); in zswap_rb_insert() local
349 if (myentry_offset > entry_offset) in zswap_rb_insert()
351 else if (myentry_offset < entry_offset) in zswap_rb_insert()
Dswap_state.c624 unsigned long entry_offset = swp_offset(entry); in swap_cluster_readahead() local
625 unsigned long offset = entry_offset; in swap_cluster_readahead()
657 if (offset != entry_offset) { in swap_cluster_readahead()
/linux-6.6.21/arch/s390/kernel/
Ddebug.c461 size_t entry_offset; in debug_output() local
469 entry_offset = p_info->act_entry_offset; in debug_output()
477 formatted_line_residue = formatted_line_size - entry_offset; in debug_output()
482 + entry_offset, copy_size)) in debug_output()
485 entry_offset += copy_size; in debug_output()
488 entry_offset = 0; in debug_output()
495 p_info->act_entry_offset = entry_offset; in debug_output()
/linux-6.6.21/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_minidump.c1290 u32 entry_offset, dump, no_entries, buf_offset = 0; in qlcnic_dump_fw() local
1335 entry_offset = fw_dump->offset; in qlcnic_dump_fw()
1352 entry = tmpl_hdr + entry_offset; in qlcnic_dump_fw()
1355 entry_offset += entry->hdr.offset; in qlcnic_dump_fw()
1371 entry_offset += entry->hdr.offset; in qlcnic_dump_fw()
1379 entry_offset += entry->hdr.offset; in qlcnic_dump_fw()
1384 entry_offset += entry->hdr.offset; in qlcnic_dump_fw()
/linux-6.6.21/fs/nilfs2/
Dalloc.c365 unsigned long entry_offset, group_offset; in nilfs_palloc_block_get_entry() local
368 entry_offset = group_offset % NILFS_MDT(inode)->mi_entries_per_block; in nilfs_palloc_block_get_entry()
371 entry_offset * NILFS_MDT(inode)->mi_entry_size; in nilfs_palloc_block_get_entry()
/linux-6.6.21/net/ipv4/netfilter/
Darp_tables.c741 unsigned int entry_offset; in compat_calc_entry() local
745 entry_offset = (void *)e - base; in compat_calc_entry()
750 ret = xt_compat_add_offset(NFPROTO_ARP, entry_offset, off); in compat_calc_entry()
1078 unsigned int entry_offset; in check_compat_entry_size_and_hooks() local
1099 entry_offset = (void *)e - (void *)base; in check_compat_entry_size_and_hooks()
1112 ret = xt_compat_add_offset(NFPROTO_ARP, entry_offset, off); in check_compat_entry_size_and_hooks()
Dip_tables.c895 unsigned int entry_offset; in compat_calc_entry() local
899 entry_offset = (void *)e - base; in compat_calc_entry()
905 ret = xt_compat_add_offset(AF_INET, entry_offset, off); in compat_calc_entry()
1291 unsigned int entry_offset; in check_compat_entry_size_and_hooks() local
1313 entry_offset = (void *)e - (void *)base; in check_compat_entry_size_and_hooks()
1333 ret = xt_compat_add_offset(AF_INET, entry_offset, off); in check_compat_entry_size_and_hooks()
/linux-6.6.21/drivers/soc/qcom/
Dsmem.c524 u64 entry_offset; in qcom_smem_get_global() local
541 entry_offset = le32_to_cpu(entry->offset); in qcom_smem_get_global()
543 if (WARN_ON(e_size + entry_offset > region->size)) in qcom_smem_get_global()
549 return region->virt_base + entry_offset; in qcom_smem_get_global()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_tmpl.h14 __le32 entry_offset; member
Dqla_tmpl.c842 le32_to_cpu(tmp->entry_offset); in qla27xx_walk_template()
/linux-6.6.21/arch/x86/include/asm/
Dsgx.h230 u64 entry_offset; member
/linux-6.6.21/net/ipv6/netfilter/
Dip6_tables.c911 unsigned int entry_offset; in compat_calc_entry() local
915 entry_offset = (void *)e - base; in compat_calc_entry()
921 ret = xt_compat_add_offset(AF_INET6, entry_offset, off); in compat_calc_entry()
1307 unsigned int entry_offset; in check_compat_entry_size_and_hooks() local
1329 entry_offset = (void *)e - (void *)base; in check_compat_entry_size_and_hooks()
1349 ret = xt_compat_add_offset(AF_INET6, entry_offset, off); in check_compat_entry_size_and_hooks()
/linux-6.6.21/net/bridge/netfilter/
Debtables.c1783 unsigned int entry_offset; in compat_calc_entry() local
1790 entry_offset = (void *)e - base; in compat_calc_entry()
1802 ret = xt_compat_add_offset(NFPROTO_BRIDGE, entry_offset, off); in compat_calc_entry()