Searched refs:tx_can_msg (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/drivers/net/can/usb/etas_es58x/ |
D | es581_4.c | 350 struct es581_4_tx_can_msg *tx_can_msg; in es581_4_tx_can_msg() local 369 msg_len + sizeof(*tx_can_msg)); in es581_4_tx_can_msg() 374 tx_can_msg = (typeof(tx_can_msg))&es581_4_urb_cmd->raw_msg[msg_len]; in es581_4_tx_can_msg() 375 put_unaligned_le32(es58x_get_raw_can_id(cf), &tx_can_msg->can_id); in es581_4_tx_can_msg() 376 put_unaligned_le32(priv->tx_head, &tx_can_msg->packet_idx); in es581_4_tx_can_msg() 377 put_unaligned_le16((u16)es58x_get_flags(skb), &tx_can_msg->flags); in es581_4_tx_can_msg() 378 tx_can_msg->channel_no = priv->channel_idx + ES581_4_CHANNEL_IDX_OFFSET; in es581_4_tx_can_msg() 379 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es581_4_tx_can_msg() 381 memcpy(tx_can_msg->data, cf->data, cf->len); in es581_4_tx_can_msg() 385 msg_len += es581_4_sizeof_rx_tx_msg(*tx_can_msg); in es581_4_tx_can_msg() [all …]
|
D | es58x_fd.c | 337 struct es58x_fd_tx_can_msg *tx_can_msg; in es58x_fd_tx_can_msg() local 355 msg_len + sizeof(*tx_can_msg)); in es58x_fd_tx_can_msg() 360 tx_can_msg = (typeof(tx_can_msg))&es58x_fd_urb_cmd->raw_msg[msg_len]; in es58x_fd_tx_can_msg() 361 tx_can_msg->packet_idx = (u8)priv->tx_head; in es58x_fd_tx_can_msg() 362 put_unaligned_le32(es58x_get_raw_can_id(cf), &tx_can_msg->can_id); in es58x_fd_tx_can_msg() 363 tx_can_msg->flags = (u8)es58x_get_flags(skb); in es58x_fd_tx_can_msg() 365 tx_can_msg->len = cf->len; in es58x_fd_tx_can_msg() 367 tx_can_msg->dlc = can_get_cc_dlc(cf, priv->can.ctrlmode); in es58x_fd_tx_can_msg() 368 memcpy(tx_can_msg->data, cf->data, cf->len); in es58x_fd_tx_can_msg() 371 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 | 1953 ret = es58x_dev->ops->tx_can_msg(priv, skb); in es58x_start_xmit()
|