/u-boot/scripts/dtc/ |
A D | data.c | 47 nd = d; in data_grow_for() 68 return d; in data_copy_mem() 105 d = data_grow_for(d, chunksize); in data_copy_file() 106 ret = fread(d.val + d.len, 1, chunksize, f); in data_copy_file() 111 if (d.len + ret < d.len) in data_copy_file() 122 d = data_grow_for(d, len); in data_append_data() 123 memcpy(d.val + d.len, p, len); in data_append_data() 131 d = data_grow_for(d, len); in data_insert_at_marker() 132 memmove(d.val + m->offset + len, d.val + m->offset, d.len - m->offset); in data_insert_at_marker() 227 d = data_grow_for(d, len); in data_append_zeroes() [all …]
|
/u-boot/drivers/bios_emulator/include/x86emu/ |
A D | prim_ops.h | 46 u16 aaa_word (u16 d); 47 u16 aas_word (u16 d); 48 u16 aad_word (u16 d); 49 u16 aam_word (u8 d); 62 u8 daa_byte (u8 d); 63 u8 das_byte (u8 d); 64 u8 dec_byte (u8 d); 65 u16 dec_word (u16 d); 66 u32 dec_long (u32 d); 67 u8 inc_byte (u8 d); [all …]
|
/u-boot/drivers/bios_emulator/x86emu/ |
A D | prim_ops.c | 186 cc = (s & d) | ((~res) & (s | d)); in calc_carry_chain() 198 bc = (res & (~d | s)) | (~d & s); in calc_borrow_chain() 503 d -= 6; in das_byte() 1669 bc = (res & (~d | s)) | (~d & s); in sbb_byte() 1692 bc = (res & (~d | s)) | (~d & s); in sbb_word() 1716 bc = (res & (~d | s)) | (~d & s); in sbb_long() 1736 bc = (res & (~d | s)) | (~d & s); in sub_byte() 1756 bc = (res & (~d | s)) | (~d & s); in sub_word() 1776 bc = (res & (~d | s)) | (~d & s); in sub_long() 1926 d = -d; in imul_long_direct() [all …]
|
/u-boot/lib/ |
A D | md5.c | 185 register __u32 a, b, c, d; in MD5Transform() local 190 d = buf[3]; in MD5Transform() 192 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform() 196 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform() 200 MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8, 7); in MD5Transform() 209 MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562, 5); in MD5Transform() 210 MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340, 9); in MD5Transform() 213 MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105d, 5); in MD5Transform() 217 MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6, 5); in MD5Transform() 222 MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8, 9); in MD5Transform() [all …]
|
A D | display_options.c | 58 unsigned long d = 1e9; in print_freq() local 62 for (i = 0; i < ARRAY_SIZE(names); i++, d /= 1000) { in print_freq() 63 if (freq >= d) { in print_freq() 74 f = do_div(freq, d); in print_freq() 98 unsigned long d = 10 * ARRAY_SIZE(names); in print_size() local 102 for (i = 0; i < ARRAY_SIZE(names); i++, d -= 10) { in print_size() 103 if (size >> d) { in print_size() 114 n = size >> d; in print_size() 115 f = size & ((1ULL << d) - 1); in print_size() 119 m = (10ULL * f + (1ULL << (d - 1))) >> d; in print_size()
|
/u-boot/drivers/mtd/ubi/ |
A D | debug.c | 266 d = &ubi->dbg; in dfs_file_read() 269 val = d->chk_gen; in dfs_file_read() 271 val = d->chk_io; in dfs_file_read() 273 val = d->chk_fastmap; in dfs_file_read() 275 val = d->disable_bgt; in dfs_file_read() 330 d = &ubi->dbg; in dfs_file_write() 363 d->chk_gen = val; in dfs_file_write() 365 d->chk_io = val; in dfs_file_write() 367 d->chk_fastmap = val; in dfs_file_write() 422 d->dfs_dir = dent; in ubi_debugfs_init_dev() [all …]
|
/u-boot/drivers/misc/ |
A D | cros_ec_lpc.c | 50 uint8_t *d; in cros_ec_lpc_packet() local 63 for (i = 0, d = (uint8_t *)dev->dout; i < out_bytes; i++, d++) in cros_ec_lpc_packet() 73 for (i = 0, d = dev->din; i < in_bytes; i++, d++) in cros_ec_lpc_packet() 90 uint8_t *d; in cros_ec_lpc_command() local 106 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) in cros_ec_lpc_command() 107 csum += *d; in cros_ec_lpc_command() 117 for (i = 0, d = (uint8_t *)&args; i < sizeof(args); i++, d++) in cros_ec_lpc_command() 122 for (i = 0, d = (uint8_t *)dout; i < dout_len; i++, d++) { in cros_ec_lpc_command() 143 for (i = 0, d = (uint8_t *)&args; i < sizeof(args); i++, d++) in cros_ec_lpc_command() 171 for (i = 0, d = (uint8_t *)dev->din; i < args.data_size; i++, d++) in cros_ec_lpc_command() [all …]
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | ddr_ml_wrapper.h | 26 #define DEBUG_INIT_D(d, l) printf("%x", d) argument 27 #define DEBUG_INIT_D_10(d, l) printf("%d", d) argument 30 #define DEBUG_INIT_D(d, l) argument 31 #define DEBUG_INIT_D_10(d, l) argument 36 #define DEBUG_INIT_FULL_D(d, l) printf("%x", d) argument 37 #define DEBUG_INIT_FULL_D_10(d, l) printf("%d", d) argument 46 #define DEBUG_INIT_FULL_D(d, l) argument 47 #define DEBUG_INIT_FULL_D_10(d, l) argument 52 #define DEBUG_INIT_FULL_C(s, d, l) \ argument 54 DEBUG_INIT_FULL_D(d, l); \ [all …]
|
/u-boot/arch/nios2/include/asm/ |
A D | posix_types.h | 54 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) argument 57 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) argument 60 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) argument
|
/u-boot/drivers/ddr/marvell/axp/ |
A D | ddr3_init.h | 21 #define DEBUG_INIT_D(d, l) printf("%x", d) argument 22 #define DEBUG_INIT_D_10(d, l) printf("%d", d) argument 25 #define DEBUG_INIT_D(d, l) argument 26 #define DEBUG_INIT_D_10(d, l) argument 31 #define DEBUG_INIT_FULL_D(d, l) printf("%x", d) argument 32 #define DEBUG_INIT_FULL_D_10(d, l) printf("%d", d) argument 41 #define DEBUG_INIT_FULL_D(d, l) argument 42 #define DEBUG_INIT_FULL_D_10(d, l) argument 47 #define DEBUG_INIT_FULL_C(s, d, l) \ argument 49 #define DEBUG_INIT_C(s, d, l) \ argument [all …]
|
/u-boot/post/lib_powerpc/fpu/ |
A D | 20001122-1.c | 21 double c, d; in fpu_post_test_math1() local 24 d = 1.0; in fpu_post_test_math1() 28 c = d; in fpu_post_test_math1() 29 d = c * 0.5; in fpu_post_test_math1() 30 b = 1 + d; in fpu_post_test_math1()
|
A D | acc1.c | 20 double d = *array; in func() local 22 if (d == 0.0) in func() 23 return d; in func() 25 return d + func (array + 1); in func()
|
/u-boot/lib/efi_loader/ |
A D | efi_freestanding.c | 47 u8 *d = dest; in memmove() local 50 if (d <= s) { in memmove() 52 *d++ = *s++; in memmove() 54 d += n; in memmove() 57 *--d = *--s; in memmove() 85 u8 *d = s; in memset() local 88 *d++ = c; in memset()
|
/u-boot/arch/powerpc/include/asm/ |
A D | posix_types.h | 45 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) argument 46 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) argument 47 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) argument
|
/u-boot/arch/m68k/include/asm/ |
A D | posix_types.h | 45 #define __FD_SET(d, set) ((set)->fds_bits[__FDELT(d)] |= __FDMASK(d)) argument 46 #define __FD_CLR(d, set) ((set)->fds_bits[__FDELT(d)] &= ~__FDMASK(d)) argument 47 #define __FD_ISSET(d, set) ((set)->fds_bits[__FDELT(d)] & __FDMASK(d)) argument
|
/u-boot/arch/arm/mach-mvebu/ |
A D | efuse.c | 75 val.dwords.d[0] = readl(&efuse->bits_31_0); in do_prog_efuse() 76 val.dwords.d[1] = readl(&efuse->bits_63_32); in do_prog_efuse() 82 val.dwords.d[0] |= (new_val->dwords.d[0] & mask0); in do_prog_efuse() 83 val.dwords.d[1] |= (new_val->dwords.d[1] & mask1); in do_prog_efuse() 86 writel(val.dwords.d[0], &efuse->bits_31_0); in do_prog_efuse() 88 writel(val.dwords.d[1], &efuse->bits_63_32); in do_prog_efuse() 117 if (new_val->bytes.d[7] & 0xFE) in prog_efuse() 120 if (!new_val->dwords.d[0] && !new_val->dwords.d[1] && (mask0 | mask1)) in prog_efuse() 166 val->dwords.d[0] = readl(&efuse->bits_31_0); in mvebu_read_efuse() 212 *val = fuse_line.dwords.d[word]; in fuse_read() [all …]
|
/u-boot/arch/arm/dts/ |
A D | k3-am654.dtsi | 44 d-cache-size = <0x8000>; 45 d-cache-line-size = <64>; 46 d-cache-sets = <128>; 58 d-cache-size = <0x8000>; 59 d-cache-line-size = <64>; 60 d-cache-sets = <128>; 72 d-cache-size = <0x8000>; 73 d-cache-line-size = <64>; 74 d-cache-sets = <128>; 86 d-cache-size = <0x8000>; [all …]
|
/u-boot/drivers/net/fsl-mc/dpio/ |
A D | qbman_portal.c | 75 p->desc = d; in qbman_swp_init() 198 memset(d, 0, sizeof(*d)); in qbman_eq_desc_clear() 203 uint32_t *cl = qb_cl(d); in qbman_eq_desc_set_no_orp() 215 uint32_t *cl = qb_cl(d); in qbman_eq_desc_set_response() 225 uint32_t *cl = qb_cl(d); in qbman_eq_desc_set_qd() 281 memset(d, 0, sizeof(*d)); in qbman_pull_desc_clear() 289 uint32_t *cl = qb_cl(d); in qbman_pull_desc_set_storage() 305 uint32_t *cl = qb_cl(d); in qbman_pull_desc_set_numframes() 314 uint32_t *cl = qb_cl(d); in qbman_pull_desc_set_token() 530 memset(d, 0, sizeof(*d)); in qbman_release_desc_clear() [all …]
|
/u-boot/drivers/tee/ |
A D | tee-uclass.c | 218 d->time_mid = ((u32)s[4] << 8) | s[5]; in tee_optee_ta_uuid_from_octets() 219 d->time_hi_and_version = ((u32)s[6] << 8) | s[7]; in tee_optee_ta_uuid_from_octets() 220 memcpy(d->clock_seq_and_node, s + 8, sizeof(d->clock_seq_and_node)); in tee_optee_ta_uuid_from_octets() 226 d[0] = s->time_low >> 24; in tee_optee_ta_uuid_to_octets() 227 d[1] = s->time_low >> 16; in tee_optee_ta_uuid_to_octets() 228 d[2] = s->time_low >> 8; in tee_optee_ta_uuid_to_octets() 229 d[3] = s->time_low; in tee_optee_ta_uuid_to_octets() 230 d[4] = s->time_mid >> 8; in tee_optee_ta_uuid_to_octets() 231 d[5] = s->time_mid; in tee_optee_ta_uuid_to_octets() 232 d[6] = s->time_hi_and_version >> 8; in tee_optee_ta_uuid_to_octets() [all …]
|
/u-boot/board/freescale/common/ |
A D | zm7300.c | 102 int dpm_wrm(u8 r, u8 d) in dpm_wrm() argument 108 ret[2] = d; in dpm_wrm() 119 int dpm_wrp(u8 r, u8 d) in dpm_wrp() argument 130 ret[6] = d; in dpm_wrp() 154 u8 d; in zm_write() local 160 d = dpm_rrp(reg); in zm_write() 161 if (d != data) { in zm_write() 166 return d; in zm_write()
|
/u-boot/lib/dhry/ |
A D | dhry.h | 381 #define structassign(d, s) memcpy(&(d), &(s), sizeof(d)) argument 383 #define structassign(d, s) d = s argument
|
/u-boot/drivers/net/ |
A D | smc91111.h | 92 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument 93 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r<<1))) = d) argument 95 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r))) = d) argument 96 #define SMC_outw(a,d,r) (*((volatile word *)((a)->iobase+(r))) = d) argument 99 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \ argument 174 #define SMC_outb(a,d,r) do{ word __d = (byte)(d); \ argument 229 #define SMC_outw(a, d, r) (*((volatile word *)((a)->iobase+(r))) = d) argument 230 #define SMC_outb(a, d, r) ({ word __d = (byte)(d); \ argument 272 #define SMC_outb(a,d,r) ({ word __d = (byte)(d); \ argument 323 #define SMC_outl(a,d,r) (*((volatile dword *)((a)->iobase+(r<<1))) = d) argument [all …]
|
/u-boot/include/linux/ |
A D | posix_types.h | 31 #define __FDELT(d) ((d) / __NFDBITS) argument 34 #define __FDMASK(d) (1UL << ((d) % __NFDBITS)) argument
|
/u-boot/drivers/mtd/nand/raw/ |
A D | mxs_nand.c | 379 d->cmd.data = in mxs_nand_cmd_ctrl() 496 d->cmd.data = in mxs_nand_read_buf() 522 d->cmd.data = in mxs_nand_read_buf() 527 d->cmd.address = 0; in mxs_nand_read_buf() 582 d->cmd.data = in mxs_nand_write_buf() 678 d->cmd.data = in mxs_nand_ecc_read_page() 683 d->cmd.address = 0; in mxs_nand_ecc_read_page() 695 d->cmd.data = in mxs_nand_ecc_read_page() 726 d->cmd.data = in mxs_nand_ecc_read_page() 746 d->cmd.data = in mxs_nand_ecc_read_page() [all …]
|
/u-boot/tools/ |
A D | imximage.c | 185 if (!d) in set_dcd_param_v2() 186 d = &dcd_v2->dcd_cmd; in set_dcd_param_v2() 187 d2 = d; in set_dcd_param_v2() 197 d = d2; in set_dcd_param_v2() 206 d = d2; in set_dcd_param_v2() 215 d = d2; in set_dcd_param_v2() 224 d = d2; in set_dcd_param_v2() 230 d = d2; in set_dcd_param_v2() 238 gd_last_cmd = d; in set_dcd_param_v2() 290 if (!d) in set_dcd_rst_v2() [all …]
|