Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 87) sorted by relevance

1234

/u-boot/drivers/fastboot/
A Dfb_getvar.c110 response); in getvar_get_part_info()
135 fastboot_okay(U_BOOT_VERSION, response); in getvar_version_bootloader()
148 fastboot_okay(tmp, response); in getvar_serialno()
155 fastboot_okay("N/A", response); in getvar_version_baseband()
163 fastboot_okay(board, response); in getvar_product()
173 fastboot_okay(p, response); in getvar_platform()
181 fastboot_okay("a", response); in getvar_current_slot()
226 response); in getvar_partition_type()
251 fastboot_okay("no", response); in getvar_is_userspace()
270 fastboot_fail("missing var", response); in fastboot_getvar()
[all …]
A Dfb_command.c157 response); in fastboot_handle_command()
182 fastboot_okay(NULL, response); in okay()
257 char *response) in fastboot_data_download() argument
266 response); in fastboot_data_download()
282 *response = '\0'; in fastboot_data_download()
295 fastboot_okay(NULL, response); in fastboot_data_complete()
317 response); in flash()
321 response); in flash()
361 fastboot_fail("", response); in run_ucmd()
394 fastboot_okay(NULL, response); in run_acmd()
[all …]
A Dfb_mmc.c205 fastboot_okay(NULL, response); in write_raw_image()
265 response); in fb_mmc_boot_ops()
275 response); in fb_mmc_boot_ops()
297 char *response) in fb_mmc_get_boot_header() argument
317 response); in fb_mmc_get_boot_header()
344 char *response) in fb_mmc_update_zimage() argument
384 response); in fb_mmc_update_zimage()
403 response); in fb_mmc_update_zimage()
556 response);
582 response);
[all …]
A Dfb_common.c42 void fastboot_response(const char *tag, char *response, in fastboot_response() argument
47 strlcpy(response, tag, FASTBOOT_RESPONSE_LEN); in fastboot_response()
50 vsnprintf(response + strlen(response), in fastboot_response()
51 FASTBOOT_RESPONSE_LEN - strlen(response) - 1, in fastboot_response()
63 void fastboot_fail(const char *reason, char *response) in fastboot_fail() argument
65 fastboot_response("FAIL", response, "%s", reason); in fastboot_fail()
74 void fastboot_okay(const char *reason, char *response) in fastboot_okay() argument
77 fastboot_response("OKAY", response, "%s", reason); in fastboot_okay()
79 fastboot_response("OKAY", response, NULL); in fastboot_okay()
A Dfb_nand.c37 char *response) in fb_nand_lookup() argument
46 fastboot_fail("cannot init mtdparts", response); in fb_nand_lookup()
53 fastboot_fail("cannot find partition", response); in fb_nand_lookup()
60 fastboot_fail("not a NAND device", response); in fb_nand_lookup()
158 struct part_info **part_info, char *response) in fastboot_nand_get_part_info() argument
174 u32 download_bytes, char *response) in fastboot_nand_flash_write() argument
183 fastboot_fail("invalid NAND device", response); in fastboot_nand_flash_write()
210 response); in fastboot_nand_flash_write()
212 fastboot_okay(NULL, response); in fastboot_nand_flash_write()
229 fastboot_okay(NULL, response); in fastboot_nand_flash_write()
[all …]
/u-boot/test/py/tests/test_android/
A Dtest_avb.py35 assert response == ''
37 assert response.find(success_str)
48 assert response == ''
80 assert response == ''
92 assert response == ''
95 assert response == 'Unlocked = 1'
109 assert response.find('read: OK')
112 assert response == ''
121 assert response.find('64 word')
131 assert response == ''
[all …]
A Dtest_abootimg.py132 response = u_boot_console.run_command('abootimg get ver')
133 assert response == "2"
135 response = u_boot_console.run_command('env print v')
136 assert response == 'v=2'
140 assert response == 'Error: recovery_dtbo_size is 0'
144 assert response == dtb_dump_resp
148 response = u_boot_console.run_command('env print a')
149 assert response == 'a=11f00000'
155 assert response == correct_str
158 response = u_boot_console.run_command('env print v')
[all …]
/u-boot/test/py/tests/
A Dtest_env.py155 assert response == ''
369 assert response == ""
372 assert response == ""
375 assert response == ""
396 assert response == "0"
400 assert response == "1"
404 assert response == "1"
474 assert response == ""
476 assert response == "1"
479 assert response == ""
[all …]
A Dtest_gpio.py10 response = u_boot_console.run_command('gpio input 0; echo rc:$?')
12 assert(expected_response in response)
15 assert(expected_response in response)
24 response = u_boot_console.run_command('gpio clear 0; echo rc:$?')
25 assert(expected_response in response)
26 response = u_boot_console.run_command('gpio set 0; echo rc:$?')
27 assert(expected_response in response)
29 assert(expected_response in response)
31 assert(expected_response in response)
35 assert(expected_response in response)
[all …]
A Dtest_button.py10 response = u_boot_console.run_command('button list; echo rc:$?')
11 assert('button1' in response)
12 assert('button2' in response)
13 assert('rc:0' in response)
26 response = u_boot_console.run_command('button button1; echo rc:$?')
27 assert('on' in response)
28 assert('rc:0' in response)
32 assert('off' in response)
33 assert('rc:1' in response)
36 assert('not found' in response)
[all …]
A Dtest_bind.py38 assert response == ''
46 assert response == ''
54 assert response == ''
63 assert response == ''
71 assert response == ''
79 assert response != ''
85 assert response != ''
91 assert response == ''
98 assert response == ''
116 assert response == ''
[all …]
A Dtest_dm.py9 response = u_boot_console.run_command('dm tree')
10 driver_index = response.find('Driver')
13 for line in response[:-1].split('\n')[2:])
15 response = u_boot_console.run_command('dm compat')
17 assert driver in response
22 response = u_boot_console.run_command('dm compat')
24 response = u_boot_console.run_command('dm drivers')
26 assert driver in response
31 response = u_boot_console.run_command('dm static')
33 response = u_boot_console.run_command('dm drivers')
[all …]
A Dtest_shell_basics.py13 response = u_boot_console.run_command('echo hello')
14 assert response.strip() == 'hello'
20 response = u_boot_console.run_command(cmd)
22 assert response.index('hello') < response.index('world')
30 response = u_boot_console.run_command(cmd)
31 assert response.strip() == '123'
39 response = u_boot_console.run_command('echo ${monty}')
40 assert response.strip() == '1'
41 response = u_boot_console.run_command('echo ${python}')
42 assert response.strip() == '2'
A Dtest_mmc_rd.py125 response = u_boot_console.run_command(cmd)
126 assert 'no card present' not in response
132 assert good_response in response
178 response = u_boot_console.run_command(cmd)
179 assert 'no card present' not in response
210 assert good_response in response
212 assert good_response in response
214 assert good_response in response
216 assert good_response in response
270 assert good_response in response
[all …]
A Dtest_mmc_wr.py72 response = u_boot_console.run_command(cmd)
74 assert good_response in response
80 response = u_boot_console.run_command(cmd)
81 assert 'no card present' not in response
87 assert good_response in response
91 response = u_boot_console.run_command(cmd)
93 assert good_response in response
97 response = u_boot_console.run_command(cmd)
99 assert good_response in response
103 response = u_boot_console.run_command(cmd)
[all …]
A Dtest_md.py18 response = u_boot_console.run_command('md ' + addr + ' 10')
19 assert(not (expected_response in response))
21 response = u_boot_console.run_command('md ' + addr + ' 10')
22 assert(expected_response in response)
34 response = u_boot_console.run_command('')
36 assert(expected_response in response)
A Dtest_pstore.py49 response = u_boot_console.run_command('pstore display')
50 assert('**** Dump' in response)
51 assert('**** Console' in response)
59 response = u_boot_console.run_command('pstore display dump 1')
60 assert('Panic#2 Part1' in response)
61 assert('**** Console' not in response)
/u-boot/test/dm/
A Dfastboot.c54 &part_info, response)); in dm_test_fastboot_mmc_part()
56 &part_info, response)); in dm_test_fastboot_mmc_part()
62 &part_info, response)); in dm_test_fastboot_mmc_part()
67 &part_info, response)); in dm_test_fastboot_mmc_part()
69 &part_info, response)); in dm_test_fastboot_mmc_part()
71 &part_info, response)); in dm_test_fastboot_mmc_part()
73 &part_info, response)); in dm_test_fastboot_mmc_part()
75 &part_info, response)); in dm_test_fastboot_mmc_part()
77 &part_info, response)); in dm_test_fastboot_mmc_part()
79 &part_info, response)); in dm_test_fastboot_mmc_part()
[all …]
/u-boot/drivers/mmc/
A Dmvebu_mmc.c191 uint response[8]; in mvebu_mmc_send_cmd() local
194 response[resp_indx] in mvebu_mmc_send_cmd()
197 cmd->response[0] = ((response[0] & 0x03ff) << 22) | in mvebu_mmc_send_cmd()
200 cmd->response[1] = ((response[2] & 0x03ff) << 22) | in mvebu_mmc_send_cmd()
203 cmd->response[2] = ((response[4] & 0x03ff) << 22) | in mvebu_mmc_send_cmd()
206 cmd->response[3] = ((response[6] & 0x03ff) << 22) | in mvebu_mmc_send_cmd()
209 uint response[3]; in mvebu_mmc_send_cmd() local
212 response[resp_indx] in mvebu_mmc_send_cmd()
215 cmd->response[0] = ((response[2] & 0x003f) << (8 - 8)) | in mvebu_mmc_send_cmd()
218 cmd->response[1] = ((response[0] & 0xfc00) >> 10); in mvebu_mmc_send_cmd()
[all …]
A Dsandbox_mmc.c46 memset(cmd->response, '\0', sizeof(cmd->response)); in sandbox_mmc_send_cmd()
49 cmd->response[0] = 0 << 16; /* mmc->rca */ in sandbox_mmc_send_cmd()
53 cmd->response[0] = 0xaa; in sandbox_mmc_send_cmd()
56 cmd->response[0] = MMC_STATUS_RDY_FOR_DATA; in sandbox_mmc_send_cmd()
61 cmd->response[0] = 0; in sandbox_mmc_send_cmd()
62 cmd->response[1] = (MMC_BL_LEN_SHIFT << 16) | in sandbox_mmc_send_cmd()
64 cmd->response[2] = (MMC_CSIZE & 0xffff) << 16; in sandbox_mmc_send_cmd()
65 cmd->response[3] = 0; in sandbox_mmc_send_cmd()
100 cmd->response[0] = OCR_BUSY | OCR_HCS; in sandbox_mmc_send_cmd()
101 cmd->response[1] = 0; in sandbox_mmc_send_cmd()
[all …]
/u-boot/lib/
A Dtpm-v1.c158 size_t response_length = sizeof(response); in tpm_nv_read_value()
196 size_t response_length = sizeof(response); in tpm_nv_write_value()
229 size_t response_length = sizeof(response); in tpm_extend()
258 size_t response_length = sizeof(response); in tpm_pcr_read()
312 size_t response_length = sizeof(response); in tpm_read_pubek()
430 u8 response[COMMAND_BUFFER_SIZE]; in tpm_get_permanent_flags() local
684 u8 response[COMMAND_BUFFER_SIZE]; in tpm_oiap() local
721 u8 response[COMMAND_BUFFER_SIZE]; in tpm_load_key2_oiap() local
756 response + response_length - in tpm_load_key2_oiap()
816 response + response_length - in tpm_get_pub_key_oiap()
[all …]
A Dimage-sparse.c53 const char *part_name, void *data, char *response) in write_sparse_image() argument
106 info->mssg("sparse image block size issue", response); in write_sparse_image()
142 response); in write_sparse_image()
151 response); in write_sparse_image()
161 info->mssg("flash write failure", response); in write_sparse_image()
184 response); in write_sparse_image()
202 response); in write_sparse_image()
218 response); in write_sparse_image()
239 response); in write_sparse_image()
249 info->mssg("Unknown chunk type", response); in write_sparse_image()
[all …]
/u-boot/include/
A Dfastboot.h72 void fastboot_response(const char *tag, char *response,
82 void fastboot_fail(const char *reason, char *response);
90 void fastboot_okay(const char *reason, char *response);
144 int fastboot_handle_command(char *cmd_string, char *response);
165 unsigned int fastboot_data_len, char *response);
174 void fastboot_data_complete(char *response);
A Dfb_nand.h20 struct part_info **part_info, char *response);
31 u32 download_bytes, char *response);
39 void fastboot_nand_erase(const char *cmd, char *response);
/u-boot/net/
A Dfastboot.c59 char response[FASTBOOT_RESPONSE_LEN] = {0}; in fastboot_udp_send_info() local
74 fastboot_response("INFO", response, "%s", msg); in fastboot_udp_send_info()
75 memcpy(packet, response, strlen(response)); in fastboot_udp_send_info()
76 packet += strlen(response); in fastboot_udp_send_info()
132 char response[FASTBOOT_RESPONSE_LEN] = {0}; in fastboot_send() local
175 fastboot_data_complete(response); in fastboot_send()
179 response); in fastboot_send()
200 memcpy(packet, response, strlen(response)); in fastboot_send()
201 packet += strlen(response); in fastboot_send()
218 if (!strncmp("OKAY", response, 4)) { in fastboot_send()
[all …]

Completed in 33 milliseconds

1234