/linux-6.1.9/drivers/media/dvb-frontends/ |
D | mn88472.c | 23 unsigned int utmp, utmp1, utmp2; in mn88472_read_status() local 33 ret = regmap_read(dev->regmap[0], 0x7f, &utmp); in mn88472_read_status() 36 if ((utmp & 0x0f) >= 0x09) in mn88472_read_status() 43 ret = regmap_read(dev->regmap[2], 0x92, &utmp); in mn88472_read_status() 46 if ((utmp & 0x0f) >= 0x0d) in mn88472_read_status() 49 else if ((utmp & 0x0f) >= 0x0a) in mn88472_read_status() 52 else if ((utmp & 0x0f) >= 0x07) in mn88472_read_status() 58 ret = regmap_read(dev->regmap[1], 0x84, &utmp); in mn88472_read_status() 61 if ((utmp & 0x0f) >= 0x08) in mn88472_read_status() 97 utmp = buf[0] << 8 | buf[1] << 0; in mn88472_read_status() [all …]
|
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 = buf[0] << 8 | buf[1] << 0; in cxd2820r_read_status_c() [all …]
|
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 >> 8) & 0xff; in af9033_init() [all …]
|
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 = buf[0] << 8 | buf[1] << 0; in cxd2820r_read_status_t2() [all …]
|
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 = buf[0] << 8 | buf[1] << 0; in cxd2820r_read_status_t() [all …]
|
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() [all …]
|
D | ts2020.c | 168 unsigned int utmp; in ts2020_set_tuner_rf() local 170 ret = regmap_read(dev->regmap, 0x3d, &utmp); in ts2020_set_tuner_rf() 174 utmp &= 0x7f; in ts2020_set_tuner_rf() 175 if (utmp < 0x16) in ts2020_set_tuner_rf() 176 utmp = 0xa1; in ts2020_set_tuner_rf() 177 else if (utmp == 0x16) in ts2020_set_tuner_rf() 178 utmp = 0x99; in ts2020_set_tuner_rf() 180 utmp = 0xf9; in ts2020_set_tuner_rf() 182 regmap_write(dev->regmap, 0x60, utmp); in ts2020_set_tuner_rf() 193 unsigned int utmp; in ts2020_set_params() local [all …]
|
D | af9013.c | 521 unsigned int utmp, utmp1, utmp2, utmp3, utmp4; in af9013_read_status() local 535 ret = regmap_read(state->regmap, 0xd507, &utmp); in af9013_read_status() 539 if ((utmp >> 6) & 0x01) { in af9013_read_status() 544 ret = regmap_read(state->regmap, 0xd330, &utmp); in af9013_read_status() 548 if ((utmp >> 3) & 0x01) in af9013_read_status() 567 ret = regmap_read(state->regmap, 0x9bee, &utmp); in af9013_read_status() 571 if ((utmp >> 0) & 0x01) { in af9013_read_status() 644 ret = regmap_read(state->regmap, 0xd2e1, &utmp); in af9013_read_status() 648 if (!((utmp >> 3) & 0x01)) { in af9013_read_status() 661 ret = regmap_read(state->regmap, 0xd3c1, &utmp); in af9013_read_status() [all …]
|
D | mn88473.c | 243 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local 254 ret = regmap_read(dev->regmap[0], 0x62, &utmp); in mn88473_read_status() 258 if (!(utmp & 0xa0)) { in mn88473_read_status() 259 if ((utmp & 0x0f) >= 0x09) in mn88473_read_status() 263 else if ((utmp & 0x0f) >= 0x03) in mn88473_read_status() 270 ret = regmap_read(dev->regmap[2], 0x8b, &utmp); in mn88473_read_status() 274 if (!(utmp & 0x40)) { in mn88473_read_status() 275 if ((utmp & 0x0f) >= 0x0d) in mn88473_read_status() 279 else if ((utmp & 0x0f) >= 0x0a) in mn88473_read_status() 282 else if ((utmp & 0x0f) >= 0x07) in mn88473_read_status() [all …]
|
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()
|
D | cxd2820r_core.c | 556 unsigned int utmp; in cxd2820r_probe() local 619 ret = regmap_read(priv->regmap[0], 0x00fd, &utmp); in cxd2820r_probe() 623 dev_dbg(&client->dev, "chip_id=%02x\n", utmp); in cxd2820r_probe() 625 if (utmp != 0xe1) { in cxd2820r_probe()
|
D | si2168.c | 120 unsigned int utmp, utmp1, utmp2; in si2168_read_status() local 184 utmp = clamp(8 - cmd.args[1], 0, 8); in si2168_read_status() 185 for (i = 0, utmp1 = 1; i < utmp; i++) in si2168_read_status()
|
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-6.1.9/drivers/media/tuners/ |
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 = 4; in tda18250_set_agc() [all …]
|
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 = (buf[1] << 8) | (buf[0] << 0); in it913x_init() [all …]
|
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() [all …]
|
/linux-6.1.9/arch/powerpc/kernel/ |
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-6.1.9/arch/s390/kernel/ |
D | ptrace.c | 463 addr_t utmp; in arch_ptrace() local 464 if (get_user(utmp, in arch_ptrace() 467 ret = poke_user(child, addr, utmp); in arch_ptrace() 813 __u32 utmp; in compat_arch_ptrace() local 814 if (get_user(utmp, in compat_arch_ptrace() 817 ret = poke_user_compat(child, addr, utmp); in compat_arch_ptrace()
|
/linux-6.1.9/drivers/media/usb/msi2500/ |
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-6.1.9/drivers/media/usb/dvb-usb-v2/ |
D | af9035.c | 484 unsigned int utmp, eeprom_addr; in af9035_identify_state() local 508 utmp = 0x00461d; in af9035_identify_state() 511 utmp = 0x00461b; in af9035_identify_state() 515 ret = af9035_rd_reg(d, utmp, &tmp); in af9035_identify_state()
|
/linux-6.1.9/drivers/net/wireless/cisco/ |
D | airo.c | 1717 u64 sum, utmp; in emmh32_final() local 1733 utmp = (stmp & 0xffffffffLL) - ((stmp >> 32) * 15); in emmh32_final() 1734 sum = utmp & 0xffffffffLL; in emmh32_final() 1735 if (utmp > 0x10000000fLL) in emmh32_final()
|