Lines Matching defs:can
16 #define CAN_LOCK(can) rt_mutex_take(&(can->lock), RT_WAITING_FOREVER) argument
17 #define CAN_UNLOCK(can) rt_mutex_release(&(can->lock)) argument
22 struct rt_can_device *can; in rt_can_init() local
41 rt_inline int _can_int_rx(struct rt_can_device *can, struct rt_can_msg *data, int msgs) in _can_int_rx()
125 rt_inline int _can_int_tx(struct rt_can_device *can, const struct rt_can_msg *data, int msgs) in _can_int_tx()
197 rt_inline int _can_int_tx_priv(struct rt_can_device *can, const struct rt_can_msg *data, int msgs) in _can_int_tx_priv()
260 struct rt_can_device *can; in rt_can_open() local
367 struct rt_can_device *can; in rt_can_close() local
439 struct rt_can_device *can; in rt_can_read() local
459 struct rt_can_device *can; in rt_can_write() local
484 struct rt_can_device *can; in rt_can_control() local
658 rt_can_t can = (rt_can_t)arg; in cantimeout() local
693 rt_err_t rt_hw_can_register(struct rt_can_device *can, in rt_hw_can_register()
746 void rt_hw_can_isr(struct rt_can_device *can, int event) in rt_hw_can_isr()