Home
last modified time | relevance | path

Searched +full:- +full:e (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/rk3399_rockchip-uboot/scripts/kconfig/
H A Dexpr.c2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
15 static struct expr *expr_eliminate_yn(struct expr *e);
19 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local
20 e->type = E_SYMBOL; in expr_alloc_symbol()
21 e->left.sym = sym; in expr_alloc_symbol()
22 return e; in expr_alloc_symbol()
27 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local
28 e->type = type; in expr_alloc_one()
29 e->left.expr = ce; in expr_alloc_one()
30 return e; in expr_alloc_one()
[all …]
H A Dexpr.h2 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
49 #define EXPR_NOT(dep) (2-(dep))
51 #define expr_list_for_each_sym(l, e, s) \ argument
52 for (e = (l); e && (s = e->right.sym); e = e->left.expr)
91 … i < SYMBOL_HASHSIZE; i++) for (sym = symbol_hash[i]; sym; sym = sym->next) if (sym->type != S_OTH…
98 #define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
147 struct property *next; /* next property - null if last */
150 const char *text; /* the prompt value - P_PROMPT, P_MENU, P_COMMENT */
161 for (st = sym->prop; st; st = st->next) \
162 if (st->type == (tok))
[all …]
/rk3399_rockchip-uboot/drivers/power/dvfs/
H A Drockchip_wtemp_dvfs.c1 // SPDX-License-Identifier: GPL-2.0
21 * 1. U-Boot parse cpu/dmc opp table from kernel dtb, anyone of
22 * "rockchip,low-temp = <...>" and "rockchip,high-temp = <...>" present in
25 * 1.1. When temperature trigger "rockchip,low-temp", increase 50mv voltage
26 * as target voltage. If target voltage is over "rockchip,max-volt",
27 * just set "rockchip,max-volt" as target voltage and lower 2 level freq,
29 * 1.2. When temperature trigger "rockchip,high-temp", just apply opp table[0]
32 * 2. U-Boot parse cpu/dmc thermal zone "trip-point-0" temperature from kernel
43 * uboot-wide-temperature {
45 * compatible = "rockchip,uboot-wide-temperature";
[all …]
/rk3399_rockchip-uboot/board/freescale/common/
H A Dsys_eeprom.c2 * Copyright 2006, 2008-2009, 2011 Freescale Semiconductor
7 * SPDX-License-Identifier: GPL-2.0+
21 /* some boards with non-256-bytes EEPROM have special define */
22 /* for MAX_NUM_PORTS in board-specific file */
36 u8 id[4]; /* 0x00 - 0x03 EEPROM Tag 'CCID' */
39 u8 sn[10]; /* 0x06 - 0x0F Serial Number*/
40 u8 errata[2]; /* 0x10 - 0x11 Errata Level */
41 u8 date[6]; /* 0x12 - 0x17 Build Date */
42 u8 res_0[40]; /* 0x18 - 0x3f Reserved */
45 u8 mac[MAX_NUM_PORTS][6]; /* 0x42 - 0x71 MAC addresses */
[all …]
/rk3399_rockchip-uboot/cmd/
H A Dtftp_update.c4 * SPDX-License-Identifier: GPL-2.0+
12 #include <u-boot/sha256.h>
22 #define TFTPUD_E(fmt, args...) printf("[TFTPUD-ERROR]: "fmt, ##args)
80 if (ret == -EINVAL) { in tftpfw_version_get()
109 struct image_element *e; in update_cleanup() local
112 list_for_each(node, &hdr->images) { in update_cleanup()
113 e = list_entry(node, struct image_element, node); in update_cleanup()
114 free(e); in update_cleanup()
117 if (hdr->shared_buf) in update_cleanup()
118 free(hdr->shared_buf); in update_cleanup()
[all …]
/rk3399_rockchip-uboot/board/varisys/common/
H A Dsys_eeprom.c3 * Copyright 2006, 2008-2009, 2011 Freescale Semiconductor
11 * SPDX-License-Identifier: GPL-2.0+
34 u8 id[4]; /* 0x00 - 0x03 EEPROM Tag 'NXID' */
35 u8 sn[12]; /* 0x04 - 0x0F Serial Number */
36 u8 errata[5]; /* 0x10 - 0x14 Errata Level */
37 u8 date[6]; /* 0x15 - 0x1a Build Date */
39 u32 version; /* 0x1c - 0x1f NXID Version */
40 u8 tempcal[8]; /* 0x20 - 0x27 Temperature Calibration Factors */
41 u8 tempcalsys[2]; /* 0x28 - 0x29 System Temperature Calibration Factors */
43 u8 res_1[21]; /* 0x2b - 0x3f Reserved */
[all …]
/rk3399_rockchip-uboot/include/
H A Dansi.h5 * SPDX-License-Identifier: GPL-2.0+
12 #define ANSI_CURSOR_UP "\e[%dA"
13 #define ANSI_CURSOR_DOWN "\e[%dB"
14 #define ANSI_CURSOR_FORWARD "\e[%dC"
15 #define ANSI_CURSOR_BACK "\e[%dD"
16 #define ANSI_CURSOR_NEXTLINE "\e[%dE"
17 #define ANSI_CURSOR_PREVIOUSLINE "\e[%dF"
18 #define ANSI_CURSOR_COLUMN "\e[%dG"
19 #define ANSI_CURSOR_POSITION "\e[%d;%dH"
20 #define ANSI_CURSOR_SHOW "\e[?25h"
[all …]
/rk3399_rockchip-uboot/lib/
H A Dsha1.c4 * FIPS-180-1 compliant SHA-1 implementation
6 * Copyright (C) 2003-2006 Christophe Devine
8 * SPDX-License-Identifier: LGPL-2.1
11 * The SHA-1 standard was published by NIST in 1993.
13 * http://www.itl.nist.gov/fipspubs/fip180-1.htm
28 #include <u-boot/sha1.h>
45 * 32-bit integer manipulation macros (big endian)
65 * SHA-1 context setup
74 ctx->cdev = NULL; in sha1_starts()
75 if (ctx->length) { in sha1_starts()
[all …]
H A Dsha256.c2 * FIPS-180-2 compliant SHA-256 implementation
4 * Copyright (C) 2001-2003 Christophe Devine
6 * SPDX-License-Identifier: GPL-2.0+
17 #include <u-boot/sha256.h>
33 * 32-bit integer manipulation macros (big endian)
59 ctx->cdev = NULL; in sha256_starts()
60 if (ctx->length) { in sha256_starts()
61 ctx->cdev = crypto_get_device(algo); in sha256_starts()
62 if (ctx->cdev) { in sha256_starts()
64 cctx.length = ctx->length; in sha256_starts()
[all …]
H A Dnet_utils.c4 * Copyright 1994 - 2000 Neil Russell.
7 * Copyright 2000-2002 Wolfgang Denk, wd@denx.de
10 * SPDX-License-Identifier: GPL-2.0+
18 char *e; in string_to_ip() local
26 ulong val = s ? simple_strtoul(s, &e, 10) : 0; in string_to_ip()
31 if (i != 3 && *e != '.') { in string_to_ip()
38 s = (*e) ? e+1 : e; in string_to_ip()
/rk3399_rockchip-uboot/drivers/mtd/ubi/
H A Dwl.c4 * SPDX-License-Identifier: GPL-2.0+
10 * UBI wear-leveling sub-system.
12 * This sub-system is responsible for wear-leveling. It works in terms of
14 * eraseblocks, volumes, etc. From this sub-system's perspective all physical
15 * eraseblocks are of two types - used and free. Used physical eraseblocks are
22 * When physical eraseblocks are returned to the WL sub-system by means of the
24 * done asynchronously in context of the per-UBI device background thread,
25 * which is also managed by the WL sub-system.
27 * The wear-leveling is ensured by means of moving the contents of used
31 * If the WL sub-system fails to erase a physical eraseblock, it marks it as
[all …]
H A Dfastmap-wl.c6 * SPDX-License-Identifier: GPL-2.0+
11 * update_fastmap_work_fn - calls ubi_update_fastmap from a work queue
25 spin_lock(&ubi->wl_lock); in update_fastmap_work_fn()
26 ubi->fm_work_scheduled = 0; in update_fastmap_work_fn()
27 spin_unlock(&ubi->wl_lock); in update_fastmap_work_fn()
31 * find_anchor_wl_entry - find wear-leveling entry to used as anchor PEB.
32 * @root: the RB-tree where to look for
37 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local
40 ubi_rb_for_each_entry(p, e, root, u.rb) { in find_anchor_wl_entry()
41 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry()
[all …]
/rk3399_rockchip-uboot/net/
H A Dbootp.c2 * Based on LiMon - BOOTP.
8 * Copyright 2000-2004 Wolfgang Denk, wd@denx.de
29 * counter of fixed-length timeout periods. TIMEOUT_COUNT represents
97 size_t size = sizeof(bootp_ids) - sizeof(id); in bootp_add_id()
100 bootp_ids[bootp_num_ids - 1] = id; in bootp_add_id()
125 retval = -1; in check_reply_packet()
126 else if (len < sizeof(struct bootp_hdr) - OPT_FIELD_SIZE) in check_reply_packet()
127 retval = -2; in check_reply_packet()
128 else if (bp->bp_op != OP_BOOTREPLY) in check_reply_packet()
129 retval = -3; in check_reply_packet()
[all …]
/rk3399_rockchip-uboot/tools/rockchip/
H A Dsha.c32 slower code, even if they're little-endian.
42 but assumes little-endianness.
61 register uint32_t A, B, C, D, E; in SHA1_Transform() local
64 A = ctx->state[0]; in SHA1_Transform()
65 B = ctx->state[1]; in SHA1_Transform()
66 C = ctx->state[2]; in SHA1_Transform()
67 D = ctx->state[3]; in SHA1_Transform()
68 E = ctx->state[4]; in SHA1_Transform()
70 #define SHA_F1(A, B, C, D, E, t) \ in SHA1_Transform() argument
71 E += ror27(A) + (W[t] = bswap_32(ctx->buf.w[t])) + (D ^ (B & (C ^ D))) + \ in SHA1_Transform()
[all …]
H A Dresource_tool.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2008-2015 Fuzhou Rockchip Electronics Co., Ltd
16 * \brief SHA-1 context structure
27 * 32-bit integer manipulation macros (big endian)
47 * SHA-1 context setup
52 ctx->total[0] = 0; in sha1_starts()
53 ctx->total[1] = 0; in sha1_starts()
55 ctx->state[0] = 0x67452301; in sha1_starts()
56 ctx->state[1] = 0xEFCDAB89; in sha1_starts()
57 ctx->state[2] = 0x98BADCFE; in sha1_starts()
[all …]
/rk3399_rockchip-uboot/common/
H A Dimage-android-dt.c5 * SPDX-License-Identifier: GPL-2.0+
8 #include <image-android-dt.h>
26 magic = fdt32_to_cpu(hdr->magic); in android_dt_check_header()
46 const struct dt_table_entry *e; in android_dt_get_fdt_by_index() local
52 entry_count = fdt32_to_cpu(hdr->dt_entry_count); in android_dt_get_fdt_by_index()
53 entries_offset = fdt32_to_cpu(hdr->dt_entries_offset); in android_dt_get_fdt_by_index()
54 entry_size = fdt32_to_cpu(hdr->dt_entry_size); in android_dt_get_fdt_by_index()
64 e = map_sysmem(e_addr, sizeof(*e)); in android_dt_get_fdt_by_index()
65 dt_offset = fdt32_to_cpu(e->dt_offset); in android_dt_get_fdt_by_index()
66 dt_size = fdt32_to_cpu(e->dt_size); in android_dt_get_fdt_by_index()
[all …]
/rk3399_rockchip-uboot/doc/device-tree-bindings/video/
H A Dexynos_mipi_dsi.txt1 Exynos MIPI-DSIM Controller
6 compatible: should be "samsung,exynos-mipi-dsi"
7 reg: Base address of MIPI-DSIM IP.
10 samsung,dsim-config-e-interface: interface to be used (RGB interface
12 samsung,dsim-config-e-virtual-ch: virtual channel number that main
14 samsung,dsim-config-e-pixel-format: pixel stream format for main
16 samsung,dsim-config-e-burst-mode: selects Burst mode in Video mode.
17 in Non-burst mode, RGB data area is filled with RGB data and
19 samsung,dsim-config-e-no-data-lane: data lane count used by Master.
20 samsung,dsim-config-e-byte-clk: select byte clock source.
[all …]
/rk3399_rockchip-uboot/tools/binman/
H A Dfunc_test.py5 # SPDX-License-Identifier: GPL-2.0+
9 # python -m unittest func_test.TestFunctional.testHelp
53 In some cases a 'real' file must be used - these are also supplied in
66 TestFunctional._MakeInputFile('u-boot.bin', U_BOOT_DATA)
67 TestFunctional._MakeInputFile('u-boot.img', U_BOOT_IMG_DATA)
68 TestFunctional._MakeInputFile('spl/u-boot-spl.bin', U_BOOT_SPL_DATA)
72 TestFunctional._MakeInputFile('u-boot.dtb', U_BOOT_DTB_DATA)
73 TestFunctional._MakeInputFile('u-boot-x86-16bit.bin', X86_START16_DATA)
74 TestFunctional._MakeInputFile('u-boot-nodtb.bin', U_BOOT_NODTB_DATA)
81 TestFunctional._MakeInputFile('u-boot', fd.read())
[all …]
/rk3399_rockchip-uboot/include/linux/
H A Dbuild_bug.h9 #define BUILD_BUG_ON_ZERO(e) (0) argument
10 #define BUILD_BUG_ON_NULL(e) ((void *)0) argument
11 #define BUILD_BUG_ON_INVALID(e) (0) argument
19 BUILD_BUG_ON(((n) & ((n) - 1)) != 0)
21 BUILD_BUG_ON((n) == 0 || (((n) & ((n) - 1)) != 0))
26 * e.g. in a structure initializer (or where-ever else comma expressions
29 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); })) argument
30 #define BUILD_BUG_ON_NULL(e) ((void *)sizeof(struct { int:(-!!(e)); })) argument
35 * has side-effects.
37 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e)))) argument
[all …]
/rk3399_rockchip-uboot/drivers/bios_emulator/
H A Dbiosemu.c9 * Copyright (C) 1996-1999 SciTech Software, Inc.
41 * Jason ported this file to u-boot to run the ATI video card BIOS
42 * in u-boot. Made all the video memory be emulated during the
76 debugFlags - Flags to enable debugging options (debug builds only)
77 memSize - Amount of memory to allocate for real mode machine
78 info - Pointer to default VGA device information
111 _BE_bios_init((u32*)info->LowMem); in BE_init()
120 info - Pointer to VGA device information to make current
132 _BE_env.vgaInfo.function = info->function; in BE_setVGA()
133 _BE_env.vgaInfo.device = info->device; in BE_setVGA()
[all …]
/rk3399_rockchip-uboot/fs/ubifs/
H A Drecovery.c4 * Copyright (C) 2006-2008 Nokia Corporation
6 * SPDX-License-Identifier: GPL-2.0+
13 * This file implements functions needed to recover from unclean un-mounts.
15 * an un-mount was completed successfully. If not, the process of mounting
16 * incorporates additional checking and fixing of on-flash data structures.
17 * UBIFS always cleans away all remnants of an unclean un-mount, so that
19 * read-only, and the flash is not modified in that case.
30 * writes in @c->max_write_size bytes at a time.
48 * is_empty - determine whether a buffer is empty (contains all 0xff).
67 * first_non_ff - find offset of the first non-0xff byte.
[all …]
/rk3399_rockchip-uboot/fs/yaffs2/
H A Dyaffs_error.c2 * YAFFS: Yet another FFS. A NAND-flash specific file system.
4 * Copyright (C) 2002-2011 Aleph One Ltd.
47 const struct error_entry *e = error_list; in yaffs_error_to_str() local
50 err = -err; in yaffs_error_to_str()
52 while (e->code && e->text) { in yaffs_error_to_str()
53 if (err == e->code) in yaffs_error_to_str()
54 return e->text; in yaffs_error_to_str()
55 e++; in yaffs_error_to_str()
/rk3399_rockchip-uboot/fs/jffs2/
H A Dmergesort.c3 * Rewritten from original source 2006 by Dan Merillat for use in u-boot.
8 * SPDX-License-Identifier: MIT
16 struct b_node *p, *q, *e, **tail; in sort_list() local
19 if (!list->listHead) in sort_list()
22 for (k = 1; k < list->listCount; k *= 2) { in sort_list()
23 tail = &list->listHead; in sort_list()
24 for (p = q = list->listHead; p; p = q) { in sort_list()
27 q = q->next; in sort_list()
35 list->listCompare(p, q))) { in sort_list()
37 e = q; in sort_list()
[all …]
/rk3399_rockchip-uboot/board/toradex/apalis-tk1/
H A Das3722_init.c2 * Copyright (c) 2012-2016 Toradex, Inc.
4 * SPDX-License-Identifier: GPL-2.0+
9 #include <asm/arch-tegra/tegra_i2c.h>
12 /* AS3722-PMIC-specific early init code - get CPU rails up, etc */
18 writel(addr, &reg->cmd_addr0); in tegra_i2c_ll_write_addr()
19 writel(config, &reg->cnfg); in tegra_i2c_ll_write_addr()
26 writel(data, &reg->cmd_data1); in tegra_i2c_ll_write_data()
27 writel(config, &reg->cnfg); in tegra_i2c_ll_write_data()
41 * Don't write SDCONTROL - it's already 0x7F, i.e. all SDs enabled. in pmic_enable_cpu_vdd()
55 * Don't write SDCONTROL - it's already 0x7F, i.e. all SDs enabled. in pmic_enable_cpu_vdd()
[all …]
/rk3399_rockchip-uboot/lib/rsa/
H A Drsa-sign.c4 * SPDX-License-Identifier: GPL-2.0+
27 const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) in RSA_get0_key() argument
30 *n = r->n; in RSA_get0_key()
31 if (e != NULL) in RSA_get0_key()
32 *e = r->e; in RSA_get0_key()
34 *d = r->d; in RSA_get0_key()
46 return -1; in rsa_err()
50 * rsa_pem_get_pub_key() - read a public key from a .crt file
55 * @return 0 if ok, -ve on error (in which case *rsap will be set to NULL)
72 return -EACCES; in rsa_pem_get_pub_key()
[all …]

12345678910>>...43