Lines Matching refs:flexcan_priv

441 static struct flexcan_mb __iomem *flexcan_get_mb(const struct flexcan_priv *priv,  in flexcan_get_mb()
460 static int flexcan_low_power_enter_ack(struct flexcan_priv *priv) in flexcan_low_power_enter_ack()
474 static int flexcan_low_power_exit_ack(struct flexcan_priv *priv) in flexcan_low_power_exit_ack()
488 static void flexcan_enable_wakeup_irq(struct flexcan_priv *priv, bool enable) in flexcan_enable_wakeup_irq()
503 static int flexcan_stop_mode_enable_scfw(struct flexcan_priv *priv, bool enabled) in flexcan_stop_mode_enable_scfw()
520 static inline int flexcan_enter_stop_mode(struct flexcan_priv *priv) in flexcan_enter_stop_mode()
543 static inline int flexcan_exit_stop_mode(struct flexcan_priv *priv) in flexcan_exit_stop_mode()
566 static inline void flexcan_error_irq_enable(const struct flexcan_priv *priv) in flexcan_error_irq_enable()
574 static inline void flexcan_error_irq_disable(const struct flexcan_priv *priv) in flexcan_error_irq_disable()
582 static int flexcan_clks_enable(const struct flexcan_priv *priv) in flexcan_clks_enable()
601 static void flexcan_clks_disable(const struct flexcan_priv *priv) in flexcan_clks_disable()
607 static inline int flexcan_transceiver_enable(const struct flexcan_priv *priv) in flexcan_transceiver_enable()
615 static inline int flexcan_transceiver_disable(const struct flexcan_priv *priv) in flexcan_transceiver_disable()
623 static int flexcan_chip_enable(struct flexcan_priv *priv) in flexcan_chip_enable()
635 static int flexcan_chip_disable(struct flexcan_priv *priv) in flexcan_chip_disable()
647 static int flexcan_chip_freeze(struct flexcan_priv *priv) in flexcan_chip_freeze()
672 static int flexcan_chip_unfreeze(struct flexcan_priv *priv) in flexcan_chip_unfreeze()
691 static int flexcan_chip_softreset(struct flexcan_priv *priv) in flexcan_chip_softreset()
709 const struct flexcan_priv *priv = netdev_priv(dev); in __flexcan_get_berr_counter()
722 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_get_berr_counter()
738 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_start_xmit()
790 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq_bus_err()
852 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq_state()
897 static inline u64 flexcan_read64_mask(struct flexcan_priv *priv, void __iomem *addr, u64 mask) in flexcan_read64_mask()
909 static inline void flexcan_write64(struct flexcan_priv *priv, u64 val, void __iomem *addr) in flexcan_write64()
917 static inline u64 flexcan_read_reg_iflag_rx(struct flexcan_priv *priv) in flexcan_read_reg_iflag_rx()
922 static inline u64 flexcan_read_reg_iflag_tx(struct flexcan_priv *priv) in flexcan_read_reg_iflag_tx()
927 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv()
929 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
936 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read()
1034 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq()
1156 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming_ctrl()
1184 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming_cbt()
1290 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming()
1316 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_ram_init()
1343 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_rx_offload_setup()
1388 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_interrupts_enable()
1402 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_interrupts_disable()
1418 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_start()
1657 struct flexcan_priv *priv = netdev_priv(dev); in __flexcan_chip_stop()
1690 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_open()
1764 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_close()
1818 struct flexcan_priv *priv = netdev_priv(dev); in register_flexcandev()
1893 struct flexcan_priv *priv; in flexcan_setup_stop_mode_gpr()
1943 struct flexcan_priv *priv; in flexcan_setup_stop_mode_scfw()
1968 struct flexcan_priv *priv; in flexcan_setup_stop_mode()
2023 struct flexcan_priv *priv; in flexcan_probe()
2108 dev = alloc_candev(sizeof(struct flexcan_priv), 1); in flexcan_probe()
2215 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_suspend()
2249 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_resume()
2280 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_runtime_suspend()
2290 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_runtime_resume()
2298 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_noirq_suspend()
2317 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_noirq_resume()