/linux/drivers/media/tuners/ |
H A D | tda18250.c | 19 unsigned int utmp; in tda18250_power_control() local 56 R0D_AGC12, &utmp); in tda18250_power_control() 68 R0D_AGC12, 0x03, utmp & 0x03); in tda18250_power_control() 91 unsigned int utmp; in tda18250_wait_for_irq() local 97 ret = regmap_read(dev->regmap, R08_IRQ1, &utmp); in tda18250_wait_for_irq() 100 if ((utmp & irq) == irq) { in tda18250_wait_for_irq() 255 u8 utmp, utmp2; in tda18250_set_agc() local 263 utmp = ((c->frequency < 100000000) && in tda18250_set_agc() 267 ret = regmap_write(dev->regmap, R5A_H3H5, utmp); in tda18250_set_agc() 276 utmp in tda18250_set_agc() 501 u8 utmp; tda18250_set_params() local [all...] |
H A D | it913x.c | 31 unsigned int utmp; in it913x_init() local 44 ret = regmap_read(dev->regmap, 0x80ec86, &utmp); in it913x_init() 48 switch (utmp) { in it913x_init() 51 dev->clk_mode = utmp; in it913x_init() 58 dev->clk_mode = utmp; in it913x_init() 64 dev_err(&pdev->dev, "unknown clock identifier %d\n", utmp); in it913x_init() 69 ret = regmap_read(dev->regmap, 0x80ed03, &utmp); in it913x_init() 73 else if (utmp < ARRAY_SIZE(nv)) in it913x_init() 74 nv_val = nv[utmp]; in it913x_init() 85 utmp in it913x_init() 213 unsigned int utmp; it913x_set_params() local [all...] |
H A D | m88rs6000t.c | 32 unsigned int utmp; in m88rs6000t_set_demod_mclk() local 36 ret = regmap_read(dev->regmap, 0x15, &utmp); in m88rs6000t_set_demod_mclk() 39 reg15 = utmp; in m88rs6000t_set_demod_mclk() 98 ret = regmap_read(dev->regmap, 0x1D, &utmp); in m88rs6000t_set_demod_mclk() 101 reg1D = utmp; in m88rs6000t_set_demod_mclk() 155 unsigned int utmp; in m88rs6000t_set_pll_freq() local 267 ret = regmap_read(dev->regmap, 0x42, &utmp); in m88rs6000t_set_pll_freq() 270 reg42 = utmp; in m88rs6000t_set_pll_freq() 289 ret = regmap_read(dev->regmap, 0x42, &utmp); in m88rs6000t_set_pll_freq() 292 reg42buf = utmp; in m88rs6000t_set_pll_freq() 582 unsigned int utmp; m88rs6000t_probe() local [all...] |
/linux/drivers/media/dvb-frontends/ |
H A D | cxd2820r_c.c | 17 unsigned int utmp; in cxd2820r_set_frontend_c() local 67 utmp = 0x4000 - DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x4000, CXD2820R_CLK); in cxd2820r_set_frontend_c() 68 buf[0] = (utmp >> 8) & 0xff; in cxd2820r_set_frontend_c() 69 buf[1] = (utmp >> 0) & 0xff; in cxd2820r_set_frontend_c() 94 unsigned int utmp; in cxd2820r_get_frontend_c() local 105 ret = regmap_read(priv->regmap[1], 0x0019, &utmp); in cxd2820r_get_frontend_c() 109 switch ((utmp >> 0) & 0x07) { in cxd2820r_get_frontend_c() 127 switch ((utmp >> 7) & 0x01) { in cxd2820r_get_frontend_c() 148 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_c() local 183 utmp in cxd2820r_read_status_c() [all...] |
H A D | af9033.c | 74 unsigned int utmp; in af9033_init() local 109 utmp = div_u64((u64)dev->cfg.clock * 0x80000, 1000000); in af9033_init() 110 buf[0] = (utmp >> 0) & 0xff; in af9033_init() 111 buf[1] = (utmp >> 8) & 0xff; in af9033_init() 112 buf[2] = (utmp >> 16) & 0xff; in af9033_init() 113 buf[3] = (utmp >> 24) & 0xff; in af9033_init() 118 dev_dbg(&client->dev, "clk=%u clk_cw=%08x\n", dev->cfg.clock, utmp); in af9033_init() 132 utmp = div_u64((u64)clock_adc_lut[i].adc * 0x80000, 1000000); in af9033_init() 133 buf[0] = (utmp >> 0) & 0xff; in af9033_init() 134 buf[1] = (utmp >> in af9033_init() 309 unsigned int utmp; af9033_sleep() local 361 unsigned int utmp, adc_freq; af9033_set_frontend() local 619 unsigned int utmp, utmp1; af9033_read_status() local 825 unsigned int utmp; af9033_read_snr() local 876 unsigned int utmp; af9033_read_signal_strength() local [all...] |
H A D | cxd2820r_t2.c | 17 unsigned int utmp; in cxd2820r_set_frontend_t2() local 109 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t2() 110 buf[0] = (utmp >> 16) & 0xff; in cxd2820r_set_frontend_t2() 111 buf[1] = (utmp >> 8) & 0xff; in cxd2820r_set_frontend_t2() 112 buf[2] = (utmp >> 0) & 0xff; in cxd2820r_set_frontend_t2() 162 unsigned int utmp; in cxd2820r_get_frontend_t2() local 256 ret = regmap_read(priv->regmap[0], 0x20b5, &utmp); in cxd2820r_get_frontend_t2() 260 switch ((utmp >> 4) & 0x01) { in cxd2820r_get_frontend_t2() 281 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local 313 utmp in cxd2820r_read_status_t2() [all...] |
H A D | cxd2820r_t.c | 17 unsigned int utmp; in cxd2820r_set_frontend_t() local 92 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t() 93 buf[0] = (utmp >> 16) & 0xff; in cxd2820r_set_frontend_t() 94 buf[1] = (utmp >> 8) & 0xff; in cxd2820r_set_frontend_t() 95 buf[2] = (utmp >> 0) & 0xff; in cxd2820r_set_frontend_t() 132 unsigned int utmp; in cxd2820r_get_frontend_t() local 228 ret = regmap_read(priv->regmap[0], 0x07c6, &utmp); in cxd2820r_get_frontend_t() 232 switch ((utmp >> 0) & 0x01) { in cxd2820r_get_frontend_t() 253 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t() local 288 utmp in cxd2820r_read_status_t() [all...] |
H A D | m88ds3103.c | 176 unsigned int utmp; in m88ds3103_read_status() local 188 ret = regmap_read(dev->regmap, 0xd1, &utmp); in m88ds3103_read_status() 192 if ((utmp & 0x07) == 0x07) in m88ds3103_read_status() 198 ret = regmap_read(dev->regmap, 0x0d, &utmp); in m88ds3103_read_status() 202 if ((utmp & 0x8f) == 0x8f) in m88ds3103_read_status() 214 dev_dbg(&client->dev, "lock=%02x status=%02x\n", utmp, *status); in m88ds3103_read_status() 229 ret = regmap_read(dev->regmap, 0xff, &utmp); in m88ds3103_read_status() 233 itmp += utmp; in m88ds3103_read_status() 288 unsigned int utmp, post_bit_error, post_bit_count; in m88ds3103_read_status() local 296 ret = regmap_read(dev->regmap, 0xf8, &utmp); in m88ds3103_read_status() 1024 unsigned int utmp; m88ds3103_init() local 1150 unsigned int utmp; m88ds3103_sleep() local 1379 unsigned int utmp, tone, reg_a1_mask; m88ds3103_set_tone() local 1425 unsigned int utmp; m88ds3103_set_voltage() local 1475 unsigned int utmp; m88ds3103_diseqc_send_master_cmd() local 1554 unsigned int utmp, burst; m88ds3103_diseqc_send_burst() local 1776 unsigned int utmp; m88ds3103_probe() local [all...] |
H A D | rtl2830.c | 387 unsigned int utmp; in rtl2830_read_status() local 419 utmp = clamp_val(-4 * stmp + 32767, 0x0000, 0xffff); in rtl2830_read_status() 424 c->strength.stat[0].uvalue = utmp; in rtl2830_read_status() 456 utmp = buf[0] << 8 | buf[1] << 0; in rtl2830_read_status() 457 if (utmp) in rtl2830_read_status() 459 intlog10(utmp)) / ((1 << 24) / 10000); in rtl2830_read_status() 463 dev_dbg(&client->dev, "CNR raw=%u\n", utmp); in rtl2830_read_status() 477 utmp = buf[0] << 8 | buf[1] << 0; in rtl2830_read_status() 478 dev->post_bit_error += utmp; in rtl2830_read_status() 481 dev_dbg(&client->dev, "BER errors=%u total=1000000\n", utmp); in rtl2830_read_status() [all...] |
H A D | cxd2820r_core.c | 555 unsigned int utmp; in cxd2820r_probe() local 618 ret = regmap_read(priv->regmap[0], 0x00fd, &utmp); in cxd2820r_probe() 622 dev_dbg(&client->dev, "chip_id=%02x\n", utmp); in cxd2820r_probe() 624 if (utmp != 0xe1) { in cxd2820r_probe()
|
H A D | mxl692.c | 1170 u32 utmp; in mxl692_read_ber_ucb() local 1186 utmp = 0; in mxl692_read_ber_ucb() 1188 utmp = ((atsc_errors->error_bytes / atsc_errors->error_packets) * in mxl692_read_ber_ucb() 1194 c->post_bit_count.stat[0].uvalue += utmp; in mxl692_read_ber_ucb()
|
/linux/arch/powerpc/kernel/ |
H A D | rtas-proc.c | 430 const unsigned int *utmp; in ppc_rtas_find_all_sensors() local 433 utmp = of_get_property(rtas_node, "rtas-sensors", &len); in ppc_rtas_find_all_sensors() 434 if (utmp == NULL) { in ppc_rtas_find_all_sensors() 442 sensors.sensor[i].token = *utmp++; in ppc_rtas_find_all_sensors() 443 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
|
/linux/arch/s390/kernel/ |
H A D | ptrace.c | 460 addr_t utmp; in arch_ptrace() local 461 if (get_user(utmp, in arch_ptrace() 464 ret = poke_user(child, addr, utmp); in arch_ptrace() 792 __u32 utmp; in compat_arch_ptrace() local 793 if (get_user(utmp, in compat_arch_ptrace() 796 ret = poke_user_compat(child, addr, utmp); in compat_arch_ptrace()
|
/linux/drivers/media/usb/msi2500/ |
H A D | msi2500.c | 290 unsigned int utmp; in msi2500_convert_stream() local 296 utmp = se.x + 8192; in msi2500_convert_stream() 298 *u16dst++ = utmp << 2 | utmp >> 12; in msi2500_convert_stream()
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | af9035.c | 496 unsigned int utmp, eeprom_addr; in af9035_identify_state() local 520 utmp = 0x00461d; in af9035_identify_state() 523 utmp = 0x00461b; in af9035_identify_state() 527 ret = af9035_rd_reg(d, utmp, &tmp); in af9035_identify_state()
|