| /rk3399_rockchip-uboot/board/freescale/common/ |
| H A D | sys_eeprom.c | 65 } e; variable 72 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ 73 (e.id[2] == 'I') || (e.id[3] == 'D')) 78 #define is_valid ((e.id[0] == 'C') || (e.id[1] == 'C') || \ 79 (e.id[2] == 'I') || (e.id[3] == 'D')) 92 printf("ID: %c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3], in show_eeprom() 93 be32_to_cpu(e.version)); in show_eeprom() 95 printf("ID: %c%c%c%c\n", e.id[0], e.id[1], e.id[2], e.id[3]); in show_eeprom() 99 printf("SN: %s\n", e.sn); in show_eeprom() 103 printf("Errata: %s\n", e.errata); in show_eeprom() [all …]
|
| /rk3399_rockchip-uboot/scripts/kconfig/ |
| H A D | expr.c | 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() 35 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() local [all …]
|
| H A D | expr.h | 51 #define expr_list_for_each_sym(l, e, s) \ argument 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 211 void expr_free(struct expr *e); 213 tristate expr_calc_value(struct expr *e); 214 struct expr *expr_trans_bool(struct expr *e); 215 struct expr *expr_eliminate_dups(struct expr *e); 216 struct expr *expr_transform(struct expr *e); 219 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); 222 void expr_fprint(struct expr *e, FILE *out); 224 void expr_gstr_print(struct expr *e, struct gstr *gs); [all …]
|
| /rk3399_rockchip-uboot/board/varisys/common/ |
| H A D | sys_eeprom.c | 48 } e; variable 54 #define is_valid ((e.id[0] == 'N') || (e.id[1] == 'X') || \ 55 (e.id[2] == 'I') || (e.id[3] == 'D')) 83 printf("ID: %c%c%c%c v%u\n", e.id[0], e.id[1], e.id[2], e.id[3], in show_eeprom() 84 be32_to_cpu(e.version)); in show_eeprom() 87 printf("SN: %s\n", e.sn); in show_eeprom() 95 printf("Errata: %s\n", e.errata); in show_eeprom() 99 e.date[0], e.date[1], e.date[2], in show_eeprom() 100 e.date[3] & 0x7F, e.date[4], e.date[5], in show_eeprom() 101 e.date[3] & 0x80 ? "PM" : ""); in show_eeprom() [all …]
|
| /rk3399_rockchip-uboot/drivers/power/dvfs/ |
| H A D | rockchip_wtemp_dvfs.c | 145 struct pm_element *e) in wtemp_get_lowlevel_rate() argument 150 opp = e->opp; in wtemp_get_lowlevel_rate() 151 count = e->opp_nr; in wtemp_get_lowlevel_rate() 163 static ulong __wtemp_clk_get_rate(struct pm_element *e) in __wtemp_clk_get_rate() argument 166 if (e->id == PM_DMC) in __wtemp_clk_get_rate() 169 return clk_get_rate(&e->clk); in __wtemp_clk_get_rate() 172 static ulong __wtemp_clk_set_rate(struct pm_element *e, ulong rate) in __wtemp_clk_set_rate() argument 175 if (e->id == PM_DMC) { in __wtemp_clk_set_rate() 180 rate = clk_set_rate(&e->clk, rate); in __wtemp_clk_set_rate() 185 static int __wtemp_regulator_get_value(struct pm_element *e) in __wtemp_regulator_get_value() argument [all …]
|
| /rk3399_rockchip-uboot/net/ |
| H A D | bootp.c | 405 #define put_vci(e, str) \ argument 408 *e++ = 60; /* Vendor Class Identifier */ \ 409 *e++ = vci_strlen; \ 410 memcpy(e, str, vci_strlen); \ 411 e += vci_strlen; \ 414 static u8 *add_vci(u8 *e) in add_vci() argument 429 put_vci(e, vci); in add_vci() 431 return e; in add_vci() 438 static int dhcp_extended(u8 *e, int message_type, struct in_addr server_ip, in dhcp_extended() argument 441 u8 *start = e; in dhcp_extended() [all …]
|
| H A D | dns.c | 107 const unsigned char *p, *e, *s; in dns_handler() local 136 e = pkt + len; in dns_handler() 137 for (p = s; p < e && *p != '\0'; p++) in dns_handler() 141 if (&p[5] > e || get_unaligned_be16(p+1) != DNS_A_RECORD) { in dns_handler() 151 for (found = stop = 0; !stop && &p[12] < e; ) { in dns_handler() 154 while (*p && &p[12] < e) in dns_handler() 178 if (found && &p[12] < e) { in dns_handler() 183 if (p + dlen <= e) { in dns_handler()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | tftp_update.c | 109 struct image_element *e; in update_cleanup() local 113 e = list_entry(node, struct image_element, node); in update_cleanup() 114 free(e); in update_cleanup() 134 struct image_element *e; in update_populate_image() local 159 e = malloc(sizeof(*e)); in update_populate_image() 160 if (!e) in update_populate_image() 163 e->remain_tries = MAX_REMAIN_TRIES; in update_populate_image() 164 e->buf = hdr->shared_buf; in update_populate_image() 165 e->size = fdtdec_get_uint(fit, noffset, "data-size", -ENODATA); in update_populate_image() 166 if (e->size == -ENODATA) in update_populate_image() [all …]
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | wl.c | 133 struct ubi_wl_entry *e, struct rb_root *root); 135 struct ubi_wl_entry *e); 145 static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root) in wl_tree_add() argument 156 if (e->ec < e1->ec) in wl_tree_add() 158 else if (e->ec > e1->ec) in wl_tree_add() 161 ubi_assert(e->pnum != e1->pnum); in wl_tree_add() 162 if (e->pnum < e1->pnum) in wl_tree_add() 169 rb_link_node(&e->u.rb, parent, p); in wl_tree_add() 170 rb_insert_color(&e->u.rb, root); in wl_tree_add() 181 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) in wl_entry_destroy() argument [all …]
|
| H A D | fastmap-wl.c | 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() 42 victim = e; in find_anchor_wl_entry() 43 max_ec = e->ec; in find_anchor_wl_entry() 59 struct ubi_wl_entry *e; in return_unused_pool_pebs() local 62 e = ubi->lookuptbl[pool->pebs[i]]; in return_unused_pool_pebs() 63 wl_tree_add(e, &ubi->free); in return_unused_pool_pebs() 71 struct ubi_wl_entry *e; in anchor_pebs_avalible() local 73 ubi_rb_for_each_entry(p, e, root, u.rb) in anchor_pebs_avalible() [all …]
|
| H A D | fastmap.c | 1053 struct ubi_wl_entry *e; in ubi_scan_fastmap() local 1055 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL); in ubi_scan_fastmap() 1056 if (!e) { in ubi_scan_fastmap() 1058 kfree(fm->e[i]); in ubi_scan_fastmap() 1064 e->pnum = be32_to_cpu(fmsb2->block_loc[i]); in ubi_scan_fastmap() 1065 e->ec = be32_to_cpu(fmsb2->block_ec[i]); in ubi_scan_fastmap() 1066 fm->e[i] = e; in ubi_scan_fastmap() 1243 wl_e = ubi_wrk->e; in ubi_write_fastmap() 1300 dbg_bld("writing fastmap SB to PEB %i", new_fm->e[0]->pnum); in ubi_write_fastmap() 1301 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avhdr); in ubi_write_fastmap() [all …]
|
| /rk3399_rockchip-uboot/drivers/bios_emulator/ |
| H A D | biosemu.c | 249 M.x86.R_EAX = regs->e.eax; in BE_callRealMode() 250 M.x86.R_EBX = regs->e.ebx; in BE_callRealMode() 251 M.x86.R_ECX = regs->e.ecx; in BE_callRealMode() 252 M.x86.R_EDX = regs->e.edx; in BE_callRealMode() 253 M.x86.R_ESI = regs->e.esi; in BE_callRealMode() 254 M.x86.R_EDI = regs->e.edi; in BE_callRealMode() 274 regs->e.cflag = M.x86.R_EFLG & F_CF; in BE_callRealMode() 275 regs->e.eax = M.x86.R_EAX; in BE_callRealMode() 276 regs->e.ebx = M.x86.R_EBX; in BE_callRealMode() 277 regs->e.ecx = M.x86.R_ECX; in BE_callRealMode() [all …]
|
| H A D | atibios.c | 94 regs->e.eax = VESA_GET_INFO; in atibios_debug_mode() 95 regs->e.esi = buffer_seg; in atibios_debug_mode() 96 regs->e.edi = buffer_adr; in atibios_debug_mode() 101 if (regs->e.eax != 0x4f) { in atibios_debug_mode() 102 debug("VESA_GET_INFO: error %x\n", regs->e.eax); in atibios_debug_mode() 125 regs->e.eax = VESA_GET_CUR_MODE; in atibios_debug_mode() 127 if (regs->e.eax != 0x4f) { in atibios_debug_mode() 128 debug("VESA_GET_CUR_MODE: error %x\n", regs->e.eax); in atibios_debug_mode() 131 debug("Current mode %x\n", regs->e.ebx); in atibios_debug_mode() 141 regs->e.eax = VESA_GET_MODE_INFO; in atibios_debug_mode() [all …]
|
| /rk3399_rockchip-uboot/include/linux/ |
| H A D | build_bug.h | 9 #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 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 37 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e)))) argument
|
| /rk3399_rockchip-uboot/common/ |
| H A D | image-android-dt.c | 46 const struct dt_table_entry *e; in android_dt_get_fdt_by_index() local 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() 67 unmap_sysmem(e); in android_dt_get_fdt_by_index() 130 const struct dt_table_entry *e; in android_dt_print_contents() local 135 e = map_sysmem(e_addr, sizeof(*e)); in android_dt_print_contents() 136 dt_offset = fdt32_to_cpu(e->dt_offset); in android_dt_print_contents() 137 dt_size = fdt32_to_cpu(e->dt_size); in android_dt_print_contents() 142 printf(" id = %08x\n", fdt32_to_cpu(e->id)); in android_dt_print_contents() [all …]
|
| /rk3399_rockchip-uboot/fs/yaffs2/ |
| H A D | yaffs_error.c | 47 const struct error_entry *e = error_list; in yaffs_error_to_str() local 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/ubifs/ |
| H A D | recovery.c | 1266 struct size_entry *e; in add_ino() local 1270 e = rb_entry(parent, struct size_entry, rb); in add_ino() 1271 if (inum < e->inum) in add_ino() 1277 e = kzalloc(sizeof(struct size_entry), GFP_KERNEL); in add_ino() 1278 if (!e) in add_ino() 1281 e->inum = inum; in add_ino() 1282 e->i_size = i_size; in add_ino() 1283 e->d_size = d_size; in add_ino() 1284 e->exists = exists; in add_ino() 1286 rb_link_node(&e->rb, parent, p); in add_ino() [all …]
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | net_utils.c | 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/tools/binman/ |
| H A D | func_test.py | 303 with self.assertRaises(ValueError) as e: 306 str(e.exception)) 310 with self.assertRaises(Exception) as e: 314 'No such file or directory'], str(e.exception)) 322 with self.assertRaises(Exception) as e: 325 str(e.exception)) 329 with self.assertRaises(Exception) as e: 331 self.assertIn("does not have a 'binman' node", str(e.exception)) 341 with self.assertRaises(Exception) as e: 346 "'/binman/not-a-valid-type'", str(e.exception)) [all …]
|
| /rk3399_rockchip-uboot/fs/jffs2/ |
| H A D | mergesort.c | 16 struct b_node *p, *q, *e, **tail; in sort_list() local 37 e = q; in sort_list() 41 e = p; in sort_list() 45 e->next = NULL; /* break accidental loops. */ in sort_list() 46 *tail = e; in sort_list() 47 tail = &e->next; in sort_list()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | kwbimage.c | 29 const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) in RSA_get0_key() argument 33 if (e != NULL) in RSA_get0_key() 34 *e = r->e; in RSA_get0_key() 250 struct image_cfg_element *e; in image_get_csk_index() local 252 e = image_find_option(IMAGE_CFG_CSK_INDEX); in image_get_csk_index() 253 if (!e) in image_get_csk_index() 256 return e->csk_idx; in image_get_csk_index() 261 struct image_cfg_element *e; in image_get_spezialized_img() local 263 e = image_find_option(IMAGE_CFG_SEC_SPECIALIZED_IMG); in image_get_spezialized_img() 264 if (!e) in image_get_spezialized_img() [all …]
|
| /rk3399_rockchip-uboot/lib/rsa/ |
| H A D | rsa-sign.c | 27 const BIGNUM **n, const BIGNUM **e, const BIGNUM **d) in RSA_get0_key() argument 31 if (e != NULL) in RSA_get0_key() 32 *e = r->e; in RSA_get0_key() 326 ENGINE *e; in rsa_engine_init() local 331 e = ENGINE_by_id(engine_id); in rsa_engine_init() 332 if (!e) { in rsa_engine_init() 338 if (!ENGINE_init(e)) { in rsa_engine_init() 344 if (!ENGINE_set_default_RSA(e)) { in rsa_engine_init() 350 *pe = e; in rsa_engine_init() 355 ENGINE_finish(e); in rsa_engine_init() [all …]
|
| /rk3399_rockchip-uboot/doc/device-tree-bindings/video/ |
| H A D | exynos_mipi_dsi.txt | 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. 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. 60 samsung,dsim-config-e-interface = <1>; 61 samsung,dsim-config-e-virtual-ch = <0>; 62 samsung,dsim-config-e-pixel-format = <7>; 63 samsung,dsim-config-e-burst-mode = <1>; [all …]
|
| /rk3399_rockchip-uboot/board/freescale/ls1043ardb/ |
| H A D | ls1043ardb_pbi.cfg | 10 09570418 0000009e 11 0957041c 0000009e 12 09570420 0000009e
|
| /rk3399_rockchip-uboot/board/freescale/ls1043aqds/ |
| H A D | ls1043aqds_pbi.cfg | 10 09570418 0000009e 11 0957041c 0000009e 12 09570420 0000009e
|