Home
last modified time | relevance | path

Searched refs:read_length (Results 1 – 4 of 4) sorted by relevance

/drivers/hid/
Dhid-cp2112.c158 u8 read_length; member
428 dev->read_length, size); in cp2112_read()
430 if (size > dev->read_length) in cp2112_read()
431 size = dev->read_length; in cp2112_read()
434 return dev->read_length; in cp2112_read()
501 int read_length) in cp2112_i2c_write_read_req() argument
505 if (read_length < 1 || read_length > 512 || in cp2112_i2c_write_read_req()
511 report->length = cpu_to_be16(read_length); in cp2112_i2c_write_read_req()
524 ssize_t read_length = 0; in cp2112_i2c_xfer() local
535 read_length = msgs->len; in cp2112_i2c_xfer()
[all …]
/drivers/infiniband/hw/hfi1/
Deprom.c101 static int read_length(struct hfi1_devdata *dd, u32 start, u32 len, void *dest) in read_length() function
263 ret = read_length(dd, P1_START, P1_SIZE, buffer); in read_partition_platform_config()
334 ret = read_length(dd, SEG_SIZE - directory_size, in read_segment_platform_config()
424 ret = read_length(dd, seg_base + seg_offset, to_copy, in read_segment_platform_config()
475 ret = read_length(dd, SEG_SIZE - EP_PAGE_SIZE, EP_PAGE_SIZE, directory); in eprom_read_platform_config()
/drivers/usb/serial/
Dio_ti.c329 __u8 read_length; in read_download_mem() local
340 read_length = 64; in read_download_mem()
342 read_length = (__u8)length; in read_download_mem()
344 if (read_length > 1) { in read_download_mem()
345 dev_dbg(&dev->dev, "%s - @ %x for %d\n", __func__, start_address, read_length); in read_download_mem()
355 buffer, read_length); in read_download_mem()
362 if (read_length > 1) in read_download_mem()
363 usb_serial_debug_data(&dev->dev, __func__, read_length, buffer); in read_download_mem()
366 start_address += read_length; in read_download_mem()
367 buffer += read_length; in read_download_mem()
[all …]
/drivers/input/mouse/
Dcyapa_gen6.c567 __le16 read_length; in cyapa_pip_retrieve_data_structure() member
580 put_unaligned_le16(read_len, &cmd.read_length); in cyapa_pip_retrieve_data_structure()