Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/arch/sh/mm/
H A 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()
[all...]
/linux/drivers/gpu/drm/i915/
H A 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/arch/loongarch/kernel/
H A Dunwind_prologue.c31 static inline bool scan_handlers(unsigned long entry_offset) in scan_handlers() argument
35 if (entry_offset >= EXCCODE_INT_START * VECSIZE) in scan_handlers()
38 idx = entry_offset / VECSIZE; in scan_handlers()
39 offset = entry_offset % VECSIZE; in scan_handlers()
/linux/sound/firewire/dice/
H A 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/arch/x86/boot/compressed/
H A Dmisc.c410 size_t entry_offset; in extract_kernel() local
519 entry_offset = decompress_kernel(output, virt_addr, error); in extract_kernel()
521 debug_putstr("done.\nBooting the kernel (entry_offset: 0x"); in extract_kernel()
522 debug_puthex(entry_offset); in extract_kernel()
534 return output + entry_offset; in extract_kernel()
/linux/drivers/gpu/drm/i915/gt/uc/
H A 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/drivers/gpu/nova-core/
H A Dvbios.rs419 let entry_offset = tokens_start + (i * header.token_size as usize); in from_id() localVariable
422 if entry_offset + header.token_size as usize > image.base.data.len() { in from_id()
427 if image.base.data[entry_offset] == token_id { in from_id()
429 id: image.base.data[entry_offset], in from_id()
430 data_version: image.base.data[entry_offset + 1], in from_id()
432 image.base.data[entry_offset + 2], in from_id()
433 image.base.data[entry_offset + 3], in from_id()
436 image.base.data[entry_offset + 4], in from_id()
437 image.base.data[entry_offset + 5], in from_id()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dfill_link_info.c38 ssize_t offset, ssize_t entry_offset) in verify_perf_link_info() argument
40 ssize_t ref_ctr_offset = entry_offset /* ref_ctr_offset for uprobes */; in verify_perf_link_info()
66 ASSERT_EQ(info.perf_event.kprobe.addr, addr + entry_offset, in verify_perf_link_info()
163 ssize_t entry_offset = 0; in test_kprobe_fill_link_info() local
175 entry_offset = 4; in test_kprobe_fill_link_info()
179 entry_offset = 4; in test_kprobe_fill_link_info()
180 err = verify_perf_link_info(link_fd, type, kprobe_addr, 0, entry_offset); in test_kprobe_fill_link_info()
/linux/net/batman-adv/
H A Dmulticast_forw.c109 * @entry_offset: the offset of the hlist node within the orig_node struct
115 size_t entry_offset) in batadv_mcast_forw_orig_entry() argument
118 switch (entry_offset) { in batadv_mcast_forw_orig_entry()
129 return (struct batadv_orig_node *)((void *)node - entry_offset); in batadv_mcast_forw_orig_entry()
181 * @entry_offset: offset of an hlist node in an orig_node structure
194 size_t entry_offset, in batadv_mcast_forw_push_dests_list() argument
203 orig_node = batadv_mcast_forw_orig_entry(node, entry_offset); in batadv_mcast_forw_push_dests_list()
/linux/scripts/gdb/linux/
H A Dpgtable.py59 entry_offset = ((translating_va >> start_bit(level)) & 511) * 8
60 entry_va = _page_offset_base() + phys_addr + entry_offset
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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/mm/
H A Dswap_state.c589 unsigned long entry_offset = swp_offset(entry); in swap_cluster_readahead() local
590 unsigned long offset = entry_offset; in swap_cluster_readahead()
620 if (offset != entry_offset) { in swap_cluster_readahead()
/linux/drivers/soc/qcom/
H A Dsmem.c552 u64 entry_offset; in qcom_smem_get_global() local
569 entry_offset = le32_to_cpu(entry->offset); in qcom_smem_get_global()
571 if (WARN_ON(e_size + entry_offset > region->size)) in qcom_smem_get_global()
577 return region->virt_base + entry_offset; in qcom_smem_get_global()
/linux/arch/x86/include/asm/
H A Dsgx.h209 * @entry_offset: entry point offset relative to the enclave base
230 u64 entry_offset; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_tmpl.h14 __le32 entry_offset; member
H A Dqla_tmpl.c842 le32_to_cpu(tmp->entry_offset); in qla27xx_walk_template()
/linux/net/ipv4/netfilter/
H A 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()
1295 unsigned int entry_offset; in check_compat_entry_size_and_hooks() local
1317 entry_offset = (void *)e - (void *)base; in check_compat_entry_size_and_hooks()
1337 ret = xt_compat_add_offset(AF_INET, entry_offset, off); in check_compat_entry_size_and_hooks()
/linux/drivers/gpu/drm/xe/
H A Dxe_uc_fw.c463 static u32 entry_offset(const struct gsc_cpd_header_v2 *header, const char *name) in entry_offset() function
507 offset = entry_offset(header, manifest_entry); in parse_cpd_header()
544 offset = entry_offset(header, css_entry); in parse_cpd_header()
/linux/net/bridge/netfilter/
H A Debtables.c1787 unsigned int entry_offset; in compat_calc_entry() local
1794 entry_offset = (void *)e - base; in compat_calc_entry()
1806 ret = xt_compat_add_offset(NFPROTO_BRIDGE, entry_offset, off); in compat_calc_entry()
/linux/drivers/net/wireless/ath/ath12k/
H A Dmac.c6723 u32 entry_idx, entry_offset, vdev_idx; in ath12k_mac_mlo_sta_set_link_active() local
6732 entry_offset = vdev_id % 32; in ath12k_mac_mlo_sta_set_link_active()
6738 param.vdev_bitmap[entry_idx] |= 1 << entry_offset; in ath12k_mac_mlo_sta_set_link_active()
6752 entry_offset = vdev_id % 32; in ath12k_mac_mlo_sta_set_link_active()
6758 param.inactive_vdev_bitmap[entry_idx] |= 1 << entry_offset; in ath12k_mac_mlo_sta_set_link_active()