Home
last modified time | relevance | path

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

12

/linux/fs/ubifs/
H A Dsb.c88 long long tmp64, main_bytes; in create_default_filesystem() local
177 tmp64 = (long long)max_buds * c->leb_size; in create_default_filesystem()
200 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
217 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
218 if (tmp64 > DEFAULT_MAX_RP_SIZE) in create_default_filesystem()
219 tmp64 = DEFAULT_MAX_RP_SIZE; in create_default_filesystem()
220 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
254 tmp64 = main_bytes; in create_default_filesystem()
255 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem()
256 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem()
[all …]
H A Dsuper.c676 long long tmp64; in init_constants_sb() local
703 tmp64 = c->max_bud_bytes + c->leb_size - 1; in init_constants_sb()
704 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb()
740 tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1; in init_constants_sb()
741 if (c->bg_bud_bytes < tmp64) in init_constants_sb()
742 c->bg_bud_bytes = tmp64; in init_constants_sb()
743 if (c->max_bud_bytes < tmp64 + c->leb_size) in init_constants_sb()
744 c->max_bud_bytes = tmp64 + c->leb_size; in init_constants_sb()
765 long long tmp64; in init_constants_master() local
779 tmp64 = c->main_lebs - 1 - 1 - MIN_INDEX_LEBS - c->jhead_cnt; in init_constants_master()
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88-core.c888 u64 tmp64; in cx88_set_tvnorm() local
958 tmp64 = adc_clock * (u64)(1 << 17); in cx88_set_tvnorm()
959 do_div(tmp64, vdec_clock); in cx88_set_tvnorm()
961 (u32)tmp64, cx_read(MO_SCONV_REG)); in cx88_set_tvnorm()
962 cx_write(MO_SCONV_REG, (u32)tmp64); in cx88_set_tvnorm()
965 tmp64 = step_db * (u64)(1 << 22); in cx88_set_tvnorm()
966 do_div(tmp64, vdec_clock); in cx88_set_tvnorm()
968 (u32)tmp64, cx_read(MO_SUB_STEP)); in cx88_set_tvnorm()
969 cx_write(MO_SUB_STEP, (u32)tmp64); in cx88_set_tvnorm()
972 tmp64 = step_dr * (u64)(1 << 22); in cx88_set_tvnorm()
[all …]
/linux/drivers/media/usb/hdpvr/
H A Dhdpvr-core.c72 u64 tmp64; in challenge() local
101 tmp64 = le64_to_cpup(i64P); in challenge()
102 tmp64 = tmp64 + (tmp64 << (bytes[7] & 0x0f)); in challenge()
103 *i64P = cpu_to_le64(tmp64); in challenge()
/linux/drivers/media/dvb-frontends/
H A Dtda10086.c455 u64 tmp64; in tda10086_get_frontend() local
464 tmp64 = ((u64)tda10086_read_byte(state, 0x52) in tda10086_get_frontend()
466 if (tmp64 & 0x8000) in tda10086_get_frontend()
467 tmp64 |= 0xffffffffffff0000ULL; in tda10086_get_frontend()
468 tmp64 = (tmp64 * (SACLK/1000ULL)); in tda10086_get_frontend()
469 do_div(tmp64, (1ULL<<15) * (1ULL<<1)); in tda10086_get_frontend()
470 fe_params->frequency = (int) state->frequency + (int) tmp64; in tda10086_get_frontend()
H A Dmb86a20s.c1347 u64 tmp64; in interpolate_value() local
1367 tmp64 = value - segments[i].x; in interpolate_value()
1368 tmp64 *= dy; in interpolate_value()
1369 do_div(tmp64, dx); in interpolate_value()
1370 ret = segments[i].y - tmp64; in interpolate_value()
H A Dstv0910.c60 u64 tmp64; in muldiv32() local
62 tmp64 = (u64)a * (u64)b; in muldiv32()
63 do_div(tmp64, c); in muldiv32()
65 return (u32)tmp64; in muldiv32()
H A Ddrxd_hard.c217 u64 tmp64; in MulDiv32() local
219 tmp64 = (u64)a * (u64)b; in MulDiv32()
220 do_div(tmp64, c); in MulDiv32()
222 return (u32) tmp64; in MulDiv32()
/linux/drivers/mtd/
H A Dmtdconcat.c814 uint64_t tmp64; in mtd_concat_create() local
854 tmp64 = position - begin; in mtd_concat_create()
855 do_div(tmp64, curr_erasesize); in mtd_concat_create()
856 erase_region_p->numblocks = tmp64; in mtd_concat_create()
873 tmp64 = position - begin; in mtd_concat_create()
874 do_div(tmp64, curr_erasesize); in mtd_concat_create()
875 erase_region_p->numblocks = tmp64; in mtd_concat_create()
892 tmp64 = position - begin; in mtd_concat_create()
893 do_div(tmp64, curr_erasesize); in mtd_concat_create()
894 erase_region_p->numblocks = tmp64; in mtd_concat_create()
/linux/arch/m68k/math-emu/
H A Dmulti_arith.h186 union fp_mant64 tmp64; in fp_dividemant() local
231 fp_mul64(tmp64.m32[0], tmp64.m32[1], *mantp, div->mant.m32[1]); in fp_dividemant()
232 fp_sub96c(tmp, 0, tmp64.m32[0], tmp64.m32[1]); in fp_dividemant()
/linux/arch/x86/crypto/
H A Daes-ctr-avx-x86_64.S118 .macro _load_partial_block src, dst, tmp64, tmp32
148 shl %cl, \tmp64
149 or \tmp64, %rax // Combine the two parts
157 .macro _store_partial_block src, dst, tmp64, tmp32
166 mov %rax, (\dst, \tmp64) // Store last LEN - 8 bytes
179 mov %eax, (\dst, \tmp64) // Store last LEN - 4 bytes
H A Daes-gcm-vaes-avx2.S406 .macro _load_partial_block src, dst, tmp64, tmp32
436 shl %cl, \tmp64
437 or \tmp64, %rax // Combine the two parts
445 .macro _store_partial_block src, dst, tmp64, tmp32
454 mov %rax, (\dst, \tmp64) // Store last LEN - 8 bytes
467 mov %eax, (\dst, \tmp64) // Store last LEN - 4 bytes
H A Daes-gcm-aesni-x86_64.S210 .macro _load_partial_block src, dst, tmp64, tmp32
240 shl %cl, \tmp64
241 or \tmp64, %rax // Combine the two parts
/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1181 uint64_t tmp64; in smu_v11_0_set_fan_speed_pwm() local
1190 tmp64 = (uint64_t)speed * duty100; in smu_v11_0_set_fan_speed_pwm()
1191 do_div(tmp64, 255); in smu_v11_0_set_fan_speed_pwm()
1192 duty = (uint32_t)tmp64; in smu_v11_0_set_fan_speed_pwm()
1236 uint64_t tmp64; in smu_v11_0_get_fan_speed_pwm() local
1256 tmp64 = (uint64_t)duty * 255; in smu_v11_0_get_fan_speed_pwm()
1257 do_div(tmp64, duty100); in smu_v11_0_get_fan_speed_pwm()
1258 *speed = min_t(uint32_t, tmp64, 255); in smu_v11_0_get_fan_speed_pwm()
1269 uint64_t tmp64; in smu_v11_0_get_fan_speed_rpm() local
1282 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in smu_v11_0_get_fan_speed_rpm()
[all …]
/linux/include/net/
H A Dnetlink.h1470 u64 tmp64 = value; in nla_put_uint() local
1473 if (tmp64 == tmp32) in nla_put_uint()
1475 return nla_put(skb, attrtype, sizeof(u64), &tmp64); in nla_put_uint()
1640 s64 tmp64 = value; in nla_put_sint() local
1643 if (tmp64 == tmp32) in nla_put_sint()
1645 return nla_put(skb, attrtype, sizeof(s64), &tmp64); in nla_put_sint()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_cppcore.c289 u64 tmp64 = address; in nfp_cpp_area_alloc_with_name() local
293 err = nfp_target_cpp(dest, tmp64, &dest, &tmp64, cpp->imb_cat_table); in nfp_cpp_area_alloc_with_name()
297 address = tmp64; in nfp_cpp_area_alloc_with_name()
/linux/fs/afs/
H A Dinternal.h191 __be64 tmp64; member
1448 call->iov_len = sizeof(call->tmp64); in afs_extract_to_tmp64()
1449 afs_extract_begin(call, &call->tmp64, sizeof(call->tmp64)); in afs_extract_to_tmp64()
/linux/drivers/w1/
H A Dw1.c980 u64 last_rn, rn, tmp64; in w1_search() local
1047 tmp64 = (triplet_ret >> 2); in w1_search()
1048 rn |= (tmp64 << i); in w1_search()
/linux/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy_7nm.c576 u64 pll_freq, tmp64; in dsi_pll_7nm_vco_recalc_rate() local
594 tmp64 = (ref_clk * 2 * frac); in dsi_pll_7nm_vco_recalc_rate()
595 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_7nm_vco_recalc_rate()
/linux/drivers/gpu/drm/radeon/
H A Dsi_dpm.c5975 u64 tmp64; in si_thermal_setup_fan_table() local
5989 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
5990 do_div(tmp64, 10000); in si_thermal_setup_fan_table()
5991 fdo_min = (u16)tmp64; in si_thermal_setup_fan_table()
6076 u64 tmp64; in si_fan_ctrl_get_fan_speed_percent() local
6087 tmp64 = (u64)duty * 100; in si_fan_ctrl_get_fan_speed_percent()
6088 do_div(tmp64, duty100); in si_fan_ctrl_get_fan_speed_percent()
6089 *speed = (u32)tmp64; in si_fan_ctrl_get_fan_speed_percent()
6103 u64 tmp64; in si_fan_ctrl_set_fan_speed_percent() local
6119 tmp64 = (u64)speed * duty100; in si_fan_ctrl_set_fan_speed_percent()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0.c1103 uint64_t tmp64; in smu_v13_0_set_fan_speed_pwm() local
1115 tmp64 = (uint64_t)speed * duty100; in smu_v13_0_set_fan_speed_pwm()
1116 do_div(tmp64, 255); in smu_v13_0_set_fan_speed_pwm()
1117 duty = (uint32_t)tmp64; in smu_v13_0_set_fan_speed_pwm()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c6530 u64 tmp64; in si_thermal_setup_fan_table() local
6544 tmp64 = (u64)adev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6545 do_div(tmp64, 10000); in si_thermal_setup_fan_table()
6546 fdo_min = (u16)tmp64; in si_thermal_setup_fan_table()
6623 u64 tmp64; in si_dpm_get_fan_speed_pwm() local
6638 tmp64 = (u64)duty * 255; in si_dpm_get_fan_speed_pwm()
6639 do_div(tmp64, duty100); in si_dpm_get_fan_speed_pwm()
6640 *speed = min_t(u32, tmp64, 255); in si_dpm_get_fan_speed_pwm()
6652 u64 tmp64; in si_dpm_set_fan_speed_pwm() local
6668 tmp64 = (u64)speed * duty100; in si_dpm_set_fan_speed_pwm()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Diceland_smumgr.c2094 uint64_t tmp64; in iceland_thermal_setup_fan_table() local
2117 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in iceland_thermal_setup_fan_table()
2118 do_div(tmp64, 10000); in iceland_thermal_setup_fan_table()
2119 fdo_min = (uint16_t)tmp64; in iceland_thermal_setup_fan_table()
H A Dfiji_smumgr.c2138 uint64_t tmp64; in fiji_thermal_setup_fan_table() local
2161 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters. in fiji_thermal_setup_fan_table()
2163 do_div(tmp64, 10000); in fiji_thermal_setup_fan_table()
2164 fdo_min = (uint16_t)tmp64; in fiji_thermal_setup_fan_table()
H A Dci_smumgr.c2134 uint64_t tmp64; in ci_thermal_setup_fan_table() local
2157 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in ci_thermal_setup_fan_table()
2158 do_div(tmp64, 10000); in ci_thermal_setup_fan_table()
2159 fdo_min = (uint16_t)tmp64; in ci_thermal_setup_fan_table()

12