/device/linaro/bootloader/arm-trusted-firmware/plat/rockchip/rk3399/drivers/dram/ |
D | dram_spec_timing.c | 206 uint32_t tmp; in ddr3_get_parameter() local 213 tmp = 0; in ddr3_get_parameter() 215 tmp = 1; in ddr3_get_parameter() 217 tmp = 2; in ddr3_get_parameter() 219 tmp = 3; in ddr3_get_parameter() 221 tmp = 4; in ddr3_get_parameter() 223 tmp = 5; in ddr3_get_parameter() 225 tmp = 6; in ddr3_get_parameter() 232 pdram_timing->cl = (ddr3_cl_cwl[ddr_speed_bin][tmp] >> 4) & 0xf; in ddr3_get_parameter() 233 pdram_timing->cwl = ddr3_cl_cwl[ddr_speed_bin][tmp] & 0xf; in ddr3_get_parameter() [all …]
|
D | dfs.c | 105 uint32_t tmp; in get_dram_drv_odt_val() local 111 tmp = ((mr1_val >> 1) & 1) | ((mr1_val >> 4) & 1); in get_dram_drv_odt_val() 112 if (tmp) in get_dram_drv_odt_val() 116 tmp = ((mr1_val >> 2) & 1) | ((mr1_val >> 5) & 1) | in get_dram_drv_odt_val() 118 if (tmp == 0) in get_dram_drv_odt_val() 120 else if (tmp == 1) in get_dram_drv_odt_val() 122 else if (tmp == 3) in get_dram_drv_odt_val() 164 tmp = mr11_val & 0x7; in get_dram_drv_odt_val() 165 if ((tmp == 7) || (tmp == 0)) in get_dram_drv_odt_val() 168 drv_config->dram_side_dq_odt = 240 / tmp; in get_dram_drv_odt_val() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | Python-ast.c | 3305 PyObject* tmp = NULL; in obj2ast_mod() local 3324 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3325 if (tmp == NULL) goto failed; in obj2ast_mod() 3326 if (!PyList_Check(tmp)) { in obj2ast_mod() 3327 …rmat(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod() 3330 len = PyList_GET_SIZE(tmp); in obj2ast_mod() 3335 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &value, arena); in obj2ast_mod() 3339 Py_XDECREF(tmp); in obj2ast_mod() 3340 tmp = NULL; in obj2ast_mod() 3360 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | Python-ast.c | 3322 PyObject* tmp = NULL; in obj2ast_mod() local 3341 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() 3342 if (tmp == NULL) goto failed; in obj2ast_mod() 3343 if (!PyList_Check(tmp)) { in obj2ast_mod() 3344 …rmat(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->tp_name); in obj2ast_mod() 3347 len = PyList_GET_SIZE(tmp); in obj2ast_mod() 3352 res = obj2ast_stmt(PyList_GET_ITEM(tmp, i), &value, arena); in obj2ast_mod() 3356 Py_XDECREF(tmp); in obj2ast_mod() 3357 tmp = NULL; in obj2ast_mod() 3377 tmp = PyObject_GetAttrString(obj, "body"); in obj2ast_mod() [all …]
|
/device/common/ |
D | generate-factory-images-common.sh | 34 rm -rf tmp 35 mkdir -p tmp/$PRODUCT-$VERSION 40 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$XLOADERSRC 44 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$BOOTLOADERSRC 48 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/$RADIOSRC 52 unzip -d tmp ${SRCPREFIX}$PRODUCT-target_files-$BUILD.zip RADIO/radio-cdma.img 56 cp ${SRCPREFIX}$PRODUCT-img-$BUILD.zip tmp/$PRODUCT-$VERSION/image-$PRODUCT-$VERSION.zip 59 cp tmp/RADIO/$XLOADERSRC tmp/$PRODUCT-$VERSION/xloader-$DEVICE-$XLOADER.img 63 cp tmp/RADIO/$BOOTLOADERSRC tmp/$PRODUCT-$VERSION/bootloader-$DEVICE-$BOOTLOADER.img 65 cp $BOOTLOADERFILE tmp/$PRODUCT-$VERSION/bootloader-$DEVICE-$BOOTLOADER.img [all …]
|
D | generate-packages.sh | 39 rm -rf tmp 40 FILEDIR=tmp/vendor/$COMPANY/$DEVICE/proprietary 41 MAKEFILEDIR=tmp/vendor/$COMPANY/$DEVICE/ 42 FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE 46 FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;; 48 FILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY/proprietary 49 MAKEFILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY ;; 107 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/marlin 117 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/muskie/proprietary 127 FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/crosshatch/proprietary [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
D | Time.c | 82 localsub(const time_t * const timep, const long offset, struct tm * const tmp); 95 struct tm * const tmp in timesub() argument 146 tmp->tm_hour = (int) (rem / SECSPERHOUR); in timesub() 148 tmp->tm_min = (int) (rem / SECSPERMIN); in timesub() 153 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit; in timesub() 154 tmp->tm_wday = (int) ((EPOCH_WDAY + days) % DAYSPERWEEK); in timesub() 155 if (tmp->tm_wday < 0) in timesub() 156 tmp->tm_wday += DAYSPERWEEK; in timesub() 169 tmp->tm_year = (int)(y - TM_YEAR_BASE); in timesub() 170 tmp->tm_yday = (int) days; in timesub() [all …]
|
D | timegm.c | 82 time2(struct tm * const tmp, void (* const funcp)(const time_t*, long, struct tm*), 92 struct tm * const tmp 102 time_t timegm( struct tm * tmp ) in timegm() argument 107 tmp->tm_isdst = 0; in timegm() 108 t = time2(tmp, gmtsub, 0, &okay); in timegm() 109 if (okay || tmp->tm_isdst < 0) in timegm()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | ns_ttl.c | 126 u_long ttl, tmp; in ns_parse_ttl() local 130 tmp = 0; in ns_parse_ttl() 137 tmp *= 10; in ns_parse_ttl() 138 tmp += (ch - '0'); in ns_parse_ttl() 147 case 'W': tmp *= 7; in ns_parse_ttl() 148 case 'D': tmp *= 24; in ns_parse_ttl() 149 case 'H': tmp *= 60; in ns_parse_ttl() 150 case 'M': tmp *= 60; in ns_parse_ttl() 154 ttl += tmp; in ns_parse_ttl() 155 tmp = 0; in ns_parse_ttl() [all …]
|
/device/linaro/hikey/factory-images/ |
D | generate-factory-images-hikey960.sh | 31 rm -rf tmp 32 mkdir -p tmp/$PRODUCT-$VERSION 35 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-bl31.bin tmp/$PRODUCT-$VERSION/ 36 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-fastboot.img tmp/$PRODUCT-$VERSION/ 37 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-lpm3.img tmp/$PRODUCT-$VERSION/ 38 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-nvme.img tmp/$PRODUCT-$VERSION/ 39 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-ptable.img tmp/$PRODUCT-$VERSION/ 40 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/hisi-sec_xloader.img tmp/$PRODUCT-$VERSION/ 41 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey960/README tmp/$PRODUCT-$VERSION/ 44 cp $ANDROID_BUILD_TOP/out/target/product/hikey960/dt.img tmp/$PRODUCT-$VERSION/ [all …]
|
D | generate-factory-images-hikey.sh | 31 rm -rf tmp 32 mkdir -p tmp/$PRODUCT-$VERSION 35 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/README tmp/$PRODUCT-$VERSION/ 36 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/hisi-idt.py tmp/$PRODUCT-$VERSION/ 37 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/l-loader.bin tmp/$PRODUCT-$VERSION/ 38 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-8g.img tmp/$PRODUCT-$VERSION/ 39 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/ptable-aosp-4g.img tmp/$PRODUCT-$VERSION/ 40 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/fip.bin tmp/$PRODUCT-$VERSION/ 41 cp $ANDROID_BUILD_TOP/$DEVICE_DIR/installer/hikey/nvme.img tmp/$PRODUCT-$VERSION/ 43 cp ${SRCPREFIX}$PRODUCT-img-$BUILD.zip tmp/$PRODUCT-$VERSION/image-$PRODUCT-$VERSION.zip [all …]
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseMemoryLibOptDxe/AArch64/ |
D | ScanMem.S | 43 #define tmp x4 macro 93 sub tmp, soff, #32 94 adds cntin, cntin, tmp 103 lsl tmp, soff, #1 104 lsr synd, synd, tmp 105 lsl synd, synd, tmp 137 add tmp, cntrem, soff 138 and tmp, tmp, #31 139 sub tmp, tmp, #32 140 neg tmp, tmp, lsl #1 [all …]
|
/device/google/contexthub/contexthubhal/ |
D | message_buf.h | 87 uint16_t tmp = htole16(val); in writeU16() local 88 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU16() 89 pos += sizeof(tmp); in writeU16() 104 uint32_t tmp = htole32(val); in writeU32() local 105 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU32() 106 pos += sizeof(tmp); in writeU32() 121 uint64_t tmp = htole64(val); in writeU64() local 122 memcpy(&data[pos], &tmp, sizeof(tmp)); in writeU64() 123 pos += sizeof(tmp); in writeU64()
|
/device/google/wahoo/lisa/targetdev/ |
D | powerhint.py | 17 with tempfile.NamedTemporaryFile() as tmp: 18 target.pull(DEVICE_PATH, tmp.name) 21 tree = ET.parse(tmp.name) 26 tree.write(tmp.name) 27 target.push(tmp.name, DEVICE_PATH) 71 with tempfile.NamedTemporaryFile() as tmp: 72 target.pull(DEVICE_PATH, tmp.name) 74 tree = ET.parse(tmp.name) 80 tree.write(tmp.name) 81 target.push(tmp.name, DEVICE_PATH)
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/ |
D | libfdt.h | 921 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 922 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 956 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 957 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1032 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1033 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1037 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local 1038 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1193 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local 1194 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() [all …]
|
/device/linaro/bootloader/arm-trusted-firmware/include/lib/libfdt/ |
D | libfdt.h | 1170 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local 1171 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32() 1205 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local 1206 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64() 1282 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local 1283 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32() 1287 fdt64_t tmp = cpu_to_fdt64(val); in fdt_property_u64() local 1288 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64() 1443 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_u32() local 1444 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/ |
D | adler32.c | 31 unsigned long tmp = a >> 16; \ 33 a += (tmp << 4) - tmp; \ 47 z_off64_t tmp = a >> 32; \ 49 a += (tmp << 8) - (tmp << 5) + tmp; \ 50 tmp = a >> 16; \ 52 a += (tmp << 4) - tmp; \ 53 tmp = a >> 16; \ 55 a += (tmp << 4) - tmp; \
|
/device/google/contexthub/lib/nanohub/ |
D | rsa.c | 23 static bool biModIterative(uint32_t *num, const uint32_t *denum, uint32_t *tmp, uint32_t *state1, u… in biModIterative() argument 35 memcpy(tmp + 1, denum, RSA_BYTES); in biModIterative() 36 tmp[0] = 0; in biModIterative() 44 while (!(tmp[RSA_LIMBS] & 0x80000000)) { in biModIterative() 46 tmp[i] <<= 1; in biModIterative() 47 if (tmp[i - 1] & 0x80000000) in biModIterative() 48 tmp[i]++; in biModIterative() 60 if (num[limbsh + i] < tmp[i]) in biModIterative() 62 if (num[limbsh + i] > tmp[i]) in biModIterative() 70 t -= (uint64_t)tmp[i]; in biModIterative() [all …]
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/ZLib/ |
D | adler32.c | 29 unsigned long tmp = a >> 16; \ 31 a += (tmp << 4) - tmp; \ 45 z_off64_t tmp = a >> 32; \ 47 a += (tmp << 8) - (tmp << 5) + tmp; \ 48 tmp = a >> 16; \ 50 a += (tmp << 4) - tmp; \ 51 tmp = a >> 16; \ 53 a += (tmp << 4) - tmp; \
|
/device/linaro/bootloader/arm-trusted-firmware/lib/aarch32/ |
D | misc_helpers.S | 54 tmp .req r12 /* Temporary scratch register */ 74 orr tmp, cursor, #(8-1) 75 adds tmp, tmp, #1 79 cmp tmp, stop_address 85 cmp cursor, tmp 92 bic tmp, stop_address, #(8-1) 94 cmp cursor, tmp 100 cmp cursor, tmp 123 .unreq tmp
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/aarch64/ |
D | asm_macros.S | 24 .macro dcache_line_size reg, tmp argument 25 mrs \tmp, ctr_el0 26 ubfx \tmp, \tmp, #16, #4 28 lsl \reg, \reg, \tmp 32 .macro icache_line_size reg, tmp argument 33 mrs \tmp, ctr_el0 34 and \tmp, \tmp, #0xf 36 lsl \reg, \reg, \tmp
|
/device/linaro/bootloader/arm-trusted-firmware/include/common/aarch32/ |
D | asm_macros.S | 35 .macro dcache_line_size reg, tmp argument 36 ldcopr \tmp, CTR 37 ubfx \tmp, \tmp, #CTR_DMINLINE_SHIFT, #CTR_DMINLINE_WIDTH 39 lsl \reg, \reg, \tmp 42 .macro icache_line_size reg, tmp argument 43 ldcopr \tmp, CTR 44 and \tmp, \tmp, #CTR_IMINLINE_MASK 46 lsl \reg, \reg, \tmp
|
/device/linaro/bootloader/arm-trusted-firmware/plat/arm/board/common/ |
D | board_arm_trusted_boot.c | 83 uint32_t *src, tmp; in plat_get_rotpk_info() local 115 tmp = src[words - 1 - i]; in plat_get_rotpk_info() 117 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in plat_get_rotpk_info() 118 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in plat_get_rotpk_info() 119 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in plat_get_rotpk_info() 120 *dst++ = (uint8_t)(tmp & 0xFF); in plat_get_rotpk_info() 126 tmp = src[words - 1 - i]; in plat_get_rotpk_info() 127 *dst++ = (uint8_t)((tmp >> 24) & 0xFF); in plat_get_rotpk_info() 128 *dst++ = (uint8_t)((tmp >> 16) & 0xFF); in plat_get_rotpk_info() 129 *dst++ = (uint8_t)((tmp >> 8) & 0xFF); in plat_get_rotpk_info() [all …]
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | tempnam.c | 69 gentemp(char *name, size_t len, const char *tmp, const char *pfx) in gentemp() argument 71 (void)snprintf(name, len, "%s%s%sXXXX", tmp, trailsl(tmp), pfx); in gentemp() 80 const char *tmp; in tempnam() local 88 if ((tmp = getenv("TMPDIR")) != NULL && in tempnam() 89 (f = gentemp(name, (size_t)MAXPATHLEN, tmp, pfx)) != NULL) in tempnam()
|
/device/google/cuttlefish_kernel/scripts/ |
D | extract-vmlinux | 33 tail -c+$pos "$img" | $3 > $tmp 2> /dev/null 34 check_vmlinux $tmp 48 tmp=$(mktemp /tmp/vmlinux-XXX) 49 trap "rm -f $tmp" 0
|