Searched refs:ucan (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 169 struct peak_canfd_priv ucan; /* must be the first member */ member 330 peak_canfd_handle_msgs_list(&priv->ucan, in pciefd_irq_handler() 343 spin_lock_irqsave(&priv->ucan.echo_lock, flags); in pciefd_irq_handler() 344 if (!priv->ucan.can.echo_skb[priv->ucan.echo_idx]) in pciefd_irq_handler() 345 netif_wake_queue(priv->ucan.ndev); in pciefd_irq_handler() 347 spin_unlock_irqrestore(&priv->ucan.echo_lock, flags); in pciefd_irq_handler() 356 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path() argument 358 struct pciefd_can *priv = (struct pciefd_can *)ucan; in pciefd_enable_tx_path() 392 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd() argument 448 pciefd_write_cmd(struct peak_canfd_priv *ucan) pciefd_write_cmd() argument 467 pciefd_post_cmd(struct peak_canfd_priv *ucan) pciefd_post_cmd() argument 501 pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, int *room_left) pciefd_alloc_tx_msg() argument 558 pciefd_write_tx_msg(struct peak_canfd_priv *ucan, struct pucan_tx_msg *msg) pciefd_write_tx_msg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 168 struct peak_canfd_priv ucan; /* must be the first member */ member 329 peak_canfd_handle_msgs_list(&priv->ucan, in pciefd_irq_handler() 342 spin_lock_irqsave(&priv->ucan.echo_lock, flags); in pciefd_irq_handler() 343 if (!priv->ucan.can.echo_skb[priv->ucan.echo_idx]) in pciefd_irq_handler() 344 netif_wake_queue(priv->ucan.ndev); in pciefd_irq_handler() 346 spin_unlock_irqrestore(&priv->ucan.echo_lock, flags); in pciefd_irq_handler() 355 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path() argument 357 struct pciefd_can *priv = (struct pciefd_can *)ucan; in pciefd_enable_tx_path() 391 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd() argument 447 pciefd_write_cmd(struct peak_canfd_priv *ucan) pciefd_write_cmd() argument 466 pciefd_post_cmd(struct peak_canfd_priv *ucan) pciefd_post_cmd() argument 500 pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, int *room_left) pciefd_alloc_tx_msg() argument 557 pciefd_write_tx_msg(struct peak_canfd_priv *ucan, struct pucan_tx_msg *msg) pciefd_write_tx_msg() argument [all...] |
Completed in 3 milliseconds