| /u-boot/fs/btrfs/ |
| A D | extent-cache.c | 32 else if (range->start + range->size <= entry->start) in cache_tree_comp_range() 45 range.size = entry->size; in cache_tree_comp_nodes() 64 else if (range->start + range->size <= entry->start) in cache_tree_comp_range2() 133 range.start = start; in lookup_cache_extent() 134 range.size = size; in lookup_cache_extent() 151 range.start = start; in lookup_cache_extent2() 152 range.size = size; in lookup_cache_extent2() 168 range.start = start; in search_cache_extent() 169 range.size = 1; in search_cache_extent() 189 range.start = start; in search_cache_extent2() [all …]
|
| /u-boot/arch/powerpc/cpu/mpc85xx/ |
| A D | portals.c | 31 u32 *range; in fdt_portal() local 35 range = fdt_getprop_w(blob, off, "ranges", &len); in fdt_portal() 36 if (range == NULL) { in fdt_portal() 41 range[0] = 0; in fdt_portal() 43 range[1] = addr >> 32; in fdt_portal() 44 range[2] = addr & 0xffffffff; in fdt_portal() 45 range[3] = size; in fdt_portal() 47 range[1] = addr & 0xffffffff; in fdt_portal() 48 range[2] = size; in fdt_portal() 50 fdt_setprop_inplace(blob, off, "ranges", range, len); in fdt_portal()
|
| /u-boot/drivers/core/ |
| A D | regmap.c | 85 struct regmap_range *range; in regmap_init_mem_plat() local 97 range->start = *ptr; in regmap_init_mem_plat() 98 range->size = ptr[1]; in regmap_init_mem_plat() 105 range->start = *ptr; in regmap_init_mem_plat() 106 range->size = ptr[1]; in regmap_init_mem_plat() 148 range->start = r.start; in init_range() 163 range->size = sz; in init_range() 225 range = &map->ranges[0]; in regmap_init_mem_range() 226 range->start = r_start; in regmap_init_mem_range() 227 range->size = r_size; in regmap_init_mem_range() [all …]
|
| /u-boot/drivers/gpio/ |
| A D | iproc_gpio.c | 103 struct iproc_gpio_pctrl_map *range = NULL; in iproc_get_pctrl_from_gpio() local 109 if (gpio == range->gpio_pin || in iproc_get_pctrl_from_gpio() 110 gpio < (range->gpio_pin + range->npins)) { in iproc_get_pctrl_from_gpio() 111 ret = range->pctrl_pin + (gpio - range->gpio_pin); in iproc_get_pctrl_from_gpio() 131 struct iproc_gpio_pctrl_map *range = NULL; in iproc_get_gpio_pctrl_mapping() local 141 range = devm_kzalloc(dev, sizeof(*range), GFP_KERNEL); in iproc_get_gpio_pctrl_mapping() 142 if (!range) in iproc_get_gpio_pctrl_mapping() 145 range->gpio_pin = args.args[0]; in iproc_get_gpio_pctrl_mapping() 146 range->pctrl_pin = args.args[1]; in iproc_get_gpio_pctrl_mapping() 147 range->npins = args.args[2]; in iproc_get_gpio_pctrl_mapping() [all …]
|
| A D | sh_pfc.c | 331 struct pinmux_range *range; in pinmux_config_gpio() local 338 range = NULL; in pinmux_config_gpio() 342 range = &gpioc->output; in pinmux_config_gpio() 346 range = &gpioc->input; in pinmux_config_gpio() 350 range = &gpioc->input_pu; in pinmux_config_gpio() 354 range = &gpioc->input_pd; in pinmux_config_gpio() 377 if (range) { in pinmux_config_gpio() 386 in_range = enum_in_range(enum_id, range); in pinmux_config_gpio() 393 if (in_range && enum_id == range->force) in pinmux_config_gpio()
|
| /u-boot/arch/arm/dts/ |
| A D | sama5d2.dtsi | 101 #atmel,pll-clk-output-range-cells = <4>; 247 atmel,clk-output-range = <0 83000000>; 253 atmel,clk-output-range = <0 83000000>; 269 atmel,clk-output-range = <0 83000000>; 276 atmel,clk-output-range = <0 83000000>; 282 atmel,clk-output-range = <0 83000000>; 288 atmel,clk-output-range = <0 83000000>; 294 atmel,clk-output-range = <0 83000000>; 300 atmel,clk-output-range = <0 83000000>; 306 atmel,clk-output-range = <0 83000000>; [all …]
|
| A D | hi3798cv200.dtsi | 186 &range 9 4 2 187 &range 13 1 0 188 &range 14 1 1 189 &range 15 1 0 191 &range 21 3 1 193 &range 28 2 2 194 &range 86 1 1 195 &range 87 1 0 197 &range 34 3 0 198 &range 37 1 2 [all …]
|
| A D | at91sam9g20.dtsi | 44 atmel,clk-input-range = <2000000 32000000>; 57 atmel,clk-input-range = <2000000 32000000>; 62 atmel,clk-output-range = <0 133000000>;
|
| A D | armada-xp-mv78460.dtsi | 79 bus-range = <0x00 0xff>; 125 bus-range = <0x00 0xff>; 144 bus-range = <0x00 0xff>; 163 bus-range = <0x00 0xff>; 182 bus-range = <0x00 0xff>; 201 bus-range = <0x00 0xff>; 220 bus-range = <0x00 0xff>; 239 bus-range = <0x00 0xff>; 258 bus-range = <0x00 0xff>; 277 bus-range = <0x00 0xff>; [all …]
|
| A D | armada-xp-mv78260.dtsi | 62 bus-range = <0x00 0xff>; 104 bus-range = <0x00 0xff>; 123 bus-range = <0x00 0xff>; 142 bus-range = <0x00 0xff>; 161 bus-range = <0x00 0xff>; 180 bus-range = <0x00 0xff>; 199 bus-range = <0x00 0xff>; 218 bus-range = <0x00 0xff>; 237 bus-range = <0x00 0xff>; 256 bus-range = <0x00 0xff>;
|
| /u-boot/drivers/power/regulator/ |
| A D | stpmic1.c | 48 const struct stpmic1_range *range; in stpmic1_output_find_uv() local 53 if (sel >= range->min_sel && sel <= range->max_sel) in stpmic1_output_find_uv() 54 return range->min_uv + in stpmic1_output_find_uv() 55 (sel - range->min_sel) * range->step; in stpmic1_output_find_uv() 69 if (uv == range->min_uv && !range->step) in stpmic1_output_find_sel() 70 return range->min_sel; in stpmic1_output_find_sel() 72 if (uv >= range->min_uv && in stpmic1_output_find_sel() 73 uv <= range->min_uv + in stpmic1_output_find_sel() 74 (range->max_sel - range->min_sel) * range->step) in stpmic1_output_find_sel() 75 return range->min_sel + in stpmic1_output_find_sel() [all …]
|
| A D | sandbox.c | 79 struct output_range *range) in out_get_value() argument 98 ret = REG2VAL(range[dev->driver_data - 1].min, in out_get_value() 99 range[dev->driver_data - 1].step, in out_get_value() 106 struct output_range *range, int value) in out_set_value() argument 119 max_value = range[dev->driver_data - 1].max; in out_set_value() 126 reg_val = VAL2REG(range[dev->driver_data - 1].min, in out_set_value() 127 range[dev->driver_data - 1].step, in out_set_value()
|
| /u-boot/drivers/clk/analogbits/ |
| A D | wrpll-cln28hpc.c | 228 int range; in wrpll_configure_for_rate() local 304 range = __wrpll_calc_filter_range(post_divr_freq); in wrpll_configure_for_rate() 305 if (range < 0) in wrpll_configure_for_rate() 306 return range; in wrpll_configure_for_rate() 307 c->range = range; in wrpll_configure_for_rate()
|
| /u-boot/drivers/clk/at91/ |
| A D | clk-peripheral.c | 41 struct clk_range range; member 181 if (periph->id < PERIPHERAL_ID_MIN || !periph->range.max) { in clk_sam9x5_peripheral_set_rate() 188 if (periph->range.max && rate > periph->range.max) in clk_sam9x5_peripheral_set_rate() 219 u32 id, const struct clk_range *range) in at91_clk_register_sam9x5_peripheral() argument 225 if (!base || !layout || !name || !parent_name || !range) in at91_clk_register_sam9x5_peripheral() 235 periph->range = *range; in at91_clk_register_sam9x5_peripheral()
|
| A D | clk-generic.c | 29 struct clk_range range; member 97 if (gck->range.max && rate > gck->range.max) in clk_gck_set_rate() 147 const struct clk_range *range) in at91_clk_register_generic() argument 155 !clk_mux_table || !mux_table || !range) in at91_clk_register_generic() 164 gck->range = *range; in at91_clk_register_generic()
|
| /u-boot/cmd/ti/ |
| A D | ddr3.c | 237 u32 start_addr, end_addr, range, ecc_ctrl; in is_addr_valid() local 241 range = ECC_START_ADDR1 | (ECC_END_ADDR1 << 16); in is_addr_valid() 244 range = readl(&emif->emif_ecc_address_range_1); in is_addr_valid() 249 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) in is_addr_valid() 251 end_addr = (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0xFFFF + in is_addr_valid() 260 range = readl(&emif->emif_ecc_address_range_2); in is_addr_valid() 261 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) in is_addr_valid() 263 end_addr = (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0xFFFF + in is_addr_valid()
|
| /u-boot/arch/arm/include/asm/arch-npcm8xx/ |
| A D | rng.h | 14 #define RNGCS_CLKP(range) ((0x0f & (range)) << 2) argument
|
| /u-boot/drivers/ddr/marvell/a38x/ |
| A D | mv_ddr4_mpr_pda_if.c | 52 u32 range = (vref >= 6000) ? 0 : 1; /* if vref is >= 60%, use upper range */ in mv_ddr4_mode_regs_init() local 56 if (range == 0) in mv_ddr4_mode_regs_init() 172 val = (0x2 << 10) | (0x0 << 7) | (range << 6) | tap; in mv_ddr4_mode_regs_init() 479 u32 range, vdq_tv; in mv_ddr4_vref_tap_set() local 487 range = 1; in mv_ddr4_vref_tap_set() 490 range = 0; in mv_ddr4_vref_tap_set() 496 status = mv_ddr4_vref_set(dev_num, if_id, access_type, range, vdq_tv, 0); in mv_ddr4_vref_tap_set() 500 status = (mv_ddr4_vref_set(dev_num, if_id, access_type, range, vdq_tv, 1)); in mv_ddr4_vref_tap_set() 509 status = mv_ddr4_vref_set(dev_num, if_id, access_type, range, vdq_tv, 0); in mv_ddr4_vref_tap_set() 524 u32 range, u32 vdq_tv, u8 vdq_training_ena) in mv_ddr4_vref_set() argument [all …]
|
| /u-boot/drivers/net/ |
| A D | dwmac_socfpga.c | 33 void *range; in dwmac_socfpga_of_to_plat() local 55 range = regmap_get_range(regmap, 0); in dwmac_socfpga_of_to_plat() 56 if (!range) { in dwmac_socfpga_of_to_plat() 61 pdata->phy_intf = range + args.args[0]; in dwmac_socfpga_of_to_plat()
|
| /u-boot/drivers/led/ |
| A D | Kconfig | 156 range 2 10 161 Values range: 2 - 10 191 range 2 10 196 Values range: 2 - 10 226 range 2 10 231 Values range: 2 - 10 261 range 2 10 266 Values range: 2 - 10 296 range 2 10 301 Values range: 2 - 10 [all …]
|
| /u-boot/lib/lzma/ |
| A D | LzmaDec.c | 20 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 53 #define UPDATE_0_CHECK range = bound; 153 UInt32 range = p->range; in LzmaDec_DecodeReal() local 343 range >>= 1; in LzmaDec_DecodeReal() 347 code -= range; in LzmaDec_DecodeReal() 350 code += range & t; in LzmaDec_DecodeReal() 440 p->range = range; in LzmaDec_DecodeReal() 515 UInt32 range = p->range; in LzmaDec_TryDummy() local 679 range >>= 1; in LzmaDec_TryDummy() 680 code -= range & (((code - range) >> 31) - 1); in LzmaDec_TryDummy() [all …]
|
| /u-boot/board/ti/common/ |
| A D | Kconfig | 9 range 0 8 15 range 0 0xff 21 range 0 8
|
| /u-boot/board/freescale/mx6memcal/ |
| A D | Kconfig | 81 range 1 2 134 range 0 7 152 range 0 7 164 range 1 2 173 range 0 2 183 range 0 7 193 range 0 7 202 range 0 3 215 range 0 7
|
| /u-boot/drivers/pinctrl/renesas/ |
| A D | pfc.c | 79 if (pin <= range->end) in sh_pfc_get_pin_index() 80 return pin >= range->start in sh_pfc_get_pin_index() 83 offset += range->end - range->start + 1; in sh_pfc_get_pin_index() 279 const struct pinmux_range *range; in sh_pfc_config_mux() local 285 range = NULL; in sh_pfc_config_mux() 289 range = &pfc->info->output; in sh_pfc_config_mux() 293 range = &pfc->info->input; in sh_pfc_config_mux() 437 struct sh_pfc_pin_range *range; in sh_pfc_init_ranges() local 472 range = pfc->ranges; in sh_pfc_init_ranges() 483 range++; in sh_pfc_init_ranges() [all …]
|
| /u-boot/include/ |
| A D | regmap.h | 222 #define regmap_range_set(map, range, type, member, val) \ argument 225 regmap_raw_write_range(map, range, offsetof(type, member), \ 249 #define regmap_range_get(map, range, type, member, valp) \ argument 250 regmap_raw_read_range(map, range, offsetof(type, member), \
|