Lines Matching refs:length

99 	__be16 length;  member
105 __be16 length; member
113 u8 length; member
119 __be16 length; member
127 __be16 length; member
133 u8 length; /* length in bytes of everyting after .report */ member
362 report.length = cpu_to_be16(size); in cp2112_read()
387 static int cp2112_read_req(void *buf, u8 slave_address, u16 length) in cp2112_read_req() argument
391 if (length < 1 || length > 512) in cp2112_read_req()
396 report->length = cpu_to_be16(length); in cp2112_read_req()
400 static int cp2112_write_read_req(void *buf, u8 slave_address, u16 length, in cp2112_write_read_req() argument
405 if (length < 1 || length > 512 in cp2112_write_read_req()
411 report->length = cpu_to_be16(length); in cp2112_write_read_req()
428 report->length = data_length + 1; in cp2112_write_req()
444 report->length = data_length; in cp2112_i2c_write_req()
849 report.length = ret * sizeof(report.string[0]) + 2; in pstr_store()
852 ret = cp2112_hid_output(hdev, &report.report, report.length + 1, in pstr_store()
854 if (ret != report.length + 1) { in pstr_store()
873 u8 length; in pstr_show() local
886 if (report.length < 2) { in pstr_show()
888 kattr->attr.name, report.length); in pstr_show()
892 length = report.length > ret - 1 ? ret - 1 : report.length; in pstr_show()
893 length = (length - 2) / sizeof(report.string[0]); in pstr_show()
894 ret = utf16s_to_utf8s(report.string, length, UTF16_LITTLE_ENDIAN, buf, in pstr_show()
1116 be16_to_cpu(xfer->retries), be16_to_cpu(xfer->length)); in cp2112_raw_event()
1126 dev->xfer_status = be16_to_cpu(xfer->length); in cp2112_raw_event()