Home
last modified time | relevance | path

Searched refs:start (Results 1 – 25 of 3328) sorted by relevance

12345678910>>...134

/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()
149 return start; in usb_dump_endpoint_descriptor()
172 return start; in usb_dump_endpoint_descriptor()
183 start += sprintf(start, format_endpt, desc->bEndpointAddress, dir, in usb_dump_endpoint_descriptor()
188 return start; 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()
201 return start; in usb_dump_interface_descriptor()
209 start += sprintf(start, format_iface, in usb_dump_interface_descriptor()
[all …]
/drivers/net/dsa/sja1105/
Dsja1105_ethtool.c84 int start; member
95 .start = 31,
102 .start = 23,
109 .start = 15,
116 .start = 7,
124 .start = 27,
131 .start = 26,
138 .start = 25,
145 .start = 24,
152 .start = 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/nvdimm/
Dbadrange.c30 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 …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c65 unsigned long start; 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()
131 dirty->start + offset, in vmw_bo_dirty_scan_mkwrite()
132 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
141 pgoff_t start = 0; in vmw_bo_dirty_scan_mkwrite() local
147 &start, &end); in vmw_bo_dirty_scan_mkwrite()
149 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite()
150 bitmap_set(&dirty->bitmap[0], dirty->start, in vmw_bo_dirty_scan_mkwrite()
[all …]
/drivers/gpu/drm/i915/
Dintel_uncore.c913 if (offset < entry->start) 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 …]
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_res_cursor.h37 uint64_t start; member
55 uint64_t start, uint64_t size, in amdgpu_res_first() argument
65 BUG_ON(start + size > res->size); in amdgpu_res_first()
79 while (start >= amdgpu_vram_mgr_block_size(block)) { in amdgpu_res_first()
80 start -= amdgpu_vram_mgr_block_size(block); in amdgpu_res_first()
87 cur->start = amdgpu_vram_mgr_block_start(block) + start; in amdgpu_res_first()
88 cur->size = min(amdgpu_vram_mgr_block_size(block) - start, size); in amdgpu_res_first()
95 while (start >= node->size << PAGE_SHIFT) in amdgpu_res_first()
96 start -= node++->size << PAGE_SHIFT; in amdgpu_res_first()
98 cur->start = (node->start << PAGE_SHIFT) + start; in amdgpu_res_first()
[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()
74 csr_write(AX45MP_CCTL_REG_UCCTLBEGINADDR_NUM, start); in ax45mp_cpu_cache_operation()
77 pa = virt_to_phys((void *)start); in ax45mp_cpu_cache_operation()
85 start += line_size; 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()
105 unsigned long start = (unsigned long)phys_to_virt(paddr); in ax45mp_dma_cache_inv() local
[all …]
/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c42 #define START(node) ((node)->start)
45 #define MAKE_NODE(node, start, end, ref_cnt, flags, err, err_out) \ argument
47 node = usnic_uiom_interval_node_alloc(start, \
57 #define MAKE_NODE_AND_APPEND(node, start, end, ref_cnt, flags, err, \ argument
60 MAKE_NODE(node, start, end, \
70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
78 interval->start = start; in usnic_uiom_interval_node_alloc()
95 if (node_a->start < node_b->start) in interval_cmp()
97 else if (node_a->start > node_b->start) in interval_cmp()
105 unsigned long start, unsigned long last, in find_intervals_intersection_sorted() argument
[all …]
/drivers/parisc/
Dlba_pci.c169 (long)r->start, (long)r->end, r->flags); in lba_dump_res()
191 u8 first_bus = d->hba.hba_bus->busn_res.start; in lba_device_present()
366 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in elroy_cfg_read()
382 if (LBA_SKIP_PROBE(d) && !lba_device_present(bus->busn_res.start, devfn, d)) { in elroy_cfg_read()
433 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in elroy_cfg_write()
446 if (LBA_SKIP_PROBE(d) && (!lba_device_present(bus->busn_res.start, devfn, d))) { in elroy_cfg_write()
483 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in mercury_cfg_read()
516 u32 local_bus = (bus->parent == NULL) ? 0 : bus->busn_res.start; in mercury_cfg_write()
573 unsigned long start = new->start; in truncate_pat_collision() local
577 if (end <= start || start < root->start || !tmp) in truncate_pat_collision()
[all …]
/drivers/staging/media/meson/vdec/
Dcodec_vp9.c1694 unsigned int start = coef_count_node_start; in adapt_coef_probs() local
1698 tree_left = count[start + 1]; in adapt_coef_probs()
1699 tree_right = count[start + 3]; in adapt_coef_probs()
1702 tree_left = count[start + 0]; in adapt_coef_probs()
1703 tree_right = count[start + 1] + in adapt_coef_probs()
1704 count[start + 3]; in adapt_coef_probs()
1707 tree_left = count[start + 2]; in adapt_coef_probs()
1708 tree_right = count[start + 0] + in adapt_coef_probs()
1709 count[start + 1] + in adapt_coef_probs()
1710 count[start + 3]; in adapt_coef_probs()
[all …]
/drivers/gpu/drm/i915/gt/
Dgen8_ppgtt.c147 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument
152 GEM_BUG_ON(start >= end); in gen8_pd_range()
155 *idx = i915_pde_index(start, shift); in gen8_pd_range()
156 if ((start ^ end) & mask) in gen8_pd_range()
162 static bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument
166 GEM_BUG_ON(start >= end); in gen8_pd_contains()
167 return (start ^ end) & mask && (start & ~mask) == 0; in gen8_pd_contains()
170 static unsigned int gen8_pt_count(u64 start, u64 end) in gen8_pt_count() argument
172 GEM_BUG_ON(start >= end); in gen8_pt_count()
173 if ((start ^ end) >> gen8_pd_shift(1)) in gen8_pt_count()
[all …]
/drivers/net/wireless/ti/wlcore/
Dio.c69 if ((addr >= part->mem.start) && in wlcore_translate_addr()
70 (addr < part->mem.start + part->mem.size)) in wlcore_translate_addr()
71 return addr - part->mem.start; in wlcore_translate_addr()
72 else if ((addr >= part->reg.start) && in wlcore_translate_addr()
73 (addr < part->reg.start + part->reg.size)) in wlcore_translate_addr()
74 return addr - part->reg.start + part->mem.size; in wlcore_translate_addr()
75 else if ((addr >= part->mem2.start) && in wlcore_translate_addr()
76 (addr < part->mem2.start + part->mem2.size)) in wlcore_translate_addr()
77 return addr - part->mem2.start + part->mem.size + in wlcore_translate_addr()
79 else if ((addr >= part->mem3.start) && in wlcore_translate_addr()
[all …]
/drivers/firmware/efi/
Dunaccepted_memory.c13 unsigned long start; member
31 void accept_memory(phys_addr_t start, phys_addr_t end) in accept_memory() argument
49 if (start < unaccepted->phys_base) in accept_memory()
50 start = unaccepted->phys_base; in accept_memory()
55 start -= unaccepted->phys_base; in accept_memory()
90 range.start = start / unit_size; in accept_memory()
103 if (entry->end <= range.start) in accept_memory()
105 if (entry->start >= range.end) in accept_memory()
123 range_start = range.start; in accept_memory()
154 bool range_contains_unaccepted_memory(phys_addr_t start, phys_addr_t end) in range_contains_unaccepted_memory() argument
[all …]
/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c77 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
95 prange, prange->start, prange->last); in svm_range_unlink()
104 if (prange->it_node.start != 0 && prange->it_node.last != 0) in svm_range_unlink()
112 prange, prange->start, prange->last); in svm_range_add_notifier_locked()
115 prange->start << PAGE_SHIFT, in svm_range_add_notifier_locked()
131 prange, prange->start, prange->last); in svm_range_add_to_svms()
134 prange->it_node.start = prange->start; in svm_range_add_to_svms()
143 prange->notifier.interval_tree.start >> PAGE_SHIFT, in svm_range_remove_notifier()
146 if (prange->notifier.interval_tree.start != 0 && in svm_range_remove_notifier()
187 bo_adev->kfd.pgmap.range.start; in svm_range_dma_map_dev()
[all …]
/drivers/acpi/apei/
Dapei-base.c282 unsigned long start; member
293 unsigned long start, unsigned long size) in apei_res_add() argument
296 unsigned long end = start + size; in apei_res_add()
298 if (end <= start) in apei_res_add()
302 if (res->start > end || res->end < start) in apei_res_add()
304 else if (end <= res->end && start >= res->start) { in apei_res_add()
309 res->start = start = min(res->start, start); in apei_res_add()
322 res_ins->start = start; in apei_res_add()
338 if (res1->start >= res2->end || in apei_res_sub()
339 res1->end <= res2->start) in apei_res_sub()
[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()
131 if (start & unit_mask) { in process_unaccepted_memory()
132 arch_accept_memory(start, round_up(start, unit_size)); in process_unaccepted_memory()
133 start = round_up(start, unit_size); in process_unaccepted_memory()
146 if (start < unaccepted_table->phys_base) { in process_unaccepted_memory()
147 arch_accept_memory(start, in process_unaccepted_memory()
149 start = unaccepted_table->phys_base; in process_unaccepted_memory()
157 start -= unaccepted_table->phys_base; in process_unaccepted_memory()
[all …]
/drivers/firmware/
Dmemmap.c31 u64 start; /* start of the memory range */ member
48 firmware_map_find_entry(u64 start, u64 end, const char *type);
59 static struct memmap_attribute memmap_start_attr = __ATTR_RO(start);
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()
148 entry->start = start; 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/net/wireless/ath/ath10k/
Dcoredump.c803 .start = 0x400000,
815 .start = 0x0,
830 .start = 0x27000,
846 .start = 0x400000,
856 .start = 0xa0000,
866 .start = 0x800,
879 .start = 0x400000,
889 .start = 0xa0000,
899 .start = 0x00980000,
909 .start = 0x00a00000,
[all …]
/drivers/soc/fsl/qe/
Dqe_common.c34 s32 start; member
83 ret = gen_pool_add(muram_pool, r.start - muram_pbase + in cpm_muram_init()
118 s32 start; in cpm_muram_alloc_common() local
123 start = gen_pool_alloc_algo(muram_pool, size, algo, data); in cpm_muram_alloc_common()
124 if (!start) { in cpm_muram_alloc_common()
128 start = start - GENPOOL_OFFSET; in cpm_muram_alloc_common()
129 memset_io(cpm_muram_addr(start), 0, size); in cpm_muram_alloc_common()
130 entry->start = start; in cpm_muram_alloc_common()
134 return start; in cpm_muram_alloc_common()
149 s32 start; in cpm_muram_alloc() local
[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
209 start = start & ISP_PAGE_MASK; in mmu_l2_map()
213 ptr = start; in mmu_l2_map()
224 free_mmu_map(mmu, start, ptr); in mmu_l2_map()
245 unsigned int start, unsigned int end, in mmu_l1_map() argument
256 start = start & ISP_PAGE_MASK; in mmu_l1_map()
260 ptr = start; in mmu_l1_map()
273 free_mmu_map(mmu, start, ptr); in mmu_l1_map()
304 free_mmu_map(mmu, start, ptr); in mmu_l1_map()
320 unsigned int start, end; in mmu_map() local
[all …]
/drivers/pnp/
Dmanager.c45 "flags %#lx\n", idx, (unsigned long long) res->start, in pnp_assign_port()
52 res->start = 0; in pnp_assign_port()
61 res->start = rule->min; in pnp_assign_port()
62 res->end = res->start + rule->size - 1; in pnp_assign_port()
65 res->start += rule->align; in pnp_assign_port()
66 res->end = res->start + rule->size - 1; in pnp_assign_port()
67 if (res->start > rule->max || !rule->align) { in pnp_assign_port()
77 pnp_add_io_resource(dev, res->start, res->end, res->flags); in pnp_assign_port()
88 "flags %#lx\n", idx, (unsigned long long) res->start, in pnp_assign_mem()
95 res->start = 0; in pnp_assign_mem()
[all …]
/drivers/pci/hotplug/
Dibmphp_res.c71 rs->start = curr->start_addr; in alloc_resources()
110 newrange->start = curr->start_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 …debug("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 …debug("gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange… 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 …debug("gbuses = NULL, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newran… in ibmphp_rsrc_init()
250 …debug("1st Bus, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->en… in ibmphp_rsrc_init()
[all …]
/drivers/pcmcia/
Drsrc_iodyn.c31 resource_size_t start; in pcmcia_align() local
33 start = (res->start & ~data->mask) + data->offset; in pcmcia_align()
34 if (start < res->start) in pcmcia_align()
35 start += data->mask + 1; in pcmcia_align()
39 if (start & 0x300) in pcmcia_align()
40 start = (start + 0x3ff) & ~0x3ff; in pcmcia_align()
46 if ((res->start + size - 1) >= 1024) in pcmcia_align()
47 start = res->end; in pcmcia_align()
51 return start; in pcmcia_align()
101 if ((s->io[i].res->start & (align-1)) == *base) in iodyn_find_io()
[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 …]

12345678910>>...134