Home
last modified time | relevance | path

Searched refs:end (Results 1 – 25 of 1492) sorted by relevance

12345678910>>...60

/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c85 int end; member
96 .end = 24,
103 .end = 16,
110 .end = 8,
117 .end = 0,
125 .end = 27,
132 .end = 26,
139 .end = 25,
146 .end = 24,
153 .end = 23,
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v2.c41 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_0, .start = 0, .end = 31,
44 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_SRC_L2_OUT_1, .start = 16, .end = 31,
47 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 0, .end = 15,
50 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_0, .start = 0, .end = 31,
53 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L2_OUT_1, .start = 16, .end = 31,
56 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 18, .end = 23,
59 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_1, .start = 16, .end = 24,
63 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 16, .end = 31,
67 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L4_OUT_0, .start = 0, .end = 15,
71 .hw_field = DR_STE_V2_ACTION_MDFY_FLD_L3_OUT_0, .start = 8, .end = 15,
[all …]
/drivers/firmware/efi/
Dunaccepted_memory.c14 unsigned long end; member
31 void accept_memory(phys_addr_t start, phys_addr_t end) in accept_memory() argument
51 if (end < unaccepted->phys_base) in accept_memory()
56 end -= unaccepted->phys_base; in accept_memory()
83 if (!(end % unit_size)) in accept_memory()
84 end += unit_size; in accept_memory()
87 if (end > unaccepted->size * unit_size * BITS_PER_BYTE) in accept_memory()
88 end = unaccepted->size * unit_size * BITS_PER_BYTE; in accept_memory()
91 range.end = DIV_ROUND_UP(end, unit_size); in accept_memory()
103 if (entry->end <= range.start) in accept_memory()
[all …]
/drivers/gpu/drm/i915/
Dintel_uncore.c915 else if (offset > entry->end) in fw_range_cmp()
992 { .start = 0x2030, .end = 0x2030 },
993 { .start = 0xA008, .end = 0xA00C },
994 { .start = 0x12030, .end = 0x12030 },
995 { .start = 0x1a030, .end = 0x1a030 },
996 { .start = 0x22030, .end = 0x22030 },
1000 { .start = 0x2030, .end = 0x2030 },
1001 { .start = 0x2550, .end = 0x2550 },
1002 { .start = 0xA008, .end = 0xA00C },
1003 { .start = 0x22030, .end = 0x22030 },
[all …]
Di915_gem_gtt.c130 static u64 random_offset(u64 start, u64 end, u64 len, u64 align) in random_offset() argument
134 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset()
135 GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); in random_offset()
137 range = round_down(end - len, align) - round_up(start, align); in random_offset()
194 u64 start, u64 end, unsigned int flags) in i915_gem_gtt_insert() argument
206 GEM_BUG_ON(start >= end); in i915_gem_gtt_insert()
208 GEM_BUG_ON(end < U64_MAX && !IS_ALIGNED(end, I915_GTT_PAGE_SIZE)); in i915_gem_gtt_insert()
212 if (unlikely(range_overflows(start, size, end))) in i915_gem_gtt_insert()
215 if (unlikely(round_up(start, alignment) > round_down(end - size, alignment))) in i915_gem_gtt_insert()
236 start, end, mode); in i915_gem_gtt_insert()
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c66 unsigned long end; member
93 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
107 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
127 if (dirty->end <= dirty->start) in vmw_bo_dirty_scan_mkwrite()
132 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
142 pgoff_t end = dirty->bitmap_size; in vmw_bo_dirty_scan_mkwrite() local
145 clean_record_shared_mapping_range(mapping, offset, end, offset, in vmw_bo_dirty_scan_mkwrite()
147 &start, &end); in vmw_bo_dirty_scan_mkwrite()
149 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite()
151 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
[all …]
/drivers/firmware/efi/libstub/
Dunaccepted_memory.c97 void process_unaccepted_memory(u64 start, u64 end) in process_unaccepted_memory() argument
120 if (end - start < 2 * unit_size) { in process_unaccepted_memory()
121 arch_accept_memory(start, end); in process_unaccepted_memory()
137 if (end & unit_mask) { in process_unaccepted_memory()
138 arch_accept_memory(round_down(end, unit_size), end); in process_unaccepted_memory()
139 end = round_down(end, unit_size); in process_unaccepted_memory()
148 min(unaccepted_table->phys_base, end)); in process_unaccepted_memory()
153 if (end < unaccepted_table->phys_base) in process_unaccepted_memory()
158 end -= unaccepted_table->phys_base; in process_unaccepted_memory()
161 if (end > bitmap_size * unit_size * BITS_PER_BYTE) { in process_unaccepted_memory()
[all …]
/drivers/acpi/acpica/
Dutprint.c27 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
30 char *end,
77 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) in acpi_ut_bound_string_output() argument
80 if (string < end) { in acpi_ut_bound_string_output()
202 char *end, in acpi_ut_format_number() argument
269 string = acpi_ut_bound_string_output(string, end, ' '); in acpi_ut_format_number()
273 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number()
276 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number()
279 acpi_ut_bound_string_output(string, end, in acpi_ut_format_number()
285 string = acpi_ut_bound_string_output(string, end, zero); in acpi_ut_format_number()
[all …]
/drivers/bus/
Duniphier-system-bus.c29 u32 end; member
41 u64 end, mask; in uniphier_system_bus_add_bank() local
52 if (priv->bank[bank].base || priv->bank[bank].end) { in uniphier_system_bus_add_bank()
63 end = paddr + size; in uniphier_system_bus_add_bank()
74 end = round_up(end, 0x00020000); in uniphier_system_bus_add_bank()
76 if (end > U32_MAX) { in uniphier_system_bus_add_bank()
77 dev_err(priv->dev, "end address %08llx is too high\n", end); in uniphier_system_bus_add_bank()
80 mask = paddr ^ (end - 1); in uniphier_system_bus_add_bank()
84 end = round_up(end, mask); in uniphier_system_bus_add_bank()
87 priv->bank[bank].end = end; in uniphier_system_bus_add_bank()
[all …]
/drivers/firmware/
Dmemmap.c32 u64 end; /* end of the memory range (incl.) */ member
48 firmware_map_find_entry(u64 start, u64 end, const char *type);
60 static struct memmap_attribute memmap_end_attr = __ATTR_RO(end);
142 static int firmware_map_add_entry(u64 start, u64 end, in firmware_map_add_entry() argument
146 BUG_ON(start > end); in firmware_map_add_entry()
149 entry->end = end - 1; in firmware_map_add_entry()
219 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, in firmware_map_find_entry_in_list() argument
225 if ((entry->start == start) && (entry->end == end) && in firmware_map_find_entry_in_list()
246 firmware_map_find_entry(u64 start, u64 end, const char *type) in firmware_map_find_entry() argument
248 return firmware_map_find_entry_in_list(start, end, type, &map_entries); in firmware_map_find_entry()
[all …]
/drivers/staging/media/atomisp/pci/mmu/
Disp_mmu.c201 unsigned int start, unsigned int end, phys_addr_t phys) in mmu_l2_map() argument
210 end = ISP_PAGE_ALIGN(end); in mmu_l2_map()
235 } while (ptr < end && idx < ISP_L2PT_PTES - 1); in mmu_l2_map()
245 unsigned int start, unsigned int end, in mmu_l1_map() argument
257 end = ISP_PAGE_ALIGN(end); in mmu_l1_map()
288 if (l1_aligned < end) { in mmu_l1_map()
295 l2_pt, ptr, end, phys); in mmu_l1_map()
296 phys += (end - ptr); in mmu_l1_map()
297 ptr = end; in mmu_l1_map()
308 } while (ptr < end && idx < ISP_L1PT_PTES); in mmu_l1_map()
[all …]
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c307 u32 start, end; member
311 { .start = 0x00a00000, .end = 0x00a00000 },
312 { .start = 0x00a0000c, .end = 0x00a00024 },
313 { .start = 0x00a0002c, .end = 0x00a0003c },
314 { .start = 0x00a00410, .end = 0x00a00418 },
315 { .start = 0x00a00420, .end = 0x00a00420 },
316 { .start = 0x00a00428, .end = 0x00a00428 },
317 { .start = 0x00a00430, .end = 0x00a0043c },
318 { .start = 0x00a00444, .end = 0x00a00444 },
319 { .start = 0x00a004c0, .end = 0x00a004cc },
[all …]
/drivers/cache/
Dax45mp_cache.c65 static void ax45mp_cpu_cache_operation(unsigned long start, unsigned long end, in ax45mp_cpu_cache_operation() argument
73 while (end > start) { in ax45mp_cpu_cache_operation()
90 static inline void ax45mp_cpu_dcache_wb_range(unsigned long start, unsigned long end) in ax45mp_cpu_dcache_wb_range() argument
92 ax45mp_cpu_cache_operation(start, end, AX45MP_CCTL_L1D_VA_WB, in ax45mp_cpu_dcache_wb_range()
97 static inline void ax45mp_cpu_dcache_inval_range(unsigned long start, unsigned long end) in ax45mp_cpu_dcache_inval_range() argument
99 ax45mp_cpu_cache_operation(start, end, AX45MP_CCTL_L1D_VA_INVAL, in ax45mp_cpu_dcache_inval_range()
106 unsigned long end = start + size; in ax45mp_dma_cache_inv() local
110 if (unlikely(start == end)) in ax45mp_dma_cache_inv()
116 end = ((end + line_size - 1) & (~(line_size - 1))); in ax45mp_dma_cache_inv()
120 ax45mp_cpu_dcache_inval_range(start, end); in ax45mp_dma_cache_inv()
[all …]
/drivers/pnp/
Dresource.c158 #define length(start, end) (*(end) - *(start) + 1) argument
172 resource_size_t *port, *end, *tport, *tend; in pnp_check_port() local
175 end = &res->end; in pnp_check_port()
184 if (!request_region(*port, length(port, end), "pnp")) in pnp_check_port()
186 release_region(*port, length(port, end)); in pnp_check_port()
193 if (ranged_conflict(port, end, &rport, &rend)) in pnp_check_port()
201 tend = &tres->end; in pnp_check_port()
202 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
220 tend = &tres->end; in pnp_check_port()
221 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port()
[all …]
Dquirks.c257 if (res->start == 0 && res->end == 0) in quirk_system_pci_resources()
274 if (res->start <= r->start && res->end >= r->end) in quirk_system_pci_resources()
297 resource_size_t start, end; in quirk_amd_mmconfig_area() local
308 if (res->end < mmconfig->start || res->start > mmconfig->end || in quirk_amd_mmconfig_area()
309 (res->start == mmconfig->start && res->end == mmconfig->end)) in quirk_amd_mmconfig_area()
317 end = res->start - 1; in quirk_amd_mmconfig_area()
318 pnp_add_mem_resource(dev, start, end, 0); in quirk_amd_mmconfig_area()
320 if (mmconfig->end > res->end) { in quirk_amd_mmconfig_area()
321 start = res->end + 1; in quirk_amd_mmconfig_area()
322 end = mmconfig->end; in quirk_amd_mmconfig_area()
[all …]
/drivers/usb/core/
Ddevices.c142 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, in usb_dump_endpoint_descriptor() argument
148 if (start > end) in usb_dump_endpoint_descriptor()
191 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument
200 if (start > end) in usb_dump_interface_descriptor()
222 static char *usb_dump_interface(int speed, char *start, char *end, in usb_dump_interface() argument
229 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); in usb_dump_interface()
232 start, end, &desc->endpoint[i].desc); in usb_dump_interface()
237 static char *usb_dump_iad_descriptor(char *start, char *end, in usb_dump_iad_descriptor() argument
240 if (start > end) in usb_dump_iad_descriptor()
257 static char *usb_dump_config_descriptor(char *start, char *end, in usb_dump_config_descriptor() argument
[all …]
/drivers/acpi/apei/
Dapei-base.c198 int *end) in apei_exec_for_each_entry() argument
208 if (end) in apei_exec_for_each_entry()
209 *end = i; in apei_exec_for_each_entry()
242 int rc, end; in apei_exec_pre_map_gars() local
245 NULL, &end); in apei_exec_pre_map_gars()
249 ctx_unmap.entries = end; in apei_exec_pre_map_gars()
283 unsigned long end; member
296 unsigned long end = start + size; in apei_res_add() local
298 if (end <= start) in apei_res_add()
302 if (res->start > end || res->end < start) in apei_res_add()
[all …]
/drivers/android/
Dbinder_alloc_selftest.c97 unsigned long end; in check_buffer_pages_allocated() local
100 end = PAGE_ALIGN(buffer->user_data + size); in check_buffer_pages_allocated()
102 for (; page_addr < end; page_addr += PAGE_SIZE) { in check_buffer_pages_allocated()
134 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument
141 for (i = 0; i < end / PAGE_SIZE; i++) { in binder_selftest_free_buf()
177 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument
182 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free()
189 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free()
207 int index, size_t end) in binder_selftest_free_seq() argument
212 binder_selftest_alloc_free(alloc, sizes, seq, end); in binder_selftest_free_seq()
[all …]
/drivers/soc/tegra/fuse/
Dfuse-tegra30.c497 { .start = 0x01c, .end = 0x0f0 },
498 { .start = 0x138, .end = 0x198 },
499 { .start = 0x1d8, .end = 0x250 },
500 { .start = 0x280, .end = 0x290 },
501 { .start = 0x340, .end = 0x344 }
589 { .start = 0x01c, .end = 0x0b8 },
590 { .start = 0x12c, .end = 0x198 },
591 { .start = 0x1a0, .end = 0x1bc },
592 { .start = 0x1d8, .end = 0x250 },
593 { .start = 0x270, .end = 0x290 },
[all …]
/drivers/parisc/
Dlba_pci.c169 (long)r->start, (long)r->end, r->flags); in lba_dump_res()
192 u8 last_sub_bus = d->hba.hba_bus->busn_res.end; in lba_device_present()
574 unsigned long end = new->end; in truncate_pat_collision() local
577 if (end <= start || start < root->start || !tmp) in truncate_pat_collision()
581 while (tmp && tmp->end < start) in truncate_pat_collision()
590 if (tmp->start >= end) return 0; in truncate_pat_collision()
594 new->start = tmp->end + 1; in truncate_pat_collision()
596 if (tmp->end >= end) { in truncate_pat_collision()
602 if (tmp->end < end ) { in truncate_pat_collision()
604 new->end = tmp->start - 1; in truncate_pat_collision()
[all …]
/drivers/media/platform/amphion/
Dvpu_helpers.c241 u32 end; in vpu_helper_copy_from_stream_buffer() local
252 end = start + stream_buffer->length; in vpu_helper_copy_from_stream_buffer()
255 if (offset < start || offset > end) in vpu_helper_copy_from_stream_buffer()
258 if (offset + size <= end) { in vpu_helper_copy_from_stream_buffer()
261 memcpy(dst, virt + (offset - start), end - offset); in vpu_helper_copy_from_stream_buffer()
262 memcpy(dst + end - offset, virt, size + offset - end); in vpu_helper_copy_from_stream_buffer()
275 u32 end; in vpu_helper_copy_to_stream_buffer() local
286 end = start + stream_buffer->length; in vpu_helper_copy_to_stream_buffer()
288 if (offset < start || offset > end) in vpu_helper_copy_to_stream_buffer()
291 if (offset + size <= end) { in vpu_helper_copy_to_stream_buffer()
[all …]
/drivers/pci/hotplug/
Dibmphp_res.c72 rs->end = curr->end_addr; in alloc_resources()
111 newrange->end = curr->end_addr; in alloc_bus_range()
118 … Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
127 …ebug("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
137 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
147 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range()
210 …"gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
225 …debug("New Bus, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
236 …buses = NULL, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
250 …bug("1st Bus, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init()
[all …]
/drivers/acpi/arm64/
Ddma.c10 u64 end, mask; in acpi_arch_dma_setup() local
34 for (end = 0; r->size; r++) { in acpi_arch_dma_setup()
35 if (r->dma_start + r->size - 1 > end) in acpi_arch_dma_setup()
36 end = r->dma_start + r->size - 1; in acpi_arch_dma_setup()
39 size = end + 1; in acpi_arch_dma_setup()
50 end = size - 1; in acpi_arch_dma_setup()
51 mask = DMA_BIT_MASK(ilog2(end) + 1); in acpi_arch_dma_setup()
52 dev->bus_dma_limit = end; in acpi_arch_dma_setup()
/drivers/net/ethernet/stmicro/stmmac/
Ddescs_com.h22 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end, in ehn_desc_rx_set_on_ring() argument
30 if (end) in ehn_desc_rx_set_on_ring()
34 static inline void enh_desc_end_tx_desc_on_ring(struct dma_desc *p, int end) in enh_desc_end_tx_desc_on_ring() argument
36 if (end) in enh_desc_end_tx_desc_on_ring()
54 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end, int bfsize) in ndesc_rx_set_on_ring() argument
64 if (end) in ndesc_rx_set_on_ring()
68 static inline void ndesc_end_tx_desc_on_ring(struct dma_desc *p, int end) in ndesc_end_tx_desc_on_ring() argument
70 if (end) in ndesc_end_tx_desc_on_ring()
107 static inline void ndesc_rx_set_on_chain(struct dma_desc *p, int end) in ndesc_rx_set_on_chain() argument
/drivers/acpi/numa/
Dsrat.c209 __weak int __init numa_fill_memblks(u64 start, u64 end) in numa_fill_memblks() argument
249 u64 start, end; in acpi_numa_memory_affinity_init() local
266 end = start + ma->length; in acpi_numa_memory_affinity_init()
277 if (numa_add_memblk(node, start, end) < 0) { in acpi_numa_memory_affinity_init()
280 (unsigned long long) end - 1); in acpi_numa_memory_affinity_init()
288 (unsigned long long) start, (unsigned long long) end - 1, in acpi_numa_memory_affinity_init()
295 (unsigned long long)start, (unsigned long long)end - 1); in acpi_numa_memory_affinity_init()
297 max_possible_pfn = max(max_possible_pfn, PFN_UP(end - 1)); in acpi_numa_memory_affinity_init()
311 u64 start, end; in acpi_parse_cfmws() local
316 end = cfmws->base_hpa + cfmws->window_size; in acpi_parse_cfmws()
[all …]

12345678910>>...60