Lines Matching refs:offload
180 struct can_rx_offload offload; member
524 struct ti_hecc_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
526 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
529 static struct sk_buff *ti_hecc_mailbox_read(struct can_rx_offload *offload, in ti_hecc_mailbox_read() argument
533 struct ti_hecc_priv *priv = rx_offload_to_priv(offload); in ti_hecc_mailbox_read()
545 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
627 err = can_rx_offload_queue_timestamp(&priv->offload, skb, in ti_hecc_error()
663 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); in ti_hecc_change_state()
751 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
766 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt()
780 can_rx_offload_irq_finish(&priv->offload); in ti_hecc_interrupt()
809 can_rx_offload_enable(&priv->offload); in ti_hecc_open()
820 can_rx_offload_disable(&priv->offload); in ti_hecc_close()
934 priv->offload.mailbox_read = ti_hecc_mailbox_read; in ti_hecc_probe()
935 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe()
936 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe()
937 err = can_rx_offload_add_timestamp(ndev, &priv->offload); in ti_hecc_probe()
955 can_rx_offload_del(&priv->offload); in ti_hecc_probe()
974 can_rx_offload_del(&priv->offload); in ti_hecc_remove()