Home
last modified time | relevance | path

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

12

/linux/arch/parisc/kernel/
A Dperf.c556 uint64_t tmp64; in perf_stop_counters() local
568 raddr[0] = (uint32_t)tmp64; in perf_stop_counters()
571 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters()
574 raddr[1] = (uint32_t)tmp64; in perf_stop_counters()
580 tmp64 |= (userbuf[23] >> 8) & 0x0000000080000000; in perf_stop_counters()
581 raddr[2] = (uint32_t)tmp64; in perf_stop_counters()
587 raddr[3] = (uint32_t)tmp64; in perf_stop_counters()
741 uint64_t tmp64; in perf_write_image() local
770 tmp64 = *intrigue_bitmask & *memaddr++; in perf_write_image()
771 tmp64 |= (~(*intrigue_bitmask++)) & *bptr; in perf_write_image()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dvega20_thermal.c122 uint64_t tmp64; in vega20_fan_ctrl_get_fan_speed_pwm() local
132 tmp64 = (uint64_t)duty * 255; in vega20_fan_ctrl_get_fan_speed_pwm()
133 do_div(tmp64, duty100); in vega20_fan_ctrl_get_fan_speed_pwm()
134 *speed = min_t(uint32_t, tmp64, 255); in vega20_fan_ctrl_get_fan_speed_pwm()
145 uint64_t tmp64; in vega20_fan_ctrl_set_fan_speed_pwm() local
158 tmp64 = (uint64_t)speed * duty100; in vega20_fan_ctrl_set_fan_speed_pwm()
159 do_div(tmp64, 255); in vega20_fan_ctrl_set_fan_speed_pwm()
160 duty = (uint32_t)tmp64; in vega20_fan_ctrl_set_fan_speed_pwm()
A Dsmu7_thermal.c59 uint64_t tmp64; in smu7_fan_ctrl_get_fan_speed_pwm() local
73 tmp64 = (uint64_t)duty * 255; in smu7_fan_ctrl_get_fan_speed_pwm()
74 do_div(tmp64, duty100); in smu7_fan_ctrl_get_fan_speed_pwm()
75 *speed = min_t(uint32_t, tmp64, 255); in smu7_fan_ctrl_get_fan_speed_pwm()
208 uint64_t tmp64; in smu7_fan_ctrl_set_fan_speed_pwm() local
224 tmp64 = (uint64_t)speed * duty100; in smu7_fan_ctrl_set_fan_speed_pwm()
225 do_div(tmp64, 255); in smu7_fan_ctrl_set_fan_speed_pwm()
226 duty = (uint32_t)tmp64; in smu7_fan_ctrl_set_fan_speed_pwm()
A Dvega10_thermal.c72 uint64_t tmp64; in vega10_fan_ctrl_get_fan_speed_pwm() local
82 tmp64 = (uint64_t)duty * 255; in vega10_fan_ctrl_get_fan_speed_pwm()
83 do_div(tmp64, duty100); in vega10_fan_ctrl_get_fan_speed_pwm()
84 *speed = min_t(uint32_t, tmp64, 255); in vega10_fan_ctrl_get_fan_speed_pwm()
253 uint64_t tmp64; in vega10_fan_ctrl_set_fan_speed_pwm() local
269 tmp64 = (uint64_t)speed * duty100; in vega10_fan_ctrl_set_fan_speed_pwm()
270 do_div(tmp64, 255); in vega10_fan_ctrl_set_fan_speed_pwm()
271 duty = (uint32_t)tmp64; in vega10_fan_ctrl_set_fan_speed_pwm()
/linux/fs/ubifs/
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()
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()
257 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
262 tmp64 += ino_waste; in create_default_filesystem()
264 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
[all …]
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()
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
780 tmp64 *= (long long)c->leb_size - c->leb_overhead; in init_constants_master()
781 tmp64 = ubifs_reported_space(c, tmp64); in init_constants_master()
[all …]
/linux/drivers/media/pci/cx88/
A Dcx88-core.c888 u64 tmp64; in cx88_set_tvnorm() local
959 do_div(tmp64, vdec_clock); 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()
973 do_div(tmp64, vdec_clock); in cx88_set_tvnorm()
989 do_div(tmp64, fsc8); in cx88_set_tvnorm()
[all …]
/linux/drivers/media/usb/hdpvr/
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/
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()
A Dstv6111.c287 u64 tmp64; in muldiv32() local
289 tmp64 = (u64)a * (u64)b; in muldiv32()
290 do_div(tmp64, c); in muldiv32()
292 return (u32)tmp64; in muldiv32()
A Ddib7000p.c1760 u64 tmp64; in interpolate_value() local
1782 tmp64 = value - segments[i].x; in interpolate_value()
1783 tmp64 *= dy; in interpolate_value()
1784 do_div(tmp64, dx); in interpolate_value()
1785 ret = segments[i].y + tmp64; in interpolate_value()
1794 u64 time_us, tmp64; in dib7000p_get_time_us() local
1879 tmp64 = time_us; in dib7000p_get_time_us()
1880 do_div(tmp64, guard); in dib7000p_get_time_us()
1881 time_us = time_us + tmp64; in dib7000p_get_time_us()
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()
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()
/linux/arch/m68k/math-emu/
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/drivers/mtd/
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/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dsmu_v11_0.c1171 uint64_t tmp64; in smu_v11_0_set_fan_speed_pwm() local
1180 tmp64 = (uint64_t)speed * duty100; in smu_v11_0_set_fan_speed_pwm()
1181 do_div(tmp64, 255); in smu_v11_0_set_fan_speed_pwm()
1182 duty = (uint32_t)tmp64; in smu_v11_0_set_fan_speed_pwm()
1226 uint64_t tmp64; in smu_v11_0_get_fan_speed_pwm() local
1246 tmp64 = (uint64_t)duty * 255; in smu_v11_0_get_fan_speed_pwm()
1247 do_div(tmp64, duty100); in smu_v11_0_get_fan_speed_pwm()
1248 *speed = min_t(uint32_t, tmp64, 255); in smu_v11_0_get_fan_speed_pwm()
1259 uint64_t tmp64; in smu_v11_0_get_fan_speed_rpm() local
1276 do_div(tmp64, tach_status); in smu_v11_0_get_fan_speed_rpm()
[all …]
A Darcturus_ppt.c1195 uint64_t tmp64; in arcturus_get_fan_speed_rpm() local
1222 do_div(tmp64, tach_status); in arcturus_get_fan_speed_rpm()
1223 *speed = (uint32_t)tmp64; in arcturus_get_fan_speed_rpm()
1239 uint64_t tmp64; in arcturus_set_fan_speed_pwm() local
1248 tmp64 = (uint64_t)speed * duty100; in arcturus_set_fan_speed_pwm()
1249 do_div(tmp64, 255); in arcturus_set_fan_speed_pwm()
1250 duty = (uint32_t)tmp64; in arcturus_set_fan_speed_pwm()
1284 uint64_t tmp64; in arcturus_get_fan_speed_pwm() local
1303 tmp64 = (uint64_t)duty * 255; in arcturus_get_fan_speed_pwm()
1304 do_div(tmp64, duty100); in arcturus_get_fan_speed_pwm()
[all …]
/linux/include/net/
A Dnetlink.h1430 u64 tmp64 = value; in nla_put_uint() local
1433 if (tmp64 == tmp32) in nla_put_uint()
1435 return nla_put(skb, attrtype, sizeof(u64), &tmp64); in nla_put_uint()
1600 s64 tmp64 = value; in nla_put_sint() local
1603 if (tmp64 == tmp32) in nla_put_sint()
1605 return nla_put(skb, attrtype, sizeof(s64), &tmp64); in nla_put_sint()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
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/arch/x86/crypto/
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/msm/dsi/phy/
A Ddsi_phy_10nm.c417 u64 pll_freq, tmp64; in dsi_pll_10nm_vco_recalc_rate() local
434 tmp64 = (ref_clk * 2 * frac); in dsi_pll_10nm_vco_recalc_rate()
435 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_10nm_vco_recalc_rate()
A Ddsi_phy_7nm.c487 u64 pll_freq, tmp64; in dsi_pll_7nm_vco_recalc_rate() local
504 tmp64 = (ref_clk * 2 * frac); in dsi_pll_7nm_vco_recalc_rate()
505 pll_freq += div_u64(tmp64, multiplier); in dsi_pll_7nm_vco_recalc_rate()
/linux/drivers/net/ethernet/neterion/
A Ds2io.c3973 u64 tmp64; in s2io_close() local
5104 u64 tmp64; in do_s2io_add_mc() local
5109 if (tmp64 == mac_addr) in do_s2io_add_mc()
5155 if (tmp64 == addr) { in do_s2io_delete_unicast_mc()
5172 u64 tmp64, val64; in do_s2io_read_unicast_mc() local
5189 return tmp64 >> 16; in do_s2io_read_unicast_mc()
5223 u64 tmp64; in do_s2io_prog_unicast() local
5244 if (tmp64 == mac_addr) { in do_s2io_prog_unicast()
7666 u64 val64 = 0, tmp64 = 0; in s2io_init_nic() local
7940 mac_down = (u32)tmp64; in s2io_init_nic()
[all …]
/linux/fs/afs/
A Dinternal.h187 __be64 tmp64; member
1380 call->iov_len = sizeof(call->tmp64); in afs_extract_to_tmp64()
1381 afs_extract_begin(call, &call->tmp64, sizeof(call->tmp64)); in afs_extract_to_tmp64()
/linux/drivers/w1/
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()

Completed in 73 milliseconds

12