Searched refs:tx_can_msg (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/net/can/usb/etas_es58x/ |
D | es581_4.c | 351 struct es581_4_tx_can_msg *tx_can_msg; in es581_4_tx_can_msg() local 370 msg_len + sizeof(*tx_can_msg)); in es581_4_tx_can_msg() 375 tx_can_msg = (typeof(tx_can_msg))&es581_4_urb_cmd->raw_msg[msg_len]; in es581_4_tx_can_msg() 376 put_unaligned_le32(es58x_get_raw_can_id(cf), &tx_can_msg->can_id); in es581_4_tx_can_msg() 377 put_unaligned_le32(priv->tx_head, &tx_can_msg->packet_idx); in es581_4_tx_can_msg() 378 put_unaligned_le16((u16)es58x_get_flags(skb), &tx_can_msg->flags); in es581_4_tx_can_msg() 379 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_tx_can_msg() 380 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es581_4_tx_can_msg() 382 memcpy(tx_can_msg->data, cf->data, cf->len); in es581_4_tx_can_msg() 386 msg_len += es581_4_sizeof_rx_tx_msg(*tx_can_msg); in es581_4_tx_can_msg() [all …]
|
D | es58x_fd.c | 338 struct es58x_fd_tx_can_msg *tx_can_msg; in es58x_fd_tx_can_msg() local 356 msg_len + sizeof(*tx_can_msg)); in es58x_fd_tx_can_msg() 361 tx_can_msg = (typeof(tx_can_msg))&es58x_fd_urb_cmd->raw_msg[msg_len]; in es58x_fd_tx_can_msg() 362 tx_can_msg->packet_idx = (u8)priv->tx_head; in es58x_fd_tx_can_msg() 363 put_unaligned_le32(es58x_get_raw_can_id(cf), &tx_can_msg->can_id); in es58x_fd_tx_can_msg() 364 tx_can_msg->flags = (u8)es58x_get_flags(skb); in es58x_fd_tx_can_msg() 366 tx_can_msg->len = cf->len; in es58x_fd_tx_can_msg() 368 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es58x_fd_tx_can_msg() 369 memcpy(tx_can_msg->data, cf->data, cf->len); in es58x_fd_tx_can_msg() 372 msg_len += es58x_fd_sizeof_rx_tx_msg(*tx_can_msg); in es58x_fd_tx_can_msg() [all …]
|
D | es58x_core.h | 352 int (*tx_can_msg)(struct es58x_priv *priv, const struct sk_buff *skb); member
|
D | es58x_core.c | 1946 ret = es58x_dev->ops->tx_can_msg(priv, skb); in es58x_start_xmit()
|