/linux-4.1.27/arch/sparc/prom/ |
H A D | ranges.c | 2 * ranges.c: Handle ranges in newer proms for obio/sbus. 18 /* Adjust register values based upon the ranges parameters. */ 59 /* Apply probed obio ranges to registers passed, if no ranges return. */ 75 /* Check for obio and sbus ranges. */ prom_ranges_init() 80 success = prom_getproperty(obio_node, "ranges", prom_ranges_init() 96 struct linux_prom_ranges ranges[PROMREG_MAX]; prom_apply_generic_ranges() local 98 success = prom_getproperty(node, "ranges", prom_apply_generic_ranges() 99 (char *) ranges, prom_apply_generic_ranges() 100 sizeof (ranges)); prom_apply_generic_ranges() 107 success = prom_getproperty(parent, "ranges", prom_apply_generic_ranges() 112 prom_adjust_ranges (ranges, num_ranges, parent_ranges, num_parent_ranges); prom_apply_generic_ranges() 115 prom_adjust_regs(regs, nregs, ranges, num_ranges); prom_apply_generic_ranges()
|
H A D | Makefile | 12 lib-$(CONFIG_SPARC32) += ranges.o
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | tuner-types.c | 72 .ranges = tuner_temic_pal_ranges, 88 .ranges = tuner_philips_pal_i_ranges, 104 .ranges = tuner_philips_ntsc_ranges, 121 .ranges = tuner_philips_secam_ranges, 138 .ranges = tuner_philips_pal_ranges, 155 .ranges = tuner_temic_ntsc_ranges, 171 .ranges = tuner_temic_pal_i_ranges, 187 .ranges = tuner_temic_4036fy5_ntsc_ranges, 203 .ranges = tuner_alps_tsb_1_ranges, 214 .ranges = tuner_alps_tsb_1_ranges, 230 .ranges = tuner_alps_tsb_5_pal_ranges, 240 .ranges = tuner_alps_tsb_5_pal_ranges, 250 .ranges = tuner_alps_tsb_5_pal_ranges, 266 .ranges = tuner_lg_pal_ranges, 282 .ranges = tuner_alps_tshc6_ntsc_ranges, 298 .ranges = tuner_temic_pal_dk_ranges, 314 .ranges = tuner_philips_ntsc_m_ranges, 330 .ranges = tuner_temic_40x6f_5_pal_ranges, 340 .ranges = tuner_temic_40x6f_5_pal_ranges, 357 .ranges = tuner_temic_4009f_5_pal_ranges, 373 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, 383 .ranges = tuner_temic_40x6f_5_pal_ranges, 393 .ranges = tuner_lg_pal_ranges, 403 .ranges = tuner_lg_pal_ranges, 417 .ranges = tuner_lg_pal_ranges, 427 .ranges = tuner_lg_pal_ranges, 443 .ranges = tuner_lg_ntsc_fm_ranges, 453 .ranges = tuner_lg_pal_ranges, 463 .ranges = tuner_lg_pal_ranges, 474 .ranges = tuner_temic_4009f_5_pal_ranges, 490 .ranges = tuner_sharp_2u5jf5540_ntsc_ranges, 506 .ranges = tuner_samsung_pal_tcpm9091pd27_ranges, 516 .ranges = tuner_temic_4009f_5_pal_ranges, 526 .ranges = tuner_temic_pal_ranges, 536 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, 552 .ranges = tuner_lg_new_tapc_ranges, 568 .ranges = tuner_fm1216me_mk3_pal_ranges, 593 .ranges = tuner_fm1216mk5_pal_ranges, 612 .ranges = tuner_lg_new_tapc_ranges, 623 .ranges = tuner_lg_new_tapc_ranges, 639 .ranges = tuner_philips_pal_mk_pal_ranges, 661 .ranges = tuner_philips_fcv1236d_ntsc_ranges, 666 .ranges = tuner_philips_fcv1236d_atsc_ranges, 683 .ranges = tuner_fm1236_mk3_ntsc_ranges, 698 .ranges = tuner_fm1236_mk3_ntsc_ranges, 708 .ranges = tuner_temic_4009f_5_pal_ranges, 729 .ranges = tuner_panasonic_vp27_ntsc_ranges, 750 .ranges = tuner_tnf_8831bgff_pal_ranges, 772 .ranges = tuner_microtune_4042fi5_ntsc_ranges, 777 .ranges = tuner_microtune_4042fi5_atsc_ranges, 795 .ranges = tuner_tcl_2002n_ntsc_ranges, 806 .ranges = tuner_fm1236_mk3_ntsc_ranges, 824 .ranges = tuner_thomson_dtt7610_ntsc_ranges, 829 .ranges = tuner_thomson_dtt7610_ntsc_ranges, 846 .ranges = tuner_philips_fq1286_ntsc_ranges, 862 .ranges = tuner_tcl_2002mb_pal_ranges, 878 .ranges = tuner_philips_fq12_6a___mk4_pal_ranges, 895 .ranges = tuner_fm1236_mk3_ntsc_ranges, 905 .ranges = tuner_philips_ntsc_m_ranges, 921 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges, 945 .ranges = tuner_thomson_dtt761x_ntsc_ranges, 953 .ranges = tuner_thomson_dtt761x_atsc_ranges, 970 .ranges = tuner_tena_9533_di_pal_ranges, 986 .ranges = tuner_tena_tnf_5337_ntsc_ranges, 1012 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, 1023 .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges, 1032 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, 1045 .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges, 1068 .ranges = tuner_tua6034_ntsc_ranges, 1073 .ranges = tuner_tua6034_atsc_ranges, 1090 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges, 1112 .ranges = tuner_lg_taln_ntsc_ranges, 1116 .ranges = tuner_lg_taln_pal_secam_ranges, 1144 .ranges = tuner_philips_td1316_pal_ranges, 1149 .ranges = tuner_philips_td1316_dvb_ranges, 1172 .ranges = tuner_tuv1236d_ntsc_ranges, 1177 .ranges = tuner_tuv1236d_atsc_ranges, 1204 .ranges = tuner_tnf_5335mf_ntsc_ranges, 1209 .ranges = tuner_tnf_5335_d_if_pal_ranges, 1227 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges, 1250 .ranges = tuner_thomson_fe6600_pal_ranges, 1255 .ranges = tuner_thomson_fe6600_dvb_ranges, 1273 .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges, 1293 .ranges = tuner_tcl_mf02gip_5n_ntsc_ranges, 1305 .ranges = tuner_fm1216me_mk3_pal_ranges, 1324 /* The datasheet specified channel ranges and the bandswitch byte */ 1334 .ranges = tuner_partsnic_pti_5nf05_ranges, 1351 .ranges = tuner_cu1216l_ranges, 1368 .ranges = tuner_sony_btf_pxn01z_ranges, 1378 .ranges = tuner_fm1236_mk3_ntsc_ranges, 1395 .ranges = tuner_sony_btf_pg472z_ranges, 1415 .ranges = tuner_sony_btf_pg467z_ranges, 1431 .ranges = tuner_sony_btf_pg463z_ranges,
|
H A D | tuner-simple.c | 266 if (*frequency > t_params->ranges[i].limit) simple_config_lookup() 272 *frequency, t_params->ranges[i - 1].limit); simple_config_lookup() 273 *frequency = t_params->ranges[--i].limit; simple_config_lookup() 275 *config = t_params->ranges[i].config; simple_config_lookup() 276 *cb = t_params->ranges[i].cb; simple_config_lookup() 702 buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) | simple_set_radio_freq()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | crash.c | 41 /* This primarily represents number of split ranges due to exclusion */ 50 struct crash_mem_range ranges[CRASH_MAX_RANGES]; member in struct:crash_mem 53 /* Misc data about ram ranges needed to prepare elf headers */ 57 * Total number of ram ranges we have after various adjustments for 236 /* Exclusion of crash region could split memory ranges */ fill_up_crash_elf_data() 252 start = mem->ranges[i].start; exclude_mem_range() 253 end = mem->ranges[i].end; exclude_mem_range() 266 mem->ranges[i].start = 0; exclude_mem_range() 267 mem->ranges[i].end = 0; exclude_mem_range() 269 /* Shift rest of the ranges to left */ exclude_mem_range() 271 mem->ranges[j].start = exclude_mem_range() 272 mem->ranges[j+1].start; exclude_mem_range() 273 mem->ranges[j].end = exclude_mem_range() 274 mem->ranges[j+1].end; exclude_mem_range() 283 mem->ranges[i].end = mstart - 1; exclude_mem_range() 287 mem->ranges[i].end = mstart - 1; exclude_mem_range() 289 mem->ranges[i].start = mend + 1; exclude_mem_range() 299 pr_err("Too many crash ranges after split\n"); exclude_mem_range() 306 /* Move over all ranges one slot towards the end */ exclude_mem_range() 308 mem->ranges[i + 1] = mem->ranges[i]; exclude_mem_range() 311 mem->ranges[j].start = temp_range.start; exclude_mem_range() 312 mem->ranges[j].end = temp_range.end; exclude_mem_range() 318 * Look for any unwanted ranges between mstart, mend and remove them. This 319 * might lead to split and split ranges are put in ced->mem.ranges[] array 327 memset(cmem->ranges, 0, sizeof(cmem->ranges)); elf_header_exclude_ranges() 329 cmem->ranges[0].start = mstart; elf_header_exclude_ranges() 330 cmem->ranges[0].end = mend; elf_header_exclude_ranges() 366 /* Exclude unwanted mem ranges */ prepare_elf64_ram_headers_callback() 371 /* Go through all the ranges in ced->mem.ranges[] and prepare phdr */ prepare_elf64_ram_headers_callback() 375 mstart = cmem->ranges[i].start; prepare_elf64_ram_headers_callback() 376 mend = cmem->ranges[i].end; prepare_elf64_ram_headers_callback() 551 cmem->ranges[0].start = mstart; memmap_exclude_ranges() 552 cmem->ranges[0].end = mend; memmap_exclude_ranges() 609 /* Exclude some ranges from crashk_res and add rest to memmap */ crash_setup_memmap_entries() 616 ei.size = cmem->ranges[i].end - cmem->ranges[i].start + 1; crash_setup_memmap_entries() 621 ei.addr = cmem->ranges[i].start; crash_setup_memmap_entries()
|
H A D | mmconf-fam10h_64.c | 156 /* need to find window between ranges */ get_fam10h_pci_mmconf_base()
|
/linux-4.1.27/arch/mips/bmips/ |
H A D | dma.c | 27 * If the "brcm,ubus" node has a "dma-ranges" property we will enable this 29 * very limited subset of "dma-ranges" support and it will probably be 88 data = of_get_property(np, "dma-ranges", &len); bmips_init_dma_ranges() 113 pr_err("error parsing dma-ranges property\n"); bmips_init_dma_ranges()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | of_device_32.c | 25 * PCI bridge lacks a ranges property. We of_bus_pci_match() 30 if (!of_find_property(np, "ranges", NULL)) of_bus_pci_match() 192 const u32 *ranges; build_one_resource() local 196 ranges = of_get_property(parent, "ranges", &rlen); build_one_resource() 197 if (ranges == NULL || rlen == 0) { build_one_resource() 210 /* Now walk through the ranges */ build_one_resource() 213 for (; rlen >= rone; rlen -= rone, ranges += rone) { build_one_resource() 214 if (!bus->map(addr, ranges, na, ns, pna)) build_one_resource() 223 /* If we have a ranges property in the parent, use it. */ use_1to1_mapping() 224 if (of_find_property(pp, "ranges", NULL) != NULL) use_1to1_mapping() 229 * real bus nodes, and don't have a 'ranges' property. use_1to1_mapping()
|
H A D | of_device_64.c | 54 * PCI bridge lacks a ranges property. We of_bus_pci_match() 59 if (!of_find_property(np, "ranges", NULL)) of_bus_pci_match() 75 /* Treat PCI busses lacking ranges property just like of_bus_simba_match() 79 if (!of_find_property(np, "ranges", NULL)) of_bus_simba_match() 246 const u32 *ranges; build_one_resource() local 249 ranges = of_get_property(parent, "ranges", &rlen); build_one_resource() 250 if (ranges == NULL || rlen == 0) { build_one_resource() 263 /* Now walk through the ranges */ build_one_resource() 266 for (; rlen >= rone; rlen -= rone, ranges += rone) { build_one_resource() 267 if (!bus->map(addr, ranges, na, ns, pna)) build_one_resource() 283 /* If we have a ranges property in the parent, use it. */ use_1to1_mapping() 284 if (of_find_property(pp, "ranges", NULL) != NULL) use_1to1_mapping() 292 * real bus nodes, and don't have a 'ranges' property. use_1to1_mapping() 303 * it lacks a ranges property, and this will include use_1to1_mapping()
|
H A D | pci.c | 379 * a proper 'ranges' property. 418 const u32 *busrange, *ranges; of_scan_pci_bridge() local 440 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge() 442 if (ranges == NULL) { of_scan_pci_bridge() 460 printk(" Bridge ranges[%p] simba[%d]\n", of_scan_pci_bridge() 461 ranges, simba); of_scan_pci_bridge() 463 /* parse ranges property, or cook one up by hand for Simba */ of_scan_pci_bridge() 474 } else if (ranges == NULL) { of_scan_pci_bridge() 479 for (; len >= 32; len -= 32, ranges += 8) { of_scan_pci_bridge() 485 ranges[0], ranges[1], ranges[2], ranges[3], of_scan_pci_bridge() 486 ranges[4], ranges[5], ranges[6], ranges[7]); of_scan_pci_bridge() 488 flags = pci_parse_of_flags(ranges[0]); of_scan_pci_bridge() 489 size = GET_64BIT(ranges, 6); of_scan_pci_bridge() 512 printk(KERN_ERR "PCI: too many memory ranges" of_scan_pci_bridge() 521 region.start = start = GET_64BIT(ranges, 1); of_scan_pci_bridge()
|
H A D | of_device_common.c | 161 * ranges based translations. of_bus_sbus_match() 163 if (of_find_property(dp, "ranges", NULL) != NULL) of_bus_sbus_match()
|
H A D | pci_common.c | 400 pbm_ranges = of_get_property(pbm->op->dev.of_node, "ranges", &i); pci_determine_mem_io_space() 402 prom_printf("PCI: Fatal error, missing PBM ranges property " pci_determine_mem_io_space()
|
H A D | pci_msi.c | 370 mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); sparc64_pbm_msi_init() 385 arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", sparc64_pbm_msi_init()
|
/linux-4.1.27/drivers/of/ |
H A D | fdt_address.c | 115 const __be32 *ranges; fdt_translate_one() local 120 ranges = fdt_getprop(blob, parent, rprop, &rlen); fdt_translate_one() 121 if (!ranges) fdt_translate_one() 126 pr_debug("FDT: empty ranges, 1:1 translation\n"); fdt_translate_one() 130 pr_debug("FDT: walking ranges...\n"); fdt_translate_one() 132 /* Now walk through the ranges */ fdt_translate_one() 135 for (; rlen >= rone; rlen -= rone, ranges += rone) { fdt_translate_one() 136 offset = bus->map(addr, ranges, na, ns, pna); fdt_translate_one() 144 memcpy(addr, ranges + na, 4 * pna); fdt_translate_one() 229 addr, na, ns, pna, "ranges")) fdt_translate_address()
|
H A D | address.c | 242 parser->range = of_get_property(node, "ranges", &rlen); of_pci_range_parser_init() 477 const __be32 *ranges; of_translate_one() local 482 /* Normally, an absence of a "ranges" property means we are of_translate_one() 487 * /ht nodes with no "ranges" property and a lot of perfectly of_translate_one() 489 * "ranges" as equivalent to an empty "ranges" property which means of_translate_one() 497 ranges = of_get_property(parent, rprop, &rlen); of_translate_one() 498 if (ranges == NULL && !of_empty_ranges_quirk(parent)) { of_translate_one() 499 pr_debug("OF: no ranges; cannot translate\n"); of_translate_one() 502 if (ranges == NULL || rlen == 0) { of_translate_one() 505 pr_debug("OF: empty ranges; 1:1 translation\n"); of_translate_one() 509 pr_debug("OF: walking ranges...\n"); of_translate_one() 511 /* Now walk through the ranges */ of_translate_one() 514 for (; rlen >= rone; rlen -= rone, ranges += rone) { of_translate_one() 515 offset = bus->map(addr, ranges, na, ns, pna); of_translate_one() 523 memcpy(addr, ranges + na, 4 * pna); of_translate_one() 621 return __of_translate_address(dev, in_addr, "ranges"); of_translate_address() 627 return __of_translate_address(dev, in_addr, "dma-ranges"); of_translate_dma_address() 920 * Look in bottom up direction for the first "dma-ranges" property 922 * dma-ranges format: 927 * It returns -ENODEV if "dma-ranges" property was not found 933 const __be32 *ranges = NULL; of_dma_get_range() local 948 ranges = of_get_property(node, "dma-ranges", &len); of_dma_get_range() 950 /* Ignore empty ranges, they imply no translation required */ of_dma_get_range() 951 if (ranges && len > 0) of_dma_get_range() 955 * At least empty ranges has to be defined for parent node if of_dma_get_range() 958 if (!ranges) of_dma_get_range() 962 if (!ranges) { of_dma_get_range() 963 pr_debug("%s: no dma-ranges found for node(%s)\n", of_dma_get_range() 973 /* dma-ranges format: of_dma_get_range() 978 dmaaddr = of_read_number(ranges, naddr); of_dma_get_range() 979 *paddr = of_translate_dma_address(np, ranges); of_dma_get_range() 988 *size = of_read_number(ranges + naddr + pna, nsize); of_dma_get_range()
|
H A D | of_pci.c | 149 * expect IO ranges to be present in the device tree. 153 * This function will parse the "ranges" property of a PCI host bridge device 179 pr_info("PCI host bridge %s ranges:\n", dev->full_name); of_pci_get_host_bridge_resources() 194 /* Check for ranges property */ of_pci_get_host_bridge_resources() 199 pr_debug("Parsing ranges property...\n"); of_pci_get_host_bridge_resources() 201 /* Read next ranges element */ of_pci_get_host_bridge_resources()
|
H A D | of_reserved_mem.c | 92 * and 'alloc-ranges' properties 128 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); __reserved_mem_alloc_size() 132 pr_err("Reserved memory: invalid alloc-ranges property in '%s', skipping node.\n", __reserved_mem_alloc_size()
|
/linux-4.1.27/arch/powerpc/boot/ |
H A D | treeboot-currituck.c | 71 if (getprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)) < 0) { ibm_currituck_fixups() 72 printf("%s: Failed to get dma-ranges\r\n", __func__); ibm_currituck_fixups() 79 setprop(devp, "dma-ranges", dma_ranges, sizeof(dma_ranges)); ibm_currituck_fixups()
|
H A D | fsl-soc.c | 39 size = getprop(soc, "ranges", prop_buf, MAX_PROP_LEN); fsl_get_immr()
|
H A D | devtree.c | 206 static int find_range(u32 *reg, u32 *ranges, int nregaddr, find_range() argument 216 copy_val(range_addr, ranges + i, nregaddr); find_range() 217 copy_val(range_size, ranges + i + nregaddr + naddr, nsize); find_range() 228 * reg block is tracked; size is ignored except in ranges. 276 buflen = getprop(node, "ranges", prop_buf, dt_xlate()
|
H A D | cuboot-c2k.c | 80 rc = getprop(devp, "ranges", v, sizeof(v)); c2k_bridge_setup() 82 fatal("Error: Can't find marvell,mv64360-pci ranges" c2k_bridge_setup()
|
H A D | wii.c | 116 /* two ranges of (address, size) words */ platform_fixups()
|
H A D | cuboot-pq2.c | 80 len = getprop(bus_node, "ranges", cs_ranges_buf, sizeof(cs_ranges_buf)); update_cs_ranges() 158 len = getprop(node, "ranges", pci_ranges_buf, fixup_pci()
|
H A D | 4xx.c | 311 u32 ranges[EBC_NUM_BANKS*4]; ibm4xx_fixup_ebc_ranges() local 312 u32 *p = ranges; ibm4xx_fixup_ebc_ranges() 331 setprop(devp, "ranges", ranges, (p - ranges) * sizeof(u32)); ibm4xx_fixup_ebc_ranges()
|
H A D | prpmc2800.c | 352 rc = getprop(devp, "ranges", v, sizeof(v)); prpmc2800_bridge_setup() 354 fatal("Error: Can't find marvell,mv64360-pci ranges" prpmc2800_bridge_setup()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | pci_of_scan.c | 39 * @bridge: Set this flag if the address is from a bridge 'ranges' property 211 const __be32 *busrange, *ranges; of_scan_pci_bridge() local 227 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge() 228 if (ranges == NULL) { of_scan_pci_bridge() 229 printk(KERN_DEBUG "Can't get ranges for PCI-PCI bridge %s\n", of_scan_pci_bridge() 251 /* parse ranges property */ of_scan_pci_bridge() 260 for (; len >= 32; len -= 32, ranges += 8) { of_scan_pci_bridge() 261 flags = pci_parse_of_flags(of_read_number(ranges, 1), 1); of_scan_pci_bridge() 262 size = of_read_number(&ranges[6], 2); of_scan_pci_bridge() 274 printk(KERN_ERR "PCI: too many memory ranges" of_scan_pci_bridge() 282 region.start = of_read_number(&ranges[1], 2); of_scan_pci_bridge()
|
H A D | isa-bridge.c | 71 range = of_get_property(isa_node, "ranges", &rlen); pci_process_ISA_OF_ranges() 76 * The ranges property is laid out as an array of elements, pci_process_ISA_OF_ranges() 116 printk(KERN_ERR "no ISA IO ranges or unexpected isa range, " pci_process_ISA_OF_ranges() 160 /* Now parse the "ranges" property and setup the ISA mapping */ isa_bridge_find_early() 182 /* Now parse the "ranges" property and setup the ISA mapping */ isa_bridge_find_late()
|
H A D | machine_kexec_64.c | 135 struct kexec_segment ranges[KEXEC_SEGMENT_MAX]; kexec_copy_flush() local 137 /* save the ranges on the stack to efficiently flush the icache */ kexec_copy_flush() 138 memcpy(ranges, image->segment, sizeof(ranges)); kexec_copy_flush() 153 flush_icache_range((unsigned long)__va(ranges[i].mem), kexec_copy_flush() 154 (unsigned long)__va(ranges[i].mem + ranges[i].memsz)); kexec_copy_flush()
|
H A D | of_platform.c | 64 /* Process "ranges" property */ of_pci_phb_probe()
|
H A D | pci-common.c | 478 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_read() 518 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_write() 652 * This function will parse the "ranges" property of a PCI host bridge device 660 * ranges. However, some machines (thanks Apple !) tend to split their 661 * space into lots of small contiguous ranges. So we have to coalesce. 678 printk(KERN_INFO "PCI host bridge %s %s ranges:\n", pci_process_bridge_OF_ranges() 681 /* Check for ranges property */ pci_process_bridge_OF_ranges() 742 /* We support only 3 memory ranges */ pci_process_bridge_OF_ranges() 793 * probed, but not for bridge ranges 1333 pr_debug("Reserving legacy ranges for domain %04x\n", pci_domain_nr(bus)); pcibios_reserve_legacy_regions()
|
H A D | prom.c | 583 prop = of_get_flat_dt_prop(dt_root, "reserved-ranges", &len); early_reserve_mem_dt() 588 DBG("Found new-style reserved-ranges\n"); early_reserve_mem_dt() 739 /* Scan and build the list of machine check recoverable ranges */ early_init_devtree()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 85 p = of_get_property(bmp->of_node, "msi-available-ranges", &len); msi_bitmap_reserve_dt_hwirqs() 87 pr_debug("msi_bitmap: no msi-available-ranges property " \ msi_bitmap_reserve_dt_hwirqs() 93 printk(KERN_WARNING "msi_bitmap: Malformed msi-available-ranges" msi_bitmap_reserve_dt_hwirqs() 163 /* With no node, there's no msi-available-ranges, so expect > 0 */ test_basics() 214 char *prop_name = "msi-available-ranges"; test_of_node() 229 /* No msi-available-ranges, so expect > 0 */ test_of_node() 236 /* Now create a fake msi-available-ranges property */ test_of_node() 246 /* msi-available-ranges, so expect == 0 */ test_of_node()
|
H A D | ppc4xx_pci.c | 96 const u32 *ranges; ppc4xx_parse_dma_ranges() local 107 /* Get dma-ranges property */ ppc4xx_parse_dma_ranges() 108 ranges = of_get_property(hose->dn, "dma-ranges", &rlen); ppc4xx_parse_dma_ranges() 109 if (ranges == NULL) ppc4xx_parse_dma_ranges() 114 u32 pci_space = ranges[0]; ppc4xx_parse_dma_ranges() 115 u64 pci_addr = of_read_number(ranges + 1, 2); ppc4xx_parse_dma_ranges() 116 u64 cpu_addr = of_translate_dma_address(hose->dn, ranges + 3); ppc4xx_parse_dma_ranges() 117 size = of_read_number(ranges + pna + 3, 2); ppc4xx_parse_dma_ranges() 118 ranges += np; ppc4xx_parse_dma_ranges() 155 printk(KERN_ERR "%s: dma-ranges(s) mismatch\n", ppc4xx_parse_dma_ranges() 164 printk(KERN_ERR "%s: dma-ranges too small " ppc4xx_parse_dma_ranges() 173 printk(KERN_ERR "%s: dma-ranges unaligned\n", ppc4xx_parse_dma_ranges() 184 printk(KERN_ERR "%s: dma-ranges outside of 32 bits space\n", ppc4xx_parse_dma_ranges() 269 printk(KERN_WARNING "%s: Too many ranges\n", ppc4xx_configure_pci_PMMs() 393 /* Configure outbound ranges POMs */ ppc4xx_probe_pci_bridge() 396 /* Configure inbound ranges PIMs */ ppc4xx_probe_pci_bridge() 470 printk(KERN_WARNING "%s: Too many ranges\n", ppc4xx_configure_pcix_POMs() 606 /* Configure outbound ranges POMs */ ppc4xx_probe_pcix_bridge() 609 /* Configure inbound ranges PIMs */ ppc4xx_probe_pcix_bridge() 1810 printk(KERN_WARNING "%s: Too many ranges\n", ppc4xx_configure_pciex_POMs() 2022 /* Configure outbound ranges POMs */ ppc4xx_pciex_port_setup_hose() 2025 /* Configure inbound ranges PIMs */ ppc4xx_pciex_port_setup_hose()
|
H A D | mv64x60_pci.c | 157 /* Interpret the "ranges" property */ mv64x60_add_bridge()
|
H A D | fsl_msi.c | 485 p = of_get_property(dev->dev.of_node, "msi-available-ranges", &len); fsl_of_msi_probe() 492 dev_warn(&dev->dev, "%s: dose not support msi-available-ranges property\n", fsl_of_msi_probe() 510 dev_err(&dev->dev, "%s: Malformed msi-available-ranges property\n", fsl_of_msi_probe()
|
H A D | fsl_soc.c | 67 prop = of_get_property(soc, "ranges", &size); get_immrbase()
|
H A D | fsl_rio.c | 313 /* check for conflicting ranges */ fsl_map_inb_mem() 578 dt_range = of_get_property(np, "ranges", &rlen); fsl_rio_setup() 580 dev_err(&dev->dev, "Can't get %s property 'ranges'\n", fsl_rio_setup()
|
H A D | mpic_timer.c | 467 p = of_get_property(np, "fsl,available-ranges", &len); timer_group_get_irq() 469 pr_err("%s: malformed available-ranges property.\n", timer_group_get_irq()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | calib.c | 192 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; iwl_sens_energy_cck() local 298 data->nrg_th_cck = min((u32)ranges->min_nrg_cck, val); iwl_sens_energy_cck() 344 min((u32)ranges->auto_corr_max_cck, val); iwl_sens_energy_cck() 348 min((u32)ranges->auto_corr_max_cck_mrc, val); iwl_sens_energy_cck() 356 max((u32)ranges->auto_corr_min_cck, val); iwl_sens_energy_cck() 359 max((u32)ranges->auto_corr_min_cck_mrc, val); iwl_sens_energy_cck() 375 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; iwl_sens_auto_corr_ofdm() local 387 min((u32)ranges->auto_corr_max_ofdm, val); iwl_sens_auto_corr_ofdm() 391 min((u32)ranges->auto_corr_max_ofdm_mrc, val); iwl_sens_auto_corr_ofdm() 395 min((u32)ranges->auto_corr_max_ofdm_x1, val); iwl_sens_auto_corr_ofdm() 399 min((u32)ranges->auto_corr_max_ofdm_mrc_x1, val); iwl_sens_auto_corr_ofdm() 410 max((u32)ranges->auto_corr_min_ofdm, val); iwl_sens_auto_corr_ofdm() 414 max((u32)ranges->auto_corr_min_ofdm_mrc, val); iwl_sens_auto_corr_ofdm() 418 max((u32)ranges->auto_corr_min_ofdm_x1, val); iwl_sens_auto_corr_ofdm() 422 max((u32)ranges->auto_corr_min_ofdm_mrc_x1, val); iwl_sens_auto_corr_ofdm() 599 const struct iwl_sensitivity_ranges *ranges = priv->hw_params.sens; iwl_init_sensitivity() local 609 if (ranges == NULL) iwl_init_sensitivity() 627 data->auto_corr_ofdm = ranges->auto_corr_min_ofdm; iwl_init_sensitivity() 628 data->auto_corr_ofdm_mrc = ranges->auto_corr_min_ofdm_mrc; iwl_init_sensitivity() 629 data->auto_corr_ofdm_x1 = ranges->auto_corr_min_ofdm_x1; iwl_init_sensitivity() 630 data->auto_corr_ofdm_mrc_x1 = ranges->auto_corr_min_ofdm_mrc_x1; iwl_init_sensitivity() 632 data->auto_corr_cck_mrc = ranges->auto_corr_min_cck_mrc; iwl_init_sensitivity() 633 data->nrg_th_cck = ranges->nrg_th_cck; iwl_init_sensitivity() 634 data->nrg_th_ofdm = ranges->nrg_th_ofdm; iwl_init_sensitivity() 635 data->barker_corr_th_min = ranges->barker_corr_th_min; iwl_init_sensitivity() 636 data->barker_corr_th_min_mrc = ranges->barker_corr_th_min_mrc; iwl_init_sensitivity() 637 data->nrg_th_cca = ranges->nrg_th_cca; iwl_init_sensitivity()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | 4965-calib.c | 120 const struct il_sensitivity_ranges *ranges = il->hw_params.sens; il4965_sens_energy_cck() local 225 data->nrg_th_cck = min((u32) ranges->min_nrg_cck, val); il4965_sens_energy_cck() 271 min((u32) ranges->auto_corr_max_cck, val); il4965_sens_energy_cck() 275 min((u32) ranges->auto_corr_max_cck_mrc, val); il4965_sens_energy_cck() 282 data->auto_corr_cck = max((u32) ranges->auto_corr_min_cck, val); il4965_sens_energy_cck() 285 max((u32) ranges->auto_corr_min_cck_mrc, val); il4965_sens_energy_cck() 299 const struct il_sensitivity_ranges *ranges = il->hw_params.sens; il4965_sens_auto_corr_ofdm() local 311 min((u32) ranges->auto_corr_max_ofdm, val); il4965_sens_auto_corr_ofdm() 315 min((u32) ranges->auto_corr_max_ofdm_mrc, val); il4965_sens_auto_corr_ofdm() 319 min((u32) ranges->auto_corr_max_ofdm_x1, val); il4965_sens_auto_corr_ofdm() 323 min((u32) ranges->auto_corr_max_ofdm_mrc_x1, val); il4965_sens_auto_corr_ofdm() 334 max((u32) ranges->auto_corr_min_ofdm, val); il4965_sens_auto_corr_ofdm() 338 max((u32) ranges->auto_corr_min_ofdm_mrc, val); il4965_sens_auto_corr_ofdm() 342 max((u32) ranges->auto_corr_min_ofdm_x1, val); il4965_sens_auto_corr_ofdm() 346 max((u32) ranges->auto_corr_min_ofdm_mrc_x1, val); il4965_sens_auto_corr_ofdm() 434 const struct il_sensitivity_ranges *ranges = il->hw_params.sens; il4965_init_sensitivity() local 444 if (ranges == NULL) il4965_init_sensitivity() 462 data->auto_corr_ofdm = ranges->auto_corr_min_ofdm; il4965_init_sensitivity() 463 data->auto_corr_ofdm_mrc = ranges->auto_corr_min_ofdm_mrc; il4965_init_sensitivity() 464 data->auto_corr_ofdm_x1 = ranges->auto_corr_min_ofdm_x1; il4965_init_sensitivity() 465 data->auto_corr_ofdm_mrc_x1 = ranges->auto_corr_min_ofdm_mrc_x1; il4965_init_sensitivity() 467 data->auto_corr_cck_mrc = ranges->auto_corr_min_cck_mrc; il4965_init_sensitivity() 468 data->nrg_th_cck = ranges->nrg_th_cck; il4965_init_sensitivity() 469 data->nrg_th_ofdm = ranges->nrg_th_ofdm; il4965_init_sensitivity() 470 data->barker_corr_th_min = ranges->barker_corr_th_min; il4965_init_sensitivity() 471 data->barker_corr_th_min_mrc = ranges->barker_corr_th_min_mrc; il4965_init_sensitivity() 472 data->nrg_th_cca = ranges->nrg_th_cca; il4965_init_sensitivity()
|
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
H A D | core.c | 124 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; sh_pfc_get_pin_index() 351 * that correspond to their respective ranges. sh_pfc_config_mux() 391 pfc->ranges = devm_kzalloc(pfc->dev, sizeof(*pfc->ranges), sh_pfc_init_ranges() 393 if (pfc->ranges == NULL) sh_pfc_init_ranges() 396 pfc->ranges->start = 0; sh_pfc_init_ranges() 397 pfc->ranges->end = pfc->info->nr_pins - 1; sh_pfc_init_ranges() 403 /* Count, allocate and fill the ranges. The PFC SoC data pins array must sh_pfc_init_ranges() 413 pfc->ranges = devm_kzalloc(pfc->dev, sizeof(*pfc->ranges) * nr_ranges, sh_pfc_init_ranges() 415 if (pfc->ranges == NULL) sh_pfc_init_ranges() 418 range = pfc->ranges; sh_pfc_init_ranges()
|
H A D | core.h | 43 struct sh_pfc_pin_range *ranges; member in struct:sh_pfc
|
H A D | gpio.c | 383 * first in the ranges, skip the pins without GPIO ports by stopping at sh_pfc_register_gpiochip() 387 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; sh_pfc_register_gpiochip()
|
/linux-4.1.27/arch/mips/cavium-octeon/ |
H A D | octeon-platform.c | 779 __be32 *ranges; octeon_prune_device_tree() local 848 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree() 849 if (!ranges || len < (5 * 8 * sizeof(__be32))) octeon_prune_device_tree() 852 ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); octeon_prune_device_tree() 853 ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); octeon_prune_device_tree() 854 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); octeon_prune_device_tree() 857 ranges[(cs * 5) + 2] = cpu_to_be32(region1_base >> 32); octeon_prune_device_tree() 858 ranges[(cs * 5) + 3] = cpu_to_be32(region1_base & 0xffffffff); octeon_prune_device_tree() 859 ranges[(cs * 5) + 4] = cpu_to_be32(region1_size); octeon_prune_device_tree() 877 __be32 *ranges; octeon_prune_device_tree() local 909 ranges = fdt_getprop_w(initial_boot_params, bootbus, "ranges", &len); octeon_prune_device_tree() 910 if (!ranges || len < (5 * 8 * sizeof(__be32))) octeon_prune_device_tree() 913 ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); octeon_prune_device_tree() 914 ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); octeon_prune_device_tree() 915 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); octeon_prune_device_tree()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.c | 52 ap->ranges[0].base = pci_resource_start(pdev, 0); mgag200_kick_out_firmware_fb() 53 ap->ranges[0].size = pci_resource_len(pdev, 0); mgag200_kick_out_firmware_fb()
|
H A D | mgag200_fb.c | 231 info->apertures->ranges[0].base = mdev->dev->mode_config.fb_base; mgag200fb_create() 232 info->apertures->ranges[0].size = mdev->mc.vram_size; mgag200fb_create()
|
H A D | mgag200_main.c | 128 aper->ranges[0].base = mdev->mc.vram_base; mga_vram_init() 129 aper->ranges[0].size = mdev->mc.vram_window; mga_vram_init()
|
/linux-4.1.27/drivers/edac/ |
H A D | amd64_edac.h | 193 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3)) 194 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7)) 195 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7)) 373 struct dram_range ranges[DRAM_RANGES]; member in struct:amd64_pvt 411 u64 addr = ((u64)pvt->ranges[i].base.lo & 0xffff0000) << 8; get_dram_base() 416 return (((u64)pvt->ranges[i].base.hi & 0x000000ff) << 40) | addr; get_dram_base() 421 u64 lim = (((u64)pvt->ranges[i].lim.lo & 0xffff0000) << 8) | 0x00ffffff; get_dram_limit() 426 return (((u64)pvt->ranges[i].lim.hi & 0x000000ff) << 40) | lim; get_dram_limit() 516 return (u8) (pvt->ranges[i].base.lo >> 8) & 0x7; dram_intlv_en()
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
H A D | wii.c | 71 * discontinuous RAM ranges on the Wii, even if this is wii_memory_fixups() 74 * We coalesce the two memory ranges of the Wii into a wii_memory_fixups() 76 * between both ranges. wii_memory_fixups()
|
H A D | storcenter.c | 59 /* Interpret the "ranges" property */ storcenter_add_bridge()
|
H A D | linkstation.c | 58 /* Interpret the "ranges" property */ linkstation_add_bridge()
|
/linux-4.1.27/virt/kvm/arm/ |
H A D | vgic.h | 96 const struct vgic_io_range *ranges, 107 struct vgic_io_range *vgic_find_range(const struct vgic_io_range *ranges, 132 int vgic_has_attr_regs(const struct vgic_io_range *ranges, phys_addr_t offset);
|
H A D | vgic.c | 717 struct vgic_io_range *vgic_find_range(const struct vgic_io_range *ranges, vgic_find_range() argument 720 while (ranges->len) { vgic_find_range() 721 if (offset >= ranges->base && vgic_find_range() 722 (offset + len) <= (ranges->base + ranges->len)) vgic_find_range() 723 return ranges; vgic_find_range() 724 ranges++; vgic_find_range() 873 * @ranges: Describing the handler functions for each register 885 const struct vgic_io_range *ranges, vgic_register_kvm_io_dev() 897 iodev->reg_ranges = ranges; vgic_register_kvm_io_dev() 2056 int vgic_has_attr_regs(const struct vgic_io_range *ranges, phys_addr_t offset) vgic_has_attr_regs() argument 2058 if (vgic_find_range(ranges, 4, offset)) vgic_has_attr_regs() 884 vgic_register_kvm_io_dev(struct kvm *kvm, gpa_t base, int len, const struct vgic_io_range *ranges, int redist_vcpu_id, struct vgic_io_device *iodev) vgic_register_kvm_io_dev() argument
|
H A D | vgic-v2-emul.c | 668 const struct vgic_io_range *r = NULL, *ranges; vgic_attr_regs_access() local 702 ranges = vgic_dist_ranges; vgic_attr_regs_access() 706 ranges = vgic_cpu_ranges; vgic_attr_regs_access() 711 r = vgic_find_range(ranges, 4, offset); vgic_attr_regs_access()
|
/linux-4.1.27/include/linux/ |
H A D | fixp-arith.h | 58 * The returned value ranges from -0x7fffffff to +0x7fffffff. 82 * The returned value ranges from -0x7fffffff to +0x7fffffff. 97 * The returned value ranges from -0x7fff to 0x7fff
|
H A D | regmap.h | 78 * A table of ranges including some yes ranges and some no ranges. 83 * @yes_ranges : pointer to an array of regmap ranges used as "yes ranges" 85 * @no_ranges: pointer to an array of regmap ranges used as "no ranges" 114 * (a register is writeable if it belongs to one of the ranges 119 * (a register is readable if it belongs to one of the ranges 125 * the ranges specified by volatile_table). 131 * it belongs to one of the ranges specified by precious_table). 152 * valid ranges for write access. 183 * @ranges: Array of configuration entries for virtual address ranges. 227 const struct regmap_range_cfg *ranges; member in struct:regmap_config 463 const struct regmap_range *ranges,
|
H A D | netfilter.h | 99 /* Non-inclusive ranges: use 0/0/NULL to never get called. */ 124 /* Functions to register get/setsockopt ranges (non-inclusive). You
|
H A D | hyperv.h | 262 struct vmtransfer_page_range ranges[1]; member in struct:vmtransfer_page_packet_header 290 * which this GPADL will be known and a set of GPA ranges associated with it. 292 * ranges, then the resulting MDL will be "chained," representing multiple VA 293 * ranges. 314 * ranges, in addition to commands and/or data.
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | oplib.h | 273 /* Dorking with Bus ranges... */ 275 /* Adjust reg values with the passed ranges. */ 279 /* Adjust child ranges with the passed parent ranges. */ 283 /* Apply promlib probed OBIO ranges to registers. */ 286 /* Apply ranges of any prom node (and optionally parent node as well) to registers. */
|
H A D | uaccess_no.h | 21 * Ideally we would check the possible flash ranges too, but that is
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | of_mmc_spi.c | 86 voltage_ranges = of_get_property(np, "voltage-ranges", &num_ranges); mmc_spi_get_pdata() 89 dev_err(dev, "OF: voltage-ranges unspecified\n"); mmc_spi_get_pdata()
|
H A D | sdhci-msm.c | 161 u8 ranges[MAX_PHASES][MAX_PHASES] = { {0}, {0} }; msm_find_most_appropriate_phase() local 175 ranges[row_index][col_index] = phase_table[cnt]; msm_find_most_appropriate_phase() 192 if (!ranges[0][0]) { msm_find_most_appropriate_phase() 199 if (ranges[cnt][i] == 15) { msm_find_most_appropriate_phase() 227 ranges[phase_15_raw_index][i] = msm_find_most_appropriate_phase() 228 ranges[phase_0_raw_index][cnt]; msm_find_most_appropriate_phase() 248 ret = ranges[selected_row_index][i]; msm_find_most_appropriate_phase()
|
/linux-4.1.27/drivers/gpu/drm/bochs/ |
H A D | bochs_drv.c | 154 ap->ranges[0].base = pci_resource_start(pdev, 0); bochs_kick_out_firmware_fb() 155 ap->ranges[0].size = pci_resource_len(pdev, 0); bochs_kick_out_firmware_fb()
|
/linux-4.1.27/drivers/gpu/drm/cirrus/ |
H A D | cirrus_drv.c | 53 ap->ranges[0].base = pci_resource_start(pdev, 0); cirrus_kick_out_firmware_fb() 54 ap->ranges[0].size = pci_resource_len(pdev, 0); cirrus_kick_out_firmware_fb()
|
H A D | cirrus_fbdev.c | 237 info->apertures->ranges[0].base = cdev->dev->mode_config.fb_base; cirrusfb_create() 238 info->apertures->ranges[0].size = cdev->mc.vram_size; cirrusfb_create()
|
/linux-4.1.27/drivers/media/platform/vivid/ |
H A D | vivid-radio-common.h | 23 /* The supported radio frequency ranges in kHz */
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | extable.c | 89 /* Special extable search, which handles ranges. Returns fixup */ search_extables_range()
|
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/falcon/ |
H A D | lantiq_soc.h | 49 /* global register ranges */
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | efifb.c | 71 release_mem_region(info->apertures->ranges[0].base, efifb_destroy() 72 info->apertures->ranges[0].size); efifb_destroy() 216 info->apertures->ranges[0].base = efifb_fix.smem_start; efifb_probe() 217 info->apertures->ranges[0].size = size_remap; efifb_probe()
|
H A D | vesafb.c | 181 release_mem_region(info->apertures->ranges[0].base, info->apertures->ranges[0].size); vesafb_destroy() 309 info->apertures->ranges[0].base = screen_info.lfb_base; vesafb_probe() 310 info->apertures->ranges[0].size = size_total; vesafb_probe()
|
H A D | offb.c | 286 release_mem_region(info->apertures->ranges[0].base, info->apertures->ranges[0].size); offb_destroy() 509 info->apertures->ranges[0].base = address; offb_init_fb() 510 info->apertures->ranges[0].size = fix->smem_len; offb_init_fb() 589 * ranges and pick one that is both big enough and if possible encloses offb_init_nodriver()
|
H A D | hyperv_fb.c | 730 info->apertures->ranges[0].base = screen_info.lfb_base; hvfb_getmem() 731 info->apertures->ranges[0].size = screen_info.lfb_size; hvfb_getmem() 735 info->apertures->ranges[0].base = pci_resource_start(pdev, 0); hvfb_getmem() 736 info->apertures->ranges[0].size = pci_resource_len(pdev, 0); hvfb_getmem()
|
H A D | clps711x-fb.c | 266 info->apertures->ranges[0].base = info->fix.smem_start; clps711x_fb_probe() 267 info->apertures->ranges[0].size = cfb->buffsize; clps711x_fb_probe()
|
H A D | simplefb.c | 325 info->apertures->ranges[0].base = info->fix.smem_start; simplefb_probe() 326 info->apertures->ranges[0].size = info->fix.smem_len; simplefb_probe()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | atmioc.h | 1 /* atmioc.h - ranges for ATM-related ioctl numbers */
|
H A D | vfio.h | 323 * This includes I/O port ranges 0x3b0 to 0x3bb and 0x3c0 to 0x3df 327 * between described ranges are unimplemented. 447 * address ranges available for DMA, these values are programmed into
|
/linux-4.1.27/include/uapi/linux/usb/ |
H A D | g_printer.h | 30 * them in unique ranges (size 0x20 for now).
|
H A D | gadgetfs.h | 66 * them in unique ranges (size 0x20 for now).
|
/linux-4.1.27/arch/mips/pci/ |
H A D | pci-malta.c | 114 /* Set up resource ranges from the controller's registers. */ mips_pcibios_init() 162 /* Set up resource ranges from the controller's registers. */ mips_pcibios_init() 197 /* Set up resource ranges from the controller's registers. */ mips_pcibios_init() 221 /* If ranges overlap I/O takes precedence. */ mips_pcibios_init()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | parisc-device.h | 15 unsigned int num_addrs; /* some devices have additional address ranges. */
|
H A D | ropes.h | 287 #define LBA_WLMMIO_BASE 0x0220 /* All < 4GB ranges under the same *SBA* */ 290 #define LBA_WGMMIO_BASE 0x0230 /* All > 4GB ranges under the same *SBA* */
|
/linux-4.1.27/fs/ubifs/ |
H A D | tnc_misc.c | 341 if (c->ranges[type].max_len == 0) { read_znode() 342 if (zbr->len != c->ranges[type].len) { read_znode() 345 ubifs_err(c, "have to be %d", c->ranges[type].len); read_znode() 349 } else if (zbr->len < c->ranges[type].min_len || read_znode() 350 zbr->len > c->ranges[type].max_len) { read_znode() 354 c->ranges[type].min_len, read_znode() 355 c->ranges[type].max_len); read_znode()
|
H A D | super.c | 565 * Initialize node length ranges which are mostly needed for node init_constants_early() 568 c->ranges[UBIFS_PAD_NODE].len = UBIFS_PAD_NODE_SZ; init_constants_early() 569 c->ranges[UBIFS_SB_NODE].len = UBIFS_SB_NODE_SZ; init_constants_early() 570 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; init_constants_early() 571 c->ranges[UBIFS_REF_NODE].len = UBIFS_REF_NODE_SZ; init_constants_early() 572 c->ranges[UBIFS_TRUN_NODE].len = UBIFS_TRUN_NODE_SZ; init_constants_early() 573 c->ranges[UBIFS_CS_NODE].len = UBIFS_CS_NODE_SZ; init_constants_early() 575 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; init_constants_early() 576 c->ranges[UBIFS_INO_NODE].max_len = UBIFS_MAX_INO_NODE_SZ; init_constants_early() 577 c->ranges[UBIFS_ORPH_NODE].min_len = init_constants_early() 579 c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size; init_constants_early() 580 c->ranges[UBIFS_DENT_NODE].min_len = UBIFS_DENT_NODE_SZ; init_constants_early() 581 c->ranges[UBIFS_DENT_NODE].max_len = UBIFS_MAX_DENT_NODE_SZ; init_constants_early() 582 c->ranges[UBIFS_XENT_NODE].min_len = UBIFS_XENT_NODE_SZ; init_constants_early() 583 c->ranges[UBIFS_XENT_NODE].max_len = UBIFS_MAX_XENT_NODE_SZ; init_constants_early() 584 c->ranges[UBIFS_DATA_NODE].min_len = UBIFS_DATA_NODE_SZ; init_constants_early() 585 c->ranges[UBIFS_DATA_NODE].max_len = UBIFS_MAX_DATA_NODE_SZ; init_constants_early() 590 c->ranges[UBIFS_IDX_NODE].min_len = UBIFS_IDX_NODE_SZ + UBIFS_BRANCH_SZ; init_constants_early() 595 c->ranges[UBIFS_IDX_NODE].max_len = INT_MAX; init_constants_early() 657 c->ranges[UBIFS_IDX_NODE].min_len = tmp; init_constants_sb() 661 c->ranges[UBIFS_IDX_NODE].max_len = tmp; init_constants_sb()
|
H A D | master.c | 132 if (c->zroot.len < c->ranges[UBIFS_IDX_NODE].min_len || validate_master() 133 c->zroot.len > c->ranges[UBIFS_IDX_NODE].max_len) { validate_master()
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | inventory.c | 37 ** DEBUG_PAT Dump details which PDC PAT provides about ranges/devices. 117 * memory, we'll assume that any ranges are already set_pmem_entry() 253 printk(KERN_DEBUG "ranges %ld\n", pa_pdc_cell->mod[1]); pat_query_module() 318 printk(KERN_WARNING "This Machine has more memory ranges than we support!\n"); pat_memconfig() 342 printk(KERN_WARNING "This Machine has more memory ranges than we support!\n"); pat_memconfig() 379 /* We only look for extended memory ranges on a 64 bit capable box */ sprockets_memconfig() 406 printk(KERN_WARNING "This Machine has more memory ranges than we support!\n"); sprockets_memconfig()
|
/linux-4.1.27/drivers/staging/fsl-mc/bus/ |
H A D | mc-bus.c | 498 *ranges_start = of_get_property(mc_node, "ranges", &ranges_len); parse_mc_ranges() 501 "missing or empty ranges property for device tree node '%s'\n", parse_mc_ranges() 527 dev_err(dev, "malformed ranges property '%s'\n", mc_node->name); parse_mc_ranges() 537 **ranges, get_mc_addr_translation_ranges() 559 * Missing or empty ranges property ("ranges;") for the get_mc_addr_translation_ranges() 563 *ranges = NULL; get_mc_addr_translation_ranges() 567 *ranges = devm_kcalloc(dev, *num_ranges, get_mc_addr_translation_ranges() 570 if (!(*ranges)) get_mc_addr_translation_ranges() 575 struct fsl_mc_addr_translation_range *range = &(*ranges)[i]; get_mc_addr_translation_ranges() 535 get_mc_addr_translation_ranges(struct device *dev, struct fsl_mc_addr_translation_range **ranges, uint8_t *num_ranges) get_mc_addr_translation_ranges() argument
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 885 * in the "dma-ranges" property. 899 const u32 *ranges = NULL; cell_iommu_get_fixed_address() local 910 ranges = of_get_property(np, "dma-ranges", &len); cell_iommu_get_fixed_address() 912 /* Ignore empty ranges, they imply no translation required */ cell_iommu_get_fixed_address() 913 if (ranges && len > 0) cell_iommu_get_fixed_address() 917 if (!ranges) { cell_iommu_get_fixed_address() 918 dev_dbg(dev, "iommu: no dma-ranges found\n"); cell_iommu_get_fixed_address() 927 /* dma-ranges format: cell_iommu_get_fixed_address() 933 cpu_addr = of_translate_dma_address(np, ranges + i + naddr); cell_iommu_get_fixed_address() 934 size = of_read_number(ranges + i + naddr + pna, nsize); cell_iommu_get_fixed_address() 943 dev_addr = of_read_number(ranges + best, naddr); cell_iommu_get_fixed_address() 1051 /* We must have dma-ranges properties for fixed mapping to work */ cell_iommu_fixed_mapping_init() 1052 np = of_find_node_with_property(NULL, "dma-ranges"); cell_iommu_fixed_mapping_init() 1056 pr_debug("iommu: no dma-ranges found, no fixed mapping\n"); cell_iommu_fixed_mapping_init()
|
/linux-4.1.27/scripts/dtc/ |
H A D | checks.c | 575 prop = get_property(node, "ranges"); check_ranges_format() 580 FAIL(c, "Root node has a \"ranges\" property"); check_ranges_format() 592 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 597 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 602 FAIL(c, "\"ranges\" property in %s has invalid length (%d bytes) " check_ranges_format() 616 struct property *reg, *ranges; check_avoid_default_addr_size() local 622 ranges = get_property(node, "ranges"); check_avoid_default_addr_size() 624 if (!reg && !ranges) check_avoid_default_addr_size()
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
H A D | adv_pci1723.c | 36 * 1. Add the two milliamp ranges to the AO subdevice (0 to 20 mA, 38 * 2. Read the initial ranges and values of the AO subdevice at
|
H A D | adv_pci1724.c | 39 * nominal output ranges. For a calibrated +/-10V range, the analog 44 * versus 4-20mA output ranges. To pick one or the other is simply a
|
H A D | ni_labpc.c | 32 * ranges and analog references will work, the available ranges/arefs
|
H A D | cb_pcidas.c | 180 /* analog input ranges for most boards */ 194 /* pci-das1001 input ranges */ 208 /* analog output ranges */ 243 const struct comedi_lrange *ranges; member in struct:cb_pcidas_board 259 .ranges = &cb_pcidas_ranges, 271 .ranges = &cb_pcidas_ranges, 283 .ranges = &cb_pcidas_ranges, 293 .ranges = &cb_pcidas_ranges, 302 .ranges = &cb_pcidas_ranges, 313 .ranges = &cb_pcidas_ranges, 323 .ranges = &cb_pcidas_alt_ranges, 333 .ranges = &cb_pcidas_ranges, 1406 s->range_table = thisboard->ranges; cb_pcidas_auto_attach()
|
H A D | ni_daq_700.c | 31 * or 8 differential channels, and three input ranges. 39 * Valid ranges:
|
H A D | amplc_pci224.c | 55 * Output ranges on PCI224 are partly software-selectable and partly 60 * comedi ranges: 65 * - LK1 position 2-3 corresponds to the following Comedi ranges, using 73 * Output ranges on PCI234 are hardware-selectable according to jumper 257 * The ranges for PCI224. 302 * The ranges for PCI234. 643 "%s: entries in chanlist have incompatible ranges\n", pci224_ao_check_chanlist()
|
H A D | dmm32at.c | 136 /* board AI ranges in comedi structure */ 146 /* register values for above ranges */ 154 /* only one of these ranges is valid, as set by a jumper on the
|
H A D | cb_pcimdas.c | 140 * The Analog Output range is not programmable. The DAC ranges are 349 * inputs can be set to Unipolar or Bipolar ranges. cb_pcimdas_is_ai_uni()
|
H A D | das1800.c | 89 Unipolar and bipolar ranges cannot be mixed in the channel/gain list. 178 /* analog input ranges */ 214 const struct comedi_lrange *range_ai; /* available input ranges */ 718 "unipolar and bipolar ranges cannot be mixed in the chanlist\n"); das1800_ai_check_chanlist() 1103 /* shift data to offset binary for bipolar ranges */ das1800_ai_rinsn()
|
H A D | das6402.c | 111 * Analog output ranges are programmable on the DAS6402/12. 113 * DAC ranges are selected by switches on the board.
|
H A D | adq12b.c | 95 /* available ranges through the PGA gains */
|
/linux-4.1.27/drivers/input/misc/ |
H A D | pm8xxx-vibrator.c | 91 * pmic vibrator supports voltage ranges from 1.2 to 3.1V, so pm8xxx_work_handler() 92 * scale the level to fit into these ranges. pm8xxx_work_handler()
|
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/ |
H A D | generic.c | 23 int ranges; /* number of MTRRs in this block */ member in struct:fixed_range_block 128 /* Look in fixed ranges. Just return the type as per start */ __mtrr_type_lookup() 148 * Look in variable ranges __mtrr_type_lookup() 149 * Look of multiple ranges matching this address and pick type __mtrr_type_lookup() 349 pr_debug("MTRR fixed ranges %sabled:\n", print_mtrr_state() 362 pr_debug("MTRR variable ranges %sabled:\n", print_mtrr_state() 576 while (fixed_range_blocks[++block].ranges) { set_fixed_ranges() 577 for (range = 0; range < fixed_range_blocks[block].ranges; range++) set_fixed_ranges()
|
H A D | cleanup.c | 90 /* Take out UC ranges: */ x86_get_mtrr_mem_range() 125 /* sort the ranges */ x86_get_mtrr_mem_range() 600 /* Convert ranges to var ranges state: */ mtrr_calc_range_state() 778 /* Convert ranges to var ranges state: */ mtrr_cleanup()
|
/linux-4.1.27/drivers/bus/ |
H A D | imx-weim.c | 85 of_property_for_each_u32(np, "ranges", prop, p, val) { imx_weim_gpr_setup() 107 dev_err(&pdev->dev, "Invalid 'ranges' configuration\n"); imx_weim_gpr_setup()
|
/linux-4.1.27/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.h | 124 * @gpio_ranges: An array of GPIO ranges for this SoC 125 * @gpio_num_ranges: The number of GPIO ranges for this SoC
|
H A D | pinctrl-abx500.h | 151 * @gpio_ranges: An array of GPIO ranges for this SoC 152 * @gpio_num_ranges: The number of GPIO ranges for this SoC
|
/linux-4.1.27/net/netfilter/ |
H A D | nf_sockopt.c | 17 /* Do exclusive ranges overlap? */ overlap() 23 /* Functions to register sockopt ranges (exclusive). */ nf_register_sockopt()
|
H A D | xt_REDIRECT.c | 46 /* FIXME: Take multiple ranges --RR */ redirect_tg4_check()
|
H A D | xt_iprange.c | 2 * xt_iprange - Netfilter module to match IP address ranges
|
H A D | xt_nat.c | 22 pr_info("%s: multiple ranges no longer supported\n", xt_nat_checkentry_v0()
|
/linux-4.1.27/arch/x86/platform/efi/ |
H A D | efi_32.c | 19 * Skip non-WB memory and ignore empty memory ranges.
|
/linux-4.1.27/arch/xtensa/include/asm/ |
H A D | fixmap.h | 58 * kernel oops. Illegal ranges of incoming indices are caught too.
|
H A D | pci-bridge.h | 49 * ranges since the common pci_bus structure can't handle more
|
H A D | processor.h | 87 * Note: We assume that the stack pointer is in the same 1GB ranges as the ra
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | mmzone.h | 28 * Generally, memory ranges are always doled out by the hypervisor in
|
/linux-4.1.27/arch/mips/include/asm/dec/ |
H A D | kn01.h | 20 * Address ranges for devices.
|
H A D | kn02.h | 20 * Address ranges decoded by the "system slot" logic for onboard devices.
|
H A D | kn05.h | 28 * decoder. Certain address ranges within the "high" 16 slots are
|
H A D | ioasic_addrs.h | 24 * Address ranges decoded by the I/O ASIC for onboard devices.
|
/linux-4.1.27/arch/score/include/asm/ |
H A D | fixmap.h | 70 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.1.27/arch/mips/include/asm/sgi/ |
H A D | gio.h | 42 * bits 0:6 the product ID; ranges from 0x00 to 0x7F.
|
/linux-4.1.27/mm/ |
H A D | msync.c | 54 * If the interval [start,end) covers some unmapped address ranges, SYSCALL_DEFINE3()
|
/linux-4.1.27/include/asm-generic/ |
H A D | fixmap.h | 27 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.1.27/drivers/regulator/ |
H A D | 88pm800.c | 91 * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges, 120 * For all the LDOes, there are too many ranges. Using volt_table will be 147 /* BUCK 2~5 have same ranges. */
|
H A D | helpers.c | 278 * regulator_map_voltage_linear - map_voltage() for multiple linear ranges 364 * regulator_list_voltage_linear_range - List voltages for linear ranges
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | oplib_32.h | 165 /* Dorking with Bus ranges... */ 167 /* Apply promlib probes OBIO ranges to registers. */ 170 /* Apply ranges of any prom node (and optionally parent node as well) to registers. */
|
H A D | openprom.h | 208 /* Element of the "ranges" vector */
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.c | 182 * Parses a comma-separated list of numbers and ranges of numbers, 183 * with optional ':%u' strides modifying ranges, into provided bitmask. 264 * ranges. Consecutively set bits are shown as two hyphen-separated
|
/linux-4.1.27/arch/xtensa/kernel/ |
H A D | setup.c | 200 const __be32 *ranges; xtensa_dt_io_area() local 209 ranges = of_get_flat_dt_prop(node, "ranges", &len); xtensa_dt_io_area() 210 if (!ranges) xtensa_dt_io_area() 215 xtensa_kio_paddr = of_read_ulong(ranges+1, 1); xtensa_dt_io_area()
|
/linux-4.1.27/drivers/clk/at91/ |
H A D | clk-pll.c | 409 if (!of_get_property(np, "atmel,pll-clk-output-ranges", &tmp)) of_at91_clk_pll_get_characteristics() 436 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 441 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 450 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 459 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics()
|
/linux-4.1.27/arch/sh/mm/ |
H A D | cache-sh5.c | 429 * - expensive for large ranges 436 * - expensive for large ranges 443 * - (especially for small ranges) 458 * - bad for small ranges 461 * for small ranges. The choice between (3), (4) and (5) for large 462 * ranges and the range size for the large/small boundary need 465 * For now use approach (2) for small ranges and (5) for large ones.
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | numa.c | 652 unsigned int n, rc, ranges, is_kexec_kdump = 0; parse_drconf_memory() local 687 ranges = 1; parse_drconf_memory() 690 ranges = read_usm_ranges(&usm); parse_drconf_memory() 691 if (!ranges) /* there are no (base, size) duple */ parse_drconf_memory() 708 } while (--ranges); parse_drconf_memory() 760 int ranges; local 771 /* ranges in cell */ 772 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); 791 if (--ranges) 799 if (--ranges) 1088 int ranges; hot_add_node_scn_to_nid() local 1096 /* ranges in cell */ hot_add_node_scn_to_nid() 1097 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); hot_add_node_scn_to_nid() 1099 while (ranges--) { hot_add_node_scn_to_nid()
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | pcm512x.c | 495 struct snd_interval ranges[2]; pcm512x_hw_rule_rate() local 511 memset(ranges, 0, sizeof(ranges)); pcm512x_hw_rule_rate() 512 ranges[0].min = 8000; pcm512x_hw_rule_rate() 513 ranges[0].max = pcm512x_sck_max(pcm512x) / frame_size / 2; pcm512x_hw_rule_rate() 514 ranges[1].min = DIV_ROUND_UP(16000000, frame_size); pcm512x_hw_rule_rate() 515 ranges[1].max = 384000; pcm512x_hw_rule_rate() 522 ARRAY_SIZE(ranges), ranges, 0); pcm512x_hw_rule_rate() 1376 .ranges = &pcm512x_range,
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | core.c | 289 * as a base for translation. The distinction between linear GPIO ranges 290 * and pin list based GPIO ranges is managed correctly by this function. 311 * Tries to match a GPIO pin number to the ranges handled by a certain pin 320 /* Loop over the ranges */ pinctrl_match_gpio_range() 357 /* Loop over the ranges */ pinctrl_ready_for_gpio_range() 422 * this to register handled ranges after registering your pin controller. 434 struct pinctrl_gpio_range *ranges, pinctrl_add_gpio_ranges() 440 pinctrl_add_gpio_range(pctldev, &ranges[i]); pinctrl_add_gpio_ranges() 494 /* Loop over the ranges */ pinctrl_find_gpio_range_from_pin() 1390 seq_puts(s, "GPIO ranges handled:\n"); pinctrl_gpioranges_show() 1394 /* Loop over the ranges */ pinctrl_gpioranges_show() 1633 debugfs_create_file("gpio-ranges", S_IFREG | S_IRUGO, pinctrl_init_device_debugfs() 1816 /* remove gpio ranges map */ pinctrl_unregister() 433 pinctrl_add_gpio_ranges(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *ranges, unsigned nranges) pinctrl_add_gpio_ranges() argument
|
H A D | core.h | 27 * @gpio_ranges: a list of GPIO ranges that is handled by this pin controller, 28 * ranges are added to this list at runtime
|
/linux-4.1.27/arch/microblaze/pci/ |
H A D | pci-common.c | 348 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_read() 388 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_write() 526 * This function will parse the "ranges" property of a PCI host bridge device 534 * ranges. However, some machines (thanks Apple !) tend to split their 535 * space into lots of small contiguous ranges. So we have to coalesce. 537 * - We can only cope with all memory ranges having the same offset 562 pr_info("PCI host bridge %s %s ranges:\n", pci_process_bridge_OF_ranges() 565 /* Check for ranges property */ pci_process_bridge_OF_ranges() 569 pr_debug("Parsing ranges property...\n"); pci_process_bridge_OF_ranges() 571 /* Read next ranges element */ pci_process_bridge_OF_ranges() 628 /* We support only 3 memory ranges */ pci_process_bridge_OF_ranges() 694 * probed, but not for bridge ranges 1139 pr_debug("Reserving legacy ranges for domain %04x\n", pcibios_reserve_legacy_regions()
|
/linux-4.1.27/arch/parisc/mm/ |
H A D | init.c | 133 * Sort the ranges. Since the number of ranges is typically setup_bootmem() 160 * Throw out ranges that are too far apart (controlled by setup_bootmem() 181 /* Print the memory ranges */ setup_bootmem() 212 * to work with multiple memory ranges). setup_bootmem() 240 /* Merge the ranges, keeping track of the holes */ setup_bootmem()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpiolib-of.c | 348 static const char group_names_propname[] = "gpio-ranges-group-names"; of_gpiochip_add_pin_range() 357 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, of_gpiochip_add_pin_range() 372 pr_err("%s: Group name of numeric GPIO ranges must be the empty string.\n", of_gpiochip_add_pin_range()
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_at91.c | 63 * @range: array of SMC ranges with valid values 64 * @size: SMC ranges array size 68 * If negative returned, then output value = maximal possible from ranges.
|
/linux-4.1.27/drivers/staging/comedi/ |
H A D | range.c | 3 * comedi routines for voltage ranges
|
/linux-4.1.27/drivers/staging/fsl-mc/include/ |
H A D | mc-private.h | 32 * @addr_translation_ranges: array of bus to system address translation ranges
|
/linux-4.1.27/drivers/parisc/ |
H A D | asp.c | 65 /* There are two register ranges we're interested in. Interrupt /
|
H A D | lba_pci.c | 560 * between PAT PDC reported ranges. 1254 ** "Directed" ranges are used when the "distributed range" isn't lba_legacy_resources() 1261 ** Directed ranges may overlap (and have precedence) over lba_legacy_resources() 1262 ** distributed ranges. Or a distributed range assigned to a unused lba_legacy_resources() 1298 /* Virtualize the I/O Port space ranges */ lba_legacy_resources() 1537 * FIXME: SBA code should register all elmmio ranges first. lba_driver_probe() 1538 * that would take care of elmmio ranges routed lba_driver_probe() 1636 ** Only called from sba_iommu.c in order to route ranges (MMIO vs DMA).
|
/linux-4.1.27/arch/x86/pci/ |
H A D | broadcom_bus.c | 2 * Read address ranges from a Broadcom CNB20LE Host Bridge
|
/linux-4.1.27/arch/x86/boot/ |
H A D | memory.c | 42 * all ranges, and we don't currently make any use of the detect_memory_e820()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | mipi-phy.c | 16 * valid ranges specified in Section 6.9, Table 14, Page 40 of the D-PHY
|
/linux-4.1.27/arch/openrisc/include/asm/ |
H A D | fixmap.h | 62 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | asmmacro.h | 57 * Tag MCA recoverable instruction ranges.
|
/linux-4.1.27/kernel/ |
H A D | range.c | 103 pr_err("%s: run out of slot in ranges\n", subtract_range()
|
/linux-4.1.27/scripts/ |
H A D | kallsyms.c | 92 struct addr_range *ranges, int entries) check_symbol_range() 98 ar = &ranges[i]; check_symbol_range() 180 static int symbol_in_range(struct sym_entry *s, struct addr_range *ranges, symbol_in_range() argument 187 ar = &ranges[i]; symbol_in_range() 91 check_symbol_range(const char *sym, unsigned long long addr, struct addr_range *ranges, int entries) check_symbol_range() argument
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_discard.c | 109 * down partially overlapping ranges for now. xfs_trim_extents() 148 * Note: the parameters passed from userspace are byte ranges into the
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | pci-p5ioc2.c | 61 "ibm,opal-msi-ranges", NULL); pnv_pci_init_p5ioc2_msis() 160 /* Interpret the "ranges" property */ pnv_pci_init_p5ioc2_phb()
|
H A D | opal.c | 138 prop = of_get_flat_dt_prop(node, "mcheck-recoverable-ranges", &psize); early_init_dt_scan_recoverable_ranges() 143 pr_debug("Found machine check recoverable ranges.\n"); early_init_dt_scan_recoverable_ranges() 163 * Allocate a buffer to hold the MC recoverable ranges. We would be early_init_dt_scan_recoverable_ranges()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | crmregs-imx3.h | 152 * LTR2 bit definitions. x ranges from 0 for WSW9 to 6 for WSW15 161 * LTR3 bit definitions. x ranges from 0 for WSW0 to 8 for WSW8
|
/linux-4.1.27/net/dccp/ccids/lib/ |
H A D | tfrc_equation.c | 67 5%), the second column is used; the first one ranges up to 100%. This split 85 In summary, the two columns represent f(p) for the following ranges:
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pcie-xilinx.c | 657 * xilinx_pcie_parse_and_add_res - Add resources by parsing ranges 673 /* Get the ranges */ xilinx_pcie_parse_and_add_res() 675 dev_err(dev, "missing \"ranges\" property\n"); xilinx_pcie_parse_and_add_res() 679 /* Parse the ranges and add the resources found to the list */ xilinx_pcie_parse_and_add_res() 826 * Parse PCI ranges, configuration bus range and xilinx_pcie_probe()
|
H A D | pci-xgene.c | 400 parser->range = of_get_property(node, "dma-ranges", &rlen); pci_dma_range_parser_init() 417 dev_err(dev, "missing dma-ranges property\n"); xgene_pcie_parse_map_dma_ranges() 421 /* Get the dma-ranges from DT */ xgene_pcie_parse_map_dma_ranges()
|
H A D | pci-host-generic.c | 249 /* Parse our PCI ranges and request their resources */ gen_pci_probe()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | pcmcia_resource.c | 346 * and I/O ranges will be disabled. As pcmcia_release_io() and 391 * pcmcia_release_io() releases the I/O ranges allocated by a PCMCIA 394 * "stale", we don't bother checking the port ranges against the 622 * pcmcia_request_io() - attempt to reserve port ranges for PCMCIA devices 625 * pcmcia_request_io() attempts to reserve the IO port ranges specified in 872 * pcmcia_request_window() attepts to reserve an iomem ranges specified in 976 * this function. Any I/O ranges (iomem and ioports) will be released,
|
H A D | electra_cf.c | 230 dev_err(device, "can't ioremap ranges\n"); electra_cf_probe()
|
/linux-4.1.27/drivers/mtd/devices/ |
H A D | ms02-nv.h | 23 * Within the SRAM area the following ranges are forced by the system
|
/linux-4.1.27/drivers/mfd/ |
H A D | da9063-i2c.c | 202 .ranges = da9063_range_cfg,
|
H A D | da9150-core.c | 101 .ranges = da9150_range_cfg,
|
H A D | mfd-core.c | 192 /* Unable to create mappings for IRQ ranges. */ mfd_add_device()
|
/linux-4.1.27/drivers/misc/eeprom/ |
H A D | max6875.c | 9 * Address ranges are defined as follows:
|
/linux-4.1.27/drivers/clocksource/ |
H A D | cs5535-clockevt.c | 30 * ranges we find desirable. The following table lists the suitable
|
/linux-4.1.27/arch/x86/mm/ |
H A D | kasan_init_64.c | 22 * Latter we reuse it as zero shadow for large ranges of memory
|
/linux-4.1.27/drivers/clk/ |
H A D | clk-mux.c | 40 * e.g. sys_clkin_ck's clksel field is 3 bits wide, but ranges from 0x1 clk_mux_get_parent()
|
H A D | clkdev.c | 87 * has a "clock-ranges" property, then we can try one of its __of_clk_get_by_name() 91 if (np && !of_get_property(np, "clock-ranges", NULL)) __of_clk_get_by_name()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
H A D | pci-bridge.h | 87 * ranges since the common pci_bus structure can't handle more
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | lgdt330x.c | 616 /* SNR for ranges from -15.61 to +41.58 */ lgdt3302_read_snr() 621 /* SNR for ranges from -13.11 to +44.08 */ lgdt3302_read_snr() 660 /* SNR for ranges from -16.12 to +44.08 */ lgdt3303_read_snr() 665 /* SNR for ranges from -13.11 to +44.08 */ lgdt3303_read_snr()
|
/linux-4.1.27/include/media/ |
H A D | tuner-types.h | 112 struct tuner_range *ranges; member in struct:tuner_params
|
/linux-4.1.27/arch/powerpc/platforms/amigaone/ |
H A D | setup.c | 64 /* Interpret the "ranges" property */ amigaone_add_bridge()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | pci.h | 153 /* this function parses memory ranges from a device node */
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | bootx.h | 49 /* Maximum number of ranges in phys memory map */
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | tlbflush.h | 124 * This is meant to avoid soft lock-ups on large TLB flushing ranges and not
|
/linux-4.1.27/fs/cifs/ |
H A D | cifs_uniupr.h | 18 * uniupr.h - Unicode compressed case ranges
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-stub.c | 52 /* Some chips have banked register ranges */ 391 /* Allocate extra memory for banked register ranges */ i2c_stub_init()
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_fb.c | 254 info->apertures->ranges[0].base = pci_resource_start(dev->pdev, 0); astfb_create() 255 info->apertures->ranges[0].size = pci_resource_len(dev->pdev, 0); astfb_create()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_fb.c | 296 info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base; radeonfb_create() 297 info->apertures->ranges[0].size = rdev->mc.aper_size; radeonfb_create()
|
/linux-4.1.27/arch/mips/lantiq/xway/ |
H A D | sysctrl.c | 295 /* bring up all register ranges that we need for basic system control */ ltq_soc_init() 306 /* check if all the core register ranges are available */ ltq_soc_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 299 aper->ranges[0].base = pci_resource_start(pdev, 1); nouveau_drm_probe() 300 aper->ranges[0].size = pci_resource_len(pdev, 1); nouveau_drm_probe() 304 aper->ranges[aper->count].base = pci_resource_start(pdev, 2); nouveau_drm_probe() 305 aper->ranges[aper->count].size = pci_resource_len(pdev, 2); nouveau_drm_probe() 310 aper->ranges[aper->count].base = pci_resource_start(pdev, 3); nouveau_drm_probe() 311 aper->ranges[aper->count].size = pci_resource_len(pdev, 3); nouveau_drm_probe()
|
/linux-4.1.27/drivers/pci/hotplug/ |
H A D | ibmphp_res.c | 181 * 1. The ranges are ordered. The buses are not ordered. (First come) 183 * 2. If cannot allocate out of PFMem range, allocate from Mem ranges. PFmemFromMem 379 return once_over (); /* This is to align ranges (so no -1) */ ibmphp_rsrc_init() 383 * This function adds a range into a sorted list of ranges per bus for a particular 1264 /* have gone through the list of devices and ranges and haven't found n.e.thing */ ibmphp_check_resource() 1278 /* if there're more ranges out there to check */ ibmphp_check_resource() 1330 /* have gone through the list of devices and ranges and haven't found n.e.thing */ ibmphp_check_resource() 1340 /* no more ranges to check on */ ibmphp_check_resource() 1440 * This routine deletes the ranges from a given bus, and the entries from the 1930 * driver, only the ranges and the bus structure are added, the devices are
|
/linux-4.1.27/sound/core/ |
H A D | pcm_lib.c | 1049 * snd_interval_ranges - refine the interval value from the list of ranges 1051 * @count: the number of elements in the list of ranges 1052 * @ranges: the ranges list 1055 * Refines the interval value from the list of ranges. 1063 const struct snd_interval *ranges, unsigned int mask) snd_interval_ranges() 1079 snd_interval_copy(&range, &ranges[k]); snd_interval_ranges() 1313 r->count, r->ranges, r->mask); snd_pcm_hw_rule_ranges() 1322 * @r: ranges 1062 snd_interval_ranges(struct snd_interval *i, unsigned int count, const struct snd_interval *ranges, unsigned int mask) snd_interval_ranges() argument
|
/linux-4.1.27/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 25 * 4 different register ranges that control the following properties 32 * In some cases the register ranges for pull enable and pull 33 * direction are the same and thus there are only 3 register ranges.
|
/linux-4.1.27/arch/c6x/platforms/ |
H A D | dscr.c | 63 * zero and are assigned sequentially to the control bitfield ranges described 478 /* parse all the ranges we can handle */ dscr_parse_devstate_ctl_regs() 534 /* parse all the ranges we can handle */ dscr_parse_devstate_stat_regs()
|
/linux-4.1.27/arch/arm/mach-integrator/ |
H A D | pci_v3.c | 286 /* CPU side memory ranges */ 291 /* PCI side memory ranges */ 843 dev_err(&pdev->dev, "missing ranges in device node\n"); pci_v3_probe()
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 166 static int opt_list; /* list pages (in ranges) */ 665 fatal("too many addr ranges\n"); add_addr_range() 716 " -l|--list Show page details in ranges\n" usage()
|
/linux-4.1.27/drivers/iio/ |
H A D | inkern.c | 217 * If the parent node has a "io-channel-ranges" property, of_iio_channel_get_by_name() 221 if (np && !of_get_property(np, "io-channel-ranges", NULL)) of_iio_channel_get_by_name()
|
/linux-4.1.27/arch/tile/include/gxio/ |
H A D | trio.h | 37 * configure different handlers for different ranges of bus address 39 * regions to match incoming packets within 4kB-aligned ranges of bus
|
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | hw.h | 172 /* Only NV4x have two pvio ranges; other twoHeads cards MUST call NVReadPRMVIO() 187 /* Only NV4x have two pvio ranges; other twoHeads cards MUST call NVWritePRMVIO()
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fb.c | 528 info->apertures->ranges[0].base = vmw_priv->vram_start; vmw_fb_init() 529 info->apertures->ranges[0].size = vmw_priv->vram_size; vmw_fb_init()
|
/linux-4.1.27/include/acpi/ |
H A D | acrestyp.h | 67 * The ISA IO ranges are: n000-n0FFh, n400-n4FFh, n800-n8FFh, nC00-nCFFh. 68 * The non-ISA IO ranges are: n100-n3FFh, n500-n7FFh, n900-nBFFh, nCD0-nFFFh.
|
/linux-4.1.27/include/linux/regulator/ |
H A D | driver.h | 44 * struct regulator_linear_range - specify linear voltage ranges 236 * @linear_ranges: A constant table of possible voltage ranges.
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
H A D | setup.c | 412 iranges = of_get_property(np, "interrupt-ranges", &len); chrp_find_openpic() 419 * The first pair of cells in interrupt-ranges refers to the chrp_find_openpic()
|
/linux-4.1.27/sound/hda/ |
H A D | hdac_device.c | 456 range_val = !!(parm & (1 << (shift-1))); /* ranges */ snd_hdac_get_connections() 466 /* ranges between the previous and this one */ snd_hdac_get_connections()
|
/linux-4.1.27/drivers/misc/cxl/ |
H A D | context.c | 75 * This clears out the IRQ ranges to ensure this. cxl_context_init()
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
H A D | orinoco_tmd.c | 34 * difference is that the TMD chip has only IO port ranges and doesn't
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | blacklist.c | 35 * These can be single devices or ranges of devices
|
/linux-4.1.27/drivers/clk/ti/ |
H A D | mux.c | 39 * numeric. e.g. sys_clkin_ck's clksel field is 3 bits wide, but ranges ti_clk_mux_get_parent()
|
/linux-4.1.27/arch/x86/math-emu/ |
H A D | poly_sin.c | 69 /* Split into two ranges, for arguments below and above 1.0 */ poly_sine()
|