Lines Matching refs:write_length
443 int write_length; in write_i2c_mem() local
449 write_length = EPROM_PAGE_SIZE - in write_i2c_mem()
452 if (write_length > length) in write_i2c_mem()
453 write_length = length; in write_i2c_mem()
456 __func__, start_address, write_length); in write_i2c_mem()
457 usb_serial_debug_data(dev, __func__, write_length, buffer); in write_i2c_mem()
468 buffer, write_length, TI_VSEND_TIMEOUT_DEFAULT); in write_i2c_mem()
474 length -= write_length; in write_i2c_mem()
475 start_address += write_length; in write_i2c_mem()
476 buffer += write_length; in write_i2c_mem()
484 write_length = EPROM_PAGE_SIZE; in write_i2c_mem()
486 write_length = length; in write_i2c_mem()
489 __func__, start_address, write_length); in write_i2c_mem()
490 usb_serial_debug_data(dev, __func__, write_length, buffer); in write_i2c_mem()
501 write_length, TI_VSEND_TIMEOUT_DEFAULT); in write_i2c_mem()
507 length -= write_length; in write_i2c_mem()
508 start_address += write_length; in write_i2c_mem()
509 buffer += write_length; in write_i2c_mem()