Lines Matching refs:transfer
142 i2c_master_transfer_t transfer; in mcux_flexcomm_transfer() local
156 transfer.flags = mcux_flexcomm_convert_flags(msgs->flags); in mcux_flexcomm_transfer()
162 transfer.flags |= kI2C_TransferNoStartFlag; in mcux_flexcomm_transfer()
165 transfer.slaveAddress = addr; in mcux_flexcomm_transfer()
166 transfer.direction = (msgs->flags & I2C_MSG_READ) in mcux_flexcomm_transfer()
168 transfer.subaddress = 0; in mcux_flexcomm_transfer()
169 transfer.subaddressSize = 0; in mcux_flexcomm_transfer()
170 transfer.data = msgs->buf; in mcux_flexcomm_transfer()
171 transfer.dataSize = msgs->len; in mcux_flexcomm_transfer()
175 &data->handle, &transfer); in mcux_flexcomm_transfer()
283 volatile i2c_slave_transfer_t *transfer, void *userData) in i2c_target_transfer_callback() argument
286 uint8_t address = transfer->receivedAddress >> 1; in i2c_target_transfer_callback()
302 switch (transfer->event) { in i2c_target_transfer_callback()
312 transfer->txData = &txVal; in i2c_target_transfer_callback()
313 transfer->txSize = 1; in i2c_target_transfer_callback()
323 transfer->rxData = &rxVal; in i2c_target_transfer_callback()
324 transfer->rxSize = 1; in i2c_target_transfer_callback()
346 LOG_INF("Unhandled event: %d", transfer->event); in i2c_target_transfer_callback()
524 .transfer = mcux_flexcomm_transfer,