Home
last modified time | relevance | path

Searched refs:range_start (Results 1 – 25 of 76) sorted by relevance

1234

/linux-6.12.1/drivers/firmware/efi/
Dunaccepted_memory.c36 unsigned long range_start, range_end; in accept_memory() local
126 range_start = range.start; in accept_memory()
127 for_each_set_bitrange_from(range_start, range_end, unaccepted->bitmap, in accept_memory()
130 unsigned long len = range_end - range_start; in accept_memory()
132 phys_start = range_start * unit_size + unaccepted->phys_base; in accept_memory()
150 bitmap_clear(unaccepted->bitmap, range_start, len); in accept_memory()
/linux-6.12.1/drivers/firmware/efi/libstub/
Dunaccepted_memory.c182 unsigned long range_start, range_end; in accept_memory() local
209 range_start = start / unit_size; in accept_memory()
212 for_each_set_bitrange_from(range_start, range_end, in accept_memory()
216 phys_start = range_start * unit_size + unaccepted_table->phys_base; in accept_memory()
221 range_start, range_end - range_start); in accept_memory()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_reg_whitelist.c122 u32 range_start, range_end; in xe_reg_whitelist_print_entry() local
139 range_start = reg & REG_GENMASK(25, range_bit); in xe_reg_whitelist_print_entry()
140 range_end = range_start | REG_GENMASK(range_bit, 0); in xe_reg_whitelist_print_entry()
155 range_start, range_end, in xe_reg_whitelist_print_entry()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dfault.c114 unsigned long range_start, range_end, i; in fault_opcodes_write() local
128 if (kstrtoul(token, 0, &range_start)) in fault_opcodes_write()
135 range_end = range_start; in fault_opcodes_write()
137 if (range_start == range_end && range_start == -1UL) { in fault_opcodes_write()
143 if (range_start >= bound || range_end >= bound) in fault_opcodes_write()
146 for (i = range_start; i <= range_end; i++) { in fault_opcodes_write()
/linux-6.12.1/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c212 int range_start = dev->shared_resources.non_cp_doorbells_start; in init_doorbell_bitmap() local
219 pr_debug("reserved doorbell 0x%03x - 0x%03x\n", range_start, range_end); in init_doorbell_bitmap()
221 range_start + KFD_QUEUE_DOORBELL_MIRROR_OFFSET, in init_doorbell_bitmap()
225 if (i >= range_start && i <= range_end) { in init_doorbell_bitmap()
Dkfd_device.c1277 (*mem_obj)->range_start = found; in kfd_gtt_sa_allocate()
1329 (*mem_obj)->range_start, (*mem_obj)->range_end); in kfd_gtt_sa_allocate()
1332 bitmap_set(kfd->gtt_sa_bitmap, (*mem_obj)->range_start, in kfd_gtt_sa_allocate()
1333 (*mem_obj)->range_end - (*mem_obj)->range_start + 1); in kfd_gtt_sa_allocate()
1355 mem_obj, mem_obj->range_start, mem_obj->range_end); in kfd_gtt_sa_free()
1360 bitmap_clear(kfd->gtt_sa_bitmap, mem_obj->range_start, in kfd_gtt_sa_free()
1361 mem_obj->range_end - mem_obj->range_start + 1); in kfd_gtt_sa_free()
/linux-6.12.1/drivers/gpu/drm/
Ddrm_mm.c518 u64 range_start, u64 range_end, in drm_mm_insert_node_in_range() argument
525 DRM_MM_BUG_ON(range_start > range_end); in drm_mm_insert_node_in_range()
527 if (unlikely(size == 0 || range_end - range_start < size)) in drm_mm_insert_node_in_range()
540 for (hole = first_hole(mm, range_start, range_end, size, mode); in drm_mm_insert_node_in_range()
551 if (mode == DRM_MM_INSERT_HIGH && hole_end <= range_start) in drm_mm_insert_node_in_range()
559 adj_start = max(col_start, range_start); in drm_mm_insert_node_in_range()
580 if (adj_start < max(col_start, range_start) || in drm_mm_insert_node_in_range()
726 scan->range_start = start; in drm_mm_scan_init_with_range()
777 adj_start = max(col_start, scan->range_start); in drm_mm_scan_add_block()
796 if (adj_start < max(col_start, scan->range_start) || in drm_mm_scan_add_block()
/linux-6.12.1/drivers/base/regmap/
Dregcache-maple.c349 int range_start; in regcache_maple_init() local
361 range_start = 0; in regcache_maple_init()
367 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
372 range_start = i; in regcache_maple_init()
377 ret = regcache_maple_insert_block(map, range_start, in regcache_maple_init()
/linux-6.12.1/arch/xtensa/mm/
Dinit.c86 phys_addr_t range_start, range_end; in free_highpages() local
91 &range_start, &range_end, NULL) { in free_highpages()
92 unsigned long start = PFN_UP(range_start); in free_highpages()
/linux-6.12.1/net/bridge/
Dbr_vlan.c1956 struct net_bridge_vlan *v, *range_start = NULL, *range_end = NULL; in br_vlan_dump_dev() local
2009 if (!range_start) { in br_vlan_dump_dev()
2010 range_start = v; in br_vlan_dump_dev()
2018 if (!br_vlan_global_opts_fill(skb, range_start->vid, in br_vlan_dump_dev()
2020 range_start)) { in br_vlan_dump_dev()
2025 idx += range_end->vid - range_start->vid + 1; in br_vlan_dump_dev()
2027 range_start = v; in br_vlan_dump_dev()
2030 u16 vlan_flags = br_vlan_flags(range_start, pvid); in br_vlan_dump_dev()
2032 if (!br_vlan_fill_vids(skb, range_start->vid, in br_vlan_dump_dev()
2033 range_end->vid, range_start, in br_vlan_dump_dev()
[all …]
Dbr_vlan_options.c265 struct net_bridge_vlan *range_start, in br_vlan_process_options() argument
280 if (!range_start || !br_vlan_should_use(range_start)) { in br_vlan_process_options()
290 for (vid = range_start->vid; vid <= range_end->vid; vid++) { in br_vlan_process_options()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/
Ddml_top_mcache.c28 int range_start; in calculate_first_second_splitting() local
40 range_start = 0; in calculate_first_second_splitting()
44 if (range_start <= pipe_h_vp_start && pipe_h_vp_start <= range_end) in calculate_first_second_splitting()
47 range_start = range_end + 1; in calculate_first_second_splitting()
53 range_start = mcache_boundaries[right_cache_id] - shift; in calculate_first_second_splitting()
55 range_start = 0; in calculate_first_second_splitting()
57 if (range_start <= pipe_h_vp_end && pipe_h_vp_end <= range_end) { in calculate_first_second_splitting()
60 range_end = range_start - 1; in calculate_first_second_splitting()
/linux-6.12.1/arch/arm64/kvm/hyp/nvhe/
Dpage_alloc.c45 if (addr < pool->range_start || addr >= pool->range_end) in __find_buddy_nocheck()
103 if (phys < pool->range_start || phys >= pool->range_end) in __hyp_attach_page()
235 pool->range_start = phys; in hyp_pool_init()
/linux-6.12.1/fs/btrfs/
Dfiemap.c642 u64 range_start; in extent_fiemap() local
660 range_start = round_down(start, sectorsize); in extent_fiemap()
662 prev_extent_end = range_start; in extent_fiemap()
664 lock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
672 ret = fiemap_search_slot(inode, path, range_start); in extent_fiemap()
707 if (extent_end <= range_start) in extent_fiemap()
844 unlock_extent(&inode->io_tree, range_start, range_end, &cached_state); in extent_fiemap()
/linux-6.12.1/arch/arm/mm/
Dpageattr.c29 unsigned long range_start, unsigned long range_end) in range_in_range() argument
31 return start >= range_start && start < range_end && in range_in_range()
Dinit.c244 phys_addr_t range_start, range_end; in free_highpages() local
249 &range_start, &range_end, NULL) { in free_highpages()
250 unsigned long start = PFN_UP(range_start); in free_highpages()
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_rio.c456 u64 range_start; in fsl_rio_setup() local
530 if (of_property_read_reg(np, 0, &range_start, NULL)) { in fsl_rio_setup()
537 (u32)range_start); in fsl_rio_setup()
555 if (of_property_read_reg(np, 0, &range_start, NULL)) { in fsl_rio_setup()
561 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
689 rio_law_start = range_start; in fsl_rio_setup()
/linux-6.12.1/arch/s390/boot/
Dphysmem_info.c252 unsigned long range_start, range_end; in __physmem_alloc_range() local
258 __get_physmem_range(nranges - 1, &range_start, &range_end, false); in __physmem_alloc_range()
264 if (range_start > addr) { in __physmem_alloc_range()
/linux-6.12.1/drivers/gpu/drm/msm/
Dmsm_gem_vma.c125 u64 range_start, u64 range_end) in msm_gem_vma_init() argument
139 range_start, range_end, 0); in msm_gem_vma_init()
Dmsm_gem.c481 u64 range_start, u64 range_end) in get_vma_locked() argument
497 range_start, range_end); in get_vma_locked()
503 GEM_WARN_ON(vma->iova < range_start); in get_vma_locked()
571 u64 range_start, u64 range_end) in get_and_pin_iova_range_locked() argument
578 vma = get_vma_locked(obj, aspace, range_start, range_end); in get_and_pin_iova_range_locked()
597 u64 range_start, u64 range_end) in msm_gem_get_and_pin_iova_range() argument
602 ret = get_and_pin_iova_range_locked(obj, aspace, iova, range_start, range_end); in msm_gem_get_and_pin_iova_range()
Dmsm_gem.h71 u64 range_start, u64 range_end);
137 u64 range_start, u64 range_end);
/linux-6.12.1/include/uapi/linux/
Dsed-opal.h84 __u64 range_start; member
93 __u64 range_start; member
/linux-6.12.1/arch/arm64/kvm/hyp/include/nvhe/
Dgfp.h20 phys_addr_t range_start; member
/linux-6.12.1/arch/powerpc/platforms/powernv/
Docxl.c227 u16 actag_count, range_start = 0, total_desired = 0; in assign_actags() local
238 link->fn_actags[i].start = range_start; in assign_actags()
240 range_start += actag_count; in assign_actags()
241 WARN_ON(range_start >= PNV_OCXL_ACTAG_MAX); in assign_actags()
/linux-6.12.1/drivers/mmc/host/
Ddw_mmc-k3.c327 unsigned int range_start = 0; in dw_mci_get_best_clksmpl() local
350 range_start = i; in dw_mci_get_best_clksmpl()
360 middle_range = range_start + range_length / 2; in dw_mci_get_best_clksmpl()

1234