Lines Matching refs:write_length
446 int write_length; in write_i2c_mem() local
452 write_length = EPROM_PAGE_SIZE - in write_i2c_mem()
455 if (write_length > length) in write_i2c_mem()
456 write_length = length; in write_i2c_mem()
459 __func__, start_address, write_length); in write_i2c_mem()
460 usb_serial_debug_data(dev, __func__, write_length, buffer); in write_i2c_mem()
471 buffer, write_length, TI_VSEND_TIMEOUT_DEFAULT); in write_i2c_mem()
477 length -= write_length; in write_i2c_mem()
478 start_address += write_length; in write_i2c_mem()
479 buffer += write_length; in write_i2c_mem()
487 write_length = EPROM_PAGE_SIZE; in write_i2c_mem()
489 write_length = length; in write_i2c_mem()
492 __func__, start_address, write_length); in write_i2c_mem()
493 usb_serial_debug_data(dev, __func__, write_length, buffer); in write_i2c_mem()
504 write_length, TI_VSEND_TIMEOUT_DEFAULT); in write_i2c_mem()
510 length -= write_length; in write_i2c_mem()
511 start_address += write_length; in write_i2c_mem()
512 buffer += write_length; in write_i2c_mem()