Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tx.c37 struct mcp251xfd_hw_tx_obj_raw *hw_tx_obj; in mcp251xfd_tx_obj_from_skb() local
89 hw_tx_obj = &load_buf->crc.hw_tx_obj; in mcp251xfd_tx_obj_from_skb()
91 hw_tx_obj = &load_buf->nocrc.hw_tx_obj; in mcp251xfd_tx_obj_from_skb()
93 put_unaligned_le32(id, &hw_tx_obj->id); in mcp251xfd_tx_obj_from_skb()
94 put_unaligned_le32(flags, &hw_tx_obj->flags); in mcp251xfd_tx_obj_from_skb()
97 memcpy(hw_tx_obj->data, cfd->data, cfd->len); in mcp251xfd_tx_obj_from_skb()
105 memset(hw_tx_obj->data + cfd->len, 0x0, pad_len); in mcp251xfd_tx_obj_from_skb()
109 len = sizeof(hw_tx_obj->id) + sizeof(hw_tx_obj->flags); in mcp251xfd_tx_obj_from_skb()
H A Dmcp251xfd.h489 struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; member
493 struct mcp251xfd_hw_tx_obj_raw hw_tx_obj; member