Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/dvb-frontends/
H A Dmn88472.c23 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 …]
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 Daf9033.c74 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 …]
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 …]
H A Dm88ds3103.c176 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 …]
H A Dts2020.c168 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 …]
H A Daf9013.c521 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 …]
H A Dmn88473.c243 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 …]
H 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()
H 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()
/openbmc/linux/drivers/media/tuners/
H A Dtda18250.c19 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 …]
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 …]
H A Dm88rs6000t.c32 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 …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libutempter/
H A Dlibutempter_1.2.2-alt1.bb1 SUMMARY = "A privileged helper for utmp/wtmp updates"
4 screen and xterm to record user sessions to utmp and wtmp files."
/openbmc/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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/xorg-app/
H A Dsessreg_1.1.3.bb3 SUMMARY = "a simple program for managing utmp/wtmp entries"
/openbmc/openbmc/poky/meta/recipes-sato/libptytty/
H A Dlibptytty_2.0.bb1 SUMMARY = " OS independent and secure pty/tty and utmp/wtmp/lastlog handling"
/openbmc/openbmc/poky/meta/recipes-core/base-passwd/base-passwd/
H A D0005-Add-kvm-group.patch16 @@ -33,6 +33,7 @@ utmp:*:43:
/openbmc/openbmc/poky/meta/recipes-core/systemd/
H A Dsystemd_257.1.bb100 utmp \
116 utmp \
226 PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
339 # Create symlinks for systemd-update-utmp-runlevel.service
340 …if ${@bb.utils.contains('PACKAGECONFIG', 'utmp', 'true', 'false', d)} && ${@bb.utils.contains('PAC…
341 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/graphical.target.want…
342 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/multi-user.target.wan…
343 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/poweroff.target.wants…
344 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/reboot.target.wants/s…
345 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/rescue.target.wants/s…
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdate/rdate/
H A D0001-rdate-define-logwtmp-on-libc-glibc.patch24 + struct utmp u;
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-support/accountsservice/accountsservice/
H A D0001-musl-Hack-to-fix-build.patch28 + # [1] https://wiki.musl-libc.org/faq.html#Q:-Why-is-the-utmp/wtmp-functionality-only-implemented…
/openbmc/openbmc/meta-security/recipes-scanners/rootkits/files/
H A Dmusl_fix.patch57 #include <utmp.h>
/openbmc/linux/arch/s390/kernel/
H A Dptrace.c464 addr_t utmp; in arch_ptrace() local
465 if (get_user(utmp, in arch_ptrace()
468 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()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/
H A D0003-Add-config-option-without-valgrind.patch35 conf.CHECK_HEADERS('utmp.h utmpx.h lastlog.h')

12