Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/dvb-frontends/
Dm88ds3103.c99 unsigned int utmp; in m88ds3103_read_status() local
111 ret = regmap_read(dev->regmap, 0xd1, &utmp); in m88ds3103_read_status()
115 if ((utmp & 0x07) == 0x07) in m88ds3103_read_status()
121 ret = regmap_read(dev->regmap, 0x0d, &utmp); in m88ds3103_read_status()
125 if ((utmp & 0x8f) == 0x8f) in m88ds3103_read_status()
137 dev_dbg(&client->dev, "lock=%02x status=%02x\n", utmp, *status); in m88ds3103_read_status()
152 ret = regmap_read(dev->regmap, 0xff, &utmp); in m88ds3103_read_status()
156 itmp += utmp; in m88ds3103_read_status()
211 unsigned int utmp, post_bit_error, post_bit_count; in m88ds3103_read_status() local
219 ret = regmap_read(dev->regmap, 0xf8, &utmp); in m88ds3103_read_status()
[all …]
Dts2020.c181 unsigned int utmp; in ts2020_set_tuner_rf() local
183 ret = regmap_read(dev->regmap, 0x3d, &utmp); in ts2020_set_tuner_rf()
184 utmp &= 0x7f; in ts2020_set_tuner_rf()
185 if (utmp < 0x16) in ts2020_set_tuner_rf()
186 utmp = 0xa1; in ts2020_set_tuner_rf()
187 else if (utmp == 0x16) in ts2020_set_tuner_rf()
188 utmp = 0x99; in ts2020_set_tuner_rf()
190 utmp = 0xf9; in ts2020_set_tuner_rf()
192 regmap_write(dev->regmap, 0x60, utmp); in ts2020_set_tuner_rf()
203 unsigned int utmp; in ts2020_set_params() local
[all …]
/linux-4.4.14/drivers/media/tuners/
Dit913x.c43 unsigned int utmp; in it913x_init() local
56 ret = regmap_read(dev->regmap, 0x80ec86, &utmp); in it913x_init()
60 switch (utmp) { in it913x_init()
63 dev->clk_mode = utmp; in it913x_init()
70 dev->clk_mode = utmp; in it913x_init()
76 dev_err(&dev->client->dev, "unknown clock identifier %d\n", utmp); in it913x_init()
80 ret = regmap_read(dev->regmap, 0x80ed03, &utmp); in it913x_init()
84 else if (utmp < ARRAY_SIZE(nv)) in it913x_init()
85 nv_val = nv[utmp]; in it913x_init()
96 utmp = (buf[1] << 8) | (buf[0] << 0); in it913x_init()
[all …]
Dm88rs6000t.c41 unsigned int utmp; in m88rs6000t_set_demod_mclk() local
45 ret = regmap_read(dev->regmap, 0x15, &utmp); in m88rs6000t_set_demod_mclk()
48 reg15 = utmp; in m88rs6000t_set_demod_mclk()
107 ret = regmap_read(dev->regmap, 0x1D, &utmp); in m88rs6000t_set_demod_mclk()
110 reg1D = utmp; in m88rs6000t_set_demod_mclk()
164 unsigned int utmp; in m88rs6000t_set_pll_freq() local
276 ret = regmap_read(dev->regmap, 0x42, &utmp); in m88rs6000t_set_pll_freq()
279 reg42 = utmp; in m88rs6000t_set_pll_freq()
298 ret = regmap_read(dev->regmap, 0x42, &utmp); in m88rs6000t_set_pll_freq()
301 reg42buf = utmp; in m88rs6000t_set_pll_freq()
[all …]
/linux-4.4.14/drivers/staging/media/mn88473/
Dmn88473.c176 unsigned int utmp; in mn88473_read_status() local
188 ret = regmap_read(dev->regmap[0], 0x62, &utmp); in mn88473_read_status()
191 if (!(utmp & 0xA0)) { in mn88473_read_status()
192 if ((utmp & 0xF) >= 0x03) in mn88473_read_status()
194 if ((utmp & 0xF) >= 0x09) in mn88473_read_status()
199 ret = regmap_read(dev->regmap[2], 0x8B, &utmp); in mn88473_read_status()
202 if (!(utmp & 0x40)) { in mn88473_read_status()
203 if ((utmp & 0xF) >= 0x07) in mn88473_read_status()
205 if ((utmp & 0xF) >= 0x0a) in mn88473_read_status()
207 if ((utmp & 0xF) >= 0x0d) in mn88473_read_status()
[all …]
/linux-4.4.14/drivers/staging/media/mn88472/
Dmn88472.c227 unsigned int utmp; in mn88472_read_status() local
239 ret = regmap_read(dev->regmap[0], 0x7F, &utmp); in mn88472_read_status()
242 if ((utmp & 0xF) >= 0x09) in mn88472_read_status()
246 ret = regmap_read(dev->regmap[2], 0x92, &utmp); in mn88472_read_status()
249 if ((utmp & 0xF) >= 0x07) in mn88472_read_status()
251 if ((utmp & 0xF) >= 0x0a) in mn88472_read_status()
253 if ((utmp & 0xF) >= 0x0d) in mn88472_read_status()
257 ret = regmap_read(dev->regmap[1], 0x84, &utmp); in mn88472_read_status()
260 if ((utmp & 0xF) >= 0x08) in mn88472_read_status()
443 unsigned int utmp; in mn88472_probe() local
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Drtas-proc.c458 const unsigned int *utmp; in ppc_rtas_find_all_sensors() local
461 utmp = of_get_property(rtas_node, "rtas-sensors", &len); in ppc_rtas_find_all_sensors()
462 if (utmp == NULL) { in ppc_rtas_find_all_sensors()
470 sensors.sensor[i].token = *utmp++; in ppc_rtas_find_all_sensors()
471 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
/linux-4.4.14/drivers/staging/iio/light/
Dtsl2583.c404 u8 utmp; in taos_chip_on() local
434 utmp = TSL258X_CNTL_PWR_ON; in taos_chip_on()
436 TSL258X_CMD_REG | TSL258X_CNTRL, utmp); in taos_chip_on()
458 utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL; in taos_chip_on()
461 utmp); in taos_chip_on()
Dtsl2x7x_core.c633 u8 utmp; in tsl2x7x_chip_on() local
700 utmp = TSL2X7X_CNTL_PWR_ON; in tsl2x7x_chip_on()
702 TSL2X7X_CMD_REG | TSL2X7X_CNTRL, utmp); in tsl2x7x_chip_on()
726 utmp = TSL2X7X_CNTL_PWR_ON | in tsl2x7x_chip_on()
730 TSL2X7X_CMD_REG | TSL2X7X_CNTRL, utmp); in tsl2x7x_chip_on()
/linux-4.4.14/arch/s390/kernel/
Dptrace.c450 addr_t utmp; in arch_ptrace() local
451 if (get_user(utmp, in arch_ptrace()
454 ret = poke_user(child, addr, utmp); in arch_ptrace()
802 __u32 utmp; in compat_arch_ptrace() local
803 if (get_user(utmp, in compat_arch_ptrace()
806 ret = poke_user_compat(child, addr, utmp); in compat_arch_ptrace()
/linux-4.4.14/drivers/media/usb/msi2500/
Dmsi2500.c306 unsigned int utmp; in msi2500_convert_stream() local
312 utmp = se.x + 8192; in msi2500_convert_stream()
314 *u16dst++ = utmp << 2 | utmp >> 12; in msi2500_convert_stream()
/linux-4.4.14/drivers/net/wireless/
Dairo.c1716 u64 sum, utmp; in emmh32_final() local
1732 utmp = (stmp & 0xffffffffLL) - ((stmp >> 32) * 15); in emmh32_final()
1733 sum = utmp & 0xffffffffLL; in emmh32_final()
1734 if (utmp > 0x10000000fLL) in emmh32_final()