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
429 dev->read_length, size); in cp2112_read()
431 if (size > dev->read_length) in cp2112_read()
432 size = dev->read_length; in cp2112_read()
435 return dev->read_length; in cp2112_read()
502 int read_length) in cp2112_i2c_write_read_req() argument
506 if (read_length < 1 || read_length > 512 || in cp2112_i2c_write_read_req()
512 report->length = cpu_to_be16(read_length); in cp2112_i2c_write_read_req()
525 ssize_t read_length = 0; in cp2112_i2c_xfer() local
536 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.c331 __u8 read_length; in read_download_mem() local
342 read_length = 64; in read_download_mem()
344 read_length = (__u8)length; in read_download_mem()
346 if (read_length > 1) { in read_download_mem()
347 dev_dbg(&dev->dev, "%s - @ %x for %d\n", __func__, start_address, read_length); in read_download_mem()
357 buffer, read_length); in read_download_mem()
364 if (read_length > 1) in read_download_mem()
365 usb_serial_debug_data(&dev->dev, __func__, read_length, buffer); in read_download_mem()
368 start_address += read_length; in read_download_mem()
369 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()