/u-boot/post/drivers/ |
A D | rtc.c | 31 static int rtc_post_skip (ulong * diff) in rtc_post_skip() argument 51 *diff = start2 - start1; in rtc_post_skip() 71 ulong diff; in rtc_post_test() local 87 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 94 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 100 if (diff < 950 || diff > 1050) { in rtc_post_test() 109 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 131 if (rtc_post_skip (&diff) != 0) { in rtc_post_test() 163 if (rtc_post_skip (&diff) != 0) { in rtc_post_test()
|
/u-boot/arch/powerpc/lib/ |
A D | extable.c | 37 long diff; in search_one_table() local 39 diff = first->insn - value; in search_one_table() 40 if (diff == 0) in search_one_table()
|
/u-boot/arch/arm/cpu/sa1100/ |
A D | timer.c | 31 signed long diff; in __udelay() local 46 diff = endtime - now; in __udelay() 47 } while (diff >= 0); in __udelay()
|
/u-boot/test/ |
A D | time_ut.c | 15 ulong base, start, next, diff; in test_get_timer() local 37 diff = get_timer(base); in test_get_timer() 38 if (diff != iter && diff != iter + 1) { in test_get_timer() 40 __func__, diff, iter); in test_get_timer()
|
/u-boot/arch/arm/cpu/arm920t/imx/ |
A D | timer.c | 55 signed long diff; in __udelay() local 59 diff = endtime - now; in __udelay() 60 } while (diff >= 0); in __udelay()
|
/u-boot/arch/arm/mach-at91/arm920t/ |
A D | clock.c | 44 unsigned i, div = 0, mul = 0, diff = 1 << 30; in at91_pll_calc() local 75 if (diff > diff1) { in at91_pll_calc() 76 diff = diff1; in at91_pll_calc() 79 if (diff == 0) in at91_pll_calc() 83 if (i == 256 && diff > (out_freq >> 5)) in at91_pll_calc()
|
A D | timer.c | 93 signed long diff; in __udelay() local 103 diff = endtime - now; in __udelay() 104 } while (diff >= 0); in __udelay()
|
/u-boot/board/freescale/common/ |
A D | ics307_clk.c | 54 unsigned long tmp_out, diff, result = 0; in ics307_sysclk_calculator() local 70 diff = max(out_freq, tmp_out) - min(out_freq, tmp_out); in ics307_sysclk_calculator() 76 if (diff * 1000 / out_freq > 1) in ics307_sysclk_calculator()
|
/u-boot/drivers/video/sunxi/ |
A D | lcdc.c | 216 int value, n, m, min_m, max_m, diff, step; in lcdc_pll_set() local 252 diff = dotclock - value; in lcdc_pll_set() 253 if (diff < best_diff) { in lcdc_pll_set() 254 best_diff = diff; in lcdc_pll_set() 270 diff = dotclock - value; in lcdc_pll_set() 271 if (diff < best_diff) { in lcdc_pll_set() 272 best_diff = diff; in lcdc_pll_set()
|
/u-boot/arch/arm/mach-at91/arm926ejs/ |
A D | clock.c | 44 unsigned i, div = 0, mul = 0, diff = 1 << 30; in at91_pll_calc() local 83 if (diff > diff1) { in at91_pll_calc() 84 diff = diff1; in at91_pll_calc() 87 if (diff == 0) in at91_pll_calc() 91 if (i == 256 && diff > (out_freq >> 5)) in at91_pll_calc()
|
/u-boot/drivers/serial/ |
A D | serial_ar933x.c | 71 int diff; in ar933x_serial_get_scale_step() local 81 diff = abs(baudrate - baud); in ar933x_serial_get_scale_step() 82 if (diff < min_diff) { in ar933x_serial_get_scale_step() 83 min_diff = diff; in ar933x_serial_get_scale_step()
|
/u-boot/arch/arm/mach-sunxi/ |
A D | clock_sun6i.c | 223 unsigned int k, m, n, value, diff; in clock_set_mipi_pll() local 239 diff = clk - value; in clock_set_mipi_pll() 240 if (diff < best_diff) { in clock_set_mipi_pll() 241 best_diff = diff; in clock_set_mipi_pll() 246 if (diff == 0) in clock_set_mipi_pll()
|
/u-boot/tools/buildman/ |
A D | builder.py | 938 if diff > 0: 940 elif diff < 0: 942 delta.append([diff, name]) 956 for diff, name in delta: 957 if diff: 979 diff = result[name] 982 if diff != 0: 1049 if diff: 1077 total += diff 1088 diff = totals[name] [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | davinci_nand.c | 232 u_int32_t diff = ecc_calc ^ ecc_nand; in nand_davinci_correct_data() local 234 if (diff) { in nand_davinci_correct_data() 235 if ((((diff >> 12) ^ diff) & 0xfff) == 0xfff) { in nand_davinci_correct_data() 237 if ((diff >> (12 + 3)) < this->ecc.size) { in nand_davinci_correct_data() 238 uint8_t find_bit = 1 << ((diff >> 12) & 7); in nand_davinci_correct_data() 239 uint32_t find_byte = diff >> (12 + 3); in nand_davinci_correct_data() 249 } else if (!(diff & (diff - 1))) { in nand_davinci_correct_data()
|
/u-boot/scripts/ |
A D | coccicheck | 234 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || \ 238 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff || exit 1 241 $FLAGS --cocci-file $COCCI $OPT $OPTIONS --no-show-diff && \
|
/u-boot/tools/patman/test/ |
A D | 0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch | 49 diff --git a/fs/fat/fat.c b/fs/fat/fat.c 58 diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c 67 diff --git a/lib/fdtdec.c b/lib/fdtdec.c
|
/u-boot/drivers/fpga/ |
A D | zynqmppl.c | 178 ulong diff; in zynqmp_validate_bitstream() local 186 diff = (ulong)buf_start - (ulong)buf; in zynqmp_validate_bitstream() 187 if (diff) { in zynqmp_validate_bitstream() 189 __func__, diff); in zynqmp_validate_bitstream()
|
/u-boot/net/ |
A D | link_local.c | 225 unsigned diff = deadline_ms - MONOTONIC_MS(); in link_local_receive_arp() local 226 if ((int)(diff) < 0) { in link_local_receive_arp() 234 timeout_ms = diff | 1; /* never 0 */ in link_local_receive_arp()
|
/u-boot/drivers/clk/ |
A D | clk-cdce9xx.c | 186 u32 diff; in cdce9xx_clk_set_rate() local 194 diff = rate - parent_rate / pdiv; in cdce9xx_clk_set_rate() 196 if (rate - parent_rate / (pdiv + 1) < diff) in cdce9xx_clk_set_rate()
|
/u-boot/drivers/power/regulator/ |
A D | pwm_regulator.c | 55 int diff = max_uV - min_uV; in pwm_voltage_to_duty_cycle_percentage() local 57 return ((req_uV * 100) - (min_uV * 100)) / diff; in pwm_voltage_to_duty_cycle_percentage()
|
/u-boot/drivers/spi/ |
A D | cf_spi.c | 237 int i, j, pbrcnt, brcnt, diff, tmp, dbr = 0; in coldfire_spi_set_speed() local 284 diff = tmp - cfspi->baudrate; in coldfire_spi_set_speed() 286 diff = cfspi->baudrate - tmp; in coldfire_spi_set_speed() 288 if (diff < bestmatch) { in coldfire_spi_set_speed() 289 bestmatch = diff; in coldfire_spi_set_speed()
|
/u-boot/drivers/i2c/ |
A D | ocores_i2c.c | 407 int diff; in ocores_init() local 417 diff = bus->ip_clk_khz / (5 * (prescale + 1)) - bus->bus_clk_khz; in ocores_init() 418 if (abs(diff) > bus->bus_clk_khz / 10) { in ocores_init() 475 int diff; in ocores_i2c_set_bus_speed() local 484 diff = bus->ip_clk_khz / (5 * (prescale + 1)) - speed; in ocores_i2c_set_bus_speed() 485 if (abs(diff) > speed / 10) { in ocores_i2c_set_bus_speed()
|
/u-boot/cmd/ |
A D | efi.c | 66 int64_t diff = desc1->physical_start - desc2->physical_start; in h_cmp_entry() local 72 return diff < 0 ? -1 : diff > 0 ? 1 : 0; in h_cmp_entry()
|
/u-boot/arch/arm/mach-nexell/ |
A D | timer.c | 264 signed long diff; in udelay_masked() local 284 diff = endtime - now; in udelay_masked() 285 } while (diff >= 0); in udelay_masked()
|
/u-boot/common/ |
A D | autoboot.c | 61 int diff = 0; in slow_equals() local 65 diff |= a[i] ^ b[i]; in slow_equals() 67 return diff == 0; in slow_equals()
|