Home
last modified time | relevance | path

Searched refs:utmp (Results 1 - 25 of 86) sorted by relevance

1234

/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dx_int64.c52 uint64_t utmp; in uint64_i2c() local
58 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
61 && utmp == 0) in uint64_i2c()
64 && (int64_t)utmp < 0) { in uint64_i2c()
66 utmp = 0 - utmp; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
76 uint64_t utmp = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, in uint64_c2i()
147 uint32_t utmp; uint32_i2c() local
178 uint64_t utmp = 0; uint32_c2i() local
[all...]
H A Dx_long.c89 unsigned long utmp, sign; in long_i2c() local
102 utmp = 0 - (unsigned long)ltmp - 1; in long_i2c()
105 utmp = ltmp; in long_i2c()
107 clen = num_bits_ulong(utmp); in long_i2c()
121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c()
122 utmp >>= 8; in long_i2c()
133 unsigned long utmp = 0, sign = 0x100; in long_c2i() local
169 utmp = 0; in long_c2i()
171 utmp <<= 8; in long_c2i()
172 utmp | in long_c2i()
[all...]
/third_party/openssl/crypto/asn1/
H A Dx_int64.c52 uint64_t utmp; in uint64_i2c() local
58 memcpy(&utmp, cp, sizeof(utmp)); in uint64_i2c()
61 && utmp == 0) in uint64_i2c()
64 && (int64_t)utmp < 0) { in uint64_i2c()
66 utmp = 0 - utmp; in uint64_i2c()
70 return ossl_i2c_uint64_int(cont, utmp, neg); in uint64_i2c()
76 uint64_t utmp = 0; in uint64_c2i() local
94 if (!ossl_c2i_uint64_int(&utmp, in uint64_c2i()
147 uint32_t utmp; uint32_i2c() local
178 uint64_t utmp = 0; uint32_c2i() local
[all...]
H A Dx_long.c89 unsigned long utmp, sign; in long_i2c() local
102 utmp = 0 - (unsigned long)ltmp - 1; in long_i2c()
105 utmp = ltmp; in long_i2c()
107 clen = num_bits_ulong(utmp); in long_i2c()
121 cont[i] = (unsigned char)(utmp ^ sign); in long_i2c()
122 utmp >>= 8; in long_i2c()
133 unsigned long utmp = 0, sign = 0x100; in long_c2i() local
169 utmp = 0; in long_c2i()
171 utmp <<= 8; in long_c2i()
172 utmp | in long_c2i()
[all...]
/third_party/musl/porting/liteos_m/kernel/include/
H A Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
40 #define _PATH_UTMP "/dev/null/utmp"
[all...]
/third_party/musl/porting/uniproton/kernel/include/
H A Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
40 #define _PATH_UTMP "/dev/null/utmp"
[all...]
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
40 #define _PATH_UTMP "/dev/null/utmp"
[all...]
/third_party/musl/include/
H A Dutmp.h24 #define utmp utmpx macro
29 struct utmp *getutent(void);
30 struct utmp *getutid(const struct utmp *);
31 struct utmp *getutline(const struct utmp *);
32 struct utmp *pututline(const struct utmp *);
35 void updwtmp(const char *, const struct utmp *);
40 #define _PATH_UTMP "/dev/null/utmp"
[all...]
/kernel/linux/linux-5.10/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 in mn88472_read_status()
205 unsigned int utmp; mn88472_set_frontend() local
399 unsigned int utmp; mn88472_init() local
582 unsigned int utmp; mn88472_probe() local
[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 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()
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 >> in af9033_init()
308 unsigned int utmp; af9033_sleep() local
360 unsigned int utmp, adc_freq; af9033_set_frontend() local
618 unsigned int utmp, utmp1; af9033_read_status() local
824 unsigned int utmp; af9033_read_snr() local
874 unsigned int utmp; af9033_read_signal_strength() local
[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()
1021 unsigned int utmp; m88ds3103_init() local
1147 unsigned int utmp; m88ds3103_sleep() local
1376 unsigned int utmp, tone, reg_a1_mask; m88ds3103_set_tone() local
1422 unsigned int utmp; m88ds3103_set_voltage() local
1472 unsigned int utmp; m88ds3103_diseqc_send_master_cmd() local
1551 unsigned int utmp, burst; m88ds3103_diseqc_send_burst() local
1773 unsigned int utmp; m88ds3103_probe() local
[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
341 unsigned utmp; ts2020_read_tuner_gain() local
561 unsigned int utmp; ts2020_probe() local
[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 in cxd2820r_read_status_t2()
[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()
834 unsigned int utmp; af9013_init() local
982 unsigned int utmp; af9013_sleep() local
1029 unsigned int utmp; af9013_download_firmware() local
[all...]
/kernel/linux/linux-6.6/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 in mn88472_read_status()
205 unsigned int utmp; mn88472_set_frontend() local
399 unsigned int utmp; mn88472_init() local
581 unsigned int utmp; mn88472_probe() local
[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 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 >> in af9033_init()
309 unsigned int utmp; af9033_sleep() local
361 unsigned int utmp, adc_freq; af9033_set_frontend() local
619 unsigned int utmp, utmp1; af9033_read_status() local
825 unsigned int utmp; af9033_read_snr() local
876 unsigned int utmp; af9033_read_signal_strength() local
[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()
1017 unsigned int utmp; m88ds3103_init() local
1143 unsigned int utmp; m88ds3103_sleep() local
1372 unsigned int utmp, tone, reg_a1_mask; m88ds3103_set_tone() local
1418 unsigned int utmp; m88ds3103_set_voltage() local
1468 unsigned int utmp; m88ds3103_diseqc_send_master_cmd() local
1547 unsigned int utmp, burst; m88ds3103_diseqc_send_burst() local
1769 unsigned int utmp; m88ds3103_probe() local
[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
341 unsigned utmp; ts2020_read_tuner_gain() local
560 unsigned int utmp; ts2020_probe() local
[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 in cxd2820r_read_status_t2()
[all...]
/kernel/linux/linux-5.10/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 in tda18250_set_agc()
501 u8 utmp; tda18250_set_params() local
[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 in it913x_init()
212 unsigned int utmp; it913x_set_params() local
[all...]
/kernel/linux/linux-6.6/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 in tda18250_set_agc()
501 u8 utmp; tda18250_set_params() local
[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 in it913x_init()
213 unsigned int utmp; it913x_set_params() local
[all...]

Completed in 13 milliseconds

1234