Home
last modified time | relevance | path

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

/linux/drivers/media/dvb-frontends/
H A Dcxd2820r_c.c17 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 …]
H A Dcxd2820r_t2.c17 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 …]
H A Dcxd2820r_t.c17 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 …]
/linux/drivers/media/tuners/
H A Dit913x.c31 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 …]
/linux/arch/powerpc/kernel/
H 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/arch/s390/kernel/
H A Dptrace.c455 addr_t utmp; in arch_ptrace() local
456 if (get_user(utmp, in arch_ptrace()
459 ret = poke_user(child, addr, utmp); in arch_ptrace()