/linux-4.1.27/arch/parisc/kernel/ |
D | perf.c | 572 uint64_t tmp64; in perf_stop_counters() local 580 tmp64 = (userbuf[21] << 22) & 0x00000000ffc00000; in perf_stop_counters() 581 tmp64 |= (userbuf[22] >> 42) & 0x00000000003fffff; in perf_stop_counters() 583 tmp64 |= (userbuf[22] >> 10) & 0x0000000080000000; in perf_stop_counters() 584 raddr[0] = (uint32_t)tmp64; in perf_stop_counters() 587 tmp64 = (userbuf[22] >> 9) & 0x00000000ffffffff; in perf_stop_counters() 589 tmp64 |= (userbuf[22] << 23) & 0x0000000080000000; in perf_stop_counters() 590 raddr[1] = (uint32_t)tmp64; in perf_stop_counters() 593 tmp64 = (userbuf[22] << 24) & 0x00000000ff000000; in perf_stop_counters() 594 tmp64 |= (userbuf[23] >> 40) & 0x0000000000ffffff; in perf_stop_counters() [all …]
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | uaccess.h | 29 u64 tmp64; in __copy_from_user() local 48 : "=&a"(tmp64) in __copy_from_user() 65 u64 tmp64; in __copy_to_user() local 84 : "=&a"(tmp64) in __copy_to_user()
|
/linux-4.1.27/fs/ubifs/ |
D | sb.c | 85 long long tmp64, main_bytes; in create_default_filesystem() local 163 tmp64 = (long long)max_buds * c->leb_size; in create_default_filesystem() 174 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem() 191 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem() 192 if (tmp64 > DEFAULT_MAX_RP_SIZE) in create_default_filesystem() 193 tmp64 = DEFAULT_MAX_RP_SIZE; in create_default_filesystem() 194 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem() 235 tmp64 = main_bytes; in create_default_filesystem() 236 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem() 237 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem() [all …]
|
D | super.c | 650 long long tmp64; in init_constants_sb() local 677 tmp64 = c->max_bud_bytes + c->leb_size - 1; in init_constants_sb() 678 c->max_bud_cnt = div_u64(tmp64, c->leb_size); in init_constants_sb() 714 tmp64 = (long long)(c->jhead_cnt + 1) * c->leb_size + 1; in init_constants_sb() 715 if (c->bg_bud_bytes < tmp64) in init_constants_sb() 716 c->bg_bud_bytes = tmp64; in init_constants_sb() 717 if (c->max_bud_bytes < tmp64 + c->leb_size) in init_constants_sb() 718 c->max_bud_bytes = tmp64 + c->leb_size; in init_constants_sb() 739 long long tmp64; in init_constants_master() local 753 tmp64 = c->main_lebs - 1 - 1 - MIN_INDEX_LEBS - c->jhead_cnt + 1; in init_constants_master() [all …]
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-core.c | 863 u64 tmp64; in cx88_set_tvnorm() local 931 tmp64 = adc_clock * (u64)(1 << 17); in cx88_set_tvnorm() 932 do_div(tmp64, vdec_clock); in cx88_set_tvnorm() 934 (u32)tmp64, cx_read(MO_SCONV_REG)); in cx88_set_tvnorm() 935 cx_write(MO_SCONV_REG, (u32)tmp64); in cx88_set_tvnorm() 938 tmp64 = step_db * (u64)(1 << 22); in cx88_set_tvnorm() 939 do_div(tmp64, vdec_clock); in cx88_set_tvnorm() 941 (u32)tmp64, cx_read(MO_SUB_STEP)); in cx88_set_tvnorm() 942 cx_write(MO_SUB_STEP, (u32)tmp64); in cx88_set_tvnorm() 945 tmp64 = step_dr * (u64)(1 << 22); in cx88_set_tvnorm() [all …]
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
D | hdpvr-core.c | 78 u64 tmp64; in challenge() local 107 tmp64 = le64_to_cpup(i64P); in challenge() 108 tmp64 = tmp64 + (tmp64 << (bytes[7] & 0x0f)); in challenge() 109 *i64P = cpu_to_le64(tmp64); in challenge()
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | tda10086.c | 466 u64 tmp64; in tda10086_get_frontend() local 475 tmp64 = tda10086_read_byte(state, 0x52); in tda10086_get_frontend() 476 tmp64 |= (tda10086_read_byte(state, 0x51) << 8); in tda10086_get_frontend() 477 if (tmp64 & 0x8000) in tda10086_get_frontend() 478 tmp64 |= 0xffffffffffff0000ULL; in tda10086_get_frontend() 479 tmp64 = (tmp64 * (SACLK/1000ULL)); in tda10086_get_frontend() 480 do_div(tmp64, (1ULL<<15) * (1ULL<<1)); in tda10086_get_frontend() 481 fe_params->frequency = (int) state->frequency + (int) tmp64; in tda10086_get_frontend()
|
D | dib7000p.c | 1752 u64 tmp64; in interpolate_value() local 1774 tmp64 = value - segments[i].x; in interpolate_value() 1775 tmp64 *= dy; in interpolate_value() 1776 do_div(tmp64, dx); in interpolate_value() 1777 ret = segments[i].y + tmp64; in interpolate_value() 1786 u64 time_us, tmp64; in dib7000p_get_time_us() local 1868 tmp64 = time_us; in dib7000p_get_time_us() 1869 do_div(tmp64, guard); in dib7000p_get_time_us() 1870 time_us = time_us + tmp64; in dib7000p_get_time_us()
|
D | mb86a20s.c | 1366 u64 tmp64; in interpolate_value() local 1386 tmp64 = value - segments[i].x; in interpolate_value() 1387 tmp64 *= dy; in interpolate_value() 1388 do_div(tmp64, dx); in interpolate_value() 1389 ret = segments[i].y - tmp64; in interpolate_value()
|
D | dib8000.c | 3948 u64 tmp64; in interpolate_value() local 3970 tmp64 = value - segments[i].x; in interpolate_value() 3971 tmp64 *= dy; in interpolate_value() 3972 do_div(tmp64, dx); in interpolate_value() 3973 ret = segments[i].y + tmp64; in interpolate_value() 3983 u64 time_us, tmp64; in dib8000_get_time_us() local 4080 tmp64 = time_us; in dib8000_get_time_us() 4081 do_div(tmp64, guard); in dib8000_get_time_us() 4082 time_us = time_us + tmp64; in dib8000_get_time_us()
|
D | drxd_hard.c | 233 u64 tmp64; in MulDiv32() local 235 tmp64 = (u64)a * (u64)b; in MulDiv32() 236 do_div(tmp64, c); in MulDiv32() 238 return (u32) tmp64; in MulDiv32()
|
D | drxk_hard.c | 177 u64 tmp64; in MulDiv32() local 179 tmp64 = (u64) a * (u64) b; in MulDiv32() 180 do_div(tmp64, c); in MulDiv32() 182 return (u32) tmp64; in MulDiv32()
|
/linux-4.1.27/arch/m68k/math-emu/ |
D | multi_arith.h | 185 union fp_mant64 tmp64; in fp_dividemant() local 230 fp_mul64(tmp64.m32[0], tmp64.m32[1], *mantp, div->mant.m32[1]); in fp_dividemant() 231 fp_sub96c(tmp, 0, tmp64.m32[0], tmp64.m32[1]); in fp_dividemant()
|
/linux-4.1.27/drivers/mtd/ |
D | mtdconcat.c | 840 uint64_t tmp64; in mtd_concat_create() local 879 tmp64 = position - begin; in mtd_concat_create() 880 do_div(tmp64, curr_erasesize); in mtd_concat_create() 881 erase_region_p->numblocks = tmp64; in mtd_concat_create() 898 tmp64 = position - begin; in mtd_concat_create() 899 do_div(tmp64, curr_erasesize); in mtd_concat_create() 900 erase_region_p->numblocks = tmp64; in mtd_concat_create() 917 tmp64 = position - begin; in mtd_concat_create() 918 do_div(tmp64, curr_erasesize); in mtd_concat_create() 919 erase_region_p->numblocks = tmp64; in mtd_concat_create()
|
/linux-4.1.27/drivers/media/tuners/ |
D | msi001.c | 96 u64 f_vco, tmp64; in msi001_set_tuner() local 204 tmp64 = f_vco; in msi001_set_tuner() 205 m = do_div(tmp64, F_REF * R_REF); in msi001_set_tuner() 206 n = (unsigned int) tmp64; in msi001_set_tuner()
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_sdma.c | 423 u64 tmp64; in setup_sdma() local 453 tmp64 = dd->ipath_sdma_descq_cnt; in setup_sdma() 454 tmp64 |= 1<<18; /* enable generation checking */ in setup_sdma() 455 ipath_write_kreg(dd, dd->ipath_kregs->kr_senddmalengen, tmp64); in setup_sdma()
|
/linux-4.1.27/drivers/net/ethernet/neterion/ |
D | s2io.c | 3979 u64 tmp64; in s2io_close() local 3991 tmp64 = do_s2io_read_unicast_mc(sp, offset); in s2io_close() 3992 if (tmp64 != S2IO_DISABLE_MAC_ENTRY) in s2io_close() 3993 do_s2io_delete_unicast_mc(sp, tmp64); in s2io_close() 5148 u64 tmp64; in do_s2io_add_mc() local 5149 tmp64 = do_s2io_read_unicast_mc(sp, i); in do_s2io_add_mc() 5150 if (tmp64 == S2IO_DISABLE_MAC_ENTRY) /* CAM entry is empty */ in do_s2io_add_mc() 5153 if (tmp64 == mac_addr) in do_s2io_add_mc() 5193 u64 dis_addr = S2IO_DISABLE_MAC_ENTRY, tmp64; in do_s2io_delete_unicast_mc() local 5198 tmp64 = do_s2io_read_unicast_mc(sp, offset); in do_s2io_delete_unicast_mc() [all …]
|
/linux-4.1.27/drivers/w1/ |
D | w1.c | 938 u64 last_rn, rn, tmp64; in w1_search() local 1005 tmp64 = (triplet_ret >> 2); in w1_search() 1006 rn |= (tmp64 << i); in w1_search()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 5960 u64 tmp64; in si_thermal_setup_fan_table() local 5974 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table() 5975 do_div(tmp64, 10000); in si_thermal_setup_fan_table() 5976 fdo_min = (u16)tmp64; in si_thermal_setup_fan_table() 6061 u64 tmp64; in si_fan_ctrl_get_fan_speed_percent() local 6072 tmp64 = (u64)duty * 100; in si_fan_ctrl_get_fan_speed_percent() 6073 do_div(tmp64, duty100); in si_fan_ctrl_get_fan_speed_percent() 6074 *speed = (u32)tmp64; in si_fan_ctrl_get_fan_speed_percent() 6088 u64 tmp64; in si_fan_ctrl_set_fan_speed_percent() local 6104 tmp64 = (u64)speed * duty100; in si_fan_ctrl_set_fan_speed_percent() [all …]
|
D | ci_dpm.c | 957 u64 tmp64; in ci_thermal_setup_fan_table() local 971 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in ci_thermal_setup_fan_table() 972 do_div(tmp64, 10000); in ci_thermal_setup_fan_table() 973 fdo_min = (u16)tmp64; in ci_thermal_setup_fan_table() 1070 u64 tmp64; in ci_fan_ctrl_get_fan_speed_percent() local 1081 tmp64 = (u64)duty * 100; in ci_fan_ctrl_get_fan_speed_percent() 1082 do_div(tmp64, duty100); in ci_fan_ctrl_get_fan_speed_percent() 1083 *speed = (u32)tmp64; in ci_fan_ctrl_get_fan_speed_percent() 1096 u64 tmp64; in ci_fan_ctrl_set_fan_speed_percent() local 1113 tmp64 = (u64)speed * duty100; in ci_fan_ctrl_set_fan_speed_percent() [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 12035 u64 tmp64; in drx39xxj_read_snr() local 12042 tmp64 = p->cnr.stat[0].svalue; in drx39xxj_read_snr() 12043 do_div(tmp64, 10); in drx39xxj_read_snr() 12044 *snr = tmp64; in drx39xxj_read_snr()
|