Searched refs:end (Results 1 - 25 of 893) sorted by relevance

1234567891011>>

/drivers/infiniband/hw/qib/
H A Dqib_pio_copy.c50 const u64 *end = src + (count >> 1); local
52 while (src < end)
59 const u32 *end = src + count;
61 while (src < end)
/drivers/pci/
H A Dhotplug-pci.c11 int end = parent->busn_res.end; local
13 for (busnr = start; busnr <= end; busnr++) {
17 if (busnr-- > end) {
H A Dhost-bridge.c49 region->end = res->end - offset;
56 return region1->start <= region2->start && region1->end >= region2->end;
73 bus_region.end = window->res->end - window->offset;
82 res->end = region->end + offset;
/drivers/pci/hotplug/
H A Drpadlpar_sysfs.c36 char *end; local
44 end = strchr(drc_name, '\n');
45 if (!end)
46 end = &drc_name[nbytes];
47 *end = '\0';
68 char *end; local
75 end = strchr(drc_name, '\n');
76 if (!end)
77 end = &drc_name[nbytes];
78 *end
[all...]
/drivers/staging/lustre/lustre/include/
H A Dinterval_tree.h56 __u64 end; member in struct:interval_node::interval_node_extent
77 return node->in_extent.end;
81 __u64 start, __u64 end)
83 LASSERT(start <= end);
85 node->in_extent.end = end;
86 node->in_max_high = end;
80 interval_set(struct interval_node *node, __u64 start, __u64 end) argument
/drivers/net/ethernet/stmicro/stmmac/
H A Ddescs_com.h36 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end) argument
39 if (end)
43 static inline void ehn_desc_tx_set_on_ring(struct dma_desc *p, int end) argument
45 if (end)
64 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end) argument
67 if (end)
71 static inline void ndesc_tx_set_on_ring(struct dma_desc *p, int end) argument
73 if (end)
94 static inline void ehn_desc_rx_set_on_chain(struct dma_desc *p, int end) argument
99 static inline void ehn_desc_tx_set_on_chain(struct dma_desc *p, int end) argument
115 ndesc_rx_set_on_chain(struct dma_desc *p, int end) argument
[all...]
/drivers/gpu/drm/msm/
H A Dmsm_ringbuffer.h27 uint32_t *start, *end, *cur; member in struct:msm_ringbuffer
38 if (ring->cur == ring->end)
/drivers/firmware/
H A Dmemmap.c37 * start and end must be u64 rather than resource_size_t, because e820
41 u64 end; /* end of the memory range (incl.) */ member in struct:firmware_map_entry
57 firmware_map_find_entry(u64 start, u64 end, const char *type);
69 static struct memmap_attribute memmap_end_attr = __ATTR_RO(end);
140 * @end: End of the memory range (exclusive).
148 static int firmware_map_add_entry(u64 start, u64 end, argument
152 BUG_ON(start > end);
155 entry->end = end
225 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, struct list_head *list) argument
252 firmware_map_find_entry(u64 start, u64 end, const char *type) argument
269 firmware_map_find_entry_bootmem(u64 start, u64 end, const char *type) argument
288 firmware_map_add_hotplug(u64 start, u64 end, const char *type) argument
330 firmware_map_add_early(u64 start, u64 end, const char *type) argument
351 firmware_map_remove(u64 start, u64 end, const char *type) argument
[all...]
/drivers/acpi/acpica/
H A Dutprint.c61 static char *acpi_ut_bound_string_output(char *string, const char *end, char c);
64 char *end,
107 * end - Boundary of the string
116 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) argument
119 if (string < end) {
227 * end - Boundary of the string
241 char *end,
308 string = acpi_ut_bound_string_output(string, end, ' ');
312 string = acpi_ut_bound_string_output(string, end, sign);
315 string = acpi_ut_bound_string_output(string, end, '
240 acpi_ut_format_number(char *string, char *end, u64 number, u8 base, s32 width, s32 precision, u8 type) argument
367 char *end; local
[all...]
/drivers/usb/core/
H A Ddevices.c181 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, argument
187 if (start > end)
249 static char *usb_dump_interface_descriptor(char *start, char *end, argument
258 if (start > end)
280 static char *usb_dump_interface(int speed, char *start, char *end, argument
287 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno);
289 if (start > end)
292 start, end, &desc->endpoint[i].desc);
297 static char *usb_dump_iad_descriptor(char *start, char *end, argument
300 if (start > end)
317 usb_dump_config_descriptor(char *start, char *end, const struct usb_config_descriptor *desc, int active, int speed) argument
339 usb_dump_config(int speed, char *start, char *end, const struct usb_host_config *config, int active) argument
375 usb_dump_device_descriptor(char *start, char *end, const struct usb_device_descriptor *desc) argument
403 usb_dump_device_strings(char *start, char *end, struct usb_device *dev) argument
426 usb_dump_desc(char *start, char *end, struct usb_device *dev) argument
454 usb_dump_hub_descriptor(char *start, char *end, const struct usb_hub_descriptor *desc) argument
471 usb_dump_string(char *start, char *end, const struct usb_device *dev, char *id, int index) argument
[all...]
/drivers/net/wireless/orinoco/
H A Dhermes_dld.h32 int hermes_program(struct hermes *hw, const char *first_block, const void *end);
50 size_t hermes_blocks_length(const char *first_block, const void *end);
H A Dhermes_dld.c149 hermes_find_pdr(const struct pdr *first_pdr, u32 record_id, const void *end) argument
153 end -= sizeof(struct pdr);
155 while (((void *) pdr <= end) &&
176 hermes_find_pdi(const struct pdi *first_pdi, u32 record_id, const void *end) argument
180 end -= sizeof(struct pdi);
182 while (((void *) pdi <= end) &&
254 hermes_blocks_length(const char *first_block, const void *end) argument
260 end -= sizeof(*blk);
264 while (((void *) blk <= end) &&
277 int hermes_program(struct hermes *hw, const char *first_block, const void *end) argument
[all...]
/drivers/staging/lustre/lustre/libcfs/
H A Dlibcfs_string.c117 char *end; local
129 end = str;
130 while (i < size && *end != '\0' && !isspace(*end)) {
132 ++end;
135 *end= '\0';
144 char *end; local
149 end = str + strlen(str);
150 while (end > str) {
151 if (!isspace(end[
174 char *end; local
[all...]
/drivers/acpi/apei/
H A Dapei-base.c213 int *end)
223 if (end)
224 *end = i;
257 int rc, end; local
260 NULL, &end);
264 ctx_unmap.entries = end;
298 unsigned long end; member in struct:apei_res
311 unsigned long end = start + size; local
313 if (end <= start)
317 if (res->start > end || re
210 apei_exec_for_each_entry(struct apei_exec_context *ctx, apei_exec_entry_func_t func, void *data, int *end) argument
[all...]
/drivers/isdn/gigaset/
H A Dproc.c31 char *end; local
33 value = simple_strtol(buf, &end, 0);
34 while (*end)
35 if (!isspace(*end++))
/drivers/pnp/
H A Dsystem.c29 resource_size_t start = r->start, end = r->end; local
38 res = request_region(start, end - start + 1, regionid);
40 res = request_mem_region(start, end - start + 1, regionid);
75 if (res->end < res->start)
H A Dresource.c156 #define length(start, end) (*(end) - *(start) + 1)
158 /* Two ranges conflict if one doesn't end before the other starts */
170 resource_size_t *port, *end, *tport, *tend; local
173 end = &res->end;
182 if (__check_region(&ioport_resource, *port, length(port, end)))
190 if (ranged_conflict(port, end, &rport, &rend))
198 tend = &tres->end;
199 if (ranged_conflict(port, end, tpor
232 resource_size_t *addr, *end, *taddr, *tend; local
565 pnp_add_io_resource(struct pnp_dev *dev, resource_size_t start, resource_size_t end, int flags) argument
589 pnp_add_mem_resource(struct pnp_dev *dev, resource_size_t start, resource_size_t end, int flags) argument
613 pnp_add_bus_resource(struct pnp_dev *dev, resource_size_t start, resource_size_t end) argument
683 pnp_range_reserved(resource_size_t start, resource_size_t end) argument
[all...]
H A Dquirks.c260 if (res->start == 0 && res->end == 0)
264 pnp_end = res->end;
305 resource_size_t start, end; local
316 if (res->end < mmconfig->start || res->start > mmconfig->end ||
317 (res->start == mmconfig->start && res->end == mmconfig->end))
325 end = res->start - 1;
326 pnp_add_mem_resource(dev, start, end, 0);
328 if (mmconfig->end > re
[all...]
H A Dmanager.c45 (unsigned long long) res->end, res->flags);
52 res->end = 0;
61 res->end = res->start + rule->size - 1;
65 res->end = res->start + rule->size - 1;
76 pnp_add_io_resource(dev, res->start, res->end, res->flags);
88 (unsigned long long) res->end, res->flags);
95 res->end = 0;
114 res->end = res->start + rule->size - 1;
118 res->end = res->start + rule->size - 1;
129 pnp_add_mem_resource(dev, res->start, res->end, re
[all...]
/drivers/media/platform/s5p-tv/
H A Dhdmi_drv.c50 u32 end; member in struct:hdmi_pulse
105 /* end node */
202 (t->hsyn_pol << 20) | (t->hsyn.end << 10) | t->hsyn.beg);
205 (t->vact[0].beg << 11) | t->vact[0].end);
207 (t->vsyn[0].beg << 12) | t->vsyn[0].end);
213 (t->hact.end << 12) | t->vact[1].end);
215 (t->vact[1].end << 11) | t->vact[1].beg);
217 (t->vsyn[1].beg << 12) | t->vsyn[1].end);
223 (t->hact.end << 1
[all...]
/drivers/block/drbd/
H A Ddrbd_interval.c6 * interval_end - return end of @node
12 return this->end;
16 * compute_subtree_last - compute end of @node
18 * The end of an interval is the highest (start + (size >> 9)) value of this
19 * node and of its children. Called for @node and its parents whenever the end
41 sector_t, end, compute_subtree_last);
59 if (here->end < this_end)
60 here->end = this_end;
73 this->end = this_end;
138 sector_t end local
166 sector_t end = sector + (size >> 9); local
[all...]
/drivers/s390/cio/
H A Ditcw.c136 static inline void *fit_chunk(addr_t *start, addr_t end, size_t len, argument
146 if (addr + len > end)
183 addr_t end; local
188 end = start + size;
189 if (end > (1 << 31))
193 chunk = fit_chunk(&start, end, sizeof(struct itcw), 1, 0);
209 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
217 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0);
226 chunk = fit_chunk(&start, end, sizeof(struct tidaw) *
234 chunk = fit_chunk(&start, end, sizeo
[all...]
/drivers/gpu/drm/gma500/
H A Dmdfld_dsi_output.h44 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end))
45 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end))
46 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end))
47 #define FLD_MOD(orig, val, start, end) \
53 REGISTER_FLD_WAIT(struct drm_device *dev, u32 reg, u32 val, int start, int end) argument
[all...]
/drivers/net/wireless/iwlwifi/pcie/
H A Dtrans.c1783 u32 start, end; member in struct:__anon4573
1785 { .start = 0x00a00000, .end = 0x00a00000 },
1786 { .start = 0x00a0000c, .end = 0x00a00024 },
1787 { .start = 0x00a0002c, .end = 0x00a0003c },
1788 { .start = 0x00a00410, .end = 0x00a00418 },
1789 { .start = 0x00a00420, .end = 0x00a00420 },
1790 { .start = 0x00a00428, .end = 0x00a00428 },
1791 { .start = 0x00a00430, .end = 0x00a0043c },
1792 { .start = 0x00a00444, .end = 0x00a00444 },
1793 { .start = 0x00a004c0, .end
[all...]
/drivers/iommu/
H A Dof_iommu.c42 const __be32 *dma_window, *end; local
59 end = dma_window + bytes / sizeof(*dma_window);
61 while (dma_window < end) {

Completed in 734 milliseconds

1234567891011>>