Home
last modified time | relevance | path

Searched refs:transfer (Results 1 – 25 of 123) sorted by relevance

12345

/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_imx.c46 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 …]
Di2c_lpc11u6x.c110 data->transfer.msgs = msgs; in lpc11u6x_i2c_transfer()
111 data->transfer.curr_buf = msgs->buf; in lpc11u6x_i2c_transfer()
112 data->transfer.curr_len = msgs->len; in lpc11u6x_i2c_transfer()
113 data->transfer.nr_msgs = num_msgs; in lpc11u6x_i2c_transfer()
114 data->transfer.addr = addr; in lpc11u6x_i2c_transfer()
121 data->transfer.status = LPC11U6X_I2C_STATUS_BUSY; in lpc11u6x_i2c_transfer()
126 if (data->transfer.status != LPC11U6X_I2C_STATUS_OK) { in lpc11u6x_i2c_transfer()
129 data->transfer.status = LPC11U6X_I2C_STATUS_INACTIVE; in lpc11u6x_i2c_transfer()
199 struct lpc11u6x_i2c_current_transfer *transfer = &data->transfer; in lpc11u6x_i2c_isr() local
208 i2c->dat = (transfer->addr << 1) | in lpc11u6x_i2c_isr()
[all …]
Di2c_mcux_flexcomm.c111 i2c_master_transfer_t transfer; in mcux_flexcomm_transfer() local
121 transfer.flags = mcux_flexcomm_convert_flags(msgs->flags); in mcux_flexcomm_transfer()
127 transfer.flags |= kI2C_TransferNoStartFlag; in mcux_flexcomm_transfer()
130 transfer.slaveAddress = addr; in mcux_flexcomm_transfer()
131 transfer.direction = (msgs->flags & I2C_MSG_READ) in mcux_flexcomm_transfer()
133 transfer.subaddress = 0; in mcux_flexcomm_transfer()
134 transfer.subaddressSize = 0; in mcux_flexcomm_transfer()
135 transfer.data = msgs->buf; in mcux_flexcomm_transfer()
136 transfer.dataSize = msgs->len; in mcux_flexcomm_transfer()
140 &data->handle, &transfer); in mcux_flexcomm_transfer()
[all …]
Di2c_mcux.c114 i2c_master_transfer_t transfer; in i2c_mcux_transfer() local
128 transfer.flags = i2c_mcux_convert_flags(msgs->flags); in i2c_mcux_transfer()
129 transfer.slaveAddress = addr; in i2c_mcux_transfer()
130 transfer.direction = (msgs->flags & I2C_MSG_READ) in i2c_mcux_transfer()
132 transfer.subaddress = 0; in i2c_mcux_transfer()
133 transfer.subaddressSize = 0; in i2c_mcux_transfer()
134 transfer.data = msgs->buf; in i2c_mcux_transfer()
135 transfer.dataSize = msgs->len; in i2c_mcux_transfer()
141 transfer.flags |= kI2C_TransferNoStartFlag; in i2c_mcux_transfer()
146 &data->handle, &transfer); in i2c_mcux_transfer()
[all …]
Di2c_rv32m1_lpi2c.c127 lpi2c_master_transfer_t transfer; in rv32m1_lpi2c_transfer() local
141 transfer.flags = rv32m1_lpi2c_convert_flags(msgs->flags); in rv32m1_lpi2c_transfer()
147 transfer.flags |= kLPI2C_TransferNoStartFlag; in rv32m1_lpi2c_transfer()
150 transfer.slaveAddress = addr; in rv32m1_lpi2c_transfer()
151 transfer.direction = (msgs->flags & I2C_MSG_READ) in rv32m1_lpi2c_transfer()
153 transfer.subaddress = 0; in rv32m1_lpi2c_transfer()
154 transfer.subaddressSize = 0; in rv32m1_lpi2c_transfer()
155 transfer.data = msgs->buf; in rv32m1_lpi2c_transfer()
156 transfer.dataSize = msgs->len; in rv32m1_lpi2c_transfer()
161 &transfer); in rv32m1_lpi2c_transfer()
[all …]
Di2c_mcux_lpi2c.c122 lpi2c_master_transfer_t transfer; in mcux_lpi2c_transfer() local
139 transfer.flags = mcux_lpi2c_convert_flags(msgs->flags); in mcux_lpi2c_transfer()
145 transfer.flags |= kLPI2C_TransferNoStartFlag; in mcux_lpi2c_transfer()
148 transfer.slaveAddress = addr; in mcux_lpi2c_transfer()
149 transfer.direction = (msgs->flags & I2C_MSG_READ) in mcux_lpi2c_transfer()
151 transfer.subaddress = 0; in mcux_lpi2c_transfer()
152 transfer.subaddressSize = 0; in mcux_lpi2c_transfer()
153 transfer.data = msgs->buf; in mcux_lpi2c_transfer()
154 transfer.dataSize = msgs->len; in mcux_lpi2c_transfer()
158 &data->handle, &transfer); in mcux_lpi2c_transfer()
[all …]
DKconfig.nrfx31 if provided buffer is placed in flash, transfer will fail.
45 if provided buffer is placed in flash, transfer will fail.
53 if provided buffer is placed in flash, transfer will fail.
61 if provided buffer is placed in flash, transfer will fail.
Di2c_emul.c86 __ASSERT_NO_MSG(emul->api->transfer); in i2c_emul_transfer()
88 ret = api->transfer(emul, msgs, num_msgs, addr); in i2c_emul_transfer()
130 .transfer = i2c_emul_transfer,
Di2c_test.c32 .transfer = vnd_i2c_transfer,
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_rv32m1_lpspi.c47 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
57 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
62 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
63 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
64 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
67 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
68 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
69 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
72 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
73 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_lpspi.c46 lpspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
56 transfer.configFlags = kLPSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
61 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
62 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
63 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
66 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
67 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
68 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
71 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
72 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_flexcomm.c70 spi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
80 transfer.configFlags = 0; in spi_mcux_transfer_next_packet()
83 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
84 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
85 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
88 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
89 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
90 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
93 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
94 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
Dspi_mcux_dspi.c89 dspi_transfer_t transfer; in spi_mcux_transfer_next_packet() local
149 transfer.configFlags = kDSPI_MasterCtar0 | kDSPI_MasterPcsContinuous | in spi_mcux_transfer_next_packet()
154 transfer.txData = NULL; in spi_mcux_transfer_next_packet()
155 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
156 transfer.dataSize = ctx->rx_len; in spi_mcux_transfer_next_packet()
159 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
160 transfer.rxData = NULL; in spi_mcux_transfer_next_packet()
161 transfer.dataSize = ctx->tx_len; in spi_mcux_transfer_next_packet()
164 transfer.txData = (uint8_t *) ctx->tx_buf; in spi_mcux_transfer_next_packet()
165 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
[all …]
/Zephyr-Core-2.7.6/drivers/flash/
Dflash_mcux_flexspi_mx25um51345g.c139 flexspi_transfer_t transfer = { in flash_flexspi_nor_get_vendor_id() local
151 ret = memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_get_vendor_id()
163 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local
175 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_read_status()
184 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_status() local
196 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_status()
204 flexspi_transfer_t transfer; in flash_flexspi_nor_write_enable() local
206 transfer.deviceAddress = 0; in flash_flexspi_nor_write_enable()
207 transfer.port = config->port; in flash_flexspi_nor_write_enable()
208 transfer.cmdType = kFLEXSPI_Command; in flash_flexspi_nor_write_enable()
[all …]
Dflash_mcux_flexspi_nor.c159 flexspi_transfer_t transfer = { in flash_flexspi_nor_get_vendor_id() local
171 ret = memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_get_vendor_id()
183 flexspi_transfer_t transfer = { in flash_flexspi_nor_read_status() local
195 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_read_status()
204 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_status() local
216 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_status()
224 flexspi_transfer_t transfer = { in flash_flexspi_nor_write_enable() local
236 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_write_enable()
245 flexspi_transfer_t transfer = { in flash_flexspi_nor_erase_sector() local
257 return memc_flexspi_transfer(data->controller, &transfer); in flash_flexspi_nor_erase_sector()
[all …]
/Zephyr-Core-2.7.6/drivers/dma/
DKconfig.mcux_lpc15 int "number of transfer descriptors in a queue for SG mode"
18 number of transfer descriptors in a queue for SG mode
/Zephyr-Core-2.7.6/samples/boards/nrf/nrfx_prs/
DREADME.rst21 - by pressing Button 1 user can request a transfer to be performed using the
25 When no button is pressed, every 5 seconds a background transfer using SPIM1
56 Press Button 1 to trigger a sample transfer on SPIM2 or UARTE2.
57 Press Button 2 to switch the type of peripheral to be used for the transfer.
59 When no button is pressed, a background transfer on SPIM1 is performed.
/Zephyr-Core-2.7.6/samples/subsys/pm/device_pm/src/
Ddummy_driver.c56 ret = api->transfer(parent, DUMMY_PARENT_RD, val); in dummy_read()
67 ret = api->transfer(parent, DUMMY_PARENT_WR, &val); in dummy_write()
Ddummy_parent.h18 dummy_api_transfer_t transfer; member
Ddummy_parent.c45 .transfer = dummy_transfer,
/Zephyr-Core-2.7.6/include/drivers/
Di2c_emul.h73 i2c_emul_transfer_t transfer; member
/Zephyr-Core-2.7.6/drivers/memc/
Dmemc_mcux_flexspi.h23 flexspi_transfer_t *transfer);
/Zephyr-Core-2.7.6/boards/arm/mm_feather/
Dmm_feather.dts105 transfer-delay = <2>;
112 transfer-delay = <2>;
/Zephyr-Core-2.7.6/boards/xtensa/intel_s1000_crb/support/
Ddevice.py109 rx_data = self.spi.transfer(data)
118 self.spi.transfer(data)
/Zephyr-Core-2.7.6/drivers/peci/
Dpeci_handlers.c41 Z_OOPS(Z_SYSCALL_DRIVER_PECI(dev, transfer)); in z_vrfy_peci_transfer()

12345