Home
last modified time | relevance | path

Searched refs:BUFSIZE (Results 1 – 24 of 24) sorted by relevance

/openbmc/qemu/tests/tcg/hexagon/
H A Dhvx_misc.h44 #define BUFSIZE 16 macro
73 for (int i = 0; i < BUFSIZE; i++) { in init_buffers()
102 for (int i = 0; i < BUFSIZE; i++) { \
107 for (int i = 0; i < BUFSIZE; i++) { \
112 check_output_##FIELD(__LINE__, BUFSIZE); \
121 for (int i = 0; i < BUFSIZE; i++) { \
127 for (int i = 0; i < BUFSIZE; i++) { \
132 check_output_##FIELD(__LINE__, BUFSIZE); \
158 for (int i = 0; i < BUFSIZE; i++) { \
164 for (int i = 0; i < BUFSIZE; i++) { \
[all …]
H A Dv69_hvx.c50 for (int i = 0; i < BUFSIZE / 2; i++) { in test_vasrvuhubrndsat()
75 check_output_h(__LINE__, BUFSIZE / 2); in test_vasrvuhubrndsat()
87 for (int i = 0; i < BUFSIZE / 2; i++) { in test_vasrvuhubsat()
112 check_output_h(__LINE__, BUFSIZE / 2); in test_vasrvuhubsat()
149 check_output_w(__LINE__, BUFSIZE / 2); in test_vasrvwuhrndsat()
197 for (int i = 0; i < BUFSIZE; i++) { in test_vassign_tmp()
224 check_output_w(__LINE__, BUFSIZE); in test_vassign_tmp()
236 for (int i = 0; i < BUFSIZE; i++) { in test_vcombine_tmp()
271 check_output_w(__LINE__, BUFSIZE); in test_vcombine_tmp()
283 for (int i = 0; i < BUFSIZE; i++) { in test_vmpyuhvs()
[all …]
H A Dv68_hvx.c28 MMVector v6mpy_buffer0[BUFSIZE] __attribute__((aligned(MAX_VEC_SIZE_BYTES)));
29 MMVector v6mpy_buffer1[BUFSIZE] __attribute__((aligned(MAX_VEC_SIZE_BYTES)));
35 for (int i = 0; i < BUFSIZE; i++) { in init_v6mpy_buffers()
43 int v6mpy_ref[BUFSIZE][MAX_VEC_SIZE_BYTES / 4] = {
58 for (int i = 0; i < BUFSIZE; i++) { in test_v6mpy()
78 check_output_w(__LINE__, BUFSIZE); in test_v6mpy()
H A Dhvx_misc.c34 for (int i = 0; i < BUFSIZE; i++) { in test_load_tmp()
60 check_output_w(__LINE__, BUFSIZE); in test_load_tmp()
98 for (int i = 0; i < BUFSIZE; i++) { in test_load_cur()
112 check_output_w(__LINE__, BUFSIZE); in test_load_cur()
191 for (int i = 0; i < BUFSIZE; i++) { in test_masked_store()
228 check_output_w(__LINE__, BUFSIZE); in test_masked_store()
396 for (int i = 0; i < BUFSIZE; i++) { in test_load_tmp_predicated()
428 check_output_w(__LINE__, BUFSIZE); in test_load_tmp_predicated()
434 for (int i = 0; i < BUFSIZE; i++) { in test_load_cur_predicated()
455 check_output_w(__LINE__, BUFSIZE); in test_load_cur_predicated()
[all …]
H A Dcirc.c240 for (int i = 0; i < BUFSIZE; i++) { \
248 for (int i = 0; i < BUFSIZE; i++) { \
269 for (int i = 0; i < BUFSIZE; i++) { \
277 for (int i = 0; i < BUFSIZE; i++) { \
294 #define CIRC_VAL(SZ, TYPE, BUFSIZE) \ in TEST_LOAD_REG() argument
297 int mod = BUFSIZE % size; \ in TEST_LOAD_REG()
306 return (elem + BUFSIZE - mod); \ in TEST_LOAD_REG()
346 for (int i = 0; i < BUFSIZE; i++) { \
354 for (int i = 0; i < BUFSIZE; i++) { \
378 for (int i = 0; i < BUFSIZE; i++) { \
[all …]
/openbmc/linux/drivers/s390/char/
H A Dtape_3590.c961 exception = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_mim_msg_f0()
962 service = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_mim_msg_f0()
992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1026 service = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_io_sim_msg_f1()
1062 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_io_sim_msg_f1()
1116 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_io_sim_msg_f1()
1137 service = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_dev_sim_msg_f2()
1171 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_dev_sim_msg_f2()
1225 snprintf(service, BUFSIZE, "Clean DV"); in tape_3590_print_dev_sim_msg_f2()
[all …]
/openbmc/linux/arch/sparc/boot/
H A Dpiggyback.c126 #define BUFSIZE 1024 macro
137 char buffer[BUFSIZE]; in get_hdrs_offset()
143 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
163 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
/openbmc/u-boot/board/samsung/smdkv310/tools/
H A Dmksmdkv310spl.c15 #define BUFSIZE (16*1024) macro
35 unsigned char buffer[BUFSIZE] = {0}; in main()
82 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main()
/openbmc/u-boot/board/samsung/origen/tools/
H A Dmkorigenspl.c14 #define BUFSIZE (16*1024) macro
37 unsigned char buffer[BUFSIZE] = {0}; in main()
91 if (write(ofd, buffer, BUFSIZE) != BUFSIZE) { in main()
/openbmc/linux/arch/x86/tools/
H A Dinsn_decoder_test.c109 #define BUFSIZE 256 macro
113 char line[BUFSIZE], sym[BUFSIZE] = "<unknown>"; in main()
121 while (fgets(line, BUFSIZE, stdin)) { in main()
122 char copy[BUFSIZE], *s, *tab1, *tab2; in main()
/openbmc/linux/sound/usb/bcd2000/
H A Dbcd2000.c21 #define BUFSIZE 64 macro
51 unsigned char midi_in_buf[BUFSIZE];
52 unsigned char midi_out_buf[BUFSIZE];
131 BUILD_BUG_ON(sizeof(device_cmd_prefix) >= BUFSIZE); in bcd2000_midi_send()
146 bcd2k->midi_out_buf + 3, BUFSIZE - 3); in bcd2000_midi_send()
157 bcd2k->midi_out_urb->transfer_buffer_length = BUFSIZE; in bcd2000_midi_send()
328 bcd2k->midi_in_buf, BUFSIZE, in bcd2000_init_midi()
333 bcd2k->midi_out_buf, BUFSIZE, in bcd2000_init_midi()
/openbmc/linux/tools/perf/util/
H A Dlzma.c15 #define BUFSIZE 8192 macro
42 u8 buf_in[BUFSIZE]; in lzma_decompress_to_file()
43 u8 buf_out[BUFSIZE]; in lzma_decompress_to_file()
H A Dcpumap.c153 #define BUFSIZE 1024 in cpu_map__fprintf() macro
154 char buf[BUFSIZE]; in cpu_map__fprintf()
158 #undef BUFSIZE in cpu_map__fprintf()
/openbmc/linux/tools/perf/tests/
H A Dattr.c50 #define BUFSIZE 1024 macro
54 char buf[BUFSIZE]; \
57 size = snprintf(buf, BUFSIZE, #str "=%"fmt "\n", data); \
H A Ddso-data.c282 #define BUFSIZE 10 in test__dso_data_cache() macro
283 u8 buf[BUFSIZE]; in test__dso_data_cache()
286 n = dso__data_read_offset(dso, &machine, 0, buf, BUFSIZE); in test__dso_data_cache()
287 TEST_ASSERT_VAL("failed to read dso", n == BUFSIZE); in test__dso_data_cache()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dxdp_features.c40 #define BUFSIZE 128 macro
387 unsigned char buf[BUFSIZE] = {}; in dut_run()
390 err = recv_msg(ctrl_sockfd, buf, BUFSIZE, NULL, 0); in dut_run()
531 unsigned char buf[BUFSIZE] = {}; in send_and_recv_msg()
542 err = recv_msg(sockfd, buf, BUFSIZE, val, val_size); in send_and_recv_msg()
/openbmc/qemu/tests/tcg/multiarch/
H A Dsha1.c217 #define BUFSIZE 4096 macro
223 unsigned char hash[20], buf[BUFSIZE]; in main()
226 for(i=0;i<BUFSIZE;i++) in main()
231 SHA1Update(&ctx, buf, BUFSIZE); in main()
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrukservices.c1102 #define BUFSIZE 200 macro
1105 char buf1[BUFSIZE], buf2[BUFSIZE]; in quicktest3()
1110 gru_copy_gpa(uv_gpa(buf2), uv_gpa(buf1), BUFSIZE); in quicktest3()
1111 if (memcmp(buf1, buf2, BUFSIZE)) { in quicktest3()
/openbmc/linux/drivers/net/mctp/
H A Dmctp-serial.c33 #define BUFSIZE MCTP_SERIAL_FRAME_MTU macro
67 unsigned char txbuf[BUFSIZE],
68 rxbuf[BUFSIZE];
/openbmc/linux/drivers/i2c/busses/
H A Di2c-jz4780.c124 #define BUFSIZE 200 macro
163 int data_buf[BUFSIZE];
164 int cmd_buf[BUFSIZE];
/openbmc/linux/include/linux/usb/
H A Dr8a66597.h372 #define BUFSIZE 0x7C00 /* b14-10: Pipe buffer size */ macro
/openbmc/u-boot/drivers/usb/host/
H A Dr8a66597.h357 #define BUFSIZE 0x7C00 /* b14-10: Pipe buffer size */ macro
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c16 #define BUFSIZE 512 macro
20 u8 dout[BUFSIZE];
21 u8 din[BUFSIZE];
23 u8 _msg[BUFSIZE];
/openbmc/linux/drivers/ps3/
H A Dps3av.c24 #define BUFSIZE 4096 /* vuart buf size */ macro