Home
last modified time | relevance | path

Searched refs:utmp (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/media/dvb-frontends/
A Dmn88472.c98 if (utmp) { in mn88472_read_status()
123 if (utmp) { in mn88472_read_status()
130 stmp, utmp); in mn88472_read_status()
138 stmp, utmp); in mn88472_read_status()
205 unsigned int utmp; in mn88472_set_frontend() local
399 unsigned int utmp; in mn88472_init() local
451 if (utmp & 0x10) { in mn88472_init()
466 utmp = 0x1d; in mn88472_init()
469 utmp = 0x00; in mn88472_init()
481 utmp = 0xe3; in mn88472_init()
[all …]
A Dcxd2820r_c.c17 unsigned int utmp; in cxd2820r_set_frontend_c() local
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
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
184 utmp = 511 - sign_extend32(utmp, 9); in cxd2820r_read_status_c()
186 strength = utmp << 6 | utmp >> 4; in cxd2820r_read_status_c()
204 if (((utmp >> 0) & 0x03) % 2) { in cxd2820r_read_status_c()
[all …]
A Daf9033.c74 unsigned int utmp; in af9033_init() local
309 unsigned int utmp; in af9033_sleep() local
319 ret = regmap_read_poll_timeout(dev->regmap, 0x80004c, utmp, utmp == 0, in af9033_sleep()
439 utmp = 0x800000 - utmp; in af9033_set_frontend()
631 if (utmp == 0x01) in af9033_read_status()
634 if (utmp != 0x02) { in af9033_read_status()
663 tmp = -utmp * 1000; in af9033_read_status()
693 if (utmp) in af9033_read_status()
694 utmp1 /= utmp; in af9033_read_status()
825 unsigned int utmp; in af9033_read_snr() local
[all …]
A Dcxd2820r_t2.c17 unsigned int utmp; in cxd2820r_set_frontend_t2() local
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
260 switch ((utmp >> 4) & 0x01) { in cxd2820r_get_frontend_t2()
281 unsigned int utmp, utmp1, utmp2; in cxd2820r_read_status_t2() local
314 utmp = ~utmp & 0x0fff; in cxd2820r_read_status_t2()
316 strength = utmp << 4 | utmp >> 8; in cxd2820r_read_status_t2()
335 utmp = utmp & 0x0fff; in cxd2820r_read_status_t2()
[all …]
A Dcxd2820r_t.c17 unsigned int utmp; in cxd2820r_set_frontend_t() local
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
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()
289 utmp = ~utmp & 0x0fff; in cxd2820r_read_status_t()
291 strength = utmp << 4 | utmp >> 8; in cxd2820r_read_status_t()
[all …]
A Dm88ds3103.c1044 if (utmp) in m88ds3103_init()
1101 if (!utmp) { in m88ds3103_init()
1110 (utmp >> 4) & 0xf, (utmp >> 0 & 0xf)); in m88ds3103_init()
1152 utmp = 0x29; in m88ds3103_sleep()
1154 utmp = 0x27; in m88ds3103_sleep()
1505 usleep_range(utmp - 4000, utmp); in m88ds3103_diseqc_send_master_cmd()
1507 for (utmp = 1; !time_after(jiffies, timeout) && utmp;) { in m88ds3103_diseqc_send_master_cmd()
1511 utmp = (utmp >> 6) & 0x1; in m88ds3103_diseqc_send_master_cmd()
1586 for (utmp = 1; !time_after(jiffies, timeout) && utmp;) { in m88ds3103_diseqc_send_burst()
1590 utmp = (utmp >> 6) & 0x1; in m88ds3103_diseqc_send_burst()
[all …]
A Dts2020.c168 unsigned int utmp; in ts2020_set_tuner_rf() local
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()
178 utmp = 0x99; in ts2020_set_tuner_rf()
180 utmp = 0xf9; in ts2020_set_tuner_rf()
193 unsigned int utmp; in ts2020_set_params() local
271 value = utmp; in ts2020_set_params()
341 unsigned utmp; in ts2020_read_tuner_gain() local
560 unsigned int utmp; in ts2020_probe() local
[all …]
A Daf9013.c701 (utmp >> 6) & 3); in af9013_read_status()
834 unsigned int utmp; in af9013_init() local
863 utmp = 0; in af9013_init()
866 utmp = 1; in af9013_init()
869 utmp = 2; in af9013_init()
872 utmp = 3; in af9013_init()
982 unsigned int utmp; in af9013_sleep() local
1029 unsigned int utmp; in af9013_download_firmware() local
1044 if (utmp == 0x0c) in af9013_download_firmware()
1097 (utmp == 0x0c || utmp == 0x04), in af9013_download_firmware()
[all …]
A Dmn88473.c243 unsigned int utmp, utmp1, utmp2; in mn88473_read_status() local
258 if (!(utmp & 0xa0)) { in mn88473_read_status()
259 if ((utmp & 0x0f) >= 0x09) in mn88473_read_status()
274 if (!(utmp & 0x40)) { in mn88473_read_status()
275 if ((utmp & 0x0f) >= 0x0d) in mn88473_read_status()
293 if (!(utmp & 0x40)) { in mn88473_read_status()
298 if (utmp & 0x01) in mn88473_read_status()
338 if (utmp) { in mn88473_read_status()
362 if (utmp) { in mn88473_read_status()
369 stmp, utmp); in mn88473_read_status()
[all …]
A Drtl2830.c387 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()
A Dcxd2820r_core.c555 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()
A Dsi2168.c120 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()
A Dmxl692.c1170 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.3-rc2/drivers/media/tuners/
A Dtda18250.c19 unsigned int utmp; in tda18250_power_control() local
276 utmp = 4; in tda18250_set_agc()
306 utmp = 18; in tda18250_set_agc()
309 utmp = 16; in tda18250_set_agc()
312 utmp = 14; in tda18250_set_agc()
337 utmp = 98; in tda18250_set_agc()
340 utmp = 90; in tda18250_set_agc()
361 utmp = 7; in tda18250_set_agc()
396 utmp = 0; in tda18250_set_agc()
406 utmp = 0x09; in tda18250_set_agc()
[all …]
A Dit913x.c31 unsigned int utmp; in it913x_init() local
48 switch (utmp) { in it913x_init()
51 dev->clk_mode = utmp; in it913x_init()
58 dev->clk_mode = utmp; in it913x_init()
73 else if (utmp < ARRAY_SIZE(nv)) in it913x_init()
74 nv_val = nv[utmp]; in it913x_init()
86 if (utmp) in it913x_init()
113 if (utmp) in it913x_init()
213 unsigned int utmp; in it913x_set_params() local
259 iqik_m_cal = utmp * n_div; in it913x_set_params()
[all …]
A Dm88rs6000t.c32 unsigned int utmp; in m88rs6000t_set_demod_mclk() local
39 reg15 = utmp; in m88rs6000t_set_demod_mclk()
101 reg1D = utmp; in m88rs6000t_set_demod_mclk()
155 unsigned int utmp; in m88rs6000t_set_pll_freq() local
270 reg42 = utmp; in m88rs6000t_set_pll_freq()
292 reg42buf = utmp; in m88rs6000t_set_pll_freq()
316 reg27 = utmp & 0x70; in m88rs6000t_set_pll_freq()
355 utmp = 0xCE; in m88rs6000t_set_pll_freq()
357 utmp = 0x8A; in m88rs6000t_set_pll_freq()
582 unsigned int utmp; in m88rs6000t_probe() local
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/
A Drtas-proc.c430 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.3-rc2/arch/s390/kernel/
A Dptrace.c463 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.3-rc2/drivers/media/usb/msi2500/
A Dmsi2500.c290 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.3-rc2/drivers/media/usb/dvb-usb-v2/
A Daf9035.c484 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.3-rc2/drivers/net/wireless/cisco/
A Dairo.c1717 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()

Completed in 58 milliseconds