/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 341 u32 start, end; member 345 { .start = 0x00a00000, .end = 0x00a00000 }, 346 { .start = 0x00a0000c, .end = 0x00a00024 }, 347 { .start = 0x00a0002c, .end = 0x00a0003c }, 348 { .start = 0x00a00410, .end = 0x00a00418 }, 349 { .start = 0x00a00420, .end = 0x00a00420 }, 350 { .start = 0x00a00428, .end = 0x00a00428 }, 351 { .start = 0x00a00430, .end = 0x00a0043c }, 352 { .start = 0x00a00444, .end = 0x00a00444 }, 353 { .start = 0x00a004c0, .end = 0x00a004cc }, [all …]
|
/drivers/usb/core/ |
D | devices.c | 174 static char *usb_dump_endpoint_descriptor(int speed, char *start, char *end, in usb_dump_endpoint_descriptor() argument 180 if (start > end) in usb_dump_endpoint_descriptor() 236 static char *usb_dump_interface_descriptor(char *start, char *end, in usb_dump_interface_descriptor() argument 245 if (start > end) in usb_dump_interface_descriptor() 267 static char *usb_dump_interface(int speed, char *start, char *end, in usb_dump_interface() argument 274 start = usb_dump_interface_descriptor(start, end, intfc, iface, setno); in usb_dump_interface() 276 if (start > end) in usb_dump_interface() 279 start, end, &desc->endpoint[i].desc); in usb_dump_interface() 284 static char *usb_dump_iad_descriptor(char *start, char *end, in usb_dump_iad_descriptor() argument 287 if (start > end) in usb_dump_iad_descriptor() [all …]
|
/drivers/firmware/ |
D | memmap.c | 41 u64 end; /* end of the memory range (incl.) */ member 57 firmware_map_find_entry(u64 start, u64 end, const char *type); 69 static struct memmap_attribute memmap_end_attr = __ATTR_RO(end); 150 static int firmware_map_add_entry(u64 start, u64 end, in firmware_map_add_entry() argument 154 BUG_ON(start > end); in firmware_map_add_entry() 157 entry->end = end - 1; in firmware_map_add_entry() 227 firmware_map_find_entry_in_list(u64 start, u64 end, const char *type, in firmware_map_find_entry_in_list() argument 233 if ((entry->start == start) && (entry->end == end) && in firmware_map_find_entry_in_list() 254 firmware_map_find_entry(u64 start, u64 end, const char *type) in firmware_map_find_entry() argument 256 return firmware_map_find_entry_in_list(start, end, type, &map_entries); in firmware_map_find_entry() [all …]
|
/drivers/acpi/acpica/ |
D | utprint.c | 61 static char *acpi_ut_bound_string_output(char *string, const char *end, char c); 64 char *end, 111 static char *acpi_ut_bound_string_output(char *string, const char *end, char c) in acpi_ut_bound_string_output() argument 114 if (string < end) { in acpi_ut_bound_string_output() 236 char *end, in acpi_ut_format_number() argument 303 string = acpi_ut_bound_string_output(string, end, ' '); in acpi_ut_format_number() 307 string = acpi_ut_bound_string_output(string, end, sign); in acpi_ut_format_number() 310 string = acpi_ut_bound_string_output(string, end, '0'); in acpi_ut_format_number() 313 acpi_ut_bound_string_output(string, end, in acpi_ut_format_number() 319 string = acpi_ut_bound_string_output(string, end, zero); in acpi_ut_format_number() [all …]
|
/drivers/staging/media/atomisp/pci/atomisp2/mmu/ |
D | isp_mmu.c | 213 unsigned int start, unsigned int end, phys_addr_t phys) in mmu_l2_map() argument 222 end = ISP_PAGE_ALIGN(end); in mmu_l2_map() 247 } while (ptr < end && idx < ISP_L2PT_PTES - 1); in mmu_l2_map() 257 unsigned int start, unsigned int end, in mmu_l1_map() argument 269 end = ISP_PAGE_ALIGN(end); in mmu_l1_map() 300 if (l1_aligned < end) { in mmu_l1_map() 307 l2_pt, ptr, end, phys); in mmu_l1_map() 308 phys += (end - ptr); in mmu_l1_map() 309 ptr = end; in mmu_l1_map() 320 } while (ptr < end && idx < ISP_L1PT_PTES); in mmu_l1_map() [all …]
|
/drivers/bus/ |
D | uniphier-system-bus.c | 38 u32 end; member 50 u64 end, mask; in uniphier_system_bus_add_bank() local 61 if (priv->bank[bank].base || priv->bank[bank].end) { in uniphier_system_bus_add_bank() 72 end = paddr + size; in uniphier_system_bus_add_bank() 83 end = round_up(end, 0x00020000); in uniphier_system_bus_add_bank() 85 if (end > U32_MAX) { in uniphier_system_bus_add_bank() 86 dev_err(priv->dev, "end address %08llx is too high\n", end); in uniphier_system_bus_add_bank() 89 mask = paddr ^ (end - 1); in uniphier_system_bus_add_bank() 93 end = round_up(end, mask); in uniphier_system_bus_add_bank() 96 priv->bank[bank].end = end; in uniphier_system_bus_add_bank() [all …]
|
/drivers/pnp/ |
D | resource.c | 157 #define length(start, end) (*(end) - *(start) + 1) argument 171 resource_size_t *port, *end, *tport, *tend; in pnp_check_port() local 174 end = &res->end; in pnp_check_port() 183 if (!request_region(*port, length(port, end), "pnp")) in pnp_check_port() 185 release_region(*port, length(port, end)); in pnp_check_port() 192 if (ranged_conflict(port, end, &rport, &rend)) in pnp_check_port() 200 tend = &tres->end; in pnp_check_port() 201 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port() 219 tend = &tres->end; in pnp_check_port() 220 if (ranged_conflict(port, end, tport, tend)) in pnp_check_port() [all …]
|
D | quirks.c | 264 if (res->start == 0 && res->end == 0) in quirk_system_pci_resources() 268 pnp_end = res->end; in quirk_system_pci_resources() 309 resource_size_t start, end; in quirk_amd_mmconfig_area() local 320 if (res->end < mmconfig->start || res->start > mmconfig->end || in quirk_amd_mmconfig_area() 321 (res->start == mmconfig->start && res->end == mmconfig->end)) in quirk_amd_mmconfig_area() 329 end = res->start - 1; in quirk_amd_mmconfig_area() 330 pnp_add_mem_resource(dev, start, end, 0); in quirk_amd_mmconfig_area() 332 if (mmconfig->end > res->end) { in quirk_amd_mmconfig_area() 333 start = res->end + 1; in quirk_amd_mmconfig_area() 334 end = mmconfig->end; in quirk_amd_mmconfig_area() [all …]
|
/drivers/acpi/apei/ |
D | apei-base.c | 209 int *end) in apei_exec_for_each_entry() argument 219 if (end) in apei_exec_for_each_entry() 220 *end = i; in apei_exec_for_each_entry() 253 int rc, end; in apei_exec_pre_map_gars() local 256 NULL, &end); in apei_exec_pre_map_gars() 260 ctx_unmap.entries = end; in apei_exec_pre_map_gars() 294 unsigned long end; member 307 unsigned long end = start + size; in apei_res_add() local 309 if (end <= start) in apei_res_add() 313 if (res->start > end || res->end < start) in apei_res_add() [all …]
|
/drivers/firmware/efi/ |
D | memmap.c | 220 u64 start, end; in efi_memmap_split_count() local 224 end = start + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_split_count() 228 m_end = range->end; in efi_memmap_split_count() 232 if (start < m_end && m_end < end) in efi_memmap_split_count() 236 if (start < m_start && m_start < end) { in efi_memmap_split_count() 238 if (m_end < end) in efi_memmap_split_count() 241 if (end <= m_end) in efi_memmap_split_count() 262 u64 start, end; in efi_memmap_insert() local 267 m_end = mem->range.end; in efi_memmap_insert() 289 end = md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT) - 1; in efi_memmap_insert() [all …]
|
/drivers/android/ |
D | binder_alloc_selftest.c | 106 void __user *end; in check_buffer_pages_allocated() local 109 end = (void __user *)PAGE_ALIGN((uintptr_t)buffer->user_data + size); in check_buffer_pages_allocated() 111 for (; page_addr < end; page_addr += PAGE_SIZE) { in check_buffer_pages_allocated() 143 size_t *sizes, int *seq, size_t end) in binder_selftest_free_buf() argument 150 for (i = 0; i < end / PAGE_SIZE; i++) { in binder_selftest_free_buf() 186 size_t *sizes, int *seq, size_t end) in binder_selftest_alloc_free() argument 191 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free() 198 binder_selftest_free_buf(alloc, buffers, sizes, seq, end); in binder_selftest_alloc_free() 216 int index, size_t end) in binder_selftest_free_seq() argument 221 binder_selftest_alloc_free(alloc, sizes, seq, end); in binder_selftest_free_seq() [all …]
|
/drivers/mfd/ |
D | wm831x-core.c | 622 .end = WM831X_DC1_DVS_CONTROL, 628 .end = WM831X_IRQ_UV_DC1, 634 .end = WM831X_IRQ_HC_DC1, 643 .end = WM831X_DC2_DVS_CONTROL, 649 .end = WM831X_IRQ_UV_DC2, 655 .end = WM831X_IRQ_HC_DC2, 663 .end = WM831X_DC3_SLEEP_CONTROL, 669 .end = WM831X_IRQ_UV_DC3, 677 .end = WM831X_DC4_SLEEP_CONTROL, 683 .end = WM831X_IRQ_UV_DC4, [all …]
|
/drivers/staging/lustre/lnet/libcfs/ |
D | libcfs_string.c | 115 char *end; in cfs_firststr() local 127 end = str; in cfs_firststr() 128 while (i < size && *end != '\0' && !isspace(*end)) { in cfs_firststr() 130 ++end; in cfs_firststr() 133 *end = '\0'; in cfs_firststr() 142 char *end; in cfs_trimwhite() local 147 end = str + strlen(str); in cfs_trimwhite() 148 while (end > str) { in cfs_trimwhite() 149 if (!isspace(end[-1])) in cfs_trimwhite() 151 end--; in cfs_trimwhite() [all …]
|
/drivers/pci/hotplug/ |
D | rpadlpar_sysfs.c | 36 char *end; in add_slot_store() local 44 end = strchr(drc_name, '\n'); in add_slot_store() 45 if (!end) in add_slot_store() 46 end = &drc_name[nbytes]; in add_slot_store() 47 *end = '\0'; in add_slot_store() 68 char *end; in remove_slot_store() local 75 end = strchr(drc_name, '\n'); in remove_slot_store() 76 if (!end) in remove_slot_store() 77 end = &drc_name[nbytes]; in remove_slot_store() 78 *end = '\0'; in remove_slot_store()
|
D | ibmphp_res.c | 89 rs->end = curr->end_addr; in alloc_resources() 130 newrange->end = curr->end_addr; in alloc_bus_range() 137 … Primary Bus inserted on bus %x [%x - %x]\n", flag, newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 146 …ebug("First Memory Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 156 debug("First IO Primary on bus %x, [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 166 …debug("1st PFMemory Primary on Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in alloc_bus_range() 229 …"gbuses = NULL, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 244 …debug("New Bus, Memory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 255 …buses = NULL, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() 269 …bug("1st Bus, PFMemory Primary Bus %x [%x - %x]\n", newbus->busno, newrange->start, newrange->end); in ibmphp_rsrc_init() [all …]
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_flock.c | 85 lock->l_policy_data.l_flock.end) && in ldlm_flocks_overlap() 86 (new->l_policy_data.l_flock.end >= in ldlm_flocks_overlap() 153 req->l_policy_data.l_flock.end); in ldlm_process_flock_lock() 218 req->l_policy_data.l_flock.end = in ldlm_process_flock_lock() 219 lock->l_policy_data.l_flock.end; in ldlm_process_flock_lock() 258 (lock->l_policy_data.l_flock.end + 1)) && in ldlm_process_flock_lock() 259 (lock->l_policy_data.l_flock.end != OBD_OBJECT_EOF)) in ldlm_process_flock_lock() 262 if ((new->l_policy_data.l_flock.end < in ldlm_process_flock_lock() 276 if (new->l_policy_data.l_flock.end > in ldlm_process_flock_lock() 277 lock->l_policy_data.l_flock.end) { in ldlm_process_flock_lock() [all …]
|
/drivers/gpu/drm/gma500/ |
D | mdfld_dsi_output.h | 44 #define FLD_MASK(start, end) (((1 << ((start) - (end) + 1)) - 1) << (end)) argument 45 #define FLD_VAL(val, start, end) (((val) << (end)) & FLD_MASK(start, end)) argument 46 #define FLD_GET(val, start, end) (((val) & FLD_MASK(start, end)) >> (end)) argument 47 #define FLD_MOD(orig, val, start, end) \ argument 48 (((orig) & ~FLD_MASK(start, end)) | FLD_VAL(val, start, end)) 50 #define REG_FLD_MOD(reg, val, start, end) \ argument 51 REG_WRITE(reg, FLD_MOD(REG_READ(reg), val, start, end)) 54 u32 val, int start, int end) in REGISTER_FLD_WAIT() argument 58 while (FLD_GET(REG_READ(reg), start, end) != val) { in REGISTER_FLD_WAIT() 66 #define REG_FLD_WAIT(reg, val, start, end) \ argument [all …]
|
/drivers/parisc/ |
D | lba_pci.c | 172 (long)r->start, (long)r->end, r->flags); in lba_dump_res() 195 u8 last_sub_bus = d->hba.hba_bus->busn_res.end; in lba_device_present() 577 unsigned long end = new->end; in truncate_pat_collision() local 580 if (end <= start || start < root->start || !tmp) in truncate_pat_collision() 584 while (tmp && tmp->end < start) in truncate_pat_collision() 593 if (tmp->start >= end) return 0; in truncate_pat_collision() 597 new->start = tmp->end + 1; in truncate_pat_collision() 599 if (tmp->end >= end) { in truncate_pat_collision() 605 if (tmp->end < end ) { in truncate_pat_collision() 607 new->end = tmp->start - 1; in truncate_pat_collision() [all …]
|
/drivers/s390/cio/ |
D | itcw.c | 137 static inline void *fit_chunk(addr_t *start, addr_t end, size_t len, in fit_chunk() argument 147 if (addr + len > end) in fit_chunk() 184 addr_t end; in itcw_init() local 189 end = start + size; in itcw_init() 190 if (end > (1 << 31)) in itcw_init() 194 chunk = fit_chunk(&start, end, sizeof(struct itcw), 1, 0); in itcw_init() 210 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 218 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 227 chunk = fit_chunk(&start, end, sizeof(struct tidaw) * in itcw_init() 235 chunk = fit_chunk(&start, end, sizeof(struct tidaw) * in itcw_init() [all …]
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | descs_com.h | 32 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end, in ehn_desc_rx_set_on_ring() argument 40 if (end) in ehn_desc_rx_set_on_ring() 44 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 46 if (end) in enh_desc_end_tx_desc_on_ring() 64 static inline void ndesc_rx_set_on_ring(struct dma_desc *p, int end, int bfsize) in ndesc_rx_set_on_ring() argument 74 if (end) in ndesc_rx_set_on_ring() 78 static inline void ndesc_end_tx_desc_on_ring(struct dma_desc *p, int end) in ndesc_end_tx_desc_on_ring() argument 80 if (end) in ndesc_end_tx_desc_on_ring() 117 static inline void ndesc_rx_set_on_chain(struct dma_desc *p, int end) in ndesc_rx_set_on_chain() argument
|
/drivers/pci/ |
D | bus.c | 146 if (r.end > region->end) in pci_clip_resource_to_region() 147 r.end = region->end; in pci_clip_resource_to_region() 149 if (r.end < r.start) in pci_clip_resource_to_region() 150 res->end = res->start - 1; in pci_clip_resource_to_region() 199 max = avail.end; in pci_bus_alloc_from_region() 271 resource_size_t start, end; in pci_bus_clip_resource() local 280 end = min(r->end, res->end); in pci_bus_clip_resource() 282 if (start > end) in pci_bus_clip_resource() 285 if (res->start == start && res->end == end) in pci_bus_clip_resource() 289 res->end = end; in pci_bus_clip_resource()
|
D | host-bridge.c | 64 region->end = res->end - offset; in pcibios_resource_to_bus() 71 return region1->start <= region2->start && region1->end >= region2->end; in region_contains() 88 bus_region.end = window->res->end - window->offset; in pcibios_bus_to_resource() 97 res->end = region->end + offset; in pcibios_bus_to_resource()
|
/drivers/mmc/host/ |
D | dw_mmc-zx.c | 96 int ret, len = 0, start = 0, end = 0, delay, best = 0; in dw_mci_zx_emmc_execute_tuning() local 102 end = delay - 1; in dw_mci_zx_emmc_execute_tuning() 104 if ((end - start) > len) { in dw_mci_zx_emmc_execute_tuning() 105 best = (start + end) >> 1; in dw_mci_zx_emmc_execute_tuning() 106 len = end - start; in dw_mci_zx_emmc_execute_tuning() 110 end = 0; in dw_mci_zx_emmc_execute_tuning() 118 end = delay - 1; in dw_mci_zx_emmc_execute_tuning() 119 if ((end - start) > len) { in dw_mci_zx_emmc_execute_tuning() 120 best = (start + end) >> 1; in dw_mci_zx_emmc_execute_tuning() 121 len = end - start; in dw_mci_zx_emmc_execute_tuning() [all …]
|
/drivers/net/wireless/intersil/orinoco/ |
D | hermes_dld.c | 149 hermes_find_pdr(const struct pdr *first_pdr, u32 record_id, const void *end) in hermes_find_pdr() argument 153 end -= sizeof(struct pdr); in hermes_find_pdr() 155 while (((void *) pdr <= end) && in hermes_find_pdr() 176 hermes_find_pdi(const struct pdi *first_pdi, u32 record_id, const void *end) in hermes_find_pdi() argument 180 end -= sizeof(struct pdi); in hermes_find_pdi() 182 while (((void *) pdi <= end) && in hermes_find_pdi() 254 hermes_blocks_length(const char *first_block, const void *end) in hermes_blocks_length() argument 260 end -= sizeof(*blk); in hermes_blocks_length() 264 while (((void *) blk <= end) && in hermes_blocks_length() 277 int hermes_program(struct hermes *hw, const char *first_block, const void *end) in hermes_program() argument [all …]
|
/drivers/staging/lustre/lustre/include/ |
D | interval_tree.h | 54 __u64 end; member 75 return node->in_extent.end; in interval_high() 79 __u64 start, __u64 end) in interval_set() argument 81 if (start > end) in interval_set() 84 node->in_extent.end = end; in interval_set() 85 node->in_max_high = end; in interval_set()
|