Home
last modified time | relevance | path

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

/components/drivers/can/
A Ddev_can.c146 struct rt_can_sndbxinx_list *tx_tosnd = RT_NULL; in _can_int_tx() local
151 RT_ASSERT(tx_tosnd != RT_NULL); in _can_int_tx()
152 rt_list_remove(&tx_tosnd->list); in _can_int_tx()
156 tx_tosnd->result = RT_CAN_SND_RESULT_WAIT; in _can_int_tx()
157 rt_completion_init(&tx_tosnd->completion); in _can_int_tx()
162 rt_list_insert_before(&tx_fifo->freelist, &tx_tosnd->list); in _can_int_tx()
172 rt_list_insert_before(&tx_fifo->freelist, &tx_tosnd->list); in _can_int_tx()
180 result = tx_tosnd->result; in _can_int_tx()
181 if (!rt_list_isempty(&tx_tosnd->list)) in _can_int_tx()
183 rt_list_remove(&tx_tosnd->list); in _can_int_tx()
[all …]

Completed in 3 milliseconds