Lines Matching refs:offload
189 struct can_rx_offload offload; member
533 struct ti_hecc_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
535 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
538 static struct sk_buff *ti_hecc_mailbox_read(struct can_rx_offload *offload, in ti_hecc_mailbox_read() argument
542 struct ti_hecc_priv *priv = rx_offload_to_priv(offload); in ti_hecc_mailbox_read()
554 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
636 err = can_rx_offload_queue_sorted(&priv->offload, skb, in ti_hecc_error()
671 err = can_rx_offload_queue_sorted(&priv->offload, skb, timestamp); in ti_hecc_change_state()
759 can_rx_offload_get_echo_skb(&priv->offload, in ti_hecc_interrupt()
775 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt()
818 can_rx_offload_enable(&priv->offload); in ti_hecc_open()
829 can_rx_offload_disable(&priv->offload); in ti_hecc_close()
942 priv->offload.mailbox_read = ti_hecc_mailbox_read; in ti_hecc_probe()
943 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe()
944 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe()
945 err = can_rx_offload_add_timestamp(ndev, &priv->offload); in ti_hecc_probe()
965 can_rx_offload_del(&priv->offload); in ti_hecc_probe()
984 can_rx_offload_del(&priv->offload); in ti_hecc_remove()