Home
last modified time | relevance | path

Searched refs:tmp64 (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/fs/ubifs/
H A Dsb.c82 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 Dsuper.c836 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 Dw1-uclass.c32 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 Duuid.c148 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 Dmtdconcat.c869 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 D0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch90 + u64 tmp64;
107 + tmp64 = cpu_to_le64(simple_strtoull(uuid_str + 24, NULL, 16));
108 + memcpy(uuid_bin + 10, &tmp64, 6);