Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/rk3399_rockchip-uboot/common/
H A Ds_record.c14 int srec_decode (char *input, int *count, ulong *addr, char *data) in srec_decode() argument
27 for (; *input; ++input) { in srec_decode()
28 if (*input == 'S') { /* skip 'S' */ in srec_decode()
29 ++input; in srec_decode()
33 if (*input == '\0') { /* no more data? */ in srec_decode()
37 v = *input++; /* record type */ in srec_decode()
39 if ((*count = hex2_bin(input)) < 0) { in srec_decode()
44 input += 2; in srec_decode()
92 if ((v = hex2_bin(input)) < 0) { in srec_decode()
97 input += 2; in srec_decode()
[all …]
H A Dcli_simple.c61 void cli_simple_process_macros(const char *input, char *output) in cli_simple_process_macros() argument
65 int inputcnt = strlen(input); in cli_simple_process_macros()
74 debug_parser("[PROCESS_MACROS] INPUT len %zd: \"%s\"\n", strlen(input), in cli_simple_process_macros()
75 input); in cli_simple_process_macros()
80 c = *input++; in cli_simple_process_macros()
89 c = *input++; in cli_simple_process_macros()
109 varname_start = input; in cli_simple_process_macros()
126 int envcnt = input - varname_start - 1; in cli_simple_process_macros()
H A Dcli_hush.c342 #define b_getch(input) ((input)->get(input)) argument
343 #define b_peek(input) ((input)->peek(input)) argument
461 static int setup_redirect(struct p_context *ctx, int fd, redir_type style, struct in_str *input);
469 static int redirect_dup_num(struct in_str *input);
471 static int process_command_subs(o_string *dest, struct p_context *ctx, struct in_str *input, int su…
472 static int parse_group(o_string *dest, struct p_context *ctx, struct in_str *input, int ch);
476 static int handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *input);
812 FILE *input; in builtin_source() local
819 input = fopen(child->argv[1], "r"); in builtin_source()
820 if (!input) { in builtin_source()
[all …]
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dtegra124-nyan-big.dts82 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
89 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
96 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
103 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
110 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
117 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
124 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
131 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
138 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
145 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
H A Dtegra124-apalis.dts44 #include <dt-bindings/input/input.h>
131 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
138 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
145 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
152 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
159 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
168 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
177 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
186 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
195 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
[all …]
H A Dsun4i-a10-inet9f-rev03.dts47 #include <dt-bindings/input/input.h>
74 linux,input-type = <EV_ABS>;
75 linux,input-value = <0xffffffff>; /* -1 */
82 linux,input-type = <EV_ABS>;
83 linux,input-value = <1>;
90 linux,input-type = <EV_ABS>;
91 linux,input-value = <0xffffffff>; /* -1 */
98 linux,input-type = <EV_ABS>;
99 linux,input-value = <1>;
106 linux,input-type = <EV_ABS>;
[all …]
H A Drv1103b-evb1.dts10 #include <dt-bindings/input/input.h>
H A Drk1808-evb.dts11 #include <dt-bindings/input/input.h>
64 clock_in_out = "input";
/rk3399_rockchip-uboot/examples/standalone/
H A Dsmc91111_eeprom.c38 char input[50]; in smc91111_eeprom() local
82 input[i] = 0; in smc91111_eeprom()
90 input[0] = 0; in smc91111_eeprom()
110 input[i] = c; in smc91111_eeprom()
121 input[i] = c; in smc91111_eeprom()
132 input[i] = 0; in smc91111_eeprom()
134 switch (input[0]) { in smc91111_eeprom()
141 while ((input[i] != ' ') && (input[i] != 0)) in smc91111_eeprom()
144 if (input[i] != 0) in smc91111_eeprom()
148 switch (input[i]) { in smc91111_eeprom()
[all …]
/rk3399_rockchip-uboot/drivers/input/
H A Dcros_ec_keyb.c27 struct input_config *input; /* The input layer */ member
99 int cros_ec_kbc_check(struct input_config *input) in cros_ec_kbc_check() argument
101 struct udevice *dev = input->dev; in cros_ec_kbc_check()
142 sent = input_send_keycodes(input, keycodes, num_keycodes); in cros_ec_kbc_check()
189 struct input_config *input = &uc_priv->input; in cros_ec_kbd_probe() local
197 input_set_delays(input, KBC_REPEAT_DELAY_MS, KBC_REPEAT_RATE_MS); in cros_ec_kbd_probe()
212 priv->input = input; in cros_ec_kbd_probe()
213 input->dev = dev; in cros_ec_kbd_probe()
214 input_add_tables(input, false); in cros_ec_kbd_probe()
215 input->read_keys = cros_ec_kbc_check; in cros_ec_kbd_probe()
H A Dtegra-kbc.c46 struct input_config *input; /* The input layer */ member
123 input_send_keycodes(priv->input, fifo, cnt); in process_fifo()
185 static int tegra_kbc_check(struct input_config *input) in tegra_kbc_check() argument
187 struct tegra_kbd_priv *priv = dev_get_priv(input->dev); in tegra_kbc_check()
292 struct input_config *input = &uc_priv->input; in tegra_kbd_probe() local
300 input_set_delays(input, KBC_REPEAT_DELAY_MS, KBC_REPEAT_RATE_MS); in tegra_kbd_probe()
314 input_add_tables(input, false); in tegra_kbd_probe()
316 ret = input_add_table(input, KEY_FN, -1, in tegra_kbd_probe()
326 priv->input = input; in tegra_kbd_probe()
327 input->dev = dev; in tegra_kbd_probe()
[all …]
H A Di8042.c220 static int i8042_kbd_check(struct input_config *input) in i8042_kbd_check() argument
222 struct i8042_kbd_priv *priv = dev_get_priv(input->dev); in i8042_kbd_check()
255 input_add_keycode(input, scan_code, release); in i8042_kbd_check()
265 struct input_config *input = &uc_priv->input; in i8042_start() local
288 ret = input_add_tables(input, keymap == KBD_GER); in i8042_start()
315 struct input_config *input = &uc_priv->input; in i8042_kbd_probe() local
323 input->dev = dev; in i8042_kbd_probe()
324 input->read_keys = i8042_kbd_check; in i8042_kbd_probe()
325 input_allow_repeats(input, true); in i8042_kbd_probe()
H A Dkeyboard.c72 struct input_config *input = &config; in kbd_init() local
82 input_init(input, 0); in kbd_init()
83 input->read_keys = kbd_read_keys; in kbd_init()
84 input_add_tables(input, true); in kbd_init()
H A Dkeyboard-uclass.c40 if (priv->input.dev) in keyboard_tstc()
41 return input_tstc(&priv->input); in keyboard_tstc()
55 if (priv->input.dev) in keyboard_getc()
56 return input_getc(&priv->input); in keyboard_getc()
76 ret = input_init(&priv->input, 0); in keyboard_pre_probe()
/rk3399_rockchip-uboot/include/u-boot/
H A Dsha1.h58 void sha1_update(sha1_context *ctx, const unsigned char *input,
76 void sha1_csum(const unsigned char *input, unsigned int ilen,
87 void sha1_csum_wd(const unsigned char *input, unsigned int ilen,
100 const unsigned char *input, unsigned int ilen,
H A Dsha256.h24 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length);
27 void sha256_csum_wd(const unsigned char *input, unsigned int ilen,
29 void sha256_csum(const unsigned char *input, unsigned int ilen,
H A Dmd5.h24 void md5 (unsigned char *input, int len, unsigned char output[16]);
31 void md5_wd (unsigned char *input, int len, unsigned char output[16],
H A Dsha512.h71 int sha512_update(sha512_context *ctx, const unsigned char *input, size_t ilen);
91 void sha512_csum(const unsigned char *input, unsigned int ilen,
/rk3399_rockchip-uboot/cmd/
H A Dmdio.c27 static int extract_range(char *input, int *plo, int *phi) in extract_range() argument
30 *plo = simple_strtol(input, &end, 16); in extract_range()
31 if (end == input) in extract_range()
112 static int extract_reg_range(char *input, int *devadlo, int *devadhi, in extract_reg_range() argument
118 regstr = strrchr(input, '.'); in extract_reg_range()
124 strncpy(devadstr, input, regstr - input); in extract_reg_range()
125 devadstr[regstr - input] = '\0'; in extract_reg_range()
135 regstr = input; in extract_reg_range()
/rk3399_rockchip-uboot/arch/arm/mach-at91/arm920t/
H A Dclock.c53 unsigned input, mul1; in at91_pll_calc() local
60 input = main_freq / i; in at91_pll_calc()
61 if (input < 100000) in at91_pll_calc()
63 if (input > 32000000) in at91_pll_calc()
66 mul1 = out_freq / input; in at91_pll_calc()
72 diff1 = out_freq - input * mul1; in at91_pll_calc()
/rk3399_rockchip-uboot/arch/arm/mach-at91/arm926ejs/
H A Dclock.c53 unsigned input, mul1; in at91_pll_calc() local
60 input = main_freq / i; in at91_pll_calc()
62 if (input < 2000000) in at91_pll_calc()
65 if (input < 100000) in at91_pll_calc()
67 if (input > 32000000) in at91_pll_calc()
70 mul1 = out_freq / input; in at91_pll_calc()
80 diff1 = out_freq - input * mul1; in at91_pll_calc()
/rk3399_rockchip-uboot/drivers/adc/
H A DKconfig26 - 10 analog input channels
35 - 4 analog input channels
44 - 2~6 analog input channels
53 - 8 analog input channels
/rk3399_rockchip-uboot/lib/
H A Dsha1.c265 void sha1_update(sha1_context *ctx, const unsigned char *input, in sha1_update() argument
276 crypto_sha_update(ctx->cdev, (void *)input, ilen); in sha1_update()
291 memcpy ((void *) (ctx->buffer + left), (void *) input, fill); in sha1_update()
293 input += fill; in sha1_update()
298 sha1_process(ctx, input, ilen / 64); in sha1_update()
299 input += ilen / 64 * 64; in sha1_update()
303 memcpy ((void *) (ctx->buffer + left), (void *) input, ilen); in sha1_update()
358 void sha1_csum(const unsigned char *input, unsigned int ilen, in sha1_csum() argument
369 sha1_update (&ctx, input, ilen); in sha1_csum()
377 void sha1_csum_wd(const unsigned char *input, unsigned int ilen, in sha1_csum_wd() argument
[all …]
H A Dsha512.c236 int sha512_update(sha512_context *ctx, const unsigned char *input, size_t ilen) in sha512_update() argument
254 memcpy((void *)(ctx->buffer + left), input, fill); in sha512_update()
259 input += fill; in sha512_update()
265 if ((ret = sha512_process(ctx, input)) != 0) in sha512_update()
268 input += 128; in sha512_update()
273 memcpy((void *)(ctx->buffer + left), input, ilen); in sha512_update()
338 void sha512_csum(const unsigned char *input, unsigned int ilen, in sha512_csum() argument
344 sha512_update(&ctx, input, ilen); in sha512_csum()
/rk3399_rockchip-uboot/doc/
H A DREADME.VSC3316-330810 VSC3316 has 16 input and 16 output ports whereas VSC3308 has 8 input and 8 output ports. Programmin…
31 …e selected input and output correctly and join them to make a connection. It also program Input st…

12345678910>>...14