/u-boot/drivers/power/ |
H A D | sy8106a.c | 15 static u8 sy8106a_mvolt_to_cfg(int mvolt, int min, int max, int div) argument 19 else if (mvolt > max) 20 mvolt = max;
|
H A D | axp305.c | 20 static u8 axp305_mvolt_to_cfg(int mvolt, int min, int max, int div) argument 24 else if (mvolt > max) 25 mvolt = max;
|
H A D | axp152.c | 11 static u8 axp152_mvolt_to_target(int mvolt, int min, int max, int div) argument 15 else if (mvolt > max) 16 mvolt = max;
|
H A D | axp313.c | 36 static u8 mvolt_to_cfg(int mvolt, int min, int max, int div) argument 40 else if (mvolt > max) 41 mvolt = max;
|
/u-boot/include/ |
H A D | rng.h | 39 * @read.max: number of random bytes to read 42 int (*read)(struct udevice *dev, void *data, size_t max);
|
/u-boot/board/asus/grouper/ |
H A D | Makefile | 10 obj-$(CONFIG_DM_PMIC_MAX77663) += grouper-spl-max.o
|
/u-boot/arch/arm/mach-sunxi/dram_timings/ |
H A D | lpddr3_stock.c | 11 u8 tfaw = max(ns_to_t(50), 4); 12 u8 trrd = max(ns_to_t(10), 2); 13 u8 trcd = max(ns_to_t(24), 2); 15 u8 txp = max(ns_to_t(8), 2); 16 u8 twtr = max(ns_to_t(8), 2); 17 u8 trtp = max(ns_to_t(8), 2); 18 u8 twr = max(ns_to_t(15), 3); 19 u8 trp = max(ns_to_t(27), 2);
|
H A D | h616_lpddr3.c | 25 u8 trrd = max(ns_to_t(6), 4); 28 u8 txp = max(ns_to_t(8), 3); 29 u8 trtp = max(ns_to_t(8), 2); 38 u8 tmod = max(ns_to_t(15), 12); 39 u8 tcke = max(ns_to_t(6), 3); 40 u8 tcksrx = max(ns_to_t(12), 4); 41 u8 tcksre = max(ns_to_t(12), 4);
|
H A D | h616_lpddr4_2133.c | 23 u8 trrd = max(ns_to_t(10), 2); 24 u8 trcd = max(ns_to_t(18), 2); 26 u8 txp = max(ns_to_t(8), 2); 27 u8 trtp = max(ns_to_t(8), 4); 34 u8 tmrw = max(ns_to_t(14), 5); 37 u8 tcke = max(ns_to_t(15), 2); 38 u8 tcksrx = max(ns_to_t(2), 2); 39 u8 tcksre = max(ns_to_t(5), 2); 52 u8 twr2rd = max(trrd, (u8)4) + 14;
|
H A D | h6_ddr3_1333.c | 51 u8 trrd = max(ns_to_t(6), 4); /* JEDEC: max(6 ns, 4nCK) */ 54 u8 txp = max(ns_to_t(6), 3); /* JEDEC: max(6 ns, 3nCK) */ 55 u8 twtr = max(ns_to_t(8), 2); /* JEDEC: max(7.5 ns, 4nCK) */ 56 u8 trtp = max(ns_to_t(8), 2); /* JEDEC: max(7.5 ns, 4nCK) */ 68 u8 tmod = max(ns_to_t(15), 12); /* JEDEC: max(1 [all...] |
H A D | h6_lpddr3.c | 29 u8 tfaw = max(ns_to_t(50), 4); 30 u8 trrd = max(ns_to_t(10), 2); 31 u8 trcd = max(ns_to_t(24), 2); 33 u8 txp = max(ns_to_t(8), 2); 34 u8 twtr = max(ns_to_t(8), 2); 35 u8 trtp = max(ns_to_t(8), 2); 36 u8 twr = max(ns_to_t(15), 2);
|
H A D | h616_ddr3_1333.c | 25 u8 trrd = max(ns_to_t(6), 4); /* JEDEC: max(6 ns, 4nCK) */ 28 u8 txp = max(ns_to_t(6), 3); /* JEDEC: max(6 ns, 3nCK) */ 29 u8 trtp = max(ns_to_t(8), 2); /* JEDEC: max(7.5 ns, 4nCK) */ 38 u8 tmod = max(ns_to_t(15), 12); /* JEDEC: max(15 ns, 12nCK) */ 39 u8 tcke = max(ns_to_t(6), 3); /* JEDEC: max(5.62 [all...] |
H A D | ddr2_v3s.c | 12 u8 trrd = max(ns_to_t(10), 2); 16 u8 twtr = max(ns_to_t(8), 2); 17 u8 trtp = max(ns_to_t(8), 2); 18 u8 twr = max(ns_to_t(15), 3);
|
H A D | ddr3_1333.c | 12 u8 trrd = max(ns_to_t(10), 4); 15 u8 txp = max(ns_to_t(8), 3); 16 u8 twtr = max(ns_to_t(8), 4); 17 u8 trtp = max(ns_to_t(8), 4); 18 u8 twr = max(ns_to_t(15), 3);
|
/u-boot/drivers/clk/at91/ |
H A D | sama7g5.c | 159 { .min = 2343750, .max = 1200000000 }, 164 .input = { .min = 12000000, .max = 50000000 }, 195 .output = { .min = 140000000, .max = 200000000 }, 520 { .n = "asrc_clk", .p = "mck1", .id = 30, .r = { .max = 200000000, }, }, 522 { .n = "csi_clk", .p = "mck3", .id = 33, .r = { .max = 266000000, }, }, 523 { .n = "csi2dc_clk", .p = "mck3", .id = 34, .r = { .max = 266000000, }, }, 542 { .n = "isc_clk", .p = "mck3", .id = 56, .r = { .max = 266000000, }, }, 543 { .n = "i2smcc0_clk", .p = "mck1", .id = 57, .r = { .max = 200000000, }, }, 544 { .n = "i2smcc1_clk", .p = "mck1", .id = 58, .r = { .max = 200000000, }, }, 546 { .n = "mcan0_clk", .p = "mck1", .id = 61, .r = { .max [all...] |
/u-boot/lib/zlib/ |
H A D | inftrees.c | 38 unsigned min, max; /* minimum and maximum code lengths */ local 110 for (max = MAXBITS; max >= 1; max--) 111 if (count[max] != 0) break; 112 if (root > max) root = max; 113 if (max == 0) { /* no symbols to code at all */ 133 if (left > 0 && (type == CODES || max != 1)) 172 all codes of length max, [all...] |
H A D | uncompr.c | 36 const uInt max = (uInt)-1; local 65 stream.avail_out = left > (uLong)max ? max : (uInt)left; 70 stream.avail_in = len > (uLong)max ? max : (uInt)len;
|
/u-boot/drivers/ddr/fsl/ |
H A D | lc_common_dimm_params.c | 205 temp1 = max(temp1, dimm_params[i].caslat_lowest_derated); 304 taamin_ps = max(taamin_ps, 307 tckmin_x_ps = max(tckmin_x_ps, 309 trcd_ps = max(trcd_ps, (unsigned int)dimm_params[i].trcd_ps); 310 trp_ps = max(trp_ps, (unsigned int)dimm_params[i].trp_ps); 311 tras_ps = max(tras_ps, (unsigned int)dimm_params[i].tras_ps); 313 trfc1_ps = max(trfc1_ps, 315 trfc2_ps = max(trfc2_ps, 317 trfc4_ps = max(trfc4_ps, 319 trrds_ps = max(trrds_p [all...] |
/u-boot/board/synopsys/hsdk/ |
H A D | env-lib.h | 28 u32 max; member in struct:env_map_common 37 u32 max[NR_CPUS]; member in struct:env_map_percpu
|
H A D | env-lib.c | 79 u32 max = map[index].max; local 90 if (set && (value < min || value > max)) { 93 map[index].env_name, min, max); 96 map[index].env_name, min, max); 110 u32 min, max; local 125 max = map[index].max[i]; 128 if (set && (value < min || value > max)) { 131 map[index].env_name, i, min, max); [all...] |
/u-boot/drivers/usb/gadget/ |
H A D | epautoconf.c | 54 u16 max; local 112 max = 0x7ff & le16_to_cpu(get_unaligned(&desc->wMaxPacketSize)); 116 if (!gadget->is_dualspeed && max > 64) 122 if (ep->maxpacket < max) 124 if (!gadget->is_dualspeed && max > 1023)
|
/u-boot/drivers/i2c/ |
H A D | i2c_core.c | 19 int max = ll_entry_count(struct i2c_adapter, i2c); local 22 if (index >= max) { 23 printf("Error, wrong i2c adapter %d max %d possible\n", 24 index, max); 235 int max; local 245 max = ll_entry_count(struct i2c_adapter, i2c); 246 if (I2C_ADAPTER(bus) >= max) { 247 printf("Error, wrong i2c adapter %d max %d possible\n", 248 I2C_ADAPTER(bus), max);
|
/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun8i_a83t.c | 95 u8 trrd = max(ns_to_t(10), 4); 98 u8 txp = max(ns_to_t(8), 3); 99 u8 twtr = max(ns_to_t(8), 4); 100 u8 trtp = max(ns_to_t(8), 4); 101 u8 twr = max(ns_to_t(15), 3); 146 tfaw = max(ns_to_t(50), 4); 147 trrd = max(ns_to_t(10), 2); 148 trcd = max(ns_to_t(24), 2); 150 txp = max(ns_to_t(8), 2); 151 twtr = max(ns_to_ [all...] |
/u-boot/drivers/button/ |
H A D | button-adc.c | 23 * @max: maximal uV value to consider button as pressed. 29 int max; member in struct:button_adc_priv 50 return (uV >= priv->min && uV < priv->max) ? BUTTON_ON : BUTTON_OFF; 107 priv->max = voltage + (up_threshold - voltage) / 2;
|
/u-boot/include/power/ |
H A D | s5m8767.h | 53 int max; member in struct:sec_voltage_desc
|