| /openbmc/u-boot/fs/ubifs/ |
| H A D | sb.c | 82 long long tmp64, main_bytes; in create_default_filesystem() local 160 tmp64 = (long long)max_buds * c->leb_size; in create_default_filesystem() 171 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem() 188 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem() 189 if (tmp64 > DEFAULT_MAX_RP_SIZE) in create_default_filesystem() 190 tmp64 = DEFAULT_MAX_RP_SIZE; in create_default_filesystem() 191 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem() 232 tmp64 = main_bytes; in create_default_filesystem() 233 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem() 234 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem() [all …]
|
| H A D | super.c | 836 long long tmp64; in init_constants_sb() local 863 tmp64 = c->max_bud_bytes + c->leb_size - 1; in init_constants_sb() 864 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb() 900 tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1; in init_constants_sb() 901 if (c->bg_bud_bytes < tmp64) in init_constants_sb() 902 c->bg_bud_bytes = tmp64; in init_constants_sb() 903 if (c->max_bud_bytes < tmp64 + c->leb_size) in init_constants_sb() 904 c->max_bud_bytes = tmp64 + c->leb_size; in init_constants_sb() 925 long long tmp64; in init_constants_master() local 939 tmp64 = c->main_lebs - 1 - 1 - MIN_INDEX_LEBS - c->jhead_cnt + 1; in init_constants_master() [all …]
|
| /openbmc/u-boot/drivers/w1/ |
| H A D | w1-uclass.c | 32 u64 last_rn, rn = w1->search_id, tmp64; in w1_enumerate() local 83 tmp64 = (triplet_ret >> 2); in w1_enumerate() 84 rn |= (tmp64 << i); in w1_enumerate()
|
| /openbmc/u-boot/lib/ |
| H A D | uuid.c | 148 uint64_t tmp64; in uuid_str_to_bin() local 181 tmp64 = cpu_to_be64(simple_strtoull(uuid_str + 24, NULL, 16)); in uuid_str_to_bin() 182 memcpy(uuid_bin + 10, (char *)&tmp64 + 2, 6); in uuid_str_to_bin()
|
| /openbmc/u-boot/drivers/mtd/ |
| H A D | mtdconcat.c | 869 uint64_t tmp64; in mtd_concat_create() local 908 tmp64 = position - begin; in mtd_concat_create() 909 do_div(tmp64, curr_erasesize); in mtd_concat_create() 910 erase_region_p->numblocks = tmp64; in mtd_concat_create() 927 tmp64 = position - begin; in mtd_concat_create() 928 do_div(tmp64, curr_erasesize); in mtd_concat_create() 929 erase_region_p->numblocks = tmp64; in mtd_concat_create() 946 tmp64 = position - begin; in mtd_concat_create() 947 do_div(tmp64, curr_erasesize); in mtd_concat_create() 948 erase_region_p->numblocks = tmp64; in mtd_concat_create()
|
| /openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/u-boot/corstone1000/ |
| H A D | 0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch | 90 + u64 tmp64; 107 + tmp64 = cpu_to_le64(simple_strtoull(uuid_str + 24, NULL, 16)); 108 + memcpy(uuid_bin + 10, &tmp64, 6);
|
| /openbmc/qemu/target/microblaze/ |
| H A D | mmu.c | 238 uint64_t tmp64; in mmu_write() local 267 tmp64 = env->mmu.rams[rn & 1][i]; in mmu_write() 268 env->mmu.rams[rn & 1][i] = deposit64(tmp64, ext * 32, 32, v); in mmu_write()
|
| /openbmc/qemu/tcg/ |
| H A D | tci.c | 355 uint64_t tmp64, taddr; in tcg_qemu_tb_exec() local 599 tmp64 = (int64_t)(int32_t)regs[r2] * (int32_t)regs[r3]; in tcg_qemu_tb_exec() 600 tci_write_reg64(regs, r1, r0, tmp64); in tcg_qemu_tb_exec() 608 tmp64 = (uint64_t)(uint32_t)regs[r2] * (uint32_t)regs[r3]; in tcg_qemu_tb_exec() 609 tci_write_reg64(regs, r1, r0, tmp64); in tcg_qemu_tb_exec() 809 tmp64 = tci_qemu_ld(env, taddr, oi, tb_ptr); in tcg_qemu_tb_exec() 810 tci_write_reg64(regs, r1, r0, tmp64); in tcg_qemu_tb_exec() 816 tmp64 = tci_uint64(regs[r1], regs[r0]); in tcg_qemu_tb_exec() 819 tci_qemu_st(env, taddr, tmp64, oi, tb_ptr); in tcg_qemu_tb_exec()
|
| /openbmc/qemu/target/hexagon/ |
| H A D | genptr.c | 1142 TCGv_i64 tmp64 = tcg_temp_new_i64(); in gen_asr_r_svw_trun() local 1154 tcg_gen_sextract_i64(tmp64, RssV, i * 32, 32); in gen_asr_r_svw_trun() 1155 tcg_gen_sar_i64(tmp64, tmp64, shift_amt64); in gen_asr_r_svw_trun() 1156 tcg_gen_extrl_i64_i32(tmp32, tmp64); in gen_asr_r_svw_trun() 1167 tcg_gen_sextract_i64(tmp64, RssV, i * 32, 32); in gen_asr_r_svw_trun() 1168 tcg_gen_shl_i64(tmp64, tmp64, shift_amt64); in gen_asr_r_svw_trun() 1169 tcg_gen_extrl_i64_i32(tmp32, tmp64); in gen_asr_r_svw_trun()
|
| /openbmc/qemu/migration/ |
| H A D | postcopy-ram.c | 1330 uint64_t tmp64 = 0; in postcopy_ram_fault_thread() local 1333 if (read(mis->userfault_event_fd, &tmp64, 8) != 8) { in postcopy_ram_fault_thread() 1772 uint64_t tmp64 = 1; in postcopy_fault_thread_notify() local 1778 if (write(mis->userfault_event_fd, &tmp64, 8) != 8) { in postcopy_fault_thread_notify()
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | translate.c | 3101 TCGv_i64 tmp64; in do_coproc_insn() local 3104 tmp64 = tcg_constant_i64(ri->resetvalue); in do_coproc_insn() 3109 tmp64 = tcg_temp_new_i64(); in do_coproc_insn() 3110 gen_helper_get_cp_reg64(tmp64, tcg_env, tcg_ri); in do_coproc_insn() 3112 tmp64 = tcg_temp_new_i64(); in do_coproc_insn() 3113 tcg_gen_ld_i64(tmp64, tcg_env, ri->fieldoffset); in do_coproc_insn() 3116 tcg_gen_extrl_i64_i32(tmp, tmp64); in do_coproc_insn() 3119 tcg_gen_extrh_i64_i32(tmp, tmp64); in do_coproc_insn() 3152 TCGv_i64 tmp64 = tcg_temp_new_i64(); in do_coproc_insn() local 3155 tcg_gen_concat_i32_i64(tmp64, tmplo, tmphi); in do_coproc_insn() [all …]
|
| H A D | translate-neon.c | 473 TCGv_i64 tmp64; in trans_VLDST_multiple() local 538 tmp64 = tcg_temp_new_i64(); in trans_VLDST_multiple() 550 gen_aa32_ld_internal_i64(s, tmp64, addr, mmu_idx, mop); in trans_VLDST_multiple() 551 neon_store_element64(tt, n, size, tmp64); in trans_VLDST_multiple() 553 neon_load_element64(tmp64, tt, n, size); in trans_VLDST_multiple() 554 gen_aa32_st_internal_i64(s, tmp64, addr, mmu_idx, mop); in trans_VLDST_multiple()
|