Home
last modified time | relevance | path

Searched refs:BUF_LEN (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/tools/testing/selftests/powerpc/copyloops/
Dmemmove_validate.c10 #define BUF_LEN 65536 macro
24 char *usermap = memalign(BUF_LEN, BUF_LEN); in testcase_run()
25 char *kernelmap = memalign(BUF_LEN, BUF_LEN); in testcase_run()
30 memset(usermap, 0, BUF_LEN); in testcase_run()
31 memset(kernelmap, 0, BUF_LEN); in testcase_run()
33 for (i = 0; i < BUF_LEN; i++) { in testcase_run()
/linux-6.6.21/tools/usb/ffs-aio-example/simple/host_app/
Dtest.c36 #define BUF_LEN 8192 macro
170 static unsigned char buffer[BUF_LEN]; in main()
172 libusb_bulk_transfer(state.handle, in_addr, buffer, BUF_LEN, in main()
174 libusb_bulk_transfer(state.handle, out_addr, buffer, BUF_LEN, in main()
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/host_app/
Dtest.c36 #define BUF_LEN 8192 macro
169 static unsigned char buffer[BUF_LEN]; in main()
171 libusb_bulk_transfer(state.handle, addr, buffer, BUF_LEN, in main()
/linux-6.6.21/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c52 #define BUF_LEN 8192 macro
292 buf_in = malloc(BUF_LEN); in main()
293 buf_out = malloc(BUF_LEN); in main()
344 io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0); in main()
358 io_prep_pread(iocb_out, ep[1], buf_out, BUF_LEN, 0); in main()
/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Daf9035.h46 #define BUF_LEN 64 macro
47 u8 buf[BUF_LEN];
Daf9015.h92 #define BUF_LEN 63 macro
95 u8 buf[BUF_LEN]; /* bulk USB control message */
Dzd1301.c17 #define BUF_LEN 8 macro
18 u8 buf[BUF_LEN]; /* bulk USB control message */
Daf9015.c67 if ((write && (req->data_len > BUF_LEN - REQ_HDR_LEN)) || in af9015_ctrl_msg()
68 (!write && (req->data_len > BUF_LEN - ACK_HDR_LEN))) { in af9015_ctrl_msg()
307 #define LEN_MAX (BUF_LEN - REQ_HDR_LEN) /* Max payload size */ in af9015_download_firmware()
Daf9035.c46 if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || in af9035_ctrl_msg()
47 req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { in af9035_ctrl_msg()
/linux-6.6.21/Documentation/usb/
Dgadget_hid.rst140 #define BUF_LEN 512
193 int keyboard_fill_report(char report[8], char buf[BUF_LEN], int *hold)
246 int mouse_fill_report(char report[8], char buf[BUF_LEN], int *hold)
297 int joystick_fill_report(char report[8], char buf[BUF_LEN], int *hold)
372 char buf[BUF_LEN];
413 cmd_len = read(fd, buf, BUF_LEN - 1);
422 cmd_len = read(STDIN_FILENO, buf, BUF_LEN - 1);
/linux-6.6.21/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c50 #define BUF_LEN 8192 macro
300 init_bufs(&iobuf[i], BUFS_MAX, BUF_LEN); in main()
/linux-6.6.21/drivers/input/touchscreen/
Dbu21029_ts.c150 #define BUF_LEN 8 macro
222 u8 buf[BUF_LEN]; in bu21029_touch_soft_irq()
/linux-6.6.21/lib/
Dtest_objagg.c27 #define BUF_LEN 128 macro
32 char next_root_buf[BUF_LEN];
39 char buf[BUF_LEN];