/linux-6.3-rc2/arch/sparc/kernel/ |
A D | adi_64.c | 163 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.3-rc2/arch/s390/mm/ |
A D | extmem.c | 301 start_addr = end_addr = 0; in __segment_load() 348 &start_addr, &end_addr); in __segment_load() 351 &start_addr, &end_addr); in __segment_load() 360 rc = dcss_diag_translate_rc(end_addr); in __segment_load() 366 seg->end = end_addr; in __segment_load() 461 start_addr = end_addr = 0; in segment_modify_shared() 498 &start_addr, &end_addr); in segment_modify_shared() 501 &start_addr, &end_addr); in segment_modify_shared() 508 name, end_addr); in segment_modify_shared() 509 rc = dcss_diag_translate_rc(end_addr); in segment_modify_shared() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/ |
A D | msm_disp_snapshot_util.c | 19 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.3-rc2/tools/testing/selftests/mm/ |
A D | mlock2-tests.c | 24 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.3-rc2/lib/ |
A D | error-inject.c | 19 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()
|
A D | genalloc.c | 40 return chunk->end_addr - chunk->start_addr + 1; in chunk_size() 196 chunk->end_addr = virt + size - 1; in gen_pool_add_owner() 222 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_virt_to_phys() 502 if (addr >= chunk->start_addr && addr <= chunk->end_addr) { in gen_pool_free_owner() 503 BUG_ON(addr + size - 1 > chunk->end_addr); in gen_pool_free_owner() 560 if (start >= chunk->start_addr && start <= chunk->end_addr) { in gen_pool_has_addr() 561 if (end <= chunk->end_addr) { in gen_pool_has_addr()
|
/linux-6.3-rc2/drivers/misc/sgi-xp/ |
A D | xpnet.c | 364 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.3-rc2/drivers/soc/fsl/ |
A D | dpaa2-console.c | 55 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.3-rc2/drivers/pcmcia/ |
A D | rsrc_nonstatic.c | 1100 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); 1176 &end_addr); 1182 if (end_addr < start_addr) [all …]
|
/linux-6.3-rc2/tools/testing/selftests/sparc64/drivers/ |
A D | adi-test.c | 84 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.3-rc2/drivers/ntb/ |
A D | msi.c | 11 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.3-rc2/drivers/net/wireless/ath/carl9170/ |
A D | fw.c | 43 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.3-rc2/drivers/staging/media/atomisp/pci/css_2401_system/host/ |
A D | isys_stream2mmio_private.h | 76 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()
|
A D | isys_stream2mmio_local.h | 28 hrt_data end_addr; member
|
/linux-6.3-rc2/arch/sh/mm/ |
A D | cache-sh4.c | 151 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.3-rc2/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_symbol.h | 153 int end_addr; member 175 int end_addr; member
|
/linux-6.3-rc2/drivers/accel/habanalabs/common/mmu/ |
A D | mmu.c | 34 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.3-rc2/arch/s390/include/asm/ |
A D | diag.h | 51 unsigned long start_addr, end_addr; in diag10_range() local 54 end_addr = pfn_to_phys(start_pfn + num_pfn - 1); in diag10_range() 62 : : "a" (start_addr), "a" (end_addr)); in diag10_range()
|
/linux-6.3-rc2/sound/pci/emu10k1/ |
A D | emupcm.c | 273 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() 495 unsigned int start_addr, end_addr; in snd_emu10k1_playback_prepare() local 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() 509 start_addr, end_addr, in snd_emu10k1_playback_prepare() 513 start_addr, end_addr, in snd_emu10k1_playback_prepare() [all …]
|
/linux-6.3-rc2/drivers/media/platform/chips-media/ |
A D | coda-jpeg.c | 487 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.3-rc2/arch/sh/boot/compressed/ |
A D | head_32.S | 67 mov.l end_addr, r1 92 end_addr: label
|
/linux-6.3-rc2/arch/arm/mach-tegra/ |
A D | pm.h | 15 void *end_addr; member
|
A D | pm-tegra20.c | 17 tegra_lp1_iram.end_addr = &tegra20_iram_end; in tegra20_lp1_iram_hook()
|
A D | pm-tegra30.c | 17 tegra_lp1_iram.end_addr = &tegra30_iram_end; in tegra30_lp1_iram_hook()
|
/linux-6.3-rc2/arch/microblaze/include/asm/ |
A D | unwind.h | 15 unsigned long end_addr; member
|