Home
last modified time | relevance | path

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

12345678910>>...115

/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/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/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/gpu/drm/vmwgfx/
Dvmwgfx_page_dirty.c65 unsigned long start; member
94 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
108 &dirty->start, &dirty->end); in vmw_bo_dirty_scan_pagetable()
128 if (dirty->end <= dirty->start) in vmw_bo_dirty_scan_mkwrite()
132 dirty->start + offset, in vmw_bo_dirty_scan_mkwrite()
133 dirty->end - dirty->start); in vmw_bo_dirty_scan_mkwrite()
143 pgoff_t start = 0; in vmw_bo_dirty_scan_mkwrite() local
149 &start, &end); in vmw_bo_dirty_scan_mkwrite()
151 if (dirty->start < dirty->end) in vmw_bo_dirty_scan_mkwrite()
152 bitmap_set(&dirty->bitmap[0], dirty->start, in vmw_bo_dirty_scan_mkwrite()
[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/gpu/drm/savage/
Dsavage_state.c124 if(start <= reg && start+count > reg) \
125 dev_priv->state.where = regs[reg - start]
127 if(start <= reg && start+count > reg) { \
129 tmp = regs[reg - start]; \
136 unsigned int start, unsigned int count, in savage_verify_state_s3d() argument
139 if (start < SAVAGE_TEXPALADDR_S3D || in savage_verify_state_s3d()
140 start + count - 1 > SAVAGE_DESTTEXRWWATERMARK_S3D) { in savage_verify_state_s3d()
142 start, start + count - 1); in savage_verify_state_s3d()
152 if (start <= SAVAGE_TEXCTRL_S3D && in savage_verify_state_s3d()
153 start + count > SAVAGE_TEXPALADDR_S3D) { in savage_verify_state_s3d()
[all …]
/drivers/staging/media/meson/vdec/
Dcodec_vp9.c1696 unsigned int start = coef_count_node_start; in adapt_coef_probs() local
1700 tree_left = count[start + 1]; in adapt_coef_probs()
1701 tree_right = count[start + 3]; in adapt_coef_probs()
1704 tree_left = count[start + 0]; in adapt_coef_probs()
1705 tree_right = count[start + 1] + in adapt_coef_probs()
1706 count[start + 3]; in adapt_coef_probs()
1709 tree_left = count[start + 2]; in adapt_coef_probs()
1710 tree_right = count[start + 0] + in adapt_coef_probs()
1711 count[start + 1] + in adapt_coef_probs()
1712 count[start + 3]; in adapt_coef_probs()
[all …]
/drivers/net/wireless/intel/iwlwifi/fw/
Ddbg.c366 u32 start, end; member
370 { .start = 0x00a00000, .end = 0x00a00000 },
371 { .start = 0x00a0000c, .end = 0x00a00024 },
372 { .start = 0x00a0002c, .end = 0x00a0003c },
373 { .start = 0x00a00410, .end = 0x00a00418 },
374 { .start = 0x00a00420, .end = 0x00a00420 },
375 { .start = 0x00a00428, .end = 0x00a00428 },
376 { .start = 0x00a00430, .end = 0x00a0043c },
377 { .start = 0x00a00444, .end = 0x00a00444 },
378 { .start = 0x00a004c0, .end = 0x00a004cc },
[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/gpu/drm/i915/gt/
Dgen8_ppgtt.c113 gen8_pd_range(u64 start, u64 end, int lvl, unsigned int *idx) in gen8_pd_range() argument
118 GEM_BUG_ON(start >= end); in gen8_pd_range()
121 *idx = i915_pde_index(start, shift); in gen8_pd_range()
122 if ((start ^ end) & mask) in gen8_pd_range()
128 static inline bool gen8_pd_contains(u64 start, u64 end, int lvl) in gen8_pd_contains() argument
132 GEM_BUG_ON(start >= end); in gen8_pd_contains()
133 return (start ^ end) & mask && (start & ~mask) == 0; in gen8_pd_contains()
136 static inline unsigned int gen8_pt_count(u64 start, u64 end) in gen8_pt_count() argument
138 GEM_BUG_ON(start >= end); in gen8_pt_count()
139 if ((start ^ end) >> gen8_pd_shift(1)) in gen8_pt_count()
[all …]
/drivers/acpi/apei/
Dapei-base.c285 unsigned long start; member
296 unsigned long start, unsigned long size) in apei_res_add() argument
299 unsigned long end = start + size; in apei_res_add()
301 if (end <= start) in apei_res_add()
305 if (res->start > end || res->end < start) in apei_res_add()
307 else if (end <= res->end && start >= res->start) { in apei_res_add()
312 res->start = start = min(res->start, start); in apei_res_add()
325 res_ins->start = start; in apei_res_add()
341 if (res1->start >= res2->end || in apei_res_sub()
342 res1->end <= res2->start) in apei_res_sub()
[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);
141 static int firmware_map_add_entry(u64 start, u64 end, in firmware_map_add_entry() argument
145 BUG_ON(start > end); in firmware_map_add_entry()
147 entry->start = start; in firmware_map_add_entry()
218 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, in firmware_map_find_entry_in_list() argument
224 if ((entry->start == start) && (entry->end == end) && in firmware_map_find_entry_in_list()
245 firmware_map_find_entry(u64 start, u64 end, const char *type) in firmware_map_find_entry() argument
247 return firmware_map_find_entry_in_list(start, end, type, &map_entries); in firmware_map_find_entry()
[all …]
/drivers/soc/fsl/qe/
Dqe_common.c35 s32 start; member
85 ret = gen_pool_add(muram_pool, r.start - muram_pbase + in cpm_muram_init()
120 s32 start; in cpm_muram_alloc_common() local
125 start = gen_pool_alloc_algo(muram_pool, size, algo, data); in cpm_muram_alloc_common()
126 if (!start) { in cpm_muram_alloc_common()
130 start = start - GENPOOL_OFFSET; in cpm_muram_alloc_common()
131 memset_io(cpm_muram_addr(start), 0, size); in cpm_muram_alloc_common()
132 entry->start = start; in cpm_muram_alloc_common()
136 return start; in cpm_muram_alloc_common()
151 s32 start; in cpm_muram_alloc() local
[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/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/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 …]
Dresource.c157 #define length(start, end) (*(end) - *(start) + 1) argument
173 port = &res->start; in pnp_check_port()
199 tport = &tres->start; in pnp_check_port()
218 tport = &tres->start; in pnp_check_port()
236 addr = &res->start; in pnp_check_mem()
262 taddr = &tres->start; in pnp_check_mem()
281 taddr = &tres->start; in pnp_check_mem()
359 irq = &res->start; in pnp_check_irq()
378 if (tres->start == *irq) in pnp_check_irq()
406 if (tres->start == *irq) in pnp_check_irq()
[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/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/misc/ocxl/
Dpasid.c8 u32 start; member
19 pr_debug("Range %d->%d\n", cur->start, cur->end); in dump_list()
38 if ((cur->start - last_end) > size) in range_alloc()
44 new->start = last_end + 1; in range_alloc()
45 new->end = new->start + size - 1; in range_alloc()
52 rc = new->start; in range_alloc()
61 static void range_free(struct list_head *head, u32 start, u32 size, in range_free() argument
68 if (cur->start == start && cur->end == (start + size - 1)) { in range_free()
91 void ocxl_pasid_afu_free(struct ocxl_fn *fn, u32 start, u32 size) in ocxl_pasid_afu_free() argument
93 return range_free(&fn->pasid_list, start, size, "afu pasid"); in ocxl_pasid_afu_free()
[all …]
/drivers/isdn/hardware/mISDN/
DmISDNinfineon.c88 resource_size_t start; member
271 val = inb((u32)hw->cfg.start + DIVA_PCI_CTRL); in diva_irq()
308 val = inb((u32)hw->cfg.start + TIGER_AUX_STATUS); in tiger_irq()
326 val = inb((u32)hw->cfg.start + ELSA_IRQ_ADDR); in elsa_irq()
344 val = inl((u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq()
349 outl(val, (u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in niccy_irq()
399 outb(TIGER_IRQ_BIT, (u32)hw->cfg.start + TIGER_AUX_IRQMASK); in enable_hwirq()
402 outb(QS1000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq()
405 outb(QS3000_IRQ_ON, (u32)hw->cfg.start + ELSA_IRQ_ADDR); in enable_hwirq()
408 val = inl((u32)hw->cfg.start + NICCY_IRQ_CTRL_REG); in enable_hwirq()
[all …]
/drivers/misc/
Dsram.c56 phys_addr_t start, struct sram_partition *part) in sram_add_pool() argument
65 ret = gen_pool_add_virt(part->pool, (unsigned long)part->base, start, in sram_add_pool()
76 phys_addr_t start, struct sram_partition *part) in sram_add_export() argument
81 (unsigned long long)start); in sram_add_export()
94 phys_addr_t start) in sram_add_partition() argument
100 part->base = sram->virt_base + block->start; in sram_add_partition()
103 ret = sram_add_pool(sram, block, start, part); in sram_add_partition()
108 ret = sram_add_export(sram, block, start, part); in sram_add_partition()
117 ret = sram_add_pool(sram, block, start, part); in sram_add_partition()
153 return ra->start - rb->start; in sram_reserve_cmp()
[all …]
/drivers/gpu/drm/i915/
Di915_gem_gtt.c116 node->start = offset; in i915_gem_gtt_reserve()
133 static u64 random_offset(u64 start, u64 end, u64 len, u64 align) in random_offset() argument
137 GEM_BUG_ON(range_overflows(start, len, end)); in random_offset()
138 GEM_BUG_ON(round_up(start, align) > round_down(end - len, align)); in random_offset()
140 range = round_down(end - len, align) - round_up(start, align); in random_offset()
152 start += addr; in random_offset()
155 return round_up(start, align); in random_offset()
195 u64 start, u64 end, unsigned int flags) in i915_gem_gtt_insert() argument
207 GEM_BUG_ON(start >= end); in i915_gem_gtt_insert()
208 GEM_BUG_ON(start > 0 && !IS_ALIGNED(start, I915_GTT_PAGE_SIZE)); in i915_gem_gtt_insert()
[all …]
/drivers/vdpa/mlx5/core/
Dmr.c71 MLX5_SET64(mkc, mkc, len, mr->end - mr->start); in create_direct_mr()
74 get_octo_len(mr->end - mr->start, mr->log_size)); in create_direct_mr()
76 get_octo_len(mr->end - mr->start, mr->log_size)); in create_direct_mr()
95 return max_t(u64, map->start, mr->start); in map_start()
119 return s->start; in indir_start_addr()
133 return e->end - s->start; in indir_len()
159 preve = dmr->start; in fill_indir()
163 if (preve == dmr->start) { in fill_indir()
165 klm->bcount = cpu_to_be32(klm_bcount(dmr->end - dmr->start)); in fill_indir()
169 klm->bcount = cpu_to_be32(klm_bcount(dmr->start - preve)); in fill_indir()
[all …]
/drivers/s390/char/
Dsclp_cmd.c222 unsigned long long start; in sclp_assign_storage() local
228 start = rn2addr(rn); in sclp_assign_storage()
229 storage_key_init_range(start, start + sclp.rzm); in sclp_assign_storage()
278 static int sclp_mem_change_state(unsigned long start, unsigned long size, in sclp_mem_change_state() argument
287 if (start + size - 1 < istart) in sclp_mem_change_state()
289 if (start > istart + sclp.rzm - 1) in sclp_mem_change_state()
301 static bool contains_standby_increment(unsigned long start, unsigned long end) in contains_standby_increment() argument
310 if (start > istart + sclp.rzm - 1) in contains_standby_increment()
321 unsigned long start, size; in sclp_mem_notifier() local
327 start = arg->start_pfn << PAGE_SHIFT; in sclp_mem_notifier()
[all …]

12345678910>>...115