Home
last modified time | relevance | path

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

/drivers/media/pci/cx88/
Dcx88-core.c908 u64 tmp64; in cx88_set_tvnorm() local
969 tmp64 = adc_clock * (u64)(1 << 17); in cx88_set_tvnorm()
970 do_div(tmp64, vdec_clock); in cx88_set_tvnorm()
972 (u32)tmp64, cx_read(MO_SCONV_REG)); in cx88_set_tvnorm()
973 cx_write(MO_SCONV_REG, (u32)tmp64); in cx88_set_tvnorm()
976 tmp64 = step_db * (u64)(1 << 22); in cx88_set_tvnorm()
977 do_div(tmp64, vdec_clock); in cx88_set_tvnorm()
979 (u32)tmp64, cx_read(MO_SUB_STEP)); in cx88_set_tvnorm()
980 cx_write(MO_SUB_STEP, (u32)tmp64); in cx88_set_tvnorm()
983 tmp64 = step_dr * (u64)(1 << 22); in cx88_set_tvnorm()
[all …]
/drivers/media/dvb-frontends/
Dtda10086.c466 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()
Dmb86a20s.c1380 u64 tmp64; in interpolate_value() local
1400 tmp64 = value - segments[i].x; in interpolate_value()
1401 tmp64 *= dy; in interpolate_value()
1402 do_div(tmp64, dx); in interpolate_value()
1403 ret = segments[i].y - tmp64; in interpolate_value()
Ddrxd_hard.c237 u64 tmp64; in MulDiv32() local
239 tmp64 = (u64)a * (u64)b; in MulDiv32()
240 do_div(tmp64, c); in MulDiv32()
242 return (u32) tmp64; in MulDiv32()
Ddrxk_hard.c174 u64 tmp64; in MulDiv32() local
176 tmp64 = (u64) a * (u64) b; in MulDiv32()
177 do_div(tmp64, c); in MulDiv32()
179 return (u32) tmp64; in MulDiv32()
/drivers/mtd/
Dmtdconcat.c849 uint64_t tmp64; in mtd_concat_create() local
888 tmp64 = position - begin; in mtd_concat_create()
889 do_div(tmp64, curr_erasesize); in mtd_concat_create()
890 erase_region_p->numblocks = tmp64; in mtd_concat_create()
907 tmp64 = position - begin; in mtd_concat_create()
908 do_div(tmp64, curr_erasesize); in mtd_concat_create()
909 erase_region_p->numblocks = tmp64; in mtd_concat_create()
926 tmp64 = position - begin; in mtd_concat_create()
927 do_div(tmp64, curr_erasesize); in mtd_concat_create()
928 erase_region_p->numblocks = tmp64; in mtd_concat_create()
/drivers/media/usb/hdpvr/
Dhdpvr-core.c81 u64 *i64P, tmp64; in challenge() local
110 tmp64 = le64_to_cpup(i64P); in challenge()
111 tmp64 <<= bytes[7] & 0x0f; in challenge()
112 *i64P += cpu_to_le64(tmp64); in challenge()
/drivers/infiniband/hw/ipath/
Dipath_sdma.c423 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()
/drivers/net/ethernet/neterion/
Ds2io.c3984 u64 tmp64; in s2io_close() local
3996 tmp64 = do_s2io_read_unicast_mc(sp, offset); in s2io_close()
3997 if (tmp64 != S2IO_DISABLE_MAC_ENTRY) in s2io_close()
3998 do_s2io_delete_unicast_mc(sp, tmp64); in s2io_close()
5153 u64 tmp64; in do_s2io_add_mc() local
5154 tmp64 = do_s2io_read_unicast_mc(sp, i); in do_s2io_add_mc()
5155 if (tmp64 == S2IO_DISABLE_MAC_ENTRY) /* CAM entry is empty */ in do_s2io_add_mc()
5158 if (tmp64 == mac_addr) in do_s2io_add_mc()
5198 u64 dis_addr = S2IO_DISABLE_MAC_ENTRY, tmp64; in do_s2io_delete_unicast_mc() local
5203 tmp64 = do_s2io_read_unicast_mc(sp, offset); in do_s2io_delete_unicast_mc()
[all …]
/drivers/w1/
Dw1.c858 u64 last_rn, rn, tmp64; in w1_search() local
924 tmp64 = (triplet_ret >> 2); in w1_search()
925 rn |= (tmp64 << i); in w1_search()