Home
last modified time | relevance | path

Searched refs:peak_canfd_priv (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd_user.h15 struct peak_canfd_priv { struct
29 int (*pre_cmd)(struct peak_canfd_priv *priv); argument
30 int (*write_cmd)(struct peak_canfd_priv *priv); argument
31 int (*post_cmd)(struct peak_canfd_priv *priv); argument
33 int (*enable_tx_path)(struct peak_canfd_priv *priv); argument
34 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size, argument
36 int (*write_tx_msg)(struct peak_canfd_priv *priv, argument
42 int peak_canfd_handle_msg(struct peak_canfd_priv *priv,
44 int peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv,
H A Dpeak_canfd.c42 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
66 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
446 int peak_canfd_handle_msg(struct peak_canfd_priv *priv, in peak_canfd_handle_msg()
544 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_set_mode()
561 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_get_berr_counter()
569 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_open()
618 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_set_bittiming()
625 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_set_data_bittiming()
632 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_close()
644 struct peak_canfd_priv *priv = netdev_priv(ndev); in peak_canfd_start_xmit()
[all …]
H A Dpeak_pciefd_main.c168 struct peak_canfd_priv ucan; /* must be the first member */
355 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path()
391 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd()
447 static int pciefd_write_cmd(struct peak_canfd_priv *ucan) in pciefd_write_cmd()
466 static int pciefd_post_cmd(struct peak_canfd_priv *ucan) in pciefd_post_cmd()
500 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg()
557 static int pciefd_write_tx_msg(struct peak_canfd_priv *ucan, in pciefd_write_tx_msg()