Lines Matching refs:linear_length
1432 int linear_length = vub300->datasize; in __command_read_data() local
1434 ((511 + linear_length) >> 9) << 9 : in __command_read_data()
1435 ((63 + linear_length) >> 6) << 6; in __command_read_data()
1436 if ((padded_length == linear_length) || !pad_input_to_usb_pkt) { in __command_read_data()
1452 (linear_length / 16384)); in __command_read_data()
1462 return linear_length; in __command_read_data()
1480 } else if (actual_length < linear_length) { in __command_read_data()
1487 linear_length); in __command_read_data()
1490 return linear_length; in __command_read_data()
1505 int linear_length = vub300->datasize; in __command_write_data() local
1506 int modulo_64_length = linear_length & 0x003F; in __command_write_data()
1507 int modulo_512_length = linear_length & 0x01FF; in __command_write_data()
1508 if (linear_length < 64) { in __command_write_data()
1514 memset(vub300->padded_buffer + linear_length, 0, in __command_write_data()
1515 sizeof(vub300->padded_buffer) - linear_length); in __command_write_data()
1530 int padded_length = ((63 + linear_length) >> 6) << 6; in __command_write_data()
1537 memset(buf + linear_length, 0, in __command_write_data()
1538 padded_length - linear_length); in __command_write_data()
1569 linear_length / 16384); in __command_write_data()
1585 return linear_length; in __command_write_data()