Home
last modified time | relevance | path

Searched refs:tx_fifo (Results 1 – 6 of 6) sorted by relevance

/components/drivers/serial/
A Ddev_serial_v2.c580 RT_ASSERT(tx_fifo != RT_NULL); in _serial_fifo_tx_blocking_nbuf()
619 ret = rt_completion_wait(&tx_fifo->tx_cpt, rt_atomic_load(&tx_fifo->tx_timeout)); in _serial_fifo_tx_blocking_nbuf()
652 RT_ASSERT(tx_fifo != RT_NULL); in _serial_fifo_tx_blocking_buf()
680 tx_fifo->put_size = rt_ringbuffer_put(&tx_fifo->rb, in _serial_fifo_tx_blocking_buf()
771 tx_fifo->put_size = rt_serial_get_linear_buffer(&tx_fifo->rb, &put_ptr); in _serial_fifo_tx_nonblocking()
902 tx_fifo->put_size = 0; in rt_serial_tx_enable()
921 serial->serial_tx = tx_fifo; in rt_serial_tx_enable()
924 tx_fifo->put_size = 0; in rt_serial_tx_enable()
1116 rt_free(tx_fifo); in rt_serial_tx_disable()
2121 rt_serial_update_read_index(&tx_fifo->rb, tx_fifo->put_size); in rt_hw_serial_isr()
[all …]
A Ddev_serial.c741 struct rt_serial_tx_fifo *tx_fifo; in rt_serial_open() local
744 RT_ASSERT(tx_fifo != RT_NULL); in rt_serial_open()
746 rt_completion_init(&(tx_fifo->completion)); in rt_serial_open()
747 serial->serial_tx = tx_fifo; in rt_serial_open()
848 struct rt_serial_tx_fifo* tx_fifo; in rt_serial_close() local
853 tx_fifo = (struct rt_serial_tx_fifo*)serial->serial_tx; in rt_serial_close()
854 RT_ASSERT(tx_fifo != RT_NULL); in rt_serial_close()
856 rt_free(tx_fifo); in rt_serial_close()
1500 struct rt_serial_tx_fifo* tx_fifo; in rt_hw_serial_isr() local
1502 tx_fifo = (struct rt_serial_tx_fifo*)serial->serial_tx; in rt_hw_serial_isr()
[all …]
/components/drivers/can/
A Ddev_can.c133 struct rt_can_tx_fifo *tx_fifo; in _can_int_tx() local
139 RT_ASSERT(tx_fifo != RT_NULL); in _can_int_tx()
187 rt_sem_release(&(tx_fifo->sem)); in _can_int_tx()
217 struct rt_can_tx_fifo *tx_fifo; in _can_int_tx_priv() local
223 RT_ASSERT(tx_fifo != RT_NULL); in _can_int_tx_priv()
331 tx_fifo->buffer = (struct rt_can_sndbxinx_list *)(tx_fifo + 1); in rt_can_open()
337 rt_list_insert_before(&tx_fifo->freelist, &tx_fifo->buffer[i].list); in rt_can_open()
344 can->can_tx = tx_fifo; in rt_can_open()
441 RT_ASSERT(tx_fifo != RT_NULL); in rt_can_close()
444 rt_free(tx_fifo); in rt_can_close()
[all …]
/components/drivers/audio/utest/
A Dtc_audio_drv_player.c110 info->buffer = snd_dev.tx_fifo; in player_device_buffer_info()
129 rt_uint8_t *tx_fifo = RT_NULL; in rt_hw_sound_init() local
131 tx_fifo = rt_malloc(TX_DMA_FIFO_SIZE); in rt_hw_sound_init()
132 if (tx_fifo == NULL) in rt_hw_sound_init()
136 snd_dev.tx_fifo = tx_fifo; in rt_hw_sound_init()
A Dtc_audio_common.h49 rt_uint8_t *tx_fifo; member
A Dtc_audio_main.c98 if(snd_dev->tx_fifo == RT_NULL) in player_test()

Completed in 15 milliseconds