/linux-4.4.14/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.4.14/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.4.14/drivers/mmc/host/ |
H A D | dw_mmc-rockchip.c | 98 struct range_t *ranges; dw_mci_rk3288_execute_tuning() local 109 ranges = kmalloc_array(NUM_PHASES / 2 + 1, sizeof(*ranges), GFP_KERNEL); dw_mci_rk3288_execute_tuning() 110 if (!ranges) dw_mci_rk3288_execute_tuning() 113 /* Try each phase and extract good ranges */ dw_mci_rk3288_execute_tuning() 124 ranges[range_count-1].start = i; dw_mci_rk3288_execute_tuning() 127 ranges[range_count-1].end = i; dw_mci_rk3288_execute_tuning() 156 ranges[0].start = ranges[range_count-1].start; dw_mci_rk3288_execute_tuning() 160 if (ranges[0].start == 0 && ranges[0].end == NUM_PHASES - 1) { dw_mci_rk3288_execute_tuning() 169 int len = (ranges[i].end - ranges[i].start + 1); dw_mci_rk3288_execute_tuning() 180 TUNING_ITERATION_TO_PHASE(ranges[i].start), dw_mci_rk3288_execute_tuning() 181 TUNING_ITERATION_TO_PHASE(ranges[i].end), dw_mci_rk3288_execute_tuning() 187 TUNING_ITERATION_TO_PHASE(ranges[longest_range].start), dw_mci_rk3288_execute_tuning() 188 TUNING_ITERATION_TO_PHASE(ranges[longest_range].end), dw_mci_rk3288_execute_tuning() 192 middle_phase = ranges[longest_range].start + longest_range_len / 2; dw_mci_rk3288_execute_tuning() 201 kfree(ranges); dw_mci_rk3288_execute_tuning()
|
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.4.14/arch/x86/kernel/ |
H A D | crash.c | 42 /* This primarily represents number of split ranges due to exclusion */ 51 struct crash_mem_range ranges[CRASH_MAX_RANGES]; member in struct:crash_mem 54 /* Misc data about ram ranges needed to prepare elf headers */ 58 * Total number of ram ranges we have after various adjustments for 234 /* Exclusion of crash region could split memory ranges */ fill_up_crash_elf_data() 250 start = mem->ranges[i].start; exclude_mem_range() 251 end = mem->ranges[i].end; exclude_mem_range() 264 mem->ranges[i].start = 0; exclude_mem_range() 265 mem->ranges[i].end = 0; exclude_mem_range() 267 /* Shift rest of the ranges to left */ exclude_mem_range() 269 mem->ranges[j].start = exclude_mem_range() 270 mem->ranges[j+1].start; exclude_mem_range() 271 mem->ranges[j].end = exclude_mem_range() 272 mem->ranges[j+1].end; exclude_mem_range() 281 mem->ranges[i].end = mstart - 1; exclude_mem_range() 285 mem->ranges[i].end = mstart - 1; exclude_mem_range() 287 mem->ranges[i].start = mend + 1; exclude_mem_range() 297 pr_err("Too many crash ranges after split\n"); exclude_mem_range() 304 /* Move over all ranges one slot towards the end */ exclude_mem_range() 306 mem->ranges[i + 1] = mem->ranges[i]; exclude_mem_range() 309 mem->ranges[j].start = temp_range.start; exclude_mem_range() 310 mem->ranges[j].end = temp_range.end; exclude_mem_range() 316 * Look for any unwanted ranges between mstart, mend and remove them. This 317 * might lead to split and split ranges are put in ced->mem.ranges[] array 325 memset(cmem->ranges, 0, sizeof(cmem->ranges)); elf_header_exclude_ranges() 327 cmem->ranges[0].start = mstart; elf_header_exclude_ranges() 328 cmem->ranges[0].end = mend; elf_header_exclude_ranges() 364 /* Exclude unwanted mem ranges */ prepare_elf64_ram_headers_callback() 369 /* Go through all the ranges in ced->mem.ranges[] and prepare phdr */ prepare_elf64_ram_headers_callback() 373 mstart = cmem->ranges[i].start; prepare_elf64_ram_headers_callback() 374 mend = cmem->ranges[i].end; prepare_elf64_ram_headers_callback() 549 cmem->ranges[0].start = mstart; memmap_exclude_ranges() 550 cmem->ranges[0].end = mend; memmap_exclude_ranges() 607 /* Exclude some ranges from crashk_res and add rest to memmap */ crash_setup_memmap_entries() 614 ei.size = cmem->ranges[i].end - cmem->ranges[i].start + 1; crash_setup_memmap_entries() 619 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.4.14/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.4.14/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 | 376 * a proper 'ranges' property. 415 const u32 *busrange, *ranges; of_scan_pci_bridge() local 437 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge() 439 if (ranges == NULL) { of_scan_pci_bridge() 457 printk(" Bridge ranges[%p] simba[%d]\n", of_scan_pci_bridge() 458 ranges, simba); of_scan_pci_bridge() 460 /* parse ranges property, or cook one up by hand for Simba */ of_scan_pci_bridge() 471 } else if (ranges == NULL) { of_scan_pci_bridge() 476 for (; len >= 32; len -= 32, ranges += 8) { of_scan_pci_bridge() 482 ranges[0], ranges[1], ranges[2], ranges[3], of_scan_pci_bridge() 483 ranges[4], ranges[5], ranges[6], ranges[7]); of_scan_pci_bridge() 485 flags = pci_parse_of_flags(ranges[0]); of_scan_pci_bridge() 486 size = GET_64BIT(ranges, 6); of_scan_pci_bridge() 509 printk(KERN_ERR "PCI: too many memory ranges" of_scan_pci_bridge() 518 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_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()
|
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()
|
/linux-4.4.14/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() 483 const __be32 *ranges; of_translate_one() local 489 * Normally, an absence of a "ranges" property means we are of_translate_one() 494 * /ht nodes with no "ranges" property and a lot of perfectly of_translate_one() 496 * "ranges" as equivalent to an empty "ranges" property which means of_translate_one() 504 ranges = of_get_property(parent, rprop, &rlen); of_translate_one() 505 if (ranges == NULL && !of_empty_ranges_quirk(parent)) { of_translate_one() 506 pr_debug("OF: no ranges; cannot translate\n"); of_translate_one() 509 if (ranges == NULL || rlen == 0) { of_translate_one() 512 pr_debug("OF: empty ranges; 1:1 translation\n"); of_translate_one() 516 pr_debug("OF: walking ranges...\n"); of_translate_one() 518 /* Now walk through the ranges */ of_translate_one() 521 for (; rlen >= rone; rlen -= rone, ranges += rone) { of_translate_one() 522 offset = bus->map(addr, ranges, na, ns, pna); of_translate_one() 530 memcpy(addr, ranges + na, 4 * pna); of_translate_one() 628 return __of_translate_address(dev, in_addr, "ranges"); of_translate_address() 634 return __of_translate_address(dev, in_addr, "dma-ranges"); of_translate_dma_address() 927 * Look in bottom up direction for the first "dma-ranges" property 929 * dma-ranges format: 934 * It returns -ENODEV if "dma-ranges" property was not found 940 const __be32 *ranges = NULL; of_dma_get_range() local 955 ranges = of_get_property(node, "dma-ranges", &len); of_dma_get_range() 957 /* Ignore empty ranges, they imply no translation required */ of_dma_get_range() 958 if (ranges && len > 0) of_dma_get_range() 962 * At least empty ranges has to be defined for parent node if of_dma_get_range() 965 if (!ranges) of_dma_get_range() 969 if (!ranges) { of_dma_get_range() 970 pr_debug("%s: no dma-ranges found for node(%s)\n", of_dma_get_range() 980 /* dma-ranges format: of_dma_get_range() 985 dmaaddr = of_read_number(ranges, naddr); of_dma_get_range() 986 *paddr = of_translate_dma_address(np, ranges); of_dma_get_range() 995 *size = of_read_number(ranges + naddr + pna, nsize); of_dma_get_range()
|
H A D | of_pci.c | 155 * expect IO ranges to be present in the device tree. 159 * This function will parse the "ranges" property of a PCI host bridge device 185 pr_info("PCI host bridge %s ranges:\n", dev->full_name); of_pci_get_host_bridge_resources() 200 /* Check for ranges property */ of_pci_get_host_bridge_resources() 205 pr_debug("Parsing ranges property...\n"); of_pci_get_host_bridge_resources() 207 /* Read next ranges element */ of_pci_get_host_bridge_resources()
|
H A D | of_reserved_mem.c | 93 * and 'alloc-ranges' properties 133 prop = of_get_flat_dt_prop(node, "alloc-ranges", &len); __reserved_mem_alloc_size() 137 pr_err("Reserved memory: invalid alloc-ranges property in '%s', skipping node.\n", __reserved_mem_alloc_size()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | pci_of_scan.c | 39 * @bridge: Set this flag if the address is from a bridge 'ranges' property 210 const __be32 *busrange, *ranges; of_scan_pci_bridge() local 226 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge() 227 if (ranges == NULL) { of_scan_pci_bridge() 228 printk(KERN_DEBUG "Can't get ranges for PCI-PCI bridge %s\n", of_scan_pci_bridge() 250 /* parse ranges property */ of_scan_pci_bridge() 259 for (; len >= 32; len -= 32, ranges += 8) { of_scan_pci_bridge() 260 flags = pci_parse_of_flags(of_read_number(ranges, 1), 1); of_scan_pci_bridge() 261 size = of_read_number(&ranges[6], 2); of_scan_pci_bridge() 273 printk(KERN_ERR "PCI: too many memory ranges" of_scan_pci_bridge() 281 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 | 151 struct kexec_segment ranges[KEXEC_SEGMENT_MAX]; kexec_copy_flush() local 153 /* save the ranges on the stack to efficiently flush the icache */ kexec_copy_flush() 154 memcpy(ranges, image->segment, sizeof(ranges)); kexec_copy_flush() 169 flush_icache_range((unsigned long)__va(ranges[i].mem), kexec_copy_flush() 170 (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 | 480 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_read() 520 * the ranges of the PHB though, not the bus itself as the rules pci_legacy_write() 654 * This function will parse the "ranges" property of a PCI host bridge device 662 * ranges. However, some machines (thanks Apple !) tend to split their 663 * space into lots of small contiguous ranges. So we have to coalesce. 680 printk(KERN_INFO "PCI host bridge %s %s ranges:\n", pci_process_bridge_OF_ranges() 683 /* Check for ranges property */ pci_process_bridge_OF_ranges() 744 /* We support only 3 memory ranges */ pci_process_bridge_OF_ranges() 795 * probed, but not for bridge ranges 1309 pr_debug("Reserving legacy ranges for domain %04x\n", pci_domain_nr(bus)); pcibios_reserve_legacy_regions()
|
H A D | prom.c | 581 prop = of_get_flat_dt_prop(dt_root, "reserved-ranges", &len); early_reserve_mem_dt() 586 DBG("Found new-style reserved-ranges\n"); early_reserve_mem_dt() 737 /* Scan and build the list of machine check recoverable ranges */ early_init_devtree()
|
/linux-4.4.14/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()
|
/linux-4.4.14/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 86 p = of_get_property(bmp->of_node, "msi-available-ranges", &len); msi_bitmap_reserve_dt_hwirqs() 88 pr_debug("msi_bitmap: no msi-available-ranges property " \ msi_bitmap_reserve_dt_hwirqs() 94 printk(KERN_WARNING "msi_bitmap: Malformed msi-available-ranges" msi_bitmap_reserve_dt_hwirqs() 173 /* With no node, there's no msi-available-ranges, so expect > 0 */ test_basics() 222 char *prop_name = "msi-available-ranges"; test_of_node() 237 /* No msi-available-ranges, so expect > 0 */ test_of_node() 244 /* Now create a fake msi-available-ranges property */ test_of_node() 254 /* 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 | 486 p = of_get_property(dev->dev.of_node, "msi-available-ranges", &len); fsl_of_msi_probe() 493 dev_warn(&dev->dev, "%s: dose not support msi-available-ranges property\n", fsl_of_msi_probe() 511 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.4.14/drivers/pinctrl/sh-pfc/ |
H A D | core.c | 120 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; sh_pfc_get_pin_index() 347 * that correspond to their respective ranges. sh_pfc_config_mux() 387 pfc->ranges = devm_kzalloc(pfc->dev, sizeof(*pfc->ranges), sh_pfc_init_ranges() 389 if (pfc->ranges == NULL) sh_pfc_init_ranges() 392 pfc->ranges->start = 0; sh_pfc_init_ranges() 393 pfc->ranges->end = pfc->info->nr_pins - 1; sh_pfc_init_ranges() 399 /* Count, allocate and fill the ranges. The PFC SoC data pins array must sh_pfc_init_ranges() 409 pfc->ranges = devm_kzalloc(pfc->dev, sizeof(*pfc->ranges) * nr_ranges, sh_pfc_init_ranges() 411 if (pfc->ranges == NULL) sh_pfc_init_ranges() 414 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 | 381 * must come first in the ranges, skip the pins without GPIO sh_pfc_register_gpiochip() 386 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; sh_pfc_register_gpiochip()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/virtio/ |
H A D | virtgpu_drm_bus.c | 49 ap->ranges[0].base = pci_resource_start(pci_dev, 0); virtio_pci_kick_out_firmware_fb() 50 ap->ranges[0].size = pci_resource_len(pci_dev, 0); virtio_pci_kick_out_firmware_fb()
|
/linux-4.4.14/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.c | 53 ap->ranges[0].base = pci_resource_start(pdev, 0); mgag200_kick_out_firmware_fb() 54 ap->ranges[0].size = pci_resource_len(pdev, 0); mgag200_kick_out_firmware_fb()
|
H A D | mgag200_fb.c | 217 info->apertures->ranges[0].base = mdev->dev->mode_config.fb_base; mgag200fb_create() 218 info->apertures->ranges[0].size = mdev->mc.vram_size; mgag200fb_create()
|
H A D | mgag200_main.c | 135 aper->ranges[0].base = mdev->mc.vram_base; mga_vram_init() 136 aper->ranges[0].size = mdev->mc.vram_window; mga_vram_init()
|
/linux-4.4.14/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 111 * 0x00000 - 0x7FFFF : This range is divided into eight 64KB sub-ranges 112 * 0x80000 - 0xBFFFF : This range is divided into sixteen 16KB sub-ranges 113 * 0xC0000 - 0xFFFFF : This range is divided into sixty-four 4KB sub-ranges 270 * Look up the fixed ranges first, which take priority over mtrr_type_lookup() 271 * the variable ranges. mtrr_type_lookup() 282 * Look up the variable ranges. Look of multiple ranges matching mtrr_type_lookup() 291 * MTRR ranges and/or the default type. Do repeated lookups for mtrr_type_lookup() 410 pr_debug("MTRR fixed ranges %sabled:\n", print_mtrr_state() 425 pr_debug("MTRR variable ranges %sabled:\n", print_mtrr_state() 641 while (fixed_range_blocks[++block].ranges) { set_fixed_ranges() 642 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() 126 /* sort the ranges */ x86_get_mtrr_mem_range() 601 /* Convert ranges to var ranges state: */ mtrr_calc_range_state() 779 /* Convert ranges to var ranges state: */ mtrr_cleanup()
|
/linux-4.4.14/drivers/edac/ |
H A D | amd64_edac.h | 139 #define dram_rw(pvt, i) ((u8)(pvt->ranges[i].base.lo & 0x3)) 140 #define dram_intlv_sel(pvt, i) ((u8)((pvt->ranges[i].lim.lo >> 8) & 0x7)) 141 #define dram_dst_node(pvt, i) ((u8)(pvt->ranges[i].lim.lo & 0x7)) 321 struct dram_range ranges[DRAM_RANGES]; member in struct:amd64_pvt 359 u64 addr = ((u64)pvt->ranges[i].base.lo & 0xffff0000) << 8; get_dram_base() 364 return (((u64)pvt->ranges[i].base.hi & 0x000000ff) << 40) | addr; get_dram_base() 369 u64 lim = (((u64)pvt->ranges[i].lim.lo & 0xffff0000) << 8) | 0x00ffffff; get_dram_limit() 374 return (((u64)pvt->ranges[i].lim.hi & 0x000000ff) << 40) | lim; get_dram_limit() 464 return (u8) (pvt->ranges[i].base.lo >> 8) & 0x7; dram_intlv_en()
|
/linux-4.4.14/include/media/ |
H A D | tuner-types.h | 35 * those ranges, as they're defined inside the driver. This is used by 136 * @count: Size of the ranges array. 137 * @ranges: Array with the frequency ranges supported by 166 struct tuner_range *ranges; member in struct:tuner_params
|
/linux-4.4.14/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 | 93 * A table of ranges including some yes ranges and some no ranges. 98 * @yes_ranges : pointer to an array of regmap ranges used as "yes ranges" 100 * @no_ranges: pointer to an array of regmap ranges used as "no ranges" 129 * (a register is writeable if it belongs to one of the ranges 134 * (a register is readable if it belongs to one of the ranges 140 * the ranges specified by volatile_table). 146 * it belongs to one of the ranges specified by precious_table). 167 * valid ranges for write access. 198 * @ranges: Array of configuration entries for virtual address ranges. 242 const struct regmap_range_cfg *ranges; member in struct:regmap_config 738 const struct regmap_range *ranges,
|
H A D | intel-svm.h | 48 * A future API addition may permit the use of such ranges, by means of an
|
H A D | hyperv.h | 265 struct vmtransfer_page_range ranges[1]; member in struct:vmtransfer_page_packet_header 293 * which this GPADL will be known and a set of GPA ranges associated with it. 295 * ranges, then the resulting MDL will be "chained," representing multiple VA 296 * ranges. 317 * ranges, in addition to commands and/or data.
|
H A D | netfilter.h | 105 /* Non-inclusive ranges: use 0/0/NULL to never get called. */ 137 /* Functions to register get/setsockopt ranges (non-inclusive). You
|
/linux-4.4.14/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.4.14/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 | 735 struct vgic_io_range *vgic_find_range(const struct vgic_io_range *ranges, vgic_find_range() argument 738 while (ranges->len) { vgic_find_range() 739 if (offset >= ranges->base && vgic_find_range() 740 (offset + len) <= (ranges->base + ranges->len)) vgic_find_range() 741 return ranges; vgic_find_range() 742 ranges++; vgic_find_range() 891 * @ranges: Describing the handler functions for each register 903 const struct vgic_io_range *ranges, vgic_register_kvm_io_dev() 915 iodev->reg_ranges = ranges; vgic_register_kvm_io_dev() 2358 int vgic_has_attr_regs(const struct vgic_io_range *ranges, phys_addr_t offset) vgic_has_attr_regs() argument 2360 if (vgic_find_range(ranges, 4, offset)) vgic_has_attr_regs() 902 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.4.14/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.4.14/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.4.14/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 | 228 info->apertures->ranges[0].base = cdev->dev->mode_config.fb_base; cirrusfb_create() 229 info->apertures->ranges[0].size = cdev->mc.vram_size; cirrusfb_create()
|
/linux-4.4.14/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() 238 info->apertures->ranges[0].base = efifb_fix.smem_start; efifb_probe() 239 info->apertures->ranges[0].size = size_remap; efifb_probe()
|
H A D | vesafb.c | 188 release_mem_region(info->apertures->ranges[0].base, info->apertures->ranges[0].size); vesafb_destroy() 317 info->apertures->ranges[0].base = screen_info.lfb_base; vesafb_probe() 318 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 | 724 info->apertures->ranges[0].base = screen_info.lfb_base; hvfb_getmem() 725 info->apertures->ranges[0].size = screen_info.lfb_size; hvfb_getmem() 729 info->apertures->ranges[0].base = pci_resource_start(pdev, 0); hvfb_getmem() 730 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 | 326 info->apertures->ranges[0].base = info->fix.smem_start; simplefb_probe() 327 info->apertures->ranges[0].size = info->fix.smem_len; simplefb_probe()
|
/linux-4.4.14/drivers/gpu/drm/vc4/ |
H A D | vc4_bo.c | 13 * use the GEM CMA helper functions to allocate contiguous ranges of
|
/linux-4.4.14/drivers/media/platform/vivid/ |
H A D | vivid-radio-common.h | 23 /* The supported radio frequency ranges in kHz */
|
/linux-4.4.14/drivers/nvdimm/ |
H A D | e820.c | 74 dev_err(dev, "failed to register legacy persistent memory ranges\n"); e820_pmem_probe()
|
/linux-4.4.14/arch/sparc/mm/ |
H A D | extable.c | 89 /* Special extable search, which handles ranges. Returns fixup */ search_extables_range()
|
/linux-4.4.14/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.4.14/include/uapi/linux/ |
H A D | atmioc.h | 1 /* atmioc.h - ranges for ATM-related ioctl numbers */
|
H A D | vfio.h | 325 * This includes I/O port ranges 0x3b0 to 0x3bb and 0x3c0 to 0x3df 329 * between described ranges are unimplemented. 466 * address ranges available for DMA, these values are programmed into
|
/linux-4.4.14/arch/mips/include/asm/mach-lantiq/falcon/ |
H A D | lantiq_soc.h | 49 /* global register ranges */
|
/linux-4.4.14/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.4.14/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.4.14/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 | 569 * Initialize node length ranges which are mostly needed for node init_constants_early() 572 c->ranges[UBIFS_PAD_NODE].len = UBIFS_PAD_NODE_SZ; init_constants_early() 573 c->ranges[UBIFS_SB_NODE].len = UBIFS_SB_NODE_SZ; init_constants_early() 574 c->ranges[UBIFS_MST_NODE].len = UBIFS_MST_NODE_SZ; init_constants_early() 575 c->ranges[UBIFS_REF_NODE].len = UBIFS_REF_NODE_SZ; init_constants_early() 576 c->ranges[UBIFS_TRUN_NODE].len = UBIFS_TRUN_NODE_SZ; init_constants_early() 577 c->ranges[UBIFS_CS_NODE].len = UBIFS_CS_NODE_SZ; init_constants_early() 579 c->ranges[UBIFS_INO_NODE].min_len = UBIFS_INO_NODE_SZ; init_constants_early() 580 c->ranges[UBIFS_INO_NODE].max_len = UBIFS_MAX_INO_NODE_SZ; init_constants_early() 581 c->ranges[UBIFS_ORPH_NODE].min_len = init_constants_early() 583 c->ranges[UBIFS_ORPH_NODE].max_len = c->leb_size; init_constants_early() 584 c->ranges[UBIFS_DENT_NODE].min_len = UBIFS_DENT_NODE_SZ; init_constants_early() 585 c->ranges[UBIFS_DENT_NODE].max_len = UBIFS_MAX_DENT_NODE_SZ; init_constants_early() 586 c->ranges[UBIFS_XENT_NODE].min_len = UBIFS_XENT_NODE_SZ; init_constants_early() 587 c->ranges[UBIFS_XENT_NODE].max_len = UBIFS_MAX_XENT_NODE_SZ; init_constants_early() 588 c->ranges[UBIFS_DATA_NODE].min_len = UBIFS_DATA_NODE_SZ; init_constants_early() 589 c->ranges[UBIFS_DATA_NODE].max_len = UBIFS_MAX_DATA_NODE_SZ; init_constants_early() 594 c->ranges[UBIFS_IDX_NODE].min_len = UBIFS_IDX_NODE_SZ + UBIFS_BRANCH_SZ; init_constants_early() 599 c->ranges[UBIFS_IDX_NODE].max_len = INT_MAX; init_constants_early() 661 c->ranges[UBIFS_IDX_NODE].min_len = tmp; init_constants_sb() 665 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.4.14/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.4.14/drivers/staging/fsl-mc/bus/ |
H A D | mc-bus.c | 572 *ranges_start = of_get_property(mc_node, "ranges", &ranges_len); parse_mc_ranges() 575 "missing or empty ranges property for device tree node '%s'\n", parse_mc_ranges() 601 dev_err(dev, "malformed ranges property '%s'\n", mc_node->name); parse_mc_ranges() 611 **ranges, get_mc_addr_translation_ranges() 633 * Missing or empty ranges property ("ranges;") for the get_mc_addr_translation_ranges() 637 *ranges = NULL; get_mc_addr_translation_ranges() 641 *ranges = devm_kcalloc(dev, *num_ranges, get_mc_addr_translation_ranges() 644 if (!(*ranges)) get_mc_addr_translation_ranges() 649 struct fsl_mc_addr_translation_range *range = &(*ranges)[i]; get_mc_addr_translation_ranges() 609 get_mc_addr_translation_ranges(struct device *dev, struct fsl_mc_addr_translation_range **ranges, u8 *num_ranges) get_mc_addr_translation_ranges() argument
|
/linux-4.4.14/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 891 * in the "dma-ranges" property. 905 const u32 *ranges = NULL; cell_iommu_get_fixed_address() local 916 ranges = of_get_property(np, "dma-ranges", &len); cell_iommu_get_fixed_address() 918 /* Ignore empty ranges, they imply no translation required */ cell_iommu_get_fixed_address() 919 if (ranges && len > 0) cell_iommu_get_fixed_address() 923 if (!ranges) { cell_iommu_get_fixed_address() 924 dev_dbg(dev, "iommu: no dma-ranges found\n"); cell_iommu_get_fixed_address() 933 /* dma-ranges format: cell_iommu_get_fixed_address() 939 cpu_addr = of_translate_dma_address(np, ranges + i + naddr); cell_iommu_get_fixed_address() 940 size = of_read_number(ranges + i + naddr + pna, nsize); cell_iommu_get_fixed_address() 949 dev_addr = of_read_number(ranges + best, naddr); cell_iommu_get_fixed_address() 1057 /* We must have dma-ranges properties for fixed mapping to work */ cell_iommu_fixed_mapping_init() 1058 np = of_find_node_with_property(NULL, "dma-ranges"); cell_iommu_fixed_mapping_init() 1062 pr_debug("iommu: no dma-ranges found, no fixed mapping\n"); cell_iommu_fixed_mapping_init()
|
/linux-4.4.14/scripts/dtc/ |
H A D | checks.c | 576 prop = get_property(node, "ranges"); check_ranges_format() 581 FAIL(c, "Root node has a \"ranges\" property"); check_ranges_format() 593 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 598 FAIL(c, "%s has empty \"ranges\" property but its " check_ranges_format() 603 FAIL(c, "\"ranges\" property in %s has invalid length (%d bytes) " check_ranges_format() 617 struct property *reg, *ranges; check_avoid_default_addr_size() local 623 ranges = get_property(node, "ranges"); check_avoid_default_addr_size() 625 if (!reg && !ranges) check_avoid_default_addr_size()
|
/linux-4.4.14/drivers/staging/comedi/drivers/ |
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 | 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 | 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 351 * 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.
|
/linux-4.4.14/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.4.14/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()
|
H A D | mvebu-mbus.c | 159 * - The normal one, where the described DRAM ranges may overlap with 160 * the I/O windows, but for which the DRAM ranges are guaranteed to 161 * have a power of two size. Such ranges are suitable for the DMA 165 * - The 'nooverlap' one, where the described DRAM ranges are 167 * DRAM ranges will not have power of two sizes. They will only be 169 * KB. Such ranges are suitable for the DMA masters that DMA between 1121 * The window IDs in the ranges DT property have the following format: 1159 /* Allow a node with no 'ranges' property */ mbus_parse_ranges() 1160 *ranges_start = of_get_property(node, "ranges", &ranges_len); mbus_parse_ranges() 1180 pr_warn("malformed ranges entry '%s'\n", node->name); mbus_parse_ranges()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/vmwgfx/device_include/ |
H A D | svga3d_limits.h | 94 * The maximum number of primitive ranges we're guaranteed to support
|
/linux-4.4.14/arch/tile/include/asm/ |
H A D | mmzone.h | 28 * Generally, memory ranges are always doled out by the hypervisor in
|
/linux-4.4.14/arch/x86/platform/efi/ |
H A D | efi_32.c | 19 * Skip non-WB memory and ignore empty memory ranges.
|
/linux-4.4.14/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
|
/linux-4.4.14/mm/ |
H A D | msync.c | 54 * If the interval [start,end) covers some unmapped address ranges, SYSCALL_DEFINE3()
|
H A D | userfaultfd.c | 186 * registered ranges to prevent userland errors going __mcopy_atomic() 190 * registered ranges. This is after all why these are ioctls __mcopy_atomic()
|
/linux-4.4.14/include/asm-generic/ |
H A D | fixmap.h | 27 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.4.14/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.4.14/arch/mips/include/asm/sgi/ |
H A D | gio.h | 42 * bits 0:6 the product ID; ranges from 0x00 to 0x7F.
|
/linux-4.4.14/arch/score/include/asm/ |
H A D | fixmap.h | 70 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.4.14/drivers/regulator/ |
H A D | 88pm800.c | 90 * Buck has 2 kinds of voltage steps. It is easy to find voltage by ranges, 121 * For all the LDOes, there are too many ranges. Using volt_table will be 150 /* BUCK 2~5 have same ranges. */
|
H A D | helpers.c | 278 * regulator_map_voltage_linear_range - map_voltage() for multiple linear ranges 364 * regulator_list_voltage_linear_range - List voltages for linear ranges
|
/linux-4.4.14/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. */
|
/linux-4.4.14/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.4.14/arch/x86/kvm/ |
H A D | mtrr.c | 189 * 8 ranges so that unit size is always 8 * 2^range_shift. 235 /* each unit has 8 ranges. */ fixed_mtrr_seg_unit_range_index() 650 * If two or more variable memory ranges match and the kvm_mtrr_get_guest_memory_type() 658 * If two or more variable memory ranges match and one of kvm_mtrr_get_guest_memory_type() 665 * If two or more variable memory ranges match and the kvm_mtrr_get_guest_memory_type()
|
/linux-4.4.14/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.4.14/drivers/clk/at91/ |
H A D | clk-pll.c | 413 if (!of_get_property(np, "atmel,pll-clk-output-ranges", &tmp)) of_at91_clk_pll_get_characteristics() 440 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 445 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 454 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics() 463 "atmel,pll-clk-output-ranges", of_at91_clk_pll_get_characteristics()
|
/linux-4.4.14/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.4.14/arch/powerpc/mm/ |
H A D | numa.c | 659 unsigned int n, rc, ranges, is_kexec_kdump = 0; parse_drconf_memory() local 694 ranges = 1; parse_drconf_memory() 697 ranges = read_usm_ranges(&usm); parse_drconf_memory() 698 if (!ranges) /* there are no (base, size) duple */ parse_drconf_memory() 715 } while (--ranges); parse_drconf_memory() 767 int ranges; local 778 /* ranges in cell */ 779 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); 798 if (--ranges) 806 if (--ranges) 1095 int ranges; hot_add_node_scn_to_nid() local 1103 /* ranges in cell */ hot_add_node_scn_to_nid() 1104 ranges = (len >> 2) / (n_mem_addr_cells + n_mem_size_cells); hot_add_node_scn_to_nid() 1106 while (ranges--) { hot_add_node_scn_to_nid()
|
/linux-4.4.14/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() 1374 .ranges = &pcm512x_range,
|
/linux-4.4.14/drivers/pinctrl/ |
H A D | core.c | 288 * as a base for translation. The distinction between linear GPIO ranges 289 * and pin list based GPIO ranges is managed correctly by this function. 310 * Tries to match a GPIO pin number to the ranges handled by a certain pin 319 /* Loop over the ranges */ pinctrl_match_gpio_range() 359 /* Loop over the ranges */ pinctrl_ready_for_gpio_range() 424 * this to register handled ranges after registering your pin controller. 436 struct pinctrl_gpio_range *ranges, pinctrl_add_gpio_ranges() 442 pinctrl_add_gpio_range(pctldev, &ranges[i]); pinctrl_add_gpio_ranges() 496 /* Loop over the ranges */ pinctrl_find_gpio_range_from_pin() 1424 seq_puts(s, "GPIO ranges handled:\n"); pinctrl_gpioranges_show() 1428 /* Loop over the ranges */ pinctrl_gpioranges_show() 1667 debugfs_create_file("gpio-ranges", S_IFREG | S_IRUGO, pinctrl_init_device_debugfs() 1853 /* remove gpio ranges map */ pinctrl_unregister() 435 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.4.14/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.4.14/arch/parisc/mm/ |
H A D | init.c | 135 * Sort the ranges. Since the number of ranges is typically setup_bootmem() 162 * Throw out ranges that are too far apart (controlled by setup_bootmem() 183 /* Print the memory ranges */ setup_bootmem() 214 * to work with multiple memory ranges). setup_bootmem() 242 /* Merge the ranges, keeping track of the holes */ setup_bootmem()
|
/linux-4.4.14/drivers/gpu/drm/ast/ |
H A D | ast_fb.c | 241 info->apertures->ranges[0].base = pci_resource_start(dev->pdev, 0); astfb_create() 242 info->apertures->ranges[0].size = pci_resource_len(dev->pdev, 0); astfb_create() 372 ast->fbdev->helper.fbdev->apertures->ranges[0].base + gpu_addr; ast_fbdev_set_base()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
H A D | opal-prd.c | 76 /* PRD ranges need a label */ for_each_child_of_node() 107 * opal_prd_mmap - maps firmware-provided ranges into userspace 125 /* ensure we're mapping within one of the allowable ranges */ opal_prd_mmap()
|
H A D | pci-p5ioc2.c | 61 "ibm,opal-msi-ranges", NULL); pnv_pci_init_p5ioc2_msis() 186 /* Interpret the "ranges" property */ pnv_pci_init_p5ioc2_phb()
|
H A D | opal.c | 132 prop = of_get_flat_dt_prop(node, "mcheck-recoverable-ranges", &psize); early_init_dt_scan_recoverable_ranges() 137 pr_debug("Found machine check recoverable ranges.\n"); early_init_dt_scan_recoverable_ranges() 157 * Allocate a buffer to hold the MC recoverable ranges. We would be early_init_dt_scan_recoverable_ranges()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpiolib-of.c | 345 static const char group_names_propname[] = "gpio-ranges-group-names"; of_gpiochip_add_pin_range() 354 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, of_gpiochip_add_pin_range() 369 pr_err("%s: Group name of numeric GPIO ranges must be the empty string.\n", of_gpiochip_add_pin_range()
|
/linux-4.4.14/drivers/staging/fsl-mc/include/ |
H A D | mc-private.h | 33 * @translation_ranges: array of bus to system address translation ranges
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/x86/pci/ |
H A D | broadcom_bus.c | 2 * Read address ranges from a Broadcom CNB20LE Host Bridge
|
/linux-4.4.14/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.4.14/kernel/ |
H A D | range.c | 103 pr_err("%s: run out of slot in ranges\n", subtract_range()
|
/linux-4.4.14/arch/powerpc/platforms/512x/ |
H A D | mpc512x_lpbfifo.c | 369 * LPBFIFO driver uses "ranges" property of "localbus" device tree node 389 * Every item of its ranges property should consist of: get_cs_ranges() 403 proplen = of_property_count_u32_elems(lb_node, "ranges"); get_cs_ranges() 413 if (of_property_read_u32_array(lb_node, "ranges", get_cs_ranges()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
H A D | fixmap.h | 62 * kernel oops. Illegal ranges of incoming indices are caught too.
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | asmmacro.h | 57 * Tag MCA recoverable instruction ranges.
|
/linux-4.4.14/drivers/pinctrl/nomadik/ |
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.4.14/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.4.14/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.4.14/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.4.14/drivers/pci/host/ |
H A D | pcie-xilinx.c | 662 * xilinx_pcie_parse_and_add_res - Add resources by parsing ranges 678 /* Get the ranges */ xilinx_pcie_parse_and_add_res() 680 dev_err(dev, "missing \"ranges\" property\n"); xilinx_pcie_parse_and_add_res() 684 /* Parse the ranges and add the resources found to the list */ xilinx_pcie_parse_and_add_res() 831 * Parse PCI ranges, configuration bus range and xilinx_pcie_probe()
|
H A D | pci-xgene.c | 441 parser->range = of_get_property(node, "dma-ranges", &rlen); pci_dma_range_parser_init() 458 dev_err(dev, "missing dma-ranges property\n"); xgene_pcie_parse_map_dma_ranges() 462 /* Get the dma-ranges from DT */ xgene_pcie_parse_map_dma_ranges()
|
/linux-4.4.14/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 621 * pcmcia_request_io() - attempt to reserve port ranges for PCMCIA devices 624 * pcmcia_request_io() attempts to reserve the IO port ranges specified in 869 * pcmcia_request_window() attepts to reserve an iomem ranges specified in 973 * this function. Any I/O ranges (iomem and ioports) will be released,
|
/linux-4.4.14/drivers/ata/ |
H A D | pata_at91.c | 74 * @range: array of SMC ranges with valid values 75 * @size: SMC ranges array size 79 * If negative returned, then output value = maximal possible from ranges.
|
/linux-4.4.14/drivers/staging/comedi/ |
H A D | range.c | 3 * comedi routines for voltage ranges
|
/linux-4.4.14/drivers/mtd/devices/ |
H A D | ms02-nv.h | 23 * Within the SRAM area the following ranges are forced by the system
|
/linux-4.4.14/drivers/mfd/ |
H A D | da9063-i2c.c | 202 .ranges = da9063_range_cfg,
|
/linux-4.4.14/drivers/misc/eeprom/ |
H A D | max6875.c | 9 * Address ranges are defined as follows:
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | lgdt330x.c | 618 /* SNR for ranges from -15.61 to +41.58 */ lgdt3302_read_snr() 623 /* SNR for ranges from -13.11 to +44.08 */ lgdt3302_read_snr() 662 /* SNR for ranges from -16.12 to +44.08 */ lgdt3303_read_snr() 667 /* SNR for ranges from -13.11 to +44.08 */ lgdt3303_read_snr()
|
/linux-4.4.14/drivers/clocksource/ |
H A D | cs5535-clockevt.c | 30 * ranges we find desirable. The following table lists the suitable
|
/linux-4.4.14/drivers/clk/ |
H A D | clk-mux.c | 39 * 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.4.14/mm/kasan/ |
H A D | kasan_init.c | 27 * - Latter it reused it as zero shadow to cover large ranges of memory
|
/linux-4.4.14/fs/cifs/ |
H A D | cifs_uniupr.h | 18 * uniupr.h - Unicode compressed case ranges
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
H A D | bootx.h | 49 /* Maximum number of ranges in phys memory map */
|
/linux-4.4.14/arch/powerpc/platforms/amigaone/ |
H A D | setup.c | 64 /* Interpret the "ranges" property */ amigaone_add_bridge()
|
/linux-4.4.14/arch/mips/include/asm/ |
H A D | pci.h | 143 /* this function parses memory ranges from a device node */
|
/linux-4.4.14/arch/microblaze/include/asm/ |
H A D | pci-bridge.h | 87 * ranges since the common pci_bus structure can't handle more
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | tlbflush.h | 102 * This is meant to avoid soft lock-ups on large TLB flushing ranges and not
|
/linux-4.4.14/net/mac802154/ |
H A D | main.c | 110 /* init supported flags with 802.15.4 default ranges */ ieee802154_alloc_hw()
|
/linux-4.4.14/tools/vm/ |
H A D | slabinfo-gnuplot.sh | 24 # Graphs can be [individually] regenerate with different ranges and
|
H A D | page-types.c | 164 static int opt_list; /* list pages (in ranges) */ 667 fatal("too many addr ranges\n"); add_addr_range() 718 " -l|--list Show page details in ranges\n" usage()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/radeon/ |
H A D | radeon_fb.c | 260 info->apertures->ranges[0].base = rdev->ddev->mode_config.fb_base; radeonfb_create() 261 info->apertures->ranges[0].size = rdev->mc.aper_size; radeonfb_create()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_fb.c | 241 info->apertures->ranges[0].base = adev->ddev->mode_config.fb_base; amdgpufb_create() 242 info->apertures->ranges[0].size = adev->mc.aper_size; amdgpufb_create()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 316 aper->ranges[0].base = pci_resource_start(pdev, 1); nouveau_drm_probe() 317 aper->ranges[0].size = pci_resource_len(pdev, 1); nouveau_drm_probe() 321 aper->ranges[aper->count].base = pci_resource_start(pdev, 2); nouveau_drm_probe() 322 aper->ranges[aper->count].size = pci_resource_len(pdev, 2); nouveau_drm_probe() 327 aper->ranges[aper->count].base = pci_resource_start(pdev, 3); nouveau_drm_probe() 328 aper->ranges[aper->count].size = pci_resource_len(pdev, 3); nouveau_drm_probe()
|
/linux-4.4.14/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.4.14/sound/core/ |
H A D | pcm_lib.c | 1050 * snd_interval_ranges - refine the interval value from the list of ranges 1052 * @count: the number of elements in the list of ranges 1053 * @ranges: the ranges list 1056 * Refines the interval value from the list of ranges. 1064 const struct snd_interval *ranges, unsigned int mask) snd_interval_ranges() 1080 snd_interval_copy(&range, &ranges[k]); snd_interval_ranges() 1314 r->count, r->ranges, r->mask); snd_pcm_hw_rule_ranges() 1323 * @r: ranges 1063 snd_interval_ranges(struct snd_interval *i, unsigned int count, const struct snd_interval *ranges, unsigned int mask) snd_interval_ranges() argument
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/qxl/ |
H A D | qxl_fb.c | 415 info->apertures->ranges[0].base = qdev->ddev->mode_config.fb_base; qxlfb_create() 416 info->apertures->ranges[0].size = qdev->vram_size; qxlfb_create()
|
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/ |
H A D | octeon_droq.h | 335 * @param q_no - droq no. ranges from 0 - 3. 349 * @param q_no - droq no. ranges from 0 - 3.
|
/linux-4.4.14/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.4.14/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.4.14/fs/btrfs/ |
H A D | extent_io.h | 167 * Structure to record how many bytes and which ranges are set/cleared 173 /* Changed ranges */
|
/linux-4.4.14/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.4.14/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.4.14/drivers/usb/serial/ |
H A D | whiteheat.h | 134 * Allowable address ranges (firmware checks address):
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | blacklist.c | 35 * These can be single devices or ranges of devices
|