Lines Matching refs:transfer
149 i2c_master_transfer_t transfer; in i2c_mcux_transfer() local
163 transfer.flags = i2c_mcux_convert_flags(msgs->flags); in i2c_mcux_transfer()
164 transfer.slaveAddress = addr; in i2c_mcux_transfer()
165 transfer.direction = (msgs->flags & I2C_MSG_READ) in i2c_mcux_transfer()
167 transfer.subaddress = 0; in i2c_mcux_transfer()
168 transfer.subaddressSize = 0; in i2c_mcux_transfer()
169 transfer.data = msgs->buf; in i2c_mcux_transfer()
170 transfer.dataSize = msgs->len; in i2c_mcux_transfer()
176 transfer.flags |= kI2C_TransferNoStartFlag; in i2c_mcux_transfer()
181 &data->handle, &transfer); in i2c_mcux_transfer()
239 i2c_master_transfer_t transfer; in i2c_mcux_async_iter() local
249 transfer.flags = i2c_mcux_convert_flags(msg->flags); in i2c_mcux_async_iter()
250 transfer.slaveAddress = data->addr; in i2c_mcux_async_iter()
251 transfer.direction = (msg->flags & I2C_MSG_READ) ? kI2C_Read : kI2C_Write; in i2c_mcux_async_iter()
252 transfer.subaddress = 0; in i2c_mcux_async_iter()
253 transfer.subaddressSize = 0; in i2c_mcux_async_iter()
254 transfer.data = msg->buf; in i2c_mcux_async_iter()
255 transfer.dataSize = msg->len; in i2c_mcux_async_iter()
261 transfer.flags |= kI2C_TransferNoStartFlag; in i2c_mcux_async_iter()
265 status = I2C_MasterTransferNonBlocking(base, &data->handle, &transfer); in i2c_mcux_async_iter()
347 .transfer = i2c_mcux_transfer,