Lines Matching refs:bxcan_priv
165 struct bxcan_priv { struct
195 static inline void bxcan_rmw(struct bxcan_priv *priv, void __iomem *addr, in bxcan_rmw() argument
210 static void bxcan_disable_filters(struct bxcan_priv *priv, enum bxcan_cfg cfg) in bxcan_disable_filters()
218 static void bxcan_enable_filters(struct bxcan_priv *priv, enum bxcan_cfg cfg) in bxcan_enable_filters()
261 static inline u8 bxcan_get_tx_head(const struct bxcan_priv *priv) in bxcan_get_tx_head()
266 static inline u8 bxcan_get_tx_tail(const struct bxcan_priv *priv) in bxcan_get_tx_tail()
271 static inline u8 bxcan_get_tx_free(const struct bxcan_priv *priv) in bxcan_get_tx_free()
276 static bool bxcan_tx_busy(const struct bxcan_priv *priv) in bxcan_tx_busy()
300 static int bxcan_chip_softreset(struct bxcan_priv *priv) in bxcan_chip_softreset()
311 static int bxcan_enter_init_mode(struct bxcan_priv *priv) in bxcan_enter_init_mode()
322 static int bxcan_leave_init_mode(struct bxcan_priv *priv) in bxcan_leave_init_mode()
333 static int bxcan_enter_sleep_mode(struct bxcan_priv *priv) in bxcan_enter_sleep_mode()
344 static int bxcan_leave_sleep_mode(struct bxcan_priv *priv) in bxcan_leave_sleep_mode()
356 struct bxcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv()
358 return container_of(offload, struct bxcan_priv, offload); in rx_offload_to_priv()
365 struct bxcan_priv *priv = rx_offload_to_priv(offload); in bxcan_mailbox_read()
415 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_rx_isr()
432 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_tx_isr()
468 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_handle_state_change()
519 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_handle_bus_err()
605 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_state_change_isr()
628 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_chip_start()
740 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_open()
805 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_chip_stop()
821 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_stop()
837 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_start_xmit()
914 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_get_berr_counter()
935 struct bxcan_priv *priv; in bxcan_probe()
979 ndev = alloc_candev(sizeof(struct bxcan_priv), BXCAN_TX_MB_NUM); in bxcan_probe()
1038 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_remove()
1049 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_suspend()
1066 struct bxcan_priv *priv = netdev_priv(ndev); in bxcan_resume()