Home
last modified time | relevance | path

Searched refs:end_addr (Results 1 – 25 of 102) sorted by relevance

12345

/linux-6.1.9/arch/sparc/kernel/
Dadi_64.c163 unsigned long end_addr, hole_start, hole_end; in alloc_tag_store() local
169 end_addr = addr + PAGE_SIZE - 1; in alloc_tag_store()
194 if ((tag_desc->start > end_addr) && in alloc_tag_store()
239 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
241 if (end_addr < addr) { in alloc_tag_store()
243 end_addr = addr + (size*2*adi_blksize()) - 1; in alloc_tag_store()
248 if (end_addr < addr) in alloc_tag_store()
249 end_addr = ULONG_MAX; in alloc_tag_store()
251 if (hole_end < end_addr) { in alloc_tag_store()
258 end_addr = hole_end - 1; in alloc_tag_store()
[all …]
/linux-6.1.9/arch/s390/mm/
Dextmem.c296 unsigned long start_addr, end_addr, dummy; in __segment_load() local
300 start_addr = end_addr = 0; in __segment_load()
346 &start_addr, &end_addr); in __segment_load()
349 &start_addr, &end_addr); in __segment_load()
357 pr_warn("Loading DCSS %s failed with rc=%ld\n", name, end_addr); in __segment_load()
358 rc = dcss_diag_translate_rc(end_addr); in __segment_load()
364 seg->end = end_addr; in __segment_load()
456 unsigned long start_addr, end_addr, dummy; in segment_modify_shared() local
459 start_addr = end_addr = 0; in segment_modify_shared()
496 &start_addr, &end_addr); in segment_modify_shared()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/
Dmsm_disp_snapshot_util.c19 void __iomem *end_addr; in msm_disp_state_dump_regs() local
26 end_addr = base_addr + aligned_len; in msm_disp_state_dump_regs()
35 x0 = (addr < end_addr) ? readl_relaxed(addr + 0x0) : 0; in msm_disp_state_dump_regs()
36 x4 = (addr + 0x4 < end_addr) ? readl_relaxed(addr + 0x4) : 0; in msm_disp_state_dump_regs()
37 x8 = (addr + 0x8 < end_addr) ? readl_relaxed(addr + 0x8) : 0; in msm_disp_state_dump_regs()
38 xc = (addr + 0xc < end_addr) ? readl_relaxed(addr + 0xc) : 0; in msm_disp_state_dump_regs()
/linux-6.1.9/tools/testing/selftests/vm/
Dmlock2-tests.c24 char *end_addr; in get_vm_area() local
41 end_addr = strchr(line, '-'); in get_vm_area()
42 if (!end_addr) { in get_vm_area()
46 *end_addr = '\0'; in get_vm_area()
47 end_addr++; in get_vm_area()
48 stop = strchr(end_addr, ' '); in get_vm_area()
56 sscanf(end_addr, "%lx", &end); in get_vm_area()
/linux-6.1.9/lib/
Derror-inject.c19 unsigned long end_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()
87 ent->end_addr = entry + size; in populate_error_injection_list()
Dgenalloc.c40 return chunk->end_addr - chunk->start_addr + 1; in chunk_size()
198 chunk->end_addr = virt + size - 1; in gen_pool_add_owner()
224 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_virt_to_phys()
504 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_free_owner()
505 BUG_ON(addr + size - 1 > chunk->end_addr); in gen_pool_free_owner()
562 if (start >= chunk->start_addr && start <= chunk->end_addr) { in gen_pool_has_addr()
563 if (end <= chunk->end_addr) { in gen_pool_has_addr()
/linux-6.1.9/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()
385 msg->tailout_ignore = end_addr - (u64)skb_tail_pointer(skb); in xpnet_send()
415 u64 start_addr, end_addr; in xpnet_dev_hard_start_xmit() local
446 end_addr = L1_CACHE_ALIGN((u64)skb_tail_pointer(skb)); 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.1.9/drivers/soc/fsl/
Ddpaa2-console.c55 void __iomem *end_addr; member
97 size = (cd->end_addr - cd->cur_ptr) + in dpaa2_console_size()
144 cd->end_addr = cd->start_addr + buf_length; in dpaa2_generic_console_open()
149 if (wrapped && cd->end_of_data != cd->end_addr) in dpaa2_generic_console_open()
196 size_t bytes_end = cd->end_addr - cd->cur_ptr; in dpaa2_console_read()
/linux-6.1.9/drivers/pcmcia/
Drsrc_nonstatic.c1100 unsigned long start_addr, end_addr; local
1104 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1106 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1110 &end_addr);
1116 if (end_addr < start_addr)
1120 ret = adjust_io(s, add, start_addr, end_addr);
1166 unsigned long start_addr, end_addr; local
1170 ret = sscanf(buf, "+ 0x%lx - 0x%lx", &start_addr, &end_addr);
1172 ret = sscanf(buf, "- 0x%lx - 0x%lx", &start_addr, &end_addr);
1176 &end_addr);
[all …]
/linux-6.1.9/tools/testing/selftests/sparc64/drivers/
Dadi-test.c84 static unsigned long long int end_addr[MAX_RANGES_SUPPORTED]; variable
160 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
170 i, start_addr[i], end_addr[i]); in build_memory_map()
317 (end_addr[range_count - 1] - 0x1000) & ~(ADI_BLKSZ - 1); in test0_prpw_aligned_1byte()
351 (end_addr[range_count - 1] - 0x6000) & ~(ADI_BLKSZ - 1); in test1_prpw_aligned_4096bytes()
519 (end_addr[range_count - 1] - 0xF000) & ~(ADI_BLKSZ - 1); in test5_rw_aligned_1byte()
564 (end_addr[range_count - 1] - 0x5F000) & ~(ADI_BLKSZ - 1); in test6_rw_aligned_9434bytes()
/linux-6.1.9/drivers/ntb/
Dmsi.c11 u64 end_addr; member
151 ntb->msi->end_addr = addr + mw_min_size; in ntb_msi_setup_mws()
203 if (addr < ntb->msi->base_addr || addr >= ntb->msi->end_addr) { in ntb_msi_set_desc()
207 ntb->msi->end_addr); in ntb_msi_set_desc()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dfw.c43 unsigned long pos_addr, end_addr; in carl9170_fw_verify_descs() local
53 end_addr = pos_addr + max_len; in carl9170_fw_verify_descs()
55 while (pos_addr < end_addr) { in carl9170_fw_verify_descs()
56 if (pos_addr + sizeof(*head) > end_addr) in carl9170_fw_verify_descs()
67 if (pos_addr + pos_length > end_addr) in carl9170_fw_verify_descs()
/linux-6.1.9/drivers/staging/media/atomisp/pci/css_2401_system/host/
Disys_stream2mmio_private.h76 state->end_addr = in stream2mmio_get_sid_state()
99 ia_css_print("\t \t Endaddr 0x%x\n", state->end_addr); in stream2mmio_print_sid_state()
/linux-6.1.9/arch/sh/mm/
Dcache-sh4.c151 unsigned long addr, end_addr, entry_offset; in flush_dcache_all() local
153 end_addr = CACHE_OC_ADDRESS_ARRAY + in flush_dcache_all()
160 for (addr = CACHE_OC_ADDRESS_ARRAY; addr < end_addr; ) { in flush_dcache_all()
/linux-6.1.9/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h153 int end_addr; member
175 int end_addr; member
/linux-6.1.9/arch/s390/include/asm/
Ddiag.h49 unsigned long start_addr, end_addr; in diag10_range() local
52 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range()
60 : : "a" (start_addr), "a" (end_addr)); in diag10_range()
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvfw/
Dacr.h104 u32 end_addr; member
133 u32 end_addr; member
/linux-6.1.9/drivers/misc/habanalabs/common/mmu/
Dmmu.c34 prop->dmmu.end_addr); in hl_is_dram_va()
392 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_map_contiguous()
395 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_map_contiguous()
398 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_map_contiguous()
452 prop->dmmu.start_addr, prop->dmmu.end_addr)) in hl_mmu_unmap_contiguous()
455 prop->pmmu.start_addr, prop->pmmu.end_addr)) in hl_mmu_unmap_contiguous()
458 prop->pmmu_huge.start_addr, prop->pmmu_huge.end_addr)) in hl_mmu_unmap_contiguous()
605 prop->dmmu.end_addr); in hl_mmu_get_tlb_info()
786 hl_asic_dma_free_coherent(hdev, (chunk->end_addr - chunk->start_addr) + 1, in mmu_dma_mem_free_from_chunk()
/linux-6.1.9/sound/pci/emu10k1/
Demupcm.c273 unsigned int end_addr, in snd_emu10k1_pcm_init_voice() argument
292 end_addr >>= 1; in snd_emu10k1_pcm_init_voice()
296 end_addr >>= 1; in snd_emu10k1_pcm_init_voice()
322 end_addr += ccis + emu->delay_pcm_irq; in snd_emu10k1_pcm_init_voice()
349 snd_emu10k1_ptr_write(emu, DSL, voice, end_addr | (send_amount[3] << 24)); in snd_emu10k1_pcm_init_voice()
495 unsigned int start_addr, end_addr; in snd_emu10k1_playback_prepare() local
498 end_addr = snd_pcm_lib_period_bytes(substream); in snd_emu10k1_playback_prepare()
501 end_addr >>= 1; in snd_emu10k1_playback_prepare()
503 end_addr += start_addr; in snd_emu10k1_playback_prepare()
505 start_addr, end_addr, NULL); in snd_emu10k1_playback_prepare()
[all …]
/linux-6.1.9/drivers/media/platform/chips-media/
Dcoda-jpeg.c487 u32 bbc_base_addr, end_addr; in coda9_jpeg_dec_bbc_gbu_setup() local
492 end_addr = bbc_base_addr + vb2_get_plane_payload(buf, 0); in coda9_jpeg_dec_bbc_gbu_setup()
503 coda_write(dev, end_addr, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_dec_bbc_gbu_setup()
507 coda_write(dev, end_addr + 256 * 3 + 256, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_dec_bbc_gbu_setup()
1075 u32 start_addr, end_addr; in coda9_jpeg_prepare_encode() local
1101 end_addr = start_addr + vb2_plane_size(&dst_buf->vb2_buf, 0); in coda9_jpeg_prepare_encode()
1124 coda_write(dev, end_addr, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_prepare_encode()
1136 coda_write(dev, BIT(31) | ((end_addr - start_addr - header_len) / 256), in coda9_jpeg_prepare_encode()
1270 u32 end_addr, wr_ptr; in coda9_jpeg_encode_timeout() local
1273 end_addr = coda_read(dev, CODA9_REG_JPEG_BBC_END_ADDR); in coda9_jpeg_encode_timeout()
[all …]
/linux-6.1.9/arch/sh/boot/compressed/
Dhead_32.S67 mov.l end_addr, r1
92 end_addr: label
/linux-6.1.9/arch/arm/mach-tegra/
Dpm.h15 void *end_addr; member
Dpm-tegra20.c17 tegra_lp1_iram.end_addr = &tegra20_iram_end; in tegra20_lp1_iram_hook()
Dpm-tegra30.c17 tegra_lp1_iram.end_addr = &tegra30_iram_end; in tegra30_lp1_iram_hook()
/linux-6.1.9/arch/microblaze/include/asm/
Dunwind.h15 unsigned long end_addr; member

12345