Lines Matching refs:hw_rx_obj

110 			   const struct mcp251xfd_hw_rx_obj_canfd *hw_rx_obj,  in mcp251xfd_hw_rx_obj_to_skb()  argument
116 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_IDE) { in mcp251xfd_hw_rx_obj_to_skb()
119 eid = FIELD_GET(MCP251XFD_OBJ_ID_EID_MASK, hw_rx_obj->id); in mcp251xfd_hw_rx_obj_to_skb()
120 sid = FIELD_GET(MCP251XFD_OBJ_ID_SID_MASK, hw_rx_obj->id); in mcp251xfd_hw_rx_obj_to_skb()
127 hw_rx_obj->id); in mcp251xfd_hw_rx_obj_to_skb()
130 dlc = FIELD_GET(MCP251XFD_OBJ_FLAGS_DLC_MASK, hw_rx_obj->flags); in mcp251xfd_hw_rx_obj_to_skb()
133 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_FDF) { in mcp251xfd_hw_rx_obj_to_skb()
134 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_ESI) in mcp251xfd_hw_rx_obj_to_skb()
137 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_BRS) in mcp251xfd_hw_rx_obj_to_skb()
142 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_RTR) in mcp251xfd_hw_rx_obj_to_skb()
149 if (!(hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_RTR)) in mcp251xfd_hw_rx_obj_to_skb()
150 memcpy(cfd->data, hw_rx_obj->data, cfd->len); in mcp251xfd_hw_rx_obj_to_skb()
152 mcp251xfd_skb_set_timestamp(priv, skb, hw_rx_obj->ts); in mcp251xfd_hw_rx_obj_to_skb()
158 const struct mcp251xfd_hw_rx_obj_canfd *hw_rx_obj) in mcp251xfd_handle_rxif_one() argument
165 if (hw_rx_obj->flags & MCP251XFD_OBJ_FLAGS_FDF) in mcp251xfd_handle_rxif_one()
175 mcp251xfd_hw_rx_obj_to_skb(priv, hw_rx_obj, skb); in mcp251xfd_handle_rxif_one()
176 err = can_rx_offload_queue_timestamp(&priv->offload, skb, hw_rx_obj->ts); in mcp251xfd_handle_rxif_one()
186 struct mcp251xfd_hw_rx_obj_canfd *hw_rx_obj, in mcp251xfd_rx_obj_read() argument
194 hw_rx_obj, in mcp251xfd_rx_obj_read()
204 struct mcp251xfd_hw_rx_obj_canfd *hw_rx_obj = ring->obj; in mcp251xfd_handle_rxif_ring() local
217 err = mcp251xfd_rx_obj_read(priv, ring, hw_rx_obj, in mcp251xfd_handle_rxif_ring()
224 (void *)hw_rx_obj + in mcp251xfd_handle_rxif_ring()