Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/
H A Dutmp.h45 extern void login (const struct utmp *__entry) __THROW;
55 extern void updwtmp (const char *__wtmp_file, const struct utmp *__utmp)
62 extern struct utmp *getutent (void) __THROW;
72 extern struct utmp *getutid (const struct utmp *__id) __THROW;
76 extern struct utmp *getutline (const struct utmp *__line) __THROW;
79 extern struct utmp *pututline (const struct utmp *__utmp_ptr) __THROW;
84 extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
86 extern int getutid_r (const struct utmp *__id, struct utmp *__buffer,
87 struct utmp **__result) __THROW;
89 extern int getutline_r (const struct utmp *__line,
[all …]
H A Dutmpx.h43 struct utmp;
112 struct utmp *__utmp);
120 extern void getutmpx (const struct utmp *__utmp, struct utmpx *__utmpx);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/
H A Dutmp.h45 extern void login (const struct utmp *__entry) __THROW;
55 extern void updwtmp (const char *__wtmp_file, const struct utmp *__utmp)
62 extern struct utmp *getutent (void) __THROW;
72 extern struct utmp *getutid (const struct utmp *__id) __THROW;
76 extern struct utmp *getutline (const struct utmp *__line) __THROW;
79 extern struct utmp *pututline (const struct utmp *__utmp_ptr) __THROW;
84 extern int getutent_r (struct utmp *__buffer, struct utmp **__result) __THROW;
86 extern int getutid_r (const struct utmp *__id, struct utmp *__buffer,
87 struct utmp **__result) __THROW;
89 extern int getutline_r (const struct utmp *__line,
[all …]
H A Dutmpx.h43 struct utmp;
112 struct utmp *__utmp);
120 extern void getutmpx (const struct utmp *__utmp, struct utmpx *__utmpx);
/OK3568_Linux_fs/external/xserver/mi/
H A Dmizerclip.c415 CARD32 utmp = 0; in miZeroClipLine() local
463 utmp = xmin - x1_orig; in miZeroClipLine()
464 if (utmp <= 32767) { /* clip based on near endpt */ in miZeroClipLine()
473 utmp = x2_orig - xmin; in miZeroClipLine()
485 utmp = ymin - y1_orig; in miZeroClipLine()
486 if (utmp <= 32767) { /* clip based on near endpt */ in miZeroClipLine()
495 utmp = y2_orig - ymin; in miZeroClipLine()
507 utmp = x1_orig - xmax; in miZeroClipLine()
508 if (utmp <= 32767) { /* clip based on near endpt */ in miZeroClipLine()
524 utmp = xmax - x2_orig; in miZeroClipLine()
[all …]
/OK3568_Linux_fs/kernel/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 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()
131 utmp = div_u64((u64)clock_adc_lut[i].adc * 0x80000, 1000000); in af9033_init()
132 buf[0] = (utmp >> 0) & 0xff; in af9033_init()
133 buf[1] = (utmp >> 8) & 0xff; in af9033_init()
[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 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 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 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 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()
/OK3568_Linux_fs/kernel/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()
68 ret = regmap_read(dev->regmap, 0x80ed03, &utmp); in it913x_init()
72 else if (utmp < ARRAY_SIZE(nv)) in it913x_init()
73 nv_val = nv[utmp]; in it913x_init()
84 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/procps/procps/
H A D0001-w.c-correct-musl-builds.patch8 UT_ is already provided in musl but via utmp.h header, so include
26 -# include <utmp.h>
28 +#include <utmp.h>
33 typedef struct utmp utmp_t;
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libutempter/libutempter/
H A Dlibutempter-remove-glibc-assumption.patch6 #include <utmp.h>
27 struct utmp ut;
72 "utempter: DEBUG: utmp/wtmp record %s for terminal '%s'\n",
/OK3568_Linux_fs/yocto/poky/meta/recipes-connectivity/ppp/ppp/
H A Dmakefix.patch24 # Use libutil; test if logwtmp is declared in <utmp.h> to detect
25 -ifeq ($(shell echo '\#include <utmp.h>' | $(CC) -E - 2>/dev/null | grep -q logwtmp && echo yes),ye…
26 +UTMPHEADER = "\#include <utmp.h>"
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/libutempter/
H A Dlibutempter.bb1 SUMMARY = "A privileged helper for utmp/wtmp updates"
4 screen and xterm to record user sessions to utmp and wtmp files."
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Drtas-proc.c435 const unsigned int *utmp; in ppc_rtas_find_all_sensors() local
438 utmp = of_get_property(rtas_node, "rtas-sensors", &len); in ppc_rtas_find_all_sensors()
439 if (utmp == NULL) { in ppc_rtas_find_all_sensors()
447 sensors.sensor[i].token = *utmp++; in ppc_rtas_find_all_sensors()
448 sensors.sensor[i].quant = *utmp++; in ppc_rtas_find_all_sensors()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/
H A Dsystemd_250.5.bb97 utmp \
113 utmp \
208 PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
291 # Create symlinks for systemd-update-utmp-runlevel.service
292 if ${@bb.utils.contains('PACKAGECONFIG', 'utmp', 'true', 'false', d)}; then
293 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/graphical.target.want…
294 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/multi-user.target.wan…
295 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/poweroff.target.wants…
296 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/reboot.target.wants/s…
297 …ln -sf ../systemd-update-utmp-runlevel.service ${D}${systemd_system_unitdir}/rescue.target.wants/s…
/OK3568_Linux_fs/buildroot/package/x11r7/xapp_sessreg/
H A DConfig.in6 manage utmp/wtmp entries for non-init clients

123