Searched refs:read_length (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/hid/ |
D | hid-cp2112.c | 165 u8 read_length; member 435 dev->read_length, size); in cp2112_read() 437 if (size > dev->read_length) in cp2112_read() 438 size = dev->read_length; in cp2112_read() 441 return dev->read_length; in cp2112_read() 508 int read_length) in cp2112_i2c_write_read_req() argument 512 if (read_length < 1 || read_length > 512 || in cp2112_i2c_write_read_req() 518 report->length = cpu_to_be16(read_length); in cp2112_i2c_write_read_req() 531 ssize_t read_length = 0; in cp2112_i2c_xfer() local 542 read_length = msgs->len; in cp2112_i2c_xfer() [all …]
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | eprom.c | 101 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()
|
/Linux-v4.19/drivers/usb/serial/ |
D | io_ti.c | 329 __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 …]
|
/Linux-v4.19/drivers/input/mouse/ |
D | cyapa_gen6.c | 567 __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()
|
/Linux-v4.19/include/scsi/ |
D | iscsi_proto.h | 181 __be32 read_length; member
|
/Linux-v4.19/drivers/scsi/ |
D | libiscsi.c | 233 cpu_to_be16(sizeof(rlen_ahdr->read_length) + in iscsi_prep_bidi_ahs() 237 rlen_ahdr->read_length = cpu_to_be32(scsi_in(sc)->length); in iscsi_prep_bidi_ahs() 242 be32_to_cpu(rlen_ahdr->read_length), in iscsi_prep_bidi_ahs()
|