/Linux-v5.4/drivers/usb/core/ |
D | devices.c | 161 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, in usb_dump_endpoint_descriptor() argument 167 if (start > end) in usb_dump_endpoint_descriptor() 168 return start; in usb_dump_endpoint_descriptor() 204 return start; in usb_dump_endpoint_descriptor() 215 start += sprintf(start, format_endpt, desc->bEndpointAddress, dir, in usb_dump_endpoint_descriptor() 220 return start; in usb_dump_endpoint_descriptor() 223 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument 232 if (start > end) in usb_dump_interface_descriptor() 233 return start; in usb_dump_interface_descriptor() 241 start += sprintf(start, format_iface, in usb_dump_interface_descriptor() [all …]
|
/Linux-v5.4/arch/mips/pci/ |
D | pci-malta.c | 30 .start = 0x00000000UL, 81 resource_size_t start, end, map, start1, end1, map1, map2, map3, mask; in mips_pcibios_init() local 103 start = GT_READ(GT_PCI0M0LD_OFS); in mips_pcibios_init() 106 end = (end & GT_PCI_HD_MSK) | (start & ~GT_PCI_HD_MSK); in mips_pcibios_init() 112 if (end1 - start1 > end - start) { in mips_pcibios_init() 113 start = start1; in mips_pcibios_init() 117 mask = ~(start ^ end); in mips_pcibios_init() 119 BUG_ON((start & GT_PCI_HD_MSK) != (map & GT_PCI_HD_MSK) && in mips_pcibios_init() 121 gt64120_mem_resource.start = start; in mips_pcibios_init() 123 gt64120_controller.mem_offset = (start & mask) - (map & mask); in mips_pcibios_init() [all …]
|
/Linux-v5.4/arch/nds32/mm/ |
D | proc.c | 172 void cpu_icache_inval_page(unsigned long start) in cpu_icache_inval_page() argument 177 end = start + PAGE_SIZE; in cpu_icache_inval_page() 188 } while (end != start); in cpu_icache_inval_page() 192 void cpu_dcache_inval_page(unsigned long start) in cpu_dcache_inval_page() argument 197 end = start + PAGE_SIZE; in cpu_dcache_inval_page() 208 } while (end != start); in cpu_dcache_inval_page() 211 void cpu_dcache_wb_page(unsigned long start) in cpu_dcache_wb_page() argument 217 end = start + PAGE_SIZE; in cpu_dcache_wb_page() 228 } while (end != start); in cpu_dcache_wb_page() 233 void cpu_dcache_wbinval_page(unsigned long start) in cpu_dcache_wbinval_page() argument [all …]
|
/Linux-v5.4/kernel/ |
D | range.c | 11 int add_range(struct range *range, int az, int nr_range, u64 start, u64 end) in add_range() argument 13 if (start >= end) in add_range() 20 range[nr_range].start = start; in add_range() 29 u64 start, u64 end) in add_range_with_merge() argument 33 if (start >= end) in add_range_with_merge() 43 common_start = max(range[i].start, start); in add_range_with_merge() 49 start = min(range[i].start, start); in add_range_with_merge() 54 range[nr_range - 1].start = 0; in add_range_with_merge() 61 return add_range(range, az, nr_range, start, end); in add_range_with_merge() 64 void subtract_range(struct range *range, int az, u64 start, u64 end) in subtract_range() argument [all …]
|
D | resource.c | 32 .start = 0, 40 .start = 0, 109 unsigned long long start, end; in r_show() local 118 start = r->start; in r_show() 121 start = end = 0; in r_show() 126 width, start, in r_show() 133 .start = r_start, 187 resource_size_t start = new->start; in __request_resource() local 191 if (end < start) in __request_resource() 193 if (start < root->start) in __request_resource() [all …]
|
/Linux-v5.4/arch/arm/mm/ |
D | cache-feroceon-l2.c | 73 static inline void l2_clean_pa_range(unsigned long start, unsigned long end) in l2_clean_pa_range() argument 82 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_clean_pa_range() 84 va_start = l2_get_va(start); in l2_clean_pa_range() 85 va_end = va_start + (end - start); in l2_clean_pa_range() 104 static inline void l2_inv_pa_range(unsigned long start, unsigned long end) in l2_inv_pa_range() argument 113 BUG_ON((start ^ end) >> PAGE_SHIFT); in l2_inv_pa_range() 115 va_start = l2_get_va(start); in l2_inv_pa_range() 116 va_end = va_start + (end - start); in l2_inv_pa_range() 142 static unsigned long calc_range_end(unsigned long start, unsigned long end) in calc_range_end() argument 146 BUG_ON(start & (CACHE_LINE_SIZE - 1)); in calc_range_end() [all …]
|
D | cache-xsc3l2.c | 86 static void xsc3_l2_inv_range(unsigned long start, unsigned long end) in xsc3_l2_inv_range() argument 90 if (start == 0 && end == -1ul) { in xsc3_l2_inv_range() 100 if (start & (CACHE_LINE_SIZE - 1)) { in xsc3_l2_inv_range() 101 vaddr = l2_map_va(start & ~(CACHE_LINE_SIZE - 1), vaddr); in xsc3_l2_inv_range() 104 start = (start | (CACHE_LINE_SIZE - 1)) + 1; in xsc3_l2_inv_range() 110 while (start < (end & ~(CACHE_LINE_SIZE - 1))) { in xsc3_l2_inv_range() 111 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range() 113 start += CACHE_LINE_SIZE; in xsc3_l2_inv_range() 119 if (start < end) { in xsc3_l2_inv_range() 120 vaddr = l2_map_va(start, vaddr); in xsc3_l2_inv_range() [all …]
|
D | init.c | 56 phys_initrd_start = __virt_to_phys(tag->u.initrd.start); in parse_tag_initrd() 65 phys_initrd_start = tag->u.initrd.start; in parse_tag_initrd2() 147 unsigned long start = memblock_region_memory_base_pfn(reg); in zone_sizes_init() local 150 if (start < max_low) { in zone_sizes_init() 152 zhole_size[0] -= low_end - start; in zone_sizes_init() 156 unsigned long high_start = max(start, max_low); in zone_sizes_init() 210 phys_addr_t start; in arm_initrd_init() local 224 start = round_down(phys_initrd_start, PAGE_SIZE); in arm_initrd_init() 225 size = phys_initrd_size + (phys_initrd_start - start); in arm_initrd_init() 228 if (!memblock_is_region_memory(start, size)) { in arm_initrd_init() [all …]
|
/Linux-v5.4/arch/x86/boot/compressed/ |
D | kaslr.c | 118 if (one->start + one->size <= two->start) in mem_overlaps() 121 if (one->start >= two->start + two->size) in mem_overlaps() 136 parse_memmap(char *p, unsigned long long *start, unsigned long long *size) in parse_memmap() argument 156 *start = memparse(p + 1, &p); in parse_memmap() 168 *start = 0; in parse_memmap() 184 unsigned long long start, size; in mem_avoid_memmap() local 190 rc = parse_memmap(str, &start, &size); in mem_avoid_memmap() 195 if (start == 0) { in mem_avoid_memmap() 203 mem_avoid[MEM_AVOID_MEMMAP_BEGIN + i].start = start; in mem_avoid_memmap() 381 mem_avoid[MEM_AVOID_ZO_RANGE].start = input; in mem_avoid_init() [all …]
|
/Linux-v5.4/arch/arm/mach-omap1/ |
D | mcbsp.c | 97 .start = OMAP7XX_MCBSP1_BASE, 103 .start = INT_7XX_McBSP1RX, 108 .start = INT_7XX_McBSP1TX, 113 .start = 9, 118 .start = 8, 124 .start = OMAP7XX_MCBSP2_BASE, 130 .start = INT_7XX_McBSP2RX, 135 .start = INT_7XX_McBSP2TX, 140 .start = 11, 145 .start = 10, [all …]
|
/Linux-v5.4/arch/hexagon/mm/ |
D | cache.c | 12 #define spanlines(start, end) \ argument 13 (((end - (start & ~(LINESIZE - 1))) >> LINEBITS) + 1) 15 void flush_dcache_range(unsigned long start, unsigned long end) in flush_dcache_range() argument 17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() 20 start &= ~(LINESIZE - 1); in flush_dcache_range() 28 : "r" (start) in flush_dcache_range() 30 start += LINESIZE; in flush_dcache_range() 35 void flush_icache_range(unsigned long start, unsigned long end) in flush_icache_range() argument 37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() 40 start &= ~(LINESIZE - 1); in flush_icache_range() [all …]
|
/Linux-v5.4/arch/x86/kernel/ |
D | probe_roms.c | 27 .start = 0xf0000, 34 .start = 0xe0000, 41 .start = 0xc8000, 46 .start = 0, 51 .start = 0, 56 .start = 0, 61 .start = 0, 66 .start = 0, 73 .start = 0xc0000, 127 rom = isa_bus_to_virt(res->start); in find_oprom() [all …]
|
/Linux-v5.4/arch/nios2/mm/ |
D | cacheflush.c | 18 static void __flush_dcache(unsigned long start, unsigned long end) in __flush_dcache() argument 22 start &= ~(cpuinfo.dcache_line_size - 1); in __flush_dcache() 26 if (end > start + cpuinfo.dcache_size) in __flush_dcache() 27 end = start + cpuinfo.dcache_size; in __flush_dcache() 29 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __flush_dcache() 37 static void __invalidate_dcache(unsigned long start, unsigned long end) in __invalidate_dcache() argument 41 start &= ~(cpuinfo.dcache_line_size - 1); in __invalidate_dcache() 45 for (addr = start; addr < end; addr += cpuinfo.dcache_line_size) { in __invalidate_dcache() 53 static void __flush_icache(unsigned long start, unsigned long end) in __flush_icache() argument 57 start &= ~(cpuinfo.icache_line_size - 1); in __flush_icache() [all …]
|
/Linux-v5.4/fs/btrfs/ |
D | extent_io.h | 87 #define BITMAP_FIRST_BYTE_MASK(start) \ argument 88 ((BYTE_MASK << ((start) & (BITS_PER_BYTE - 1))) & BYTE_MASK) 110 struct page *page, u64 start, u64 end, 140 u64 start; member 159 u64 start; member 259 u64 start, u64 len, 268 int lock_extent_bits(struct extent_io_tree *tree, u64 start, u64 end, 271 static inline int lock_extent(struct extent_io_tree *tree, u64 start, u64 end) in lock_extent() argument 273 return lock_extent_bits(tree, start, end, NULL); in lock_extent() 276 int try_lock_extent(struct extent_io_tree *tree, u64 start, u64 end); [all …]
|
/Linux-v5.4/drivers/nvdimm/ |
D | badrange.c | 30 bre->start = addr; in append_badrange_entry() 69 if (bre->start == addr) { in add_badrange() 101 void badrange_forget(struct badrange *badrange, phys_addr_t start, in badrange_forget() argument 105 u64 clr_end = start + len - 1; in badrange_forget() 119 u64 bre_end = bre->start + bre->length - 1; in badrange_forget() 122 if (bre_end < start) in badrange_forget() 124 if (bre->start > clr_end) in badrange_forget() 127 if ((bre->start >= start) && (bre_end <= clr_end)) { in badrange_forget() 133 if ((start <= bre->start) && (clr_end > bre->start)) { in badrange_forget() 134 bre->length -= clr_end - bre->start + 1; in badrange_forget() [all …]
|
/Linux-v5.4/arch/powerpc/mm/ |
D | init_64.c | 91 static int __meminit vmemmap_populated(unsigned long start, int page_size) in vmemmap_populated() argument 93 unsigned long end = start + page_size; in vmemmap_populated() 94 start = (unsigned long)(pfn_to_page(vmemmap_section_start(start))); in vmemmap_populated() 96 for (; start < end; start += (PAGES_PER_SECTION * sizeof(struct page))) in vmemmap_populated() 97 if (pfn_valid(page_to_pfn((struct page *)start))) in vmemmap_populated() 157 unsigned long start, in vmemmap_list_populate() argument 169 vmem_back->virt_addr = start; in vmemmap_list_populate() 175 static bool altmap_cross_boundary(struct vmem_altmap *altmap, unsigned long start, in altmap_cross_boundary() argument 179 unsigned long start_pfn = page_to_pfn((struct page *)start); in altmap_cross_boundary() 190 int __meminit vmemmap_populate(unsigned long start, unsigned long end, int node, in vmemmap_populate() argument [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | block-range.c | 25 assert(old < entry->start); in block_range__debug() 26 assert(entry->start <= entry->end); /* single instruction block; jump to a jump */ in block_range__debug() 43 if (addr < entry->start) in block_range__find() 81 struct block_range_iter block_range__create(u64 start, u64 end) in block_range__create() argument 92 if (start < entry->start) in block_range__create() 94 else if (start > entry->end) in block_range__create() 112 if (entry->end < start) { in block_range__create() 119 if (next->start <= end) { /* add head: [start...][n->start...] */ in block_range__create() 125 .start = start, in block_range__create() 126 .end = next->start - 1, in block_range__create() [all …]
|
/Linux-v5.4/arch/csky/mm/ |
D | cachev2.c | 9 inline void dcache_wb_line(unsigned long start) in dcache_wb_line() argument 11 asm volatile("dcache.cval1 %0\n"::"r"(start):"memory"); in dcache_wb_line() 15 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 17 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in icache_inv_range() 30 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument 32 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in dcache_wb_range() 39 void dcache_inv_range(unsigned long start, unsigned long end) in dcache_inv_range() argument 41 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in dcache_inv_range() 48 void cache_wbinv_range(unsigned long start, unsigned long end) in cache_wbinv_range() argument 50 unsigned long i = start & ~(L1_CACHE_BYTES - 1); in cache_wbinv_range() [all …]
|
D | cachev1.c | 44 unsigned int start, in cache_op_range() argument 53 if (unlikely((end - start) >= PAGE_SIZE) || in cache_op_range() 54 unlikely(start < PAGE_OFFSET) || in cache_op_range() 55 unlikely(start >= PAGE_OFFSET + LOWMEM_LIMIT)) { in cache_op_range() 67 i = start & ~(L1_CACHE_BYTES - 1); in cache_op_range() 80 void dcache_wb_line(unsigned long start) in dcache_wb_line() argument 83 cache_op_line(start, DATA_CACHE|CACHE_CLR); in dcache_wb_line() 87 void icache_inv_range(unsigned long start, unsigned long end) in icache_inv_range() argument 89 cache_op_range(start, end, INS_CACHE|CACHE_INV, 0); in icache_inv_range() 97 void dcache_wb_range(unsigned long start, unsigned long end) in dcache_wb_range() argument [all …]
|
/Linux-v5.4/arch/x86/mm/ |
D | pat_rbtree.c | 39 static int is_node_overlap(struct memtype *node, u64 start, u64 end) in is_node_overlap() argument 41 if (node->start >= end || node->end <= start) in is_node_overlap() 64 u64 start, u64 end) in RB_DECLARE_CALLBACKS_MAX() 72 if (get_subtree_max_end(node->rb_left) > start) { in RB_DECLARE_CALLBACKS_MAX() 75 } else if (is_node_overlap(data, start, end)) { in RB_DECLARE_CALLBACKS_MAX() 78 } else if (start >= data->start) { in RB_DECLARE_CALLBACKS_MAX() 94 u64 start, u64 end, int match_type) in memtype_rb_match() argument 98 match = memtype_rb_lowest_match(root, start, end); in memtype_rb_match() 99 while (match != NULL && match->start < end) { in memtype_rb_match() 103 (match->start == start) && (match->end == end)) in memtype_rb_match() [all …]
|
/Linux-v5.4/arch/c6x/platforms/ |
D | cache.c | 129 static void cache_block_operation(unsigned int *start, in cache_block_operation() argument 137 - L2_CACHE_ALIGN_LOW((unsigned int) start)) >> 2; in cache_block_operation() 140 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation() 157 imcr_set(bar_reg, L2_CACHE_ALIGN_LOW((unsigned int) start)); in cache_block_operation() 174 static void cache_block_operation_nowait(unsigned int *start, in cache_block_operation_nowait() argument 182 - L2_CACHE_ALIGN_LOW((unsigned int) start)) >> 2; in cache_block_operation_nowait() 185 for (; wcnt; wcnt -= wc, start += wc) { in cache_block_operation_nowait() 189 imcr_set(bar_reg, L2_CACHE_ALIGN_LOW((unsigned int) start)); in cache_block_operation_nowait() 322 void enable_caching(unsigned long start, unsigned long end) in enable_caching() argument 324 unsigned int mar = IMCR_MAR_BASE + ((start >> 24) << 2); in enable_caching() [all …]
|
/Linux-v5.4/arch/mips/bcm63xx/ |
D | dev-enet.c | 48 .start = -1, /* filled at runtime */ 53 .start = -1, /* filled at runtime */ 58 .start = -1, /* filled at runtime */ 77 .start = -1, /* filled at runtime */ 82 .start = -1, /* filled at runtime */ 86 .start = -1, /* filled at runtime */ 90 .start = -1, /* filled at runtime */ 111 .start = -1, /* filled at runtime */ 116 .start = -1, /* filled at runtime */ 120 .start = -1, /* filled at runtime */ [all …]
|
/Linux-v5.4/include/linux/ |
D | ioport.h | 21 resource_size_t start; member 150 .start = (_start), \ 186 resource_size_t start, resource_size_t end, 201 struct resource *lookup_resource(struct resource *root, resource_size_t start); 202 int adjust_resource(struct resource *res, resource_size_t start, 207 return res->end - res->start + 1; in resource_size() 224 return r1->start <= r2->start && r1->end >= r2->end; in resource_contains() 229 #define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name), 0) argument 230 #define request_muxed_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name),… argument 231 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n… argument [all …]
|
/Linux-v5.4/lib/ |
D | find_bit.c | 32 unsigned long start, unsigned long invert) in _find_next_bit() argument 36 if (unlikely(start >= nbits)) in _find_next_bit() 39 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit() 41 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit() 45 tmp &= BITMAP_FIRST_WORD_MASK(start); in _find_next_bit() 46 start = round_down(start, BITS_PER_LONG); in _find_next_bit() 49 start += BITS_PER_LONG; in _find_next_bit() 50 if (start >= nbits) in _find_next_bit() 53 tmp = addr1[start / BITS_PER_LONG]; in _find_next_bit() 55 tmp &= addr2[start / BITS_PER_LONG]; in _find_next_bit() [all …]
|
/Linux-v5.4/arch/arm/mach-pxa/ |
D | devices.c | 41 .start = IRQ_PMU, 55 .start = 0x41100000, 60 .start = IRQ_MMC, 96 .start = 0x40600000, 101 .start = IRQ_USB, 134 .start = 0x54100000, 139 .start = IRQ_USB2, 160 .start = 0x44000000, 165 .start = IRQ_LCD, 192 .start = 0x40100000, [all …]
|