Lines Matching refs:offload
179 struct can_rx_offload offload; member
523 struct ti_hecc_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv() argument
525 return container_of(offload, struct ti_hecc_priv, offload); in rx_offload_to_priv()
528 static struct sk_buff *ti_hecc_mailbox_read(struct can_rx_offload *offload, in ti_hecc_mailbox_read() argument
532 struct ti_hecc_priv *priv = rx_offload_to_priv(offload); in ti_hecc_mailbox_read()
544 skb = alloc_can_skb(offload->dev, &cf); in ti_hecc_mailbox_read()
626 err = can_rx_offload_queue_timestamp(&priv->offload, skb, in ti_hecc_error()
662 err = can_rx_offload_queue_timestamp(&priv->offload, skb, timestamp); in ti_hecc_change_state()
750 can_rx_offload_get_echo_skb_queue_timestamp(&priv->offload, in ti_hecc_interrupt()
765 can_rx_offload_irq_offload_timestamp(&priv->offload, in ti_hecc_interrupt()
779 can_rx_offload_irq_finish(&priv->offload); in ti_hecc_interrupt()
808 can_rx_offload_enable(&priv->offload); in ti_hecc_open()
819 can_rx_offload_disable(&priv->offload); in ti_hecc_close()
933 priv->offload.mailbox_read = ti_hecc_mailbox_read; in ti_hecc_probe()
934 priv->offload.mb_first = HECC_RX_FIRST_MBOX; in ti_hecc_probe()
935 priv->offload.mb_last = HECC_RX_LAST_MBOX; in ti_hecc_probe()
936 err = can_rx_offload_add_timestamp(ndev, &priv->offload); in ti_hecc_probe()
954 can_rx_offload_del(&priv->offload); in ti_hecc_probe()
973 can_rx_offload_del(&priv->offload); in ti_hecc_remove()