Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/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.c41 static struct peak_canfd_priv *pucan_init_cmd(struct peak_canfd_priv *priv) in pucan_init_cmd()
47 static void *pucan_add_cmd(struct peak_canfd_priv *priv, int cmd_op) in pucan_add_cmd()
65 static int pucan_write_cmd(struct peak_canfd_priv *priv) in pucan_write_cmd()
86 static int pucan_set_reset_mode(struct peak_canfd_priv *priv) in pucan_set_reset_mode()
92 static int pucan_set_normal_mode(struct peak_canfd_priv *priv) in pucan_set_normal_mode()
104 static int pucan_set_listen_only_mode(struct peak_canfd_priv *priv) in pucan_set_listen_only_mode()
116 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 …]
H A Dpeak_pciefd_main.c169 struct peak_canfd_priv ucan; /* must be the first member */
356 static int pciefd_enable_tx_path(struct peak_canfd_priv *ucan) in pciefd_enable_tx_path()
392 static int pciefd_pre_cmd(struct peak_canfd_priv *ucan) in pciefd_pre_cmd()
448 static int pciefd_write_cmd(struct peak_canfd_priv *ucan) in pciefd_write_cmd()
467 static int pciefd_post_cmd(struct peak_canfd_priv *ucan) in pciefd_post_cmd()
501 static void *pciefd_alloc_tx_msg(struct peak_canfd_priv *ucan, u16 msg_size, in pciefd_alloc_tx_msg()
558 static int pciefd_write_tx_msg(struct peak_canfd_priv *ucan, in pciefd_write_tx_msg()