Home
last modified time | relevance | path

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

/lk-master/platform/stm32f7xx/
A Dusbc.c26 usbc_transfer_t *transfer; member
75 if (usbc.ep_out[epnum].transfer) { in HAL_PCD_DataOutStageCallback()
104 if (usbc.ep_in[epnum].transfer) { in HAL_PCD_DataInStageCallback()
138 if (usbc.ep_in[i].transfer) { in HAL_PCD_ResetCallback()
144 if (usbc.ep_out[i].transfer) { in HAL_PCD_ResetCallback()
246 …LTRACEF("ep %u, transfer %p (buf %p, buflen %zu)\n", ep, transfer, transfer->buf, transfer->buflen… in usbc_queue_rx()
251 usbc.ep_out[ep].transfer = transfer; in usbc_queue_rx()
252 HAL_PCD_EP_Receive(&usbc.handle, ep, transfer->buf, transfer->buflen); in usbc_queue_rx()
258 …LTRACEF("ep %u, transfer %p (buf %p, buflen %zu)\n", ep, transfer, transfer->buf, transfer->buflen… in usbc_queue_tx()
263 usbc.ep_in[ep].transfer = transfer; in usbc_queue_tx()
[all …]
/lk-master/dev/usb/class/bulktest/
A Dbulktest.c39 transfer.callback = &ep_cb_rx; in queue_rx()
40 transfer.result = 0; in queue_rx()
41 transfer.buf = &buf; in queue_rx()
43 transfer.bufpos = 0; in queue_rx()
44 transfer.extra = 0; in queue_rx()
46 usbc_queue_rx(1, &transfer); in queue_rx()
58 transfer.result = 0; in queue_tx()
59 transfer.buf = &buf; in queue_tx()
61 transfer.bufpos = 0; in queue_tx()
62 transfer.extra = 0; in queue_tx()
[all …]
/lk-master/target/nucleo-f072rb/
A Dusb.c122 transfer.callback = &ep_cb_rx; in queue_rx()
123 transfer.result = 0; in queue_rx()
124 transfer.buf = &buf; in queue_rx()
126 transfer.bufpos = 0; in queue_rx()
127 transfer.extra = 0; in queue_rx()
129 usbc_queue_rx(3, &transfer); in queue_rx()
141 transfer.result = 0; in queue_tx()
142 transfer.buf = &buf; in queue_tx()
144 transfer.bufpos = 0; in queue_tx()
145 transfer.extra = 0; in queue_tx()
[all …]
/lk-master/platform/stm32f0xx/
A Dusbc.c36 usbc_transfer_t *transfer; member
109 usbc.ep_out[epnum].transfer = NULL; in HAL_PCD_DataOutStageCallback()
137 if (usbc.ep_in[epnum].transfer) { in HAL_PCD_DataInStageCallback()
172 if (usbc.ep_in[i].transfer) { in HAL_PCD_ResetCallback()
178 if (usbc.ep_out[i].transfer) { in HAL_PCD_ResetCallback()
288 …LTRACEF("ep %u, transfer %p (buf %p, buflen %zu)\n", ep, transfer, transfer->buf, transfer->buflen… in usbc_queue_rx()
293 usbc.ep_out[ep].transfer = transfer; in usbc_queue_rx()
294 HAL_PCD_EP_Receive(&usbc.handle, ep, transfer->buf, transfer->buflen); in usbc_queue_rx()
300 …LTRACEF("ep %u, transfer %p (buf %p, buflen %zu)\n", ep, transfer, transfer->buf, transfer->buflen… in usbc_queue_tx()
305 usbc.ep_in[ep].transfer = transfer; in usbc_queue_tx()
[all …]
/lk-master/dev/usb/class/cdcserial/
A Dcdcserial.c244 transfer->callback = cb; in cdcserial_write_async()
245 transfer->result = 0; in cdcserial_write_async()
246 transfer->buf = buf; in cdcserial_write_async()
247 transfer->buflen = len; in cdcserial_write_async()
248 transfer->bufpos = 0; in cdcserial_write_async()
256 usbc_transfer_t transfer; in cdcserial_write() local
279 transfer->callback = cb; in cdcserial_read_async()
280 transfer->result = 0; in cdcserial_read_async()
281 transfer->buf = buf; in cdcserial_read_async()
283 transfer->bufpos = 0; in cdcserial_read_async()
[all …]
/lk-master/app/usbtest/
A Dusbtest.c17 static status_t rx_callback(ep_t endpoint, struct usbc_transfer *transfer);
22 static status_t tx_callback(ep_t endpoint, struct usbc_transfer *transfer);
44 static status_t rx_callback(ep_t endpoint, struct usbc_transfer *transfer) { in rx_callback() argument
45 LTRACEF("ep %u, transfer %p\n", endpoint, transfer); in rx_callback()
69 static status_t tx_callback(ep_t endpoint, struct usbc_transfer *transfer) { in tx_callback() argument
70 LTRACEF("ep %u, transfer %p\n", endpoint, transfer); in tx_callback()
/lk-master/dev/include/dev/
A Dusbc.h37 typedef status_t (*ep_callback)(ep_t endpoint, struct usbc_transfer *transfer);
55 status_t usbc_queue_rx(ep_t ep, usbc_transfer_t *transfer);
56 status_t usbc_queue_tx(ep_t ep, usbc_transfer_t *transfer);
/lk-master/dev/usb/class/cdcserial/include/dev/usb/class/
A Dcdcserial.h39 status_t cdcserial_write_async(cdcserial_channel_t *chan, usbc_transfer_t *transfer, ep_callback cb,
45 ssize_t cdcserial_read_async(cdcserial_channel_t *chan, usbc_transfer_t *transfer, ep_callback cb,
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_mem/example/
A Dreadme.dox2 * @brief DMA memory to memory transfer example
32 /** @defgroup EXAMPLES_PERIPH_15XX_DMA_MEM LPC15xx DMA memory to memory transfer example
36 * software triggered memory to memory transfer. Because of the limited burst
37 * transfer size of the DMA (1024 transfers max) and limited burst size, DMA
43 * higher data transfer performance. A time 50% smaller than another time would
/lk-master/app/moot/
A Dusbboot.c307 usbc_transfer_t transfer = { in usb_xmit() local
316 usbc_queue_tx(1, &transfer); in usb_xmit()
323 usbc_transfer_t transfer = { in usb_recv() local
332 usbc_queue_rx(1, &transfer); in usb_recv()
339 *actual = transfer.bufpos; in usb_recv()
/lk-master/external/platform/nrfx/drivers/src/
A Dnrfx_usbd.c1363 nrfx_usbd_ep_transfer_t transfer; in usbd_dmareq_process() local
1374 &transfer, in usbd_dmareq_process()
1388 &transfer, in usbd_dmareq_process()
1393 if (transfer.p_data.rx == NULL) in usbd_dmareq_process()
1396 NRFX_ASSERT(transfer.size == 0); in usbd_dmareq_process()
1398 else if (transfer.size < rx_size) in usbd_dmareq_process()
1400 … NRFX_LOG_DEBUG("Endpoint %x overload (r: %u, e: %u)", ep, rx_size, transfer.size); in usbd_dmareq_process()
1411 NRFX_ASSERT(transfer.size == rx_size); in usbd_dmareq_process()
1427 transfer.size); in usbd_dmareq_process()
1430 p_state->transfer_cnt += transfer.size; in usbd_dmareq_process()
[all …]
/lk-master/platform/stellaris/
A Dusbc.c216 status_t usbc_queue_rx(ep_t ep, usbc_transfer_t *transfer) { in usbc_queue_rx() argument
220 status_t usbc_queue_tx(ep_t ep, usbc_transfer_t *transfer) { in usbc_queue_tx() argument
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_rom_uart/example/
A Dreadme.dox40 * DMA controller via descriptors setup for the transfer. Descriptors are
47 * setup for a Ping Pong transfer, linked list is not supported by the ROM driver.
/lk-master/external/lib/lwip/netif/
A Dethernetif.c128 initiate transfer();
/lk-master/external/platform/lpc15xx/lpcopen/periph_dma_uart/example/
A Dreadme.dox40 * DMA controller via descriptors setup for the transfer. Descriptors are
/lk-master/external/platform/lpc15xx/lpcopen/periph_spi_rom_interrupt_slave/example/
A Dreadme.dox42 …* SPI data on UART, the master should allow sufficient (around 10ms) delay between each transfer. …
/lk-master/external/platform/lpc15xx/lpcopen/periph_spi_rom_polling_slave/example/
A Dreadme.dox42 …* SPI data on UART, the master should allow sufficient (around 10ms) delay between each transfer. …
/lk-master/external/platform/lpc15xx/lpcopen/periph_i2cs_interrupt/example/
A Dreadme.dox43 * master terminates the transfer. The following operations are supported:<br>
/lk-master/external/platform/pico/rp2_common/pico_standard_link/
A Dmemmap_copy_to_ram.ld57 This can be used to transfer control back to the bootrom on debugger
A Dmemmap_blocked_ram.ld57 This can be used to transfer control back to the bootrom on debugger
A Dmemmap_default.ld57 This can be used to transfer control back to the bootrom on debugger
/lk-master/external/platform/nrfx/
A DCHANGELOG.md150 - Added an alternative way of ending the DMA transfer loop in the USBD driver.
185 - Fixed a race condition in the USBD driver. It could occur when an IN transfer was interrupted by …
290 - Corrected handling of transfer lengths in the TWI driver.
335 - Changed the type used for transfer lengths to 'size_t' in drivers: SPI, SPIM, SPIS, TWI, TWIM, TW…
/lk-master/external/platform/stm32f0xx/CMSIS/
A DCMSIS_END_USER_LICENCE_AGREEMENT.txt60 …s: Use, duplication, reproduction, release, modification, disclosure or transfer of this commercia…

Completed in 30 milliseconds