Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/can/peak_canfd/
Dpeak_canfd_user.h16 struct peak_canfd_priv { struct
30 int (*pre_cmd)(struct peak_canfd_priv *priv); argument
31 int (*write_cmd)(struct peak_canfd_priv *priv); argument
32 int (*post_cmd)(struct peak_canfd_priv *priv); argument
34 int (*enable_tx_path)(struct peak_canfd_priv *priv); argument
35 void *(*alloc_tx_msg)(struct peak_canfd_priv *priv, u16 msg_size, argument
37 int (*write_tx_msg)(struct peak_canfd_priv *priv, argument
43 int peak_canfd_handle_msg(struct peak_canfd_priv *priv,
45 int peak_canfd_handle_msgs_list(struct peak_canfd_priv *priv,
Dpeak_canfd.c42 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
48 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) in pucan_add_cmd()
66 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
87 static int pucan_set_reset_mode(struct peak_canfd_priv *priv) in pucan_set_reset_mode()
93 static int pucan_set_normal_mode(struct peak_canfd_priv *priv) in pucan_set_normal_mode()
105 static int pucan_set_listen_only_mode(struct peak_canfd_priv *priv) in pucan_set_listen_only_mode()
117 static int pucan_set_timing_slow(struct peak_canfd_priv *priv, in pucan_set_timing_slow()
139 static int pucan_set_timing_fast(struct peak_canfd_priv *priv, in pucan_set_timing_fast()
158 static int pucan_set_std_filter(struct peak_canfd_priv *priv, u8 row, u32 mask) in pucan_set_std_filter()
182 static int pucan_tx_abort(struct peak_canfd_priv *priv, u16 flags) in pucan_tx_abort()
[all …]
Dpeak_pciefd_main.c172 struct peak_canfd_priv ucan; /* must be the first member */
359 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path()
395 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd()
451 static int pciefd_write_cmd(struct peak_canfd_priv *ucan) in pciefd_write_cmd()
470 static int pciefd_post_cmd(struct peak_canfd_priv *ucan) in pciefd_post_cmd()
504 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg()
561 static int pciefd_write_tx_msg(struct peak_canfd_priv *ucan, in pciefd_write_tx_msg()