Lines Matching refs:xfer_len
234 size_t xfer_len = min_t(size_t, len, RM_MAX_READ_SIZE); in raydium_i2c_read() local
259 .len = xfer_len, in raydium_i2c_read()
269 len -= xfer_len; in raydium_i2c_read()
270 data += xfer_len; in raydium_i2c_read()
271 addr += xfer_len; in raydium_i2c_read()
649 size_t xfer_len; in raydium_i2c_fw_write_page() local
660 xfer_len = min_t(size_t, len, RM_BL_WRT_PKG_SIZE); in raydium_i2c_fw_write_page()
661 memcpy(&buf[BL_DATA_STR], data, xfer_len); in raydium_i2c_fw_write_page()
663 memset(&buf[BL_DATA_STR + xfer_len], 0xff, in raydium_i2c_fw_write_page()
664 RM_BL_WRT_PKG_SIZE - xfer_len); in raydium_i2c_fw_write_page()
675 data += xfer_len; in raydium_i2c_fw_write_page()
676 len -= xfer_len; in raydium_i2c_fw_write_page()