/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | portals.c | 31 u32 *range; local 35 range = fdt_getprop_w(blob, off, "ranges", &len); 36 if (range == NULL) { 41 range[0] = 0; 43 range[1] = addr >> 32; 44 range[2] = addr & 0xffffffff; 45 range[3] = size; 47 range[1] = addr & 0xffffffff; 48 range[2] = size; 50 fdt_setprop_inplace(blob, off, "ranges", range, le [all...] |
/u-boot/scripts/kconfig/tests/rand_nested_choice/ |
H A D | __init__.py | 12 for i in range(20):
|
/u-boot/fs/btrfs/ |
H A D | extent-cache.c | 25 struct cache_extent_search_range *range; local 27 range = (struct cache_extent_search_range *)data; 30 if (entry->start + entry->size <= range->start) 32 else if (range->start + range->size <= entry->start) 41 struct cache_extent_search_range range; local 44 range.start = entry->start; 45 range.size = entry->size; 47 return cache_tree_comp_range(node1, (void *)&range); 53 struct cache_extent_search_range *range; local 73 struct cache_extent_search_range range; local 131 struct cache_extent_search_range range; local 148 struct cache_extent_search_range range; local 166 struct cache_extent_search_range range; local 186 struct cache_extent_search_range range; local [all...] |
/u-boot/arch/arm/include/asm/arch-npcm8xx/ |
H A D | rng.h | 14 #define RNGCS_CLKP(range) ((0x0f & (range)) << 2)
|
/u-boot/drivers/gpio/ |
H A D | iproc_gpio.c | 103 struct iproc_gpio_pctrl_map *range = NULL; local 108 range = list_entry(pos, struct iproc_gpio_pctrl_map, node); 109 if (gpio == range->gpio_pin || 110 gpio < (range->gpio_pin + range->npins)) { 111 ret = range->pctrl_pin + (gpio - range->gpio_pin); 131 struct iproc_gpio_pctrl_map *range = NULL; local 141 range = devm_kzalloc(dev, sizeof(*range), GFP_KERNE [all...] |
H A D | sh_pfc.c | 331 struct pinmux_range *range; local 338 range = NULL; 342 range = &gpioc->output; 346 range = &gpioc->input; 350 range = &gpioc->input_pu; 354 range = &gpioc->input_pd; 377 if (range) { 379 * other range exists, so this pin is 384 * and the enums that match the other range. 386 in_range = enum_in_range(enum_id, range); [all...] |
/u-boot/drivers/core/ |
H A D | regmap.c | 42 * do_range_check() - Control whether range checks are done 44 * Returns: true to do range checks, false to skip 46 * This is used to reduce code size on SPL where range checks are known not to 85 struct regmap_range *range; local 95 for (range = map->ranges; count > 0; 96 ptr += 2, range++, count--) { 97 range->start = *ptr; 98 range->size = ptr[1]; 103 for (range = map->ranges; count > 0; 104 ptr += 2, range 131 init_range(ofnode node, struct regmap_range *range, int addr_len, int size_len, int index) argument 219 struct regmap_range *range; local 244 struct regmap_range *range; local 356 struct regmap_range *range; local 424 struct regmap_range *range; local 564 struct regmap_range *range; local [all...] |
/u-boot/arch/arm/mach-k3/ |
H A D | common_fdt.c | 17 u32 range[4], addr, size; local 47 range[0] = 0; 48 range[1] = cpu_to_fdt32(msmc_start >> 32); 49 range[2] = cpu_to_fdt32(msmc_start & 0xffffffff); 50 range[3] = cpu_to_fdt32(msmc_size); 51 ret = fdt_setprop(blob, node, "ranges", range, sizeof(range));
|
/u-boot/drivers/clk/analogbits/ |
H A D | wrpll-cln28hpc.c | 75 * range selection. 84 WARN(1, "%s: post-divider reference freq out of range: %lu", 182 * out of range. 229 int range; local 239 pr_err("%s: PLL input rate is out of range\n", 282 /* Ensure rounding didn't take us out of range */ 305 range = __wrpll_calc_filter_range(post_divr_freq); 306 if (range < 0) 307 return range; 308 c->range [all...] |
/u-boot/include/linux/clk/ |
H A D | analogbits-wrpll-cln28hpc.h | 42 * @range: PLL loop filter range. See below for more information 48 * @divr, @divq, @divq, @range represent what the PLL expects to see 61 u8 range; member in struct:wrpll_cfg
|
/u-boot/drivers/net/ |
H A D | dwmac_socfpga.c | 33 void *range; local 55 range = regmap_get_range(regmap, 0); 56 if (!range) { 57 dev_err(dev, "Failed to get regmap range\n"); 61 pdata->phy_intf = range + args.args[0];
|
/u-boot/drivers/power/regulator/ |
H A D | stpmic1.c | 48 const struct stpmic1_range *range; local 51 for (i = 0, range = output->ranges; 52 i < output->nbranges; i++, range++) { 53 if (sel >= range->min_sel && sel <= range->max_sel) 54 return range->min_uv + 55 (sel - range->min_sel) * range->step; 64 const struct stpmic1_range *range; local 67 for (i = 0, range [all...] |
H A D | sandbox.c | 29 * struct output_range - helper structure type to define the range of output 42 /* BUCK: 1,2 - voltage range */ 48 /* BUCK: 1 - current range */ 60 /* LDO: 1,2 - voltage range */ 66 /* LDO: 1 - current range */ 80 struct output_range *range) 99 ret = REG2VAL(range[dev->driver_data - 1].min, 100 range[dev->driver_data - 1].step, 107 struct output_range *range, int value) 120 max_value = range[de 79 out_get_value(struct udevice *dev, int output_count, int reg_type, struct output_range *range) argument 106 out_set_value(struct udevice *dev, int output_count, int reg_type, struct output_range *range, int value) argument [all...] |
/u-boot/board/imgtec/boston/ |
H A D | config.mk | 6 -fill 0x00 -within $< -binary -range-pad 16 \
|
/u-boot/drivers/clk/at91/ |
H A D | clk-peripheral.c | 41 struct clk_range range; member in struct:clk_sam9x5_peripheral 181 if (periph->id < PERIPHERAL_ID_MIN || !periph->range.max) { 188 if (periph->range.max && rate > periph->range.max) 219 u32 id, const struct clk_range *range) 225 if (!base || !layout || !name || !parent_name || !range) 235 periph->range = *range; 216 at91_clk_register_sam9x5_peripheral(void __iomem *base, const struct clk_pcr_layout *layout, const char *name, const char *parent_name, u32 id, const struct clk_range *range) argument
|
H A D | clk-generic.c | 29 struct clk_range range; member in struct:clk_gck 97 if (gck->range.max && rate > gck->range.max) 147 const struct clk_range *range) 155 !clk_mux_table || !mux_table || !range) 164 gck->range = *range; 142 at91_clk_register_generic(void __iomem *base, const struct clk_pcr_layout *layout, const char *name, const char * const *parent_names, const u32 *clk_mux_table, const u32 *mux_table, u8 num_parents, u8 id, const struct clk_range *range) argument
|
/u-boot/cmd/ti/ |
H A D | ddr3.c | 237 u32 start_addr, end_addr, range, ecc_ctrl; local 241 range = ECC_START_ADDR1 | (ECC_END_ADDR1 << 16); 244 range = readl(&emif->emif_ecc_address_range_1); 247 /* Check in ecc address range 1 */ 249 start_addr = ((range & EMIF_ECC_REG_ECC_START_ADDR_MASK) << 16) 251 end_addr = (range & EMIF_ECC_REG_ECC_END_ADDR_MASK) + 0xFFFF + 254 /* addr within ecc address range 1 */ 258 /* Check in ecc address range 2 */ 260 range = readl(&emif->emif_ecc_address_range_2); 261 start_addr = ((range [all...] |
/u-boot/include/ |
H A D | regmap.h | 68 * struct regmap_range - a register map range 87 * @r_start: If specified, the regmap is created with one range 90 * @r_size: Same as above for the range size 183 * regmap_raw_write_range() - Write a value of specified length to a range of a 187 * @range_num: Number of the range in the regmap to write to 198 * regmap_raw_read_range() - Read a value of specified length from a range of a 202 * @range_num: Number of the range in the regmap to write to 214 * regmap_range_set() - Set a value in a regmap range described by a struct 216 * @range: Range of the regmap in which a value should be set 217 * @type: Structure type that describes the memory layout of the regmap range [all...] |
/u-boot/test/py/tests/ |
H A D | test_mmc.py | 45 for x in range(0, controllers): 59 for x in range(0, controllers): 82 for x in range(0, controllers): 103 for x in range(0, controllers): 127 for x in range(0, controllers): 144 for x in range(0, controllers): 186 for x in range(0, controllers): 227 for x in range(0, controllers): 295 for x in range(0, controllers): 327 for x in range( [all...] |
H A D | test_usb.py | 127 for i in range(0, storage_device + controllers - 1): 159 for key in range(int(storage_device)): 162 for x in range(int(storage_device)): 185 for key in range(int(storage_device)): 189 for x in range(0, storage_device): 223 for i in range(0, storage_device): 264 for x in range(0, int(storage_device)): 301 for x in range(0, int(storage_device)): 364 for x in range(0, int(storage_device)): 394 for x in range( [all...] |
/u-boot/tools/binman/etype/ |
H A D | intel_descriptor.py | 18 REGION_PDATA) = range(5) 70 for i in range(MAX_REGIONS):
|
/u-boot/lib/lzma/ |
H A D | LzmaDec.c | 19 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 21 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 22 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits)); 23 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); 49 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 51 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 52 #define UPDATE_0_CHECK range = bound; 53 #define UPDATE_1_CHECK range 152 UInt32 range = p->range; local 336 range >>= 1; local 504 UInt32 range = p->range; local 668 range >>= 1; local [all...] |
/u-boot/drivers/ddr/marvell/a38x/ |
H A D | mv_ddr4_mpr_pda_if.c | 52 u32 range = (vref >= 6000) ? 0 : 1; /* if vref is >= 60%, use upper range */ local 56 if (range == 0) 172 val = (0x2 << 10) | (0x0 << 7) | (range << 6) | tap; 479 u32 range, vdq_tv; local 481 /* disable and then enable the training with a new range */ 487 range = 1; 490 range = 0; 496 status = mv_ddr4_vref_set(dev_num, if_id, access_type, range, vdq_tv, 0); 500 status = (mv_ddr4_vref_set(dev_num, if_id, access_type, range, vdq_t 523 mv_ddr4_vref_set(u8 dev_num, u8 if_id, enum hws_access_type access_type, u32 range, u32 vdq_tv, u8 vdq_training_ena) argument [all...] |
/u-boot/drivers/pinctrl/renesas/ |
H A D | pfc.c | 77 const struct sh_pfc_pin_range *range = &pfc->ranges[i]; local 79 if (pin <= range->end) 80 return pin >= range->start 81 ? offset + pin - range->start : -1; 83 offset += range->end - range->start + 1; 279 const struct pinmux_range *range; local 285 range = NULL; 289 range = &pfc->info->output; 293 range 437 struct sh_pfc_pin_range *range; local [all...] |
/u-boot/test/py/ |
H A D | u_boot_spawn.py | 157 for pi in range(len(patterns)): 166 for pi in range(len(patterns)): 230 for _ in range(100):
|