Searched refs:uitmp (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | tda10071.c | 44 unsigned int uitmp; in tda10071_cmd_execute() local 64 for (i = 1000, uitmp = 1; i && uitmp; i--) { in tda10071_cmd_execute() 186 unsigned int uitmp; in tda10071_diseqc_send_master_cmd() local 201 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_master_cmd() 205 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_master_cmd() 256 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_recv_slave_reply() 260 uitmp = (uitmp >> 1) & 1; in tda10071_diseqc_recv_slave_reply() 330 for (i = 500, uitmp = 0; i && !uitmp; i--) { in tda10071_diseqc_send_burst() 334 uitmp = (uitmp >> 0) & 1; in tda10071_diseqc_send_burst() 519 uitmp = clamp(uitmp, 181U, 236U); /* -75dBm - -20dBm */ in tda10071_read_signal_strength() [all …]
|
H A D | mn88473.c | 23 unsigned int uitmp; in mn88473_set_frontend() local 104 if_val[0] = (uitmp >> 16) & 0xff; in mn88473_set_frontend() 105 if_val[1] = (uitmp >> 8) & 0xff; in mn88473_set_frontend() 106 if_val[2] = (uitmp >> 0) & 0xff; in mn88473_set_frontend() 465 unsigned int uitmp; in mn88473_init() local 472 ret = regmap_read(dev->regmap[0], 0xf5, &uitmp); in mn88473_init() 476 if (!(uitmp & 0x01)) in mn88473_init() 510 if (uitmp & 0x10) { in mn88473_init() 614 unsigned int uitmp; in mn88473_probe() local 690 dev_dbg(&client->dev, "chip id=%02x\n", uitmp); in mn88473_probe() [all …]
|
/openbmc/linux/drivers/media/tuners/ |
H A D | fc2580.c | 90 uitmp = DIV_PRE_N * F_REF / div_ref; in fc2580_set_params() 91 div_n = div_u64_rem(f_vco, uitmp, &k); in fc2580_set_params() 92 k_cw = div_u64((u64) k * 0x100000, uitmp); in fc2580_set_params() 240 uitmp = div64_u64((u64) dev->clk * uitmp, 1000000000000ULL); in fc2580_set_params() 241 ret = regmap_write(dev->regmap, 0x37, uitmp); in fc2580_set_params() 250 for (uitmp = ~0xc0; !time_after(jiffies, timeout) && uitmp != 0xc0;) { in fc2580_set_params() 257 ret = regmap_read(dev->regmap, 0x2f, &uitmp); in fc2580_set_params() 260 uitmp &= 0xc0; in fc2580_set_params() 266 if (uitmp != 0xc0) in fc2580_set_params() 515 unsigned int uitmp; in fc2580_probe() local [all …]
|
H A D | msi001.c | 87 unsigned int uitmp, div_n, k, k_thresh, k_frac, div_lo, f_if1; in msi001_set_tuner() local 216 uitmp = gcd(k_thresh, k_frac); in msi001_set_tuner() 217 k_thresh /= uitmp; in msi001_set_tuner() 218 k_frac /= uitmp; in msi001_set_tuner() 221 uitmp = DIV_ROUND_UP(k_thresh, 4095); in msi001_set_tuner() 222 k_thresh = DIV_ROUND_CLOSEST(k_thresh, uitmp); in msi001_set_tuner() 223 k_frac = DIV_ROUND_CLOSEST(k_frac, uitmp); in msi001_set_tuner() 226 uitmp = (unsigned int) F_REF * DIV_PRE_N * div_n; in msi001_set_tuner() 227 uitmp += (unsigned int) F_REF * DIV_PRE_N * k_frac / k_thresh; in msi001_set_tuner() 228 uitmp /= div_lo; in msi001_set_tuner() [all …]
|
H A D | e4000.c | 486 unsigned int uitmp; in e4000_pll_lock() local 488 ret = regmap_read(dev->regmap, 0x07, &uitmp); in e4000_pll_lock() 492 dev->pll_lock->val = (uitmp & 0x01); in e4000_pll_lock() 618 unsigned int uitmp; in e4000_probe() local 640 ret = regmap_read(dev->regmap, 0x02, &uitmp); in e4000_probe() 644 dev_dbg(&client->dev, "chip id=%02x\n", uitmp); in e4000_probe() 646 if (uitmp != 0x40) { in e4000_probe()
|
/openbmc/linux/drivers/media/usb/hackrf/ |
H A D | hackrf.c | 300 uitmp = dev->f_adc; in hackrf_set_params() 310 dev->rx_bandwidth->val = uitmp; in hackrf_set_params() 316 uitmp = dev->f_dac; in hackrf_set_params() 326 dev->tx_bandwidth->val = uitmp; in hackrf_set_params() 331 uitmp = 0; in hackrf_set_params() 333 if (uitmp) { in hackrf_set_params() 1092 unsigned int uitmp; in hackrf_s_frequency() local 1101 dev->f_adc = uitmp; in hackrf_s_frequency() 1104 dev->f_dac = uitmp; in hackrf_s_frequency() 1111 dev->f_rx = uitmp; in hackrf_s_frequency() [all …]
|