Searched refs:input (Results 1 - 25 of 143) sorted by relevance

123456

/u-boot/common/
H A Ds_record.c13 int srec_decode (char *input, int *count, ulong *addr, char *data) argument
26 for (; *input; ++input) {
27 if (*input == 'S') { /* skip 'S' */
28 ++input;
32 if (*input == '\0') { /* no more data? */
36 v = *input++; /* record type */
38 if ((*count = hex2_bin(input)) < 0) {
43 input += 2;
91 if ((v = hex2_bin(input)) <
[all...]
H A Dcli_simple.c25 int cli_simple_process_macros(const char *input, char *output, int max_size) argument
29 int inputcnt = strlen(input);
39 debug_parser("[PROCESS_MACROS] INPUT len %zd: \"%s\"\n", strlen(input),
40 input);
45 c = *input++;
54 c = *input++;
74 varname_start = input;
91 int envcnt = input - varname_start - 1;
H A Dcli_hush.c30 * the parser and input reader have been turned inside out. Now,
31 * the parser is in control, and asks for input as needed. The old
32 * way had the input reader in control, and it asked for parsing to
339 #define b_getch(input) ((input)->get(input))
340 #define b_peek(input) ((input)->peek(input))
458 static int setup_redirect(struct p_context *ctx, int fd, redir_type style, struct in_str *input);
809 FILE *input; local
2291 setup_redirect(struct p_context *ctx, int fd, redir_type style, struct in_str *input) argument
2605 redirect_dup_num(struct in_str *input) argument
2693 process_command_subs(o_string *dest, struct p_context *ctx, struct in_str *input, int subst_end) argument
2736 parse_group(o_string *dest, struct p_context *ctx, struct in_str *input, int ch) argument
2832 handle_dollar(o_string *dest, struct p_context *ctx, struct in_str *input) argument
2945 parse_stream(o_string *dest, struct p_context *ctx, struct in_str *input, int end_trigger) argument
3264 struct in_str input; local
3297 struct in_str input; local
3376 FILE *input; local
[all...]
/u-boot/include/u-boot/
H A Dsha1.h49 * \param input buffer holding the data
50 * \param ilen length of the input data
52 void sha1_update(sha1_context *ctx, const unsigned char *input,
64 * \brief Output = SHA-1( input buffer )
66 * \param input buffer holding the data
67 * \param ilen length of the input data
70 void sha1_csum(const unsigned char *input, unsigned int ilen,
74 * \brief Output = SHA-1( input buffer ), with watchdog triggering
76 * \param input buffer holding the data
77 * \param ilen length of the input dat
[all...]
H A Dmd5.h28 * 'input'. 'output' must have enough space to hold 16 bytes.
30 void md5 (unsigned char *input, int len, unsigned char output[16]);
33 * Calculate and store in 'output' the MD5 digest of 'len' bytes at 'input'.
35 * watchdog every 'chunk_sz' bytes of input processed.
37 void md5_wd(const unsigned char *input, unsigned int len,
H A Dsha512.h22 void sha512_update(sha512_context *ctx, const uint8_t *input, uint32_t length);
25 void sha512_csum_wd(const unsigned char *input, unsigned int ilen,
31 void sha384_update(sha512_context *ctx, const uint8_t *input, uint32_t length);
34 void sha384_csum_wd(const unsigned char *input, unsigned int ilen,
H A Dsha256.h19 void sha256_update(sha256_context *ctx, const uint8_t *input, uint32_t length);
22 void sha256_csum_wd(const unsigned char *input, unsigned int ilen,
/u-boot/drivers/input/
H A Dbutton_kbd.c10 #include <input.h>
18 #include <linux/input.h>
23 * @input: input configuration
28 struct input_config *input; member in struct:button_kbd_priv
71 int button_read_keys(struct input_config *input) argument
73 struct button_kbd_priv *priv = dev_get_priv(input->dev);
94 input_add_keycode(input, code, state);
110 struct input_config *input = &uc_priv->input; local
[all...]
H A Dapple_spi_kbd.c13 #include <linux/input.h>
60 /* Report ID used for keyboard input reports. */
73 struct apple_spi_kbd_report old; /* previous keyboard input report */
74 struct apple_spi_kbd_report new; /* current keyboard input report */
104 static void apple_spi_kbd_service_modifiers(struct input_config *input) argument
106 struct apple_spi_kbd_priv *priv = dev_get_priv(input->dev);
111 input_add_keycode(input, KEY_LEFTCTRL,
114 input_add_keycode(input, KEY_RIGHTCTRL,
117 input_add_keycode(input, KEY_LEFTSHIFT,
120 input_add_keycode(input, KEY_RIGHTSHIF
136 apple_spi_kbd_service_key(struct input_config *input, int i, int released) argument
157 apple_spi_kbd_check(struct input_config *input) argument
231 struct input_config *input = &uc_priv->input; local
[all...]
H A DMakefile8 obj-$(CONFIG_$(SPL_TPL_)DM_KEYBOARD) += input.o keyboard-uclass.o
15 obj-$(CONFIG_TEGRA_KEYBOARD) += input.o tegra-kbc.o
H A Dkeyboard-uclass.c41 /* Just get input to do this for us if we can */
42 if (priv->input.dev)
43 return input_tstc(&priv->input);
56 /* Just get input to do this for us if we can */
57 if (priv->input.dev)
58 return input_getc(&priv->input);
78 ret = input_init(&priv->input, 0);
80 debug("%s: Cannot set up input, ret=%d - please add DEBUG to drivers/input/input
[all...]
H A Dtegra-kbc.c10 #include <input.h>
21 #include <linux/input.h>
45 struct input_config *input; /* The input layer */ member in struct:tegra_kbd_priv
106 * Note: if fifo_cnt is 0, we will tell the input layer that no keys are
122 input_send_keycodes(priv->input, fifo, cnt);
181 * @param input Input configuration
184 static int tegra_kbc_check(struct input_config *input) argument
186 struct tegra_kbd_priv *priv = dev_get_priv(input->dev);
278 * at start-up, since keyboard input ma
291 struct input_config *input = &uc_priv->input; local
[all...]
H A Dcros_ec_keyb.c12 #include <input.h>
25 struct input_config *input; /* The input layer */ member in struct:cros_ec_keyb_priv
114 * @param input Input configuration
117 int cros_ec_kbc_check(struct input_config *input) argument
119 struct udevice *dev = input->dev;
160 sent = input_send_keycodes(input, keycodes, num_keycodes);
207 struct input_config *input = &uc_priv->input; local
215 input_set_delays(input, KBC_REPEAT_DELAY_M
[all...]
H A Di8042.c16 #include <input.h>
62 * Checks the IBF flag (input buffer full), waiting for it to indicate that
221 * Return: 0 if ok, -1 if keyboard input was found while disabling
237 static int i8042_kbd_check(struct input_config *input) argument
239 struct i8042_kbd_priv *priv = dev_get_priv(input->dev);
272 input_add_keycode(input, scan_code, release);
282 struct input_config *input = &uc_priv->input; local
305 ret = input_add_tables(input, keymap == KBD_GER);
328 * at start-up, since keyboard input ma
341 struct input_config *input = &uc_priv->input; local
[all...]
/u-boot/include/linux/
H A Dxxhash.h55 * xxh32() - calculate the 32-bit hash of the input with a given seed.
57 * @input: The data to hash.
65 uint32_t xxh32(const void *input, size_t length, uint32_t seed);
68 * xxh64() - calculate the 64-bit hash of the input with a given seed.
70 * @input: The data to hash.
78 uint64_t xxh64(const void *input, size_t length, uint64_t seed);
81 * xxhash() - calculate wordsize hash of the input with a given seed
82 * @input: The data to hash.
93 static inline unsigned long xxhash(const void *input, size_t length, argument
97 return xxh64(input, lengt
[all...]
/u-boot/include/
H A Dkeyboard.h4 #include <input.h>
11 * @input: input configuration (the driver may use this if desired)
18 * sets input.dev to its device pointer (it is initially NULL).
20 struct input_config input; member in struct:keyboard_priv
72 * @leds: New LED mask (see INPUT_LED_... in input.h)
H A Ds_record.h97 int srec_decode (char *input, int *count, ulong *addr, char *data);
/u-boot/test/py/tests/
H A Dtest_efi_selftest.py69 This function calls the text input EFI selftest.
71 u_boot_console.run_command(cmd='setenv efi_selftest text input')
74 raise Exception('No prompt for \'text input\' test')
80 raise Exception('EOT failed in \'text input\' test')
86 raise Exception('BS failed in \'text input\' test')
92 raise Exception('BS failed in \'text input\' test')
98 raise Exception('\'a\' failed in \'text input\' test')
104 raise Exception('UP failed in \'text input\' test')
110 raise Exception('Euro sign failed in \'text input\' test')
124 This function calls the extended text input EF
[all...]
/u-boot/drivers/video/nexell/
H A Ds5pxx18_dp_rgb.c16 static int rgb_switch(int module, int input, struct dp_sync_info *sync, argument
44 int input = module == 0 ? DP_DEVICE_DP0 : DP_DEVICE_DP1; local
65 rgb_switch(module, input, sync, dev);
H A Ds5pxx18_dp_lvds.c54 static int lvds_setup(int module, int input, argument
95 switch (input) {
97 input = 0;
100 input = 1;
103 input = 2;
156 (0 << 2) | /* SEL_DATABF, input clock 1/2 division cont. pin */
227 nx_disp_top_set_lvdsmux(1, input);
243 int input = module == 0 ? DP_DEVICE_DP0 : DP_DEVICE_DP1; local
267 lvds_setup(module, input, sync, ctrl, dev);
/u-boot/arch/arm/mach-at91/arm920t/
H A Dclock.c53 unsigned input, mul1; local
56 * PLL input between 1MHz and 32MHz per spec, but lower
60 input = main_freq / i;
61 if (input < 100000)
63 if (input > 32000000)
66 mul1 = out_freq / input;
72 diff1 = out_freq - input * mul1;
/u-boot/cmd/
H A Dmdio.c26 static int extract_range(char *input, int *plo, int *phi) argument
29 *plo = simple_strtol(input, &end, 16);
30 if (end == input)
121 static int extract_reg_range(char *input, int *devadlo, int *devadhi, argument
127 regstr = strrchr(input, '.');
133 strncpy(devadstr, input, regstr - input);
134 devadstr[regstr - input] = '\0';
144 regstr = input;
/u-boot/drivers/serial/
H A Dserial_nulldev.c20 static int nulldev_serial_pending(struct udevice *dev, bool input) argument
/u-boot/lib/
H A Dxxhash.c64 static uint32_t xxh32_round(uint32_t seed, const uint32_t input) argument
66 seed += input * PRIME32_2;
72 uint32_t xxh32(const void *input, const size_t len, const uint32_t seed) argument
74 const uint8_t *p = (const uint8_t *)input;
126 static uint64_t xxh64_round(uint64_t acc, const uint64_t input) argument
128 acc += input * PRIME64_2;
142 uint64_t xxh64(const void *input, const size_t len, const uint64_t seed) argument
144 const uint8_t *p = (const uint8_t *)input;
240 int xxh32_update(struct xxh32_state *state, const void *input, const size_t len) argument
242 const uint8_t *p = (const uint8_t *)input;
347 xxh64_update(struct xxh64_state *state, const void *input, const size_t len) argument
[all...]
/u-boot/arch/arm/mach-at91/arm926ejs/
H A Dclock.c53 unsigned input, mul1; local
56 * PLL input between 1MHz and 32MHz per spec, but lower
60 input = main_freq / i;
62 if (input < 2000000)
65 if (input < 100000)
67 if (input > 32000000)
70 mul1 = out_freq / input;
80 diff1 = out_freq - input * mul1;

Completed in 121 milliseconds

123456