/openbmc/linux/arch/powerpc/kexec/ |
H A D | ranges.c | 17 #define pr_fmt(fmt) "kexec ranges: " fmt 27 * get_max_nr_ranges - Get the max no. of ranges crash_mem structure 31 * Returns the maximum no. of ranges. 42 * @mem_rngs: Memory ranges. 64 * __add_mem_range - add a memory range to memory ranges list. 83 mem_rngs->ranges[mem_rngs->nr_ranges].start = base; in __add_mem_range() 84 mem_rngs->ranges[mem_rngs->nr_ranges].end = base + size - 1; in __add_mem_range() 92 * __merge_memory_ranges - Merges the given memory ranges list. 101 struct range *ranges; in __merge_memory_ranges() local 108 ranges = &(mem_rngs->ranges[0]); in __merge_memory_ranges() [all …]
|
/openbmc/linux/lib/ |
H A D | linear_ranges.c | 7 * It might be useful if we could support also inversely proportional ranges? 36 * linear_range_values_in_range_array - return the amount of values in ranges 37 * @r: pointer to array of linear ranges where values are counted 38 * @ranges: amount of ranges we include in computation. 40 * Compute the amount of values in ranges pointed by @r. Note, values can 44 * Return: the amount of values in first @ranges ranges pointed by @r 47 int ranges) in linear_range_values_in_range_array() argument 51 for (i = 0; i < ranges; i++) { in linear_range_values_in_range_array() 82 * Search given ranges for value which matches given selector. 85 * ranges. [all …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | cyrus_p5020.dts | 27 ranges; 44 ranges = <0x00000000 0xf 0x00000000 0x01008000>; 48 ranges = <0x0 0xf 0xf4000000 0x200000>; 52 ranges = <0x0 0xf 0xf4200000 0x200000>; 56 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 76 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 79 ranges = <0 0 0xc 0x30000000 0 0x10000000>; 85 ranges = <0 0 0xf 0xe8000000 0x08000000 92 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 95 ranges = <0x02000000 0 0xe0000000 [all …]
|
H A D | t208xrdb.dtsi | 45 ranges; 63 ranges = <0 0 0xf 0xe8000000 0x08000000 89 ranges = <0 3 0 0x300>; 98 ranges = <0x00000000 0xf 0x00000000 0x01072000>; 102 ranges = <0x0 0xf 0xf4000000 0x2000000>; 106 ranges = <0x0 0xf 0xf6000000 0x2000000>; 110 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 148 voltage-ranges = <1800 1800 3300 3300>; 154 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 157 ranges = <0x02000000 0 0xe0000000 [all …]
|
H A D | t208xqds.dtsi | 45 ranges; 63 ranges = <0 0 0xf 0xe8000000 0x08000000 88 ranges = <0 3 0 0x300>; 97 ranges = <0x00000000 0xf 0x00000000 0x01072000>; 101 ranges = <0x0 0xf 0xf4000000 0x2000000>; 105 ranges = <0x0 0xf 0xf6000000 0x2000000>; 109 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 214 voltage-ranges = <1800 1800 3300 3300>; 220 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 223 ranges = <0x02000000 0 0xe0000000 [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32f769-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 17 gpio-ranges = <&pinctrl 0 16 16>; 21 gpio-ranges = <&pinctrl 0 32 16>; 25 gpio-ranges = <&pinctrl 0 48 16>; 29 gpio-ranges = <&pinctrl 0 64 16>; 33 gpio-ranges = <&pinctrl 0 80 16>; 37 gpio-ranges = <&pinctrl 0 96 16>; 41 gpio-ranges = <&pinctrl 0 112 16>; 45 gpio-ranges = <&pinctrl 0 128 16>; 49 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
H A D | stm32f746-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 17 gpio-ranges = <&pinctrl 0 16 16>; 21 gpio-ranges = <&pinctrl 0 32 16>; 25 gpio-ranges = <&pinctrl 0 48 16>; 29 gpio-ranges = <&pinctrl 0 64 16>; 33 gpio-ranges = <&pinctrl 0 80 16>; 37 gpio-ranges = <&pinctrl 0 96 16>; 41 gpio-ranges = <&pinctrl 0 112 16>; 45 gpio-ranges = <&pinctrl 0 128 16>; 49 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
H A D | stm32mp15xxaa-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 16>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 0 80 16>; 49 gpio-ranges = <&pinctrl 0 96 16>; 55 gpio-ranges = <&pinctrl 0 112 16>; 61 gpio-ranges = <&pinctrl 0 128 16>; 67 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
H A D | stm32mp15xxac-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 16>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 0 80 16>; 49 gpio-ranges = <&pinctrl 0 96 16>; 55 gpio-ranges = <&pinctrl 0 112 16>; 61 gpio-ranges = <&pinctrl 0 128 12>; 71 gpio-ranges = <&pinctrl_z 0 400 8>;
|
H A D | stm32f429-pinctrl.dtsi | 49 gpio-ranges = <&pinctrl 0 0 16>; 53 gpio-ranges = <&pinctrl 0 16 16>; 57 gpio-ranges = <&pinctrl 0 32 16>; 61 gpio-ranges = <&pinctrl 0 48 16>; 65 gpio-ranges = <&pinctrl 0 64 16>; 69 gpio-ranges = <&pinctrl 0 80 16>; 73 gpio-ranges = <&pinctrl 0 96 16>; 77 gpio-ranges = <&pinctrl 0 112 16>; 81 gpio-ranges = <&pinctrl 0 128 16>; 85 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
H A D | stm32f469-pinctrl.dtsi | 49 gpio-ranges = <&pinctrl 0 0 16>; 53 gpio-ranges = <&pinctrl 0 16 16>; 57 gpio-ranges = <&pinctrl 0 32 16>; 61 gpio-ranges = <&pinctrl 0 48 16>; 65 gpio-ranges = <&pinctrl 0 64 16>; 69 gpio-ranges = <&pinctrl 0 80 16>; 73 gpio-ranges = <&pinctrl 0 96 16>; 77 gpio-ranges = <&pinctrl 0 112 16>; 81 gpio-ranges = <&pinctrl 0 128 16>; 85 gpio-ranges = <&pinctrl 0 144 6>, [all …]
|
H A D | stm32mp15xxab-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 16>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 6 86 6>; 49 gpio-ranges = <&pinctrl 6 102 10>; 55 gpio-ranges = <&pinctrl 0 112 2>;
|
H A D | stm32mp15xxad-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 16>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 6 86 6>; 49 gpio-ranges = <&pinctrl 6 102 10>; 55 gpio-ranges = <&pinctrl 0 112 2>;
|
/openbmc/linux/arch/arm64/boot/dts/st/ |
H A D | stm32mp25xxai-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 14>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 0 80 16>; 49 gpio-ranges = <&pinctrl 0 96 16>; 55 gpio-ranges = <&pinctrl 2 114 12>; 61 gpio-ranges = <&pinctrl 0 128 16>; 67 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
H A D | stm32mp25xxak-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 14>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 0 80 16>; 49 gpio-ranges = <&pinctrl 0 96 16>; 55 gpio-ranges = <&pinctrl 2 114 12>; 61 gpio-ranges = <&pinctrl 0 128 12>; 69 gpio-ranges = <&pinctrl_z 0 400 10>;
|
H A D | stm32mp25xxal-pinctrl.dtsi | 13 gpio-ranges = <&pinctrl 0 0 16>; 19 gpio-ranges = <&pinctrl 0 16 16>; 25 gpio-ranges = <&pinctrl 0 32 14>; 31 gpio-ranges = <&pinctrl 0 48 16>; 37 gpio-ranges = <&pinctrl 0 64 16>; 43 gpio-ranges = <&pinctrl 0 80 16>; 49 gpio-ranges = <&pinctrl 0 96 16>; 55 gpio-ranges = <&pinctrl 2 114 12>; 61 gpio-ranges = <&pinctrl 0 128 12>; 69 gpio-ranges = <&pinctrl_z 0 400 10>;
|
/openbmc/linux/arch/arc/boot/dts/ |
H A D | abilis_tb100.dtsi | 163 gpio-ranges = <&iomux 0 0 0>; 164 gpio-ranges-group-names = "gpioa"; 176 gpio-ranges = <&iomux 0 0 0>; 177 gpio-ranges-group-names = "gpiob"; 189 gpio-ranges = <&iomux 0 0 0>; 190 gpio-ranges-group-names = "gpioc"; 202 gpio-ranges = <&iomux 0 0 0>; 203 gpio-ranges-group-names = "gpiod"; 215 gpio-ranges = <&iomux 0 0 0>; 216 gpio-ranges-group-names = "gpioe"; [all …]
|
H A D | abilis_tb101.dtsi | 172 gpio-ranges = <&iomux 0 0 0>; 173 gpio-ranges-group-names = "gpioa"; 185 gpio-ranges = <&iomux 0 0 0>; 186 gpio-ranges-group-names = "gpiob"; 198 gpio-ranges = <&iomux 0 0 0>; 199 gpio-ranges-group-names = "gpioc"; 211 gpio-ranges = <&iomux 0 0 0>; 212 gpio-ranges-group-names = "gpiod"; 224 gpio-ranges = <&iomux 0 0 0>; 225 gpio-ranges-group-names = "gpioe"; [all …]
|
/openbmc/linux/arch/sparc/prom/ |
H A D | ranges.c | 3 * ranges.c: Handle ranges in newer proms for obio/sbus. 19 /* Adjust register values based upon the ranges parameters. */ 57 /* Apply probed obio ranges to registers passed, if no ranges return. */ 72 /* Check for obio and sbus ranges. */ in prom_ranges_init() 77 success = prom_getproperty(obio_node, "ranges", in prom_ranges_init() 93 struct linux_prom_ranges ranges[PROMREG_MAX]; in prom_apply_generic_ranges() local 95 success = prom_getproperty(node, "ranges", in prom_apply_generic_ranges() 96 (char *) ranges, in prom_apply_generic_ranges() 97 sizeof(ranges)); in prom_apply_generic_ranges() 104 success = prom_getproperty(parent, "ranges", in prom_apply_generic_ranges() [all …]
|
/openbmc/linux/drivers/of/unittest-data/ |
H A D | tests-address.dtsi | 10 ranges; 15 /* ranges here is to make sure we don't use it for 16 * dma-ranges translation */ 17 ranges = <0x70000000 0x70000000 0x50000000>, 19 dma-ranges = <0x0 0x20000000 0x40000000>; 28 ranges = <0x0 0x0 0x80000000 0x0 0x100000>; 29 dma-ranges = <0x1 0x0 0x0 0x20 0x0>; 41 ranges = <0x42000000 0x0 0x40000000 0x40000000 0x0 0x10000000>; 42 dma-ranges = <0x42000000 0x0 0x80000000 0x00000000 0x0 0x10000000>, 49 ranges = <0xf00baa 0x0 0x0 0xa0000000 0x0 0x100000>,
|
/openbmc/linux/block/ |
H A D | blk-ia-ranges.c | 3 * Block device concurrent positioning ranges. 67 * with struct blk_independent_access_ranges and its array of ranges. Since 87 * including the array of ranges. 103 * independent access ranges 106 * Register with sysfs a set of independent access ranges for @disk. 121 * At this point, iars is the new set of sector access ranges that needs in disk_register_independent_access_ranges() 205 * While sorting the ranges in increasing LBA order, check that the in disk_check_ia_ranges() 206 * ranges do not overlap, that there are no sector holes and that all in disk_check_ia_ranges() 212 pr_warn("Invalid non-contiguous independent access ranges\n"); in disk_check_ia_ranges() 226 pr_warn("Independent access ranges do not match disk capacity\n"); in disk_check_ia_ranges() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stm32f469-pinctrl.dtsi | 52 gpio-ranges = <&pinctrl 0 0 16>; 56 gpio-ranges = <&pinctrl 0 16 16>; 60 gpio-ranges = <&pinctrl 0 32 16>; 64 gpio-ranges = <&pinctrl 0 48 16>; 68 gpio-ranges = <&pinctrl 0 64 16>; 72 gpio-ranges = <&pinctrl 0 80 16>; 76 gpio-ranges = <&pinctrl 0 96 16>; 80 gpio-ranges = <&pinctrl 0 112 16>; 84 gpio-ranges = <&pinctrl 0 128 16>; 88 gpio-ranges = <&pinctrl 0 144 6>, [all …]
|
H A D | stm32f429-pinctrl.dtsi | 52 gpio-ranges = <&pinctrl 0 0 16>; 56 gpio-ranges = <&pinctrl 0 16 16>; 60 gpio-ranges = <&pinctrl 0 32 16>; 64 gpio-ranges = <&pinctrl 0 48 16>; 68 gpio-ranges = <&pinctrl 0 64 16>; 72 gpio-ranges = <&pinctrl 0 80 16>; 76 gpio-ranges = <&pinctrl 0 96 16>; 80 gpio-ranges = <&pinctrl 0 112 16>; 84 gpio-ranges = <&pinctrl 0 128 16>; 88 gpio-ranges = <&pinctrl 0 144 16>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am33xx-l4.dtsi | 13 ranges = <0x00000000 0x44c00000 0x100000>, /* segment 0 */ 21 ranges = <0x00000000 0x00000000 0x000800>, /* ap 0 */ 31 ranges = <0x00000000 0x00100000 0x004000>, /* ap 4 */ 44 ranges = <0x00000000 0x00000000 0x4000>, 63 ranges = <0x00000000 0x00200000 0x002000>, /* ap 8 */ 102 ranges = <0x0 0x0 0x2000>; 109 ranges = <0 0 0x2000>; 126 ranges = <0x0 0x3000 0x1000>; 134 ranges = <0x0 0x5000 0x1000>; 157 ranges = <0x0 0x7000 0x1000>; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | qcom,pmic-gpio.yaml | 90 gpio-ranges: 97 gpio-reserved-ranges: 116 - gpio-ranges 133 gpio-reserved-ranges: 152 gpio-reserved-ranges: 170 gpio-reserved-ranges: 191 gpio-reserved-ranges: 207 gpio-reserved-ranges: 229 gpio-reserved-ranges: 244 gpio-reserved-ranges: [all …]
|