/linux-6.3-rc2/drivers/clk/imx/ |
A D | clk-frac-pll.c | 110 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 …]
|
A D | clk-pllv4.c | 79 u64 temp64; in clk_pllv4_recalc_rate() local 88 temp64 *= mfn; in clk_pllv4_recalc_rate() 89 do_div(temp64, mfd); in clk_pllv4_recalc_rate() 101 u64 temp64; in clk_pllv4_round_rate() local 121 temp64 *= mfd; in clk_pllv4_round_rate() 123 mfn = temp64; in clk_pllv4_round_rate() 135 temp64 *= mfn; in clk_pllv4_round_rate() 136 do_div(temp64, mfd); in clk_pllv4_round_rate() 159 u64 temp64; in clk_pllv4_set_rate() local 170 temp64 *= mfd; in clk_pllv4_set_rate() [all …]
|
A D | clk-pllv3.c | 223 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 …]
|
A D | clk-sscg-pll.c | 332 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()
|
A D | clk-pllv2.c | 131 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()
|
/linux-6.3-rc2/arch/x86/lib/ |
A D | csum-partial_64.c | 37 u64 temp64 = (__force u64)sum; in csum_partial() local 44 temp64 = ror32((__force u32)sum, 8); in csum_partial() 45 temp64 += (*(unsigned char *)buff << 8); in csum_partial() 60 : [res] "+r" (temp64) in csum_partial() 73 : [res] "+r" (temp64) in csum_partial() 82 : [res] "+r" (temp64) in csum_partial() 90 : [res] "+r" (temp64) in csum_partial() 103 : [res] "+r" (temp64) in csum_partial() 106 result = add32_with_carry(temp64 >> 32, temp64 & 0xffffffff); in csum_partial()
|
/linux-6.3-rc2/drivers/acpi/acpica/ |
A D | dbinput.c | 697 u64 temp64; in acpi_db_command_dispatch() local 824 status = acpi_ut_strtoul64(acpi_gbl_db_args[1], &temp64); in acpi_db_command_dispatch() 827 || temp64 >= ACPI_NUM_PREDEFINED_REGIONS) { in acpi_db_command_dispatch() 834 status = acpi_db_display_fields((u32)temp64); in acpi_db_command_dispatch()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | imx_thermal.c | 417 u64 temp64; in imx_init_calib() local 454 temp64 = 10000000; /* use 10^7 as fixed point constant for values in formula */ in imx_init_calib() 455 temp64 *= 1000; /* to get result in °mC */ in imx_init_calib() 456 do_div(temp64, 15423 * n1 - 4148468); in imx_init_calib() 457 data->c1 = temp64; in imx_init_calib()
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A D | cc_aead.c | 1857 __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()
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/ptrace/ |
A D | perf-hwbreak.c | 296 volatile __u64 temp64; in runtest_dar_outside() local 379 temp64 = *((__u64 *)target); in runtest_dar_outside() 380 *((__u64 *)target) = temp64; in runtest_dar_outside()
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A D | ni_tio.c | 812 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()
|
/linux-6.3-rc2/drivers/net/ethernet/neterion/ |
A D | s2io.c | 1839 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 …]
|
/linux-6.3-rc2/drivers/scsi/ |
A D | hpsa.c | 2272 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 …]
|