Home
last modified time | relevance | path

Searched refs:start_addr (Results 1 – 25 of 213) sorted by relevance

123456789

/linux-6.12.1/arch/s390/mm/
Dextmem.c66 unsigned long start_addr; member
226 seg->start_addr = qout->segstart; in query_segment_type()
279 if ((tmp->start_addr >> 20) > (seg->end >> 20)) in segment_overlaps_others()
281 if ((tmp->end >> 20) < (seg->start_addr >> 20)) in segment_overlaps_others()
297 unsigned long start_addr, end_addr, dummy; in __segment_load() local
301 start_addr = end_addr = 0; in __segment_load()
324 seg->res->start = seg->start_addr; in __segment_load()
342 rc = vmem_add_mapping(seg->start_addr, seg->end - seg->start_addr + 1); in __segment_load()
348 &start_addr, &end_addr); in __segment_load()
351 &start_addr, &end_addr); in __segment_load()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/isys/src/
Dibuf_ctrl_rmgr.c48 uint32_t *start_addr) in ia_css_isys_ibuf_rmgr_acquire() argument
56 assert(start_addr); in ia_css_isys_ibuf_rmgr_acquire()
85 handle->start_addr = ibuf_rsrc.free_start_addr; in ia_css_isys_ibuf_rmgr_acquire()
99 *start_addr = handle->start_addr; in ia_css_isys_ibuf_rmgr_acquire()
107 uint32_t *start_addr) in ia_css_isys_ibuf_rmgr_release() argument
112 assert(start_addr); in ia_css_isys_ibuf_rmgr_release()
116 if (handle->active && handle->start_addr == *start_addr) { in ia_css_isys_ibuf_rmgr_release()
/linux-6.12.1/tools/perf/scripts/python/
Darm-cs-trace-disasm.py83 def read_disam(dso_fname, dso_start, start_addr, stop_addr): argument
84 addr_range = str(start_addr) + ":" + str(stop_addr) + ":" + dso_fname
93 start_addr = start_addr - dso_start;
96 "--start-address="+format(start_addr,"#x"),
104 def print_disam(dso_fname, dso_start, start_addr, stop_addr): argument
105 for line in read_disam(dso_fname, dso_start, start_addr, stop_addr):
240 start_addr = cpu_data[str(cpu) + 'addr']
247 if (start_addr == 0 and stop_addr == 4):
251 if (start_addr < int(dso_start) or start_addr > int(dso_end)):
252 …print("Start address 0x%x is out of range [ 0x%x .. 0x%x ] for dso %s" % (start_addr, int(dso_star…
[all …]
/linux-6.12.1/tools/testing/selftests/mm/
Dvirtual_address_range.c100 unsigned long start_addr, end_addr, prev_end_addr; in validate_complete_va_space() local
122 &start_addr, &end_addr, prot) != 3) in validate_complete_va_space()
126 if (start_addr & (1UL << 63)) in validate_complete_va_space()
130 if (start_addr - prev_end_addr >= MAP_CHUNK_SIZE) in validate_complete_va_space()
147 while (start_addr + hop < end_addr) { in validate_complete_va_space()
148 if (write(fd, (void *)(start_addr + hop), 1) != 1) in validate_complete_va_space()
/linux-6.12.1/include/linux/
Dgenalloc.h53 unsigned long start_addr);
77 unsigned long start_addr; /* start address of memory chunk */ member
185 struct gen_pool *pool, unsigned long start_addr);
189 void *data, struct gen_pool *pool, unsigned long start_addr);
193 void *data, struct gen_pool *pool, unsigned long start_addr);
198 void *data, struct gen_pool *pool, unsigned long start_addr);
202 struct gen_pool *pool, unsigned long start_addr);
/linux-6.12.1/tools/testing/memblock/tests/
Dalloc_helpers_api.c194 phys_addr_t start_addr; in alloc_from_top_down_min_addr_cap_check() local
199 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_top_down_min_addr_cap_check()
200 min_addr = start_addr - SMP_CACHE_BYTES * 3; in alloc_from_top_down_min_addr_cap_check()
202 memblock_reserve(start_addr + r1_size, MEM_SIZE - r1_size); in alloc_from_top_down_min_addr_cap_check()
207 ASSERT_EQ(rgn->base, start_addr); in alloc_from_top_down_min_addr_cap_check()
318 phys_addr_t start_addr; in alloc_from_bottom_up_min_addr_cap_check() local
323 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_bottom_up_min_addr_cap_check()
324 min_addr = start_addr - SMP_CACHE_BYTES * 3; in alloc_from_bottom_up_min_addr_cap_check()
329 ASSERT_EQ(rgn->base, start_addr); in alloc_from_bottom_up_min_addr_cap_check()
/linux-6.12.1/drivers/scsi/aic7xxx/
Daic7xxx_93cx6.c150 u_int start_addr, u_int count) in ahc_read_seeprom() argument
161 for (k = start_addr; k < count + start_addr; k++) { in ahc_read_seeprom()
198 buf[k - start_addr] = v; in ahc_read_seeprom()
222 u_int start_addr, u_int count) in ahc_write_seeprom() argument
247 for (k = start_addr; k < count + start_addr; k++) { in ahc_write_seeprom()
264 v = buf[k - start_addr]; in ahc_write_seeprom()
Daic7xxx_93cx6.h97 u_int start_addr, u_int count);
99 u_int start_addr, u_int count);
/linux-6.12.1/lib/
Dgenalloc.c42 return chunk->end_addr - chunk->start_addr + 1; in chunk_size()
197 chunk->start_addr = virt; in gen_pool_add_owner()
224 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_virt_to_phys()
225 paddr = chunk->phys_addr + (addr - chunk->start_addr); in gen_pool_virt_to_phys()
305 nbits, data, pool, chunk->start_addr); in gen_pool_alloc_algo_owner()
316 addr = chunk->start_addr + ((unsigned long)start_bit << order); in gen_pool_alloc_algo_owner()
504 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_free_owner()
506 start_bit = (addr - chunk->start_addr) >> order; in gen_pool_free_owner()
562 if (start >= chunk->start_addr && start <= chunk->end_addr) { in gen_pool_has_addr()
649 struct gen_pool *pool, unsigned long start_addr) in gen_pool_first_fit() argument
[all …]
Derror-inject.c18 unsigned long start_addr; member
31 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
47 if (addr >= ent->start_addr && addr < ent->end_addr) { in get_injectable_error_type()
86 ent->start_addr = entry; in populate_error_injection_list()
201 seq_printf(m, "%ps\t%s\n", (void *)ent->start_addr, in ei_seq_show()
/linux-6.12.1/drivers/acpi/
Dacpi_memhotplug.c47 u64 start_addr; /* Memory Range start physical addr */ member
77 (info->start_addr + info->length == address64.address.minimum)) { in acpi_memory_get_resource()
90 new->start_addr = address64.address.minimum; in acpi_memory_get_resource()
154 return walk_memory_blocks(info->start_addr, info->length, adev, in acpi_bind_memory_blocks()
166 walk_memory_blocks(info->start_addr, info->length, NULL, in acpi_unbind_memory_blocks()
186 node = memory_add_physaddr_to_nid(info->start_addr); in acpi_memory_enable_device()
215 result = __add_memory(mgid, info->start_addr, info->length, in acpi_memory_enable_device()
264 __remove_memory(info->start_addr, info->length); in acpi_memory_remove_memory()
/linux-6.12.1/drivers/soc/fsl/
Ddpaa2-console.c55 void __iomem *start_addr; member
67 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte); in adjust_end()
99 (cd->end_of_data - cd->start_addr); in dpaa2_console_size()
144 cd->start_addr = cd->map_addr + buf_start - offset_delta; in dpaa2_generic_console_open()
145 cd->end_addr = cd->start_addr + buf_length; in dpaa2_generic_console_open()
153 cd->cur_ptr = cd->start_addr; in dpaa2_generic_console_open()
222 cd->cur_ptr = cd->start_addr; in dpaa2_console_read()
/linux-6.12.1/drivers/misc/sgi-xp/
Dxpnet.c364 u64 start_addr, u64 end_addr, u16 embedded_bytes, int dest_partid) in xpnet_send() argument
383 msg->size = end_addr - start_addr; in xpnet_send()
384 msg->leadin_ignore = (u64)skb->data - start_addr; in xpnet_send()
386 msg->buf_pa = xp_pa((void *)start_addr); in xpnet_send()
415 u64 start_addr, end_addr; in xpnet_dev_hard_start_xmit() local
445 start_addr = ((u64)skb->data & ~(L1_CACHE_BYTES - 1)); in xpnet_dev_hard_start_xmit()
469 xpnet_send(skb, queued_msg, start_addr, end_addr, in xpnet_dev_hard_start_xmit()
480 xpnet_send(skb, queued_msg, start_addr, end_addr, in xpnet_dev_hard_start_xmit()
/linux-6.12.1/arch/arm/mach-hisi/
Dplatsmp.c106 static void hix5hd2_set_scu_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr) in hix5hd2_set_scu_boot_addr() argument
110 virt = ioremap(start_addr, PAGE_SIZE); in hix5hd2_set_scu_boot_addr()
142 static void hip01_set_boot_addr(phys_addr_t start_addr, phys_addr_t jump_addr) in hip01_set_boot_addr() argument
146 virt = phys_to_virt(start_addr); in hip01_set_boot_addr()
/linux-6.12.1/sound/pci/emu10k1/
Demupcm.c263 unsigned int start_addr, in snd_emu10k1_pcm_init_voice() argument
282 PSST, start_addr | (send_amount[2] << 24), in snd_emu10k1_pcm_init_voice()
318 unsigned int start_addr, in snd_emu10k1_pcm_init_voices() argument
324 start_addr, end_addr, in snd_emu10k1_pcm_init_voices()
329 start_addr, end_addr, in snd_emu10k1_pcm_init_voices()
338 unsigned int start_addr, in snd_emu10k1_pcm_init_extra_voice() argument
345 start_addr, end_addr, in snd_emu10k1_pcm_init_extra_voice()
385 epcm->start_addr = 0; in snd_emu10k1_playback_hw_params()
391 epcm->start_addr = mapped << PAGE_SHIFT; in snd_emu10k1_playback_hw_params()
413 epcm->start_addr = 0; in snd_emu10k1_playback_hw_free()
[all …]
/linux-6.12.1/arch/arm64/mm/
Dcontpte.c53 unsigned long start_addr; in contpte_convert() local
58 start_addr = addr = ALIGN_DOWN(addr, CONT_PTE_SIZE); in contpte_convert()
71 __flush_tlb_range(&vma, start_addr, addr, PAGE_SIZE, true, 3); in contpte_convert()
73 __set_ptes(mm, start_addr, start_ptep, pte, CONT_PTES); in contpte_convert()
397 unsigned long start_addr; in contpte_ptep_set_access_flags() local
422 start_addr = addr = ALIGN_DOWN(addr, CONT_PTE_SIZE); in contpte_ptep_set_access_flags()
434 __flush_tlb_range(vma, start_addr, addr, in contpte_ptep_set_access_flags()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Daqua_vanjaram.c729 uint64_t start_addr; member
763 uint32_t start_addr, incrx, num_regs, szbuf; in aqua_vanjaram_read_pcie_state() local
789 start_addr = pcie_reg_addrs[r].start_addr; in aqua_vanjaram_read_pcie_state()
793 aqua_read_smn(adev, reg_data, start_addr + n * incrx); in aqua_vanjaram_read_pcie_state()
852 uint32_t start_addr, incrx, num_regs, szbuf; in aqua_vanjaram_read_xgmi_state() local
884 start_addr = xgmi_reg_addrs[r].start_addr; in aqua_vanjaram_read_xgmi_state()
891 XGMI_LINK_REG(start_addr, j) + in aqua_vanjaram_read_xgmi_state()
926 uint32_t start_addr, incrx, num_regs, szbuf; in aqua_vanjaram_read_wafl_state() local
958 start_addr = wafl_reg_addrs[r].start_addr; in aqua_vanjaram_read_wafl_state()
964 WAFL_LINK_REG(start_addr, j) + in aqua_vanjaram_read_wafl_state()
[all …]
Damdgpu_psp.c804 psp_copy_fw(psp, psp->toc.start_addr, psp->toc.size_bytes); in psp_load_toc()
839 psp->toc.start_addr && in psp_tmr_init()
1031 memcpy(psp->fw_pri_buf, psp->rl.start_addr, psp->rl.size_bytes); in psp_rl_load()
1229 psp_copy_fw(psp, context->bin_desc.start_addr, in psp_ta_load()
1280 !psp->xgmi_context.context.bin_desc.start_addr) in psp_xgmi_initialize()
1746 !adev->psp.ras_context.context.bin_desc.start_addr) { in psp_ras_initialize()
1911 !psp->hdcp_context.context.bin_desc.start_addr) { in psp_hdcp_initialize()
1985 !psp->dtm_context.context.bin_desc.start_addr) { in psp_dtm_initialize()
2056 !psp->rap_context.context.bin_desc.start_addr) { in psp_rap_initialize()
2158 !psp->securedisplay_context.context.bin_desc.start_addr) { in psp_securedisplay_initialize()
[all …]
/linux-6.12.1/drivers/crypto/ccp/
Dtee-dev.c28 void *start_addr; in tee_alloc_ring() local
36 start_addr = (void *)__get_free_pages(GFP_KERNEL, get_order(ring_size)); in tee_alloc_ring()
37 if (!start_addr) in tee_alloc_ring()
40 memset(start_addr, 0x0, ring_size); in tee_alloc_ring()
41 rb_mgr->ring_start = start_addr; in tee_alloc_ring()
43 rb_mgr->ring_pa = __psp_pa(start_addr); in tee_alloc_ring()
/linux-6.12.1/tools/testing/selftests/prctl/
Dset-anon-vma-name-test.c41 unsigned long start_addr, end_addr, offset; in was_renaming_successful() local
57 sscanf_res = sscanf(line_buf, "%lx-%lx %7s %lx %u:%u %u %s", &start_addr, in was_renaming_successful()
65 if (!strcmp(name, target_buf) && start_addr == ptr) { in was_renaming_successful()
/linux-6.12.1/drivers/soundwire/
Ddebugfs.c141 static u32 start_addr; variable
173 start_addr = value; in set_start_address()
208 if (start_addr > SDW_REG_MAX || in cmd_go()
240 ret = sdw_nwrite_no_pm(slave, start_addr, num_bytes, fw->data); in cmd_go()
243 ret = sdw_nread_no_pm(slave, start_addr, num_bytes, read_buffer); in cmd_go()
269 start_addr + i, read_buffer[i]); in read_buffer_show()
/linux-6.12.1/sound/pci/aw2/
Daw2-saa7146.c374 unsigned char *start_addr, in snd_aw2_saa7146_get_hw_ptr_playback() argument
382 ptr = pci_adp - (long)start_addr; in snd_aw2_saa7146_get_hw_ptr_playback()
389 ptr = pci_adp - (size_t) start_addr; in snd_aw2_saa7146_get_hw_ptr_playback()
399 unsigned char *start_addr, in snd_aw2_saa7146_get_hw_ptr_capture() argument
406 ptr = pci_adp - (size_t) start_addr; in snd_aw2_saa7146_get_hw_ptr_capture()
/linux-6.12.1/arch/loongarch/kernel/
Dmachine_kexec.c39 static unsigned long start_addr; variable
134 do_kexec(efi_boot, cmdline_ptr, systable_ptr, start_addr, first_ind_entry); in kexec_reboot()
266 start_addr = (unsigned long)phys_to_virt(image->start); in machine_kexec()
293 pr_notice("We will call new kernel at 0x%lx\n", start_addr); in machine_kexec()
/linux-6.12.1/drivers/staging/media/atomisp/pci/css_2401_system/
Dibuf_ctrl_global.h37 u32 start_addr; /* start address of the buffer in the member
65 u32 start_addr; member
/linux-6.12.1/drivers/media/common/b2c2/
Dflexcop-i2c.c109 u8 start_addr, u8 *buf, u16 size) in flexcop_i2c_request() argument
114 u8 addr = start_addr; in flexcop_i2c_request()
122 chipaddr, start_addr, size); in flexcop_i2c_request()
132 buf = &start_addr; in flexcop_i2c_request()
159 chipaddr, start_addr, size, buf); in flexcop_i2c_request()

123456789