Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h24 struct peak_canfd_priv { struct
38 int (*pre_cmd)(struct peak_canfd_priv *priv); argument
39 int (*write_cmd)(struct peak_canfd_priv *priv); argument
40 int (*post_cmd)(struct peak_canfd_priv *priv); argument
42 int (*enable_tx_path)(struct peak_canfd_priv *priv); argument
43 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size, argument
45 int (*write_tx_msg)(struct peak_canfd_priv *priv, argument
51 int peak_canfd_handle_msg(struct peak_canfd_priv *priv,
53 int peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv,
Dpeak_canfd.c50 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
56 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) in pucan_add_cmd()
74 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
95 static int pucan_set_reset_mode(struct peak_canfd_priv *priv) in pucan_set_reset_mode()
101 static int pucan_set_normal_mode(struct peak_canfd_priv *priv) in pucan_set_normal_mode()
113 static int pucan_set_listen_only_mode(struct peak_canfd_priv *priv) in pucan_set_listen_only_mode()
125 static int pucan_set_timing_slow(struct peak_canfd_priv *priv, in pucan_set_timing_slow()
147 static int pucan_set_timing_fast(struct peak_canfd_priv *priv, in pucan_set_timing_fast()
166 static int pucan_set_std_filter(struct peak_canfd_priv *priv, u8 row, u32 mask) in pucan_set_std_filter()
190 static int pucan_tx_abort(struct peak_canfd_priv *priv, u16 flags) in pucan_tx_abort()
[all …]
Dpeak_pciefd_main.c180 struct peak_canfd_priv ucan; /* must be the first member */
367 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path()
403 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd()
459 static int pciefd_write_cmd(struct peak_canfd_priv *ucan) in pciefd_write_cmd()
478 static int pciefd_post_cmd(struct peak_canfd_priv *ucan) in pciefd_post_cmd()
512 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg()
569 static int pciefd_write_tx_msg(struct peak_canfd_priv *ucan, in pciefd_write_tx_msg()