/Zephyr-latest/drivers/i2c/ |
D | i2c_imx.c | 46 struct i2c_master_transfer transfer; member 55 struct i2c_master_transfer *transfer = &data->transfer; in i2c_imx_write() local 57 transfer->isBusy = true; in i2c_imx_write() 64 transfer->currentDir = i2cDirectionTransmit; in i2c_imx_write() 66 transfer->txBuff = txBuffer; in i2c_imx_write() 67 transfer->txSize = txSize; in i2c_imx_write() 69 I2C_WriteByte(base, *transfer->txBuff); in i2c_imx_write() 70 transfer->txBuff++; in i2c_imx_write() 71 transfer->txSize--; in i2c_imx_write() 81 return transfer->ack; in i2c_imx_write() [all …]
|
D | i2c_lpc11u6x.c | 88 data->transfer.msgs = msgs; in lpc11u6x_i2c_transfer() 89 data->transfer.curr_buf = msgs->buf; in lpc11u6x_i2c_transfer() 90 data->transfer.curr_len = msgs->len; in lpc11u6x_i2c_transfer() 91 data->transfer.nr_msgs = num_msgs; in lpc11u6x_i2c_transfer() 92 data->transfer.addr = addr; in lpc11u6x_i2c_transfer() 99 data->transfer.status = LPC11U6X_I2C_STATUS_BUSY; in lpc11u6x_i2c_transfer() 104 if (data->transfer.status != LPC11U6X_I2C_STATUS_OK) { in lpc11u6x_i2c_transfer() 107 data->transfer.status = LPC11U6X_I2C_STATUS_INACTIVE; in lpc11u6x_i2c_transfer() 177 struct lpc11u6x_i2c_current_transfer *transfer = &data->transfer; in lpc11u6x_i2c_isr() local 186 i2c->dat = (transfer->addr << 1) | in lpc11u6x_i2c_isr() [all …]
|
D | i2c_mcux.c | 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() [all …]
|
D | i2c_rv32m1_lpi2c.c | 132 lpi2c_master_transfer_t transfer; in rv32m1_lpi2c_transfer() local 146 transfer.flags = rv32m1_lpi2c_convert_flags(msgs->flags); in rv32m1_lpi2c_transfer() 152 transfer.flags |= kLPI2C_TransferNoStartFlag; in rv32m1_lpi2c_transfer() 155 transfer.slaveAddress = addr; in rv32m1_lpi2c_transfer() 156 transfer.direction = (msgs->flags & I2C_MSG_READ) in rv32m1_lpi2c_transfer() 158 transfer.subaddress = 0; in rv32m1_lpi2c_transfer() 159 transfer.subaddressSize = 0; in rv32m1_lpi2c_transfer() 160 transfer.data = msgs->buf; in rv32m1_lpi2c_transfer() 161 transfer.dataSize = msgs->len; in rv32m1_lpi2c_transfer() 166 &transfer); in rv32m1_lpi2c_transfer() [all …]
|
D | i2c_mcux_flexcomm.c | 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() [all …]
|
D | i2c_mcux_lpi2c_rtio.c | 59 lpi2c_master_transfer_t transfer; member 141 lpi2c_master_transfer_t *transfer = &data->transfer; in mcux_lpi2c_msg_start() local 149 transfer->flags = mcux_lpi2c_convert_flags(flags); in mcux_lpi2c_msg_start() 155 transfer->flags |= kLPI2C_TransferNoStartFlag; in mcux_lpi2c_msg_start() 158 transfer->slaveAddress = i2c_addr; in mcux_lpi2c_msg_start() 159 transfer->direction = (flags & I2C_MSG_READ) in mcux_lpi2c_msg_start() 161 transfer->subaddress = 0; in mcux_lpi2c_msg_start() 162 transfer->subaddressSize = 0; in mcux_lpi2c_msg_start() 163 transfer->data = buf; in mcux_lpi2c_msg_start() 164 transfer->dataSize = buf_len; in mcux_lpi2c_msg_start() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_mcux_flexspi_hyperflash.c | 262 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_wait_bus_busy() local 267 transfer.deviceAddress = 0; in flash_flexspi_hyperflash_wait_bus_busy() 268 transfer.port = data->port; in flash_flexspi_hyperflash_wait_bus_busy() 269 transfer.cmdType = kFLEXSPI_Read; in flash_flexspi_hyperflash_wait_bus_busy() 270 transfer.SeqNumber = 2; in flash_flexspi_hyperflash_wait_bus_busy() 271 transfer.seqIndex = READ_STATUS; in flash_flexspi_hyperflash_wait_bus_busy() 272 transfer.data = &read_value; in flash_flexspi_hyperflash_wait_bus_busy() 273 transfer.dataSize = 2; in flash_flexspi_hyperflash_wait_bus_busy() 276 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_hyperflash_wait_bus_busy() 295 flexspi_transfer_t transfer; in flash_flexspi_hyperflash_write_enable() local [all …]
|
D | flash_mcux_flexspi_mx25um51345g.c | 189 flexspi_transfer_t transfer = { in flash_flexspi_nor_get_vendor_id() local 201 ret = memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_get_vendor_id() 212 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local 224 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_read_status() 232 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_status() local 244 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_status() 251 flexspi_transfer_t transfer; in flash_flexspi_nor_write_enable() local 253 transfer.deviceAddress = 0; in flash_flexspi_nor_write_enable() 254 transfer.port = data->port; in flash_flexspi_nor_write_enable() 255 transfer.cmdType = kFLEXSPI_Command; in flash_flexspi_nor_write_enable() [all …]
|
D | flash_mcux_flexspi_nor.c | 153 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_id_helper() local 165 ret = memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_nor_read_id_helper() 185 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local 197 return memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_nor_read_status() 202 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_enable() local 214 return memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_nor_write_enable() 220 flexspi_transfer_t transfer = { in flash_flexspi_nor_erase_sector() local 232 return memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_nor_erase_sector() 238 flexspi_transfer_t transfer = { in flash_flexspi_nor_erase_block() local 250 return memc_flexspi_transfer(&data->controller, &transfer); in flash_flexspi_nor_erase_block() [all …]
|
D | Kconfig.cadence_nand | 43 int "Set the page count for a single transfer in the CDMA Mode" 46 Configure the page count for a single transfer in the CDMA Mode 49 int "Set the block count for a single transfer in the CDMA Mode" 52 Configure the block count for a single transfer in the CDMA Mode
|
/Zephyr-latest/drivers/spi/ |
D | spi_rv32m1_lpspi.c | 53 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local 63 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet() 68 transfer.txData = NULL; in spi_mcux_transfer_next_packet() 69 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 70 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet() 73 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 74 transfer.rxData = NULL; in spi_mcux_transfer_next_packet() 75 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet() 78 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 79 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_mcux_flexio.c | 45 flexio_spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local 55 transfer.flags = kFLEXIO_SPI_csContinuous | data->transfer_flags; in spi_mcux_transfer_next_packet() 59 transfer.txData = NULL; in spi_mcux_transfer_next_packet() 60 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 61 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet() 64 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 65 transfer.rxData = NULL; in spi_mcux_transfer_next_packet() 66 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet() 69 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 70 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_mcux_lpspi.c | 120 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local 131 transfer.configFlags = LPSPI_MASTER_XFER_CFG_FLAGS(ctx->config->slave); in spi_mcux_transfer_next_packet() 132 transfer.txData = (ctx->tx_len == 0 ? NULL : ctx->tx_buf); in spi_mcux_transfer_next_packet() 133 transfer.rxData = (ctx->rx_len == 0 ? NULL : ctx->rx_buf); in spi_mcux_transfer_next_packet() 134 transfer.dataSize = max_chunk; in spi_mcux_transfer_next_packet() 136 status = LPSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_transfer_next_packet() 552 lpspi_transfer_t transfer; in spi_mcux_iodev_start() local 563 transfer.configFlags = LPSPI_MASTER_XFER_CFG_FLAGS(spi_cfg->slave); in spi_mcux_iodev_start() 567 transfer.txData = NULL; in spi_mcux_iodev_start() 568 transfer.rxData = sqe->rx.buf; in spi_mcux_iodev_start() [all …]
|
D | spi_mcux_dspi.c | 93 dspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local 153 transfer.configFlags = kDSPI_MasterCtar0 | kDSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet() 158 transfer.txData = NULL; in spi_mcux_transfer_next_packet() 159 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 160 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet() 163 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 164 transfer.rxData = NULL; in spi_mcux_transfer_next_packet() 165 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet() 168 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 169 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
D | spi_mcux_flexcomm.c | 83 spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local 93 transfer.configFlags = 0; in spi_mcux_transfer_next_packet() 96 transfer.txData = NULL; in spi_mcux_transfer_next_packet() 97 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 98 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet() 101 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 102 transfer.rxData = NULL; in spi_mcux_transfer_next_packet() 103 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet() 106 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet() 107 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() [all …]
|
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/ |
D | blob_srv.rst | 14 models are divided into blocks, which are divided into chunks. As the transfer is controlled by the 42 A BLOB Transfer Server is capable of receiving a single BLOB transfer at a time. Before the BLOB 43 Transfer Server can receive a transfer, it must be prepared by the user. The transfer ID must be 45 transfer is started by the BLOB Transfer Client. The ID must be shared between the BLOB Transfer 47 transfer management model. 49 Once the transfer has been set up on the BLOB Transfer Server, it's ready for receiving the BLOB. 50 The application is notified of the transfer progress through the event handler callbacks, and the 64 The BLOB Transfer Server keeps a running timer during the transfer, that is reset on every received 65 message. If the BLOB Transfer Client does not send a message before the transfer timer expires, the 66 transfer is suspended by the BLOB Transfer Server. [all …]
|
D | blob_cli.rst | 6 The Binary Large Object (BLOB) Transfer Client is the sender of the BLOB transfer. It supports 35 Both the transfer capabilities retrieval procedure and the BLOB transfer uses an instance of a 36 :c:struct:`bt_mesh_blob_cli_inputs` to determine how to perform the transfer. The BLOB Transfer Cli… 57 Note that all BLOB Transfer Servers in the transfer must be bound to the chosen application key. 64 not :c:macro:`BT_MESH_ADDR_UNASSIGNED`, the messages in the transfer will be sent to the group 68 Using group addresses for transferring the BLOBs can generally increase the transfer speed, as the 81 limit, the Target node is dropped from the transfer. The application can reduce the chances of this 84 time scales automatically with the transfer TTL. 86 Note that the BLOB Transfer Client only moves forward with the transfer in following cases: 94 BLOB transfer capabilities retrieval [all …]
|
D | blob.rst | 9 transport method for the :ref:`bluetooth_mesh_dfu`, but may be used for other object transfer 13 bytes). The BLOB transfer protocol has built-in recovery procedures for packet losses, and sets up 14 checkpoints to ensure that all targets have received all the data before moving on. Data transfer 17 BLOB transfers are constrained by the transfer speed and reliability of the underlying mesh network. 19 BLOB to be transferred in 10-15 minutes. However, network conditions, transfer capabilities and 21 parameters of the transfer according to the application and network configuration, as well as 23 and reliability of the protocol. However, achieving transfer rates close to the ideal rate is 40 The BLOB transfer protocol introduces several new concepts to implement the BLOB transfer. 47 transfer through the mesh network. The BLOBs are continuous data objects, divided into blocks and 52 The BLOB transfer protocol does not provide any built-in integrity checks, encryption or [all …]
|
D | dfu_srv.rst | 30 The Firmware Update Server model uses a BLOB Transfer Server model on the same element to transfer 36 :alt: Bluetooth Mesh Firmware Update Server transfer 38 Bluetooth Mesh Firmware Update Server transfer 43 The transfer check is an optional pre-transfer check the application can perform on incoming 44 firmware image metadata. The Firmware Update Server performs the transfer check by calling the 47 The result of the transfer check is a pass/fail status return and the expected 57 If the transfer will cause the device to change its Composition Data or become 60 When the transfer will cause the Composition Data to change, and the 84 The Start procedure prepares the application for the incoming transfer. It'll contain information 90 BLOB transfer [all …]
|
D | blob_flash.rst | 15 BLOB Transfer Client. Each BLOB Flash Reader only supports one transfer at the time. 23 BLOB Transfer Server. Each BLOB Flash Writer only supports one transfer at the time, and requires a 24 block size that is a multiple of the flash page size. If a transfer is started with a block size 25 lower than the flash page size, the transfer will be rejected.
|
/Zephyr-latest/tests/boards/frdm_k64f/i2c/ |
D | README.rst | 4 Tests the i2c transfer and transfer async APIs against the fxos8700 sensor 5 on the board using its FIFO with a async and sync transfer to compare
|
/Zephyr-latest/drivers/memc/ |
D | memc_mcux_flexspi_aps6408l.c | 128 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_get_vendor_id() local 138 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_get_vendor_id() 152 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_update_reg() local 162 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_update_reg() 172 transfer.cmdType = kFLEXSPI_Write, in memc_flexspi_aps6408l_update_reg() 173 transfer.seqIndex = WRITE_REG; in memc_flexspi_aps6408l_update_reg() 175 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_update_reg() 185 flexspi_transfer_t transfer = { in memc_flexspi_aps6408l_reset() local 196 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6408l_reset()
|
D | memc_mcux_flexspi_is66wvq8m4.c | 100 flexspi_transfer_t transfer = { in memc_flexspi_is66wvq8m4_get_vendor_id() local 110 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_is66wvq8m4_get_vendor_id() 125 flexspi_transfer_t transfer = { in memc_flexspi_is66wvq8m4_update_cfg() local 136 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_is66wvq8m4_update_cfg() 146 transfer.cmdType = kFLEXSPI_Write, in memc_flexspi_is66wvq8m4_update_cfg() 147 transfer.seqIndex = WRITE_REG; in memc_flexspi_is66wvq8m4_update_cfg() 149 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_is66wvq8m4_update_cfg()
|
D | memc_mcux_flexspi_aps6404l.c | 97 flexspi_transfer_t transfer = { in memc_flexspi_aps6404l_get_vendor_id() local 107 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6404l_get_vendor_id() 119 flexspi_transfer_t transfer = { in memc_flexspi_aps6404l_reset_enable() local 130 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6404l_reset_enable() 147 flexspi_transfer_t transfer = { in memc_flexspi_aps6404l_reset() local 158 ret = memc_flexspi_transfer(data->controller, &transfer); in memc_flexspi_aps6404l_reset()
|
/Zephyr-latest/subsys/dap/ |
D | cmsis_dap.c | 45 } transfer; member 395 ctx->transfer.idle_cycles = request[0]; in dap_transfer_cfg() 396 ctx->transfer.retry_count = sys_get_le16(&request[1]); in dap_transfer_cfg() 397 ctx->transfer.match_retry = sys_get_le16(&request[3]); in dap_transfer_cfg() 399 ctx->transfer.idle_cycles, in dap_transfer_cfg() 400 ctx->transfer.retry_count, in dap_transfer_cfg() 401 ctx->transfer.match_retry); in dap_transfer_cfg() 412 uint32_t retry = ctx->transfer.retry_count; in do_swdp_transfer() 419 ctx->transfer.idle_cycles, in do_swdp_transfer() 430 uint32_t match_retry = ctx->transfer.match_retry; in swdp_transfer_match() [all …]
|