Home
last modified time | relevance | path

Searched refs:temp64 (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/arch/x86/lib/
H A Dcsum-partial_64.c16 return (__force __wsum)((temp64 + ror64(temp64, 32)) >> 32); in csum_finalize_sum()
46 u64 temp64 = (__force u64)sum; in csum_partial() local
52 temp64 = update_csum_40b(temp64, buff); in csum_partial()
60 :"+r" (temp64): "r" (temp64_2)); in csum_partial()
68 temp64 = update_csum_40b(temp64, buff); in csum_partial()
71 return csum_finalize_sum(temp64); in csum_partial()
81 : [res] "+r"(temp64) in csum_partial()
89 : [res] "+r"(temp64) in csum_partial()
96 : [res] "+r"(temp64) in csum_partial()
108 : [res] "+r"(temp64) in csum_partial()
[all …]
/openbmc/linux/drivers/clk/imx/
H A Dclk-frac-pll.c110 temp64 *= 8; in clk_pll_recalc_rate()
111 temp64 *= divff; in clk_pll_recalc_rate()
117 rate += temp64; in clk_pll_recalc_rate()
127 u64 temp64; in clk_pll_round_rate() local
131 temp64 = rate; in clk_pll_round_rate()
133 divfi = temp64; in clk_pll_round_rate()
137 divff = temp64; in clk_pll_round_rate()
140 temp64 *= divff; in clk_pll_round_rate()
160 u64 temp64; in clk_pll_set_rate() local
167 temp64 = rate - temp64; in clk_pll_set_rate()
[all …]
H A Dclk-pllv4.c83 u64 temp64; in clk_pllv4_recalc_rate() local
92 temp64 *= mfn; in clk_pllv4_recalc_rate()
93 do_div(temp64, mfd); in clk_pllv4_recalc_rate()
106 u64 temp64; in clk_pllv4_round_rate() local
112 mult = temp64; in clk_pllv4_round_rate()
138 temp64 *= mfd; in clk_pllv4_round_rate()
140 mfn = temp64; in clk_pllv4_round_rate()
152 temp64 *= mfn; in clk_pllv4_round_rate()
182 u64 temp64; in clk_pllv4_set_rate() local
193 temp64 *= mfd; in clk_pllv4_set_rate()
[all …]
H A Dclk-pllv3.c223 temp64 *= mfn; in clk_pllv3_av_recalc_rate()
238 u64 temp64; in clk_pllv3_av_round_rate() local
250 temp64 *= mfd; in clk_pllv3_av_round_rate()
251 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_round_rate()
252 mfn = temp64; in clk_pllv3_av_round_rate()
270 u64 temp64; in clk_pllv3_av_set_rate() local
281 temp64 = div64_ul(temp64, parent_rate); in clk_pllv3_av_set_rate()
282 mfn = temp64; in clk_pllv3_av_set_rate()
312 u64 temp64; in clk_pllv3_vf610_mf_to_rate() local
325 u64 temp64; in clk_pllv3_vf610_rate_to_mf() local
[all …]
H A Dclk-sscg-pll.c332 u64 temp64; in clk_sscg_pll_recalc_rate() local
341 temp64 = parent_rate; in clk_sscg_pll_recalc_rate()
345 temp64 = parent_rate; in clk_sscg_pll_recalc_rate()
347 temp64 *= divf2; in clk_sscg_pll_recalc_rate()
348 do_div(temp64, (divr2 + 1) * (divq + 1)); in clk_sscg_pll_recalc_rate()
350 temp64 *= 2; in clk_sscg_pll_recalc_rate()
351 temp64 *= (divf1 + 1) * (divf2 + 1); in clk_sscg_pll_recalc_rate()
352 do_div(temp64, (divr1 + 1) * (divr2 + 1) * (divq + 1)); in clk_sscg_pll_recalc_rate()
355 return temp64; in clk_sscg_pll_recalc_rate()
H A Dclk-pllv2.c131 u64 temp64; in __clk_pllv2_set_rate() local
142 temp64 = rate * (pdf + 1) - quad_parent_rate * mfi; in __clk_pllv2_set_rate()
143 do_div(temp64, quad_parent_rate / 1000000); in __clk_pllv2_set_rate()
144 mfn = (long)temp64; in __clk_pllv2_set_rate()
/openbmc/qemu/target/tricore/
H A Dtranslate.c680 tcg_gen_ext32s_i64(temp64, temp64); /* low */ in gen_maddsum_h()
681 tcg_gen_sub_i64(temp64, temp64_2, temp64); in gen_maddsum_h()
682 tcg_gen_shli_i64(temp64, temp64, 16); in gen_maddsum_h()
786 tcg_gen_ext32s_i64(temp64, temp64); /* low */ in gen_maddsums_h()
787 tcg_gen_sub_i64(temp64, temp64_2, temp64); in gen_maddsums_h()
788 tcg_gen_shli_i64(temp64, temp64, 16); in gen_maddsums_h()
1989 tcg_gen_ext32s_i64(temp64, temp64); /* low */ in gen_msubadm_h()
1990 tcg_gen_sub_i64(temp64, temp64_2, temp64); in gen_msubadm_h()
1991 tcg_gen_shli_i64(temp64, temp64, 16); in gen_msubadm_h()
2083 tcg_gen_sub_i64(temp64, temp64_2, temp64); in gen_msubadms_h()
[all …]
/openbmc/u-boot/drivers/thermal/
H A Dimx_thermal.c59 s64 temp64; in read_cpu_temperature() local
90 temp64 = FACTOR0; in read_cpu_temperature()
91 temp64 *= 1000000; in read_cpu_temperature()
92 temp64 = div_s64_rem(temp64, FACTOR1 * n1 - FACTOR2, &rem); in read_cpu_temperature()
93 c1 = temp64; in read_cpu_temperature()
/openbmc/u-boot/post/drivers/
H A Dmemory.c203 unsigned long long temp64 = 0; in memory_post_dataline() local
216 move64(pmem, &temp64); in memory_post_dataline()
219 temp64 ^= 0x00008000; in memory_post_dataline()
222 if (temp64 != pattern[i]){ in memory_post_dataline()
226 hi = (temp64>>32) & 0xffffffff; in memory_post_dataline()
227 lo = temp64 & 0xffffffff; in memory_post_dataline()
/openbmc/linux/drivers/acpi/acpica/
H A Ddbinput.c700 u64 temp64; in acpi_db_command_dispatch() local
827 status = acpi_ut_strtoul64(acpi_gbl_db_args[1], &temp64); in acpi_db_command_dispatch()
830 || temp64 >= ACPI_NUM_PREDEFINED_REGIONS) { in acpi_db_command_dispatch()
837 status = acpi_db_display_fields((u32)temp64); in acpi_db_command_dispatch()
/openbmc/linux/drivers/thermal/
H A Dimx_thermal.c390 u64 temp64; in imx_init_calib() local
427 temp64 = 10000000; /* use 10^7 as fixed point constant for values in formula */ in imx_init_calib()
428 temp64 *= 1000; /* to get result in °mC */ in imx_init_calib()
429 do_div(temp64, 15423 * n1 - 4148468); in imx_init_calib()
430 data->c1 = temp64; in imx_init_calib()
/openbmc/linux/drivers/crypto/ccree/
H A Dcc_aead.c1857 __be64 temp64; in config_gcm_context() local
1859 temp64 = cpu_to_be64(req_ctx->assoclen * 8); in config_gcm_context()
1860 memcpy(&req_ctx->gcm_len_block.len_a, &temp64, sizeof(temp64)); in config_gcm_context()
1861 temp64 = cpu_to_be64(cryptlen * 8); in config_gcm_context()
1862 memcpy(&req_ctx->gcm_len_block.len_c, &temp64, 8); in config_gcm_context()
1867 __be64 temp64; in config_gcm_context() local
1869 temp64 = cpu_to_be64((req_ctx->assoclen + cryptlen) * 8); in config_gcm_context()
1870 memcpy(&req_ctx->gcm_len_block.len_a, &temp64, sizeof(temp64)); in config_gcm_context()
1871 temp64 = 0; in config_gcm_context()
1872 memcpy(&req_ctx->gcm_len_block.len_c, &temp64, 8); in config_gcm_context()
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c296 volatile __u64 temp64; in runtest_dar_outside() local
379 temp64 = *((__u64 *)target); in runtest_dar_outside()
380 *((__u64 *)target) = temp64; in runtest_dar_outside()
/openbmc/linux/drivers/comedi/drivers/
H A Dni_tio.c812 u64 temp64 = 0; in ni_tio_get_clock_src() local
818 ret = ni_tio_clock_period_ps(counter, *clock_source, &temp64); in ni_tio_get_clock_src()
821 do_div(temp64, 1000); /* ps to ns */ in ni_tio_get_clock_src()
822 *period_ns = temp64; in ni_tio_get_clock_src()
/openbmc/qemu/target/mips/tcg/
H A Ddsp_helper.c287 bool temp64; in mipsdsp_sat64_acc_add_q63() local
296 temp64 = ret[1] & 1; in mipsdsp_sat64_acc_add_q63()
297 if (temp64 != ((ret[0] >> 63) & 0x01)) { in mipsdsp_sat64_acc_add_q63()
298 if (temp64) { in mipsdsp_sat64_acc_add_q63()
314 bool temp64; in mipsdsp_sat64_acc_sub_q63() local
322 temp64 = ret[1] & 1; in mipsdsp_sat64_acc_sub_q63()
323 if (temp64 != ((ret[0] >> 63) & 0x01)) { in mipsdsp_sat64_acc_sub_q63()
324 if (temp64) { in mipsdsp_sat64_acc_sub_q63()
3178 int32_t tempI, temp64; in helper_extr_rs_w() local
3196 temp64 = tempDL[1] & 0x01; in helper_extr_rs_w()
[all …]
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c1839 u64 temp64; in do_s2io_write_bits() local
1841 temp64 = readq(addr); in do_s2io_write_bits()
1844 temp64 &= ~((u64)value); in do_s2io_write_bits()
1846 temp64 |= ((u64)value); in do_s2io_write_bits()
1847 writeq(temp64, addr); in do_s2io_write_bits()
2059 temp64 &= ~((u64)intr_mask); in en_dis_able_nic_intrs()
2061 temp64 = DISABLE_ALL_INTRS; in en_dis_able_nic_intrs()
4365 u64 temp64 = 0, val64 = 0; in s2io_handle_errors() local
4413 temp64 >>= 64 - ((i+1)*16); in s2io_handle_errors()
4414 sw_stat->ring_full_cnt[i] += temp64; in s2io_handle_errors()
[all …]
/openbmc/linux/drivers/scsi/
H A Dhpsa.c2272 u64 temp64; in hpsa_map_ioaccel2_sg_chain_block() local
2284 cp->sg->address = cpu_to_le64(temp64); in hpsa_map_ioaccel2_sg_chain_block()
2292 u64 temp64; in hpsa_unmap_ioaccel2_sg_chain_block() local
2296 temp64 = le64_to_cpu(chain_sg->address); in hpsa_unmap_ioaccel2_sg_chain_block()
2305 u64 temp64; in hpsa_map_sg_chain_block() local
2321 chain_sg->Addr = cpu_to_le64(temp64); in hpsa_map_sg_chain_block()
6406 u64 temp64; in hpsa_passthru_ioctl() local
6460 c->SG[0].Addr = cpu_to_le64(temp64); in hpsa_passthru_ioctl()
6498 u64 temp64; in hpsa_big_passthru_ioctl() local
6562 (dma_addr_t) temp64)) { in hpsa_big_passthru_ioctl()
[all …]