Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c50 #define BUF_LEN 8192 macro
274 buf_in = malloc(BUF_LEN); in main()
275 buf_out = malloc(BUF_LEN); in main()
326 io_prep_pwrite(iocb_in, ep[0], buf_in, BUF_LEN, 0); in main()
340 io_prep_pread(iocb_out, ep[1], buf_out, BUF_LEN, 0); in main()
/linux-4.4.14/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-4.4.14/drivers/media/usb/dvb-usb-v2/
Daf9035.h58 #define BUF_LEN 64 macro
59 u8 buf[BUF_LEN];
Daf9015.h118 #define BUF_LEN 63 macro
120 u8 buf[BUF_LEN]; /* bulk USB control message */
Daf9015.c79 if ((write && (req->data_len > BUF_LEN - REQ_HDR_LEN)) || in af9015_ctrl_msg()
80 (!write && (req->data_len > BUF_LEN - ACK_HDR_LEN))) { in af9015_ctrl_msg()
Daf9035.c58 if (req->wlen > (BUF_LEN - REQ_HDR_LEN - CHECKSUM_LEN) || in af9035_ctrl_msg()
59 req->rlen > (BUF_LEN - ACK_HDR_LEN - CHECKSUM_LEN)) { in af9035_ctrl_msg()
/linux-4.4.14/Documentation/usb/
Dgadget_hid.txt135 #define BUF_LEN 512
188 int keyboard_fill_report(char report[8], char buf[BUF_LEN], int *hold)
241 int mouse_fill_report(char report[8], char buf[BUF_LEN], int *hold)
292 int joystick_fill_report(char report[8], char buf[BUF_LEN], int *hold)
367 char buf[BUF_LEN];
408 cmd_len = read(fd, buf, BUF_LEN - 1);
417 cmd_len = read(STDIN_FILENO, buf, BUF_LEN - 1);
/linux-4.4.14/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-4.4.14/drivers/gpu/drm/i915/
Dintel_sdvo.c431 #define BUF_LEN 256 in intel_sdvo_debug_write() macro
432 char buffer[BUF_LEN]; in intel_sdvo_debug_write()
435 pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) in intel_sdvo_debug_write()
453 BUG_ON(pos >= BUF_LEN - 1); in intel_sdvo_debug_write()
455 #undef BUF_LEN in intel_sdvo_debug_write()
541 #define BUF_LEN 256 in intel_sdvo_read_response() macro
542 char buffer[BUF_LEN]; in intel_sdvo_read_response()
581 pos += snprintf(buffer + pos, max_t(int, BUF_LEN - pos, 0), args) in intel_sdvo_read_response()
599 BUG_ON(pos >= BUF_LEN - 1); in intel_sdvo_read_response()
601 #undef BUF_LEN in intel_sdvo_read_response()
/linux-4.4.14/drivers/staging/ste_rmi4/
Dsynaptics_i2c_rmi4.c46 #define BUF_LEN 37 macro
661 unsigned char data[BUF_LEN]; in synaptics_rmi4_touchpad_config()