Lines Matching refs:flexcan_priv
458 static struct flexcan_mb __iomem *flexcan_get_mb(const struct flexcan_priv *priv, in flexcan_get_mb()
477 static int flexcan_low_power_enter_ack(struct flexcan_priv *priv) in flexcan_low_power_enter_ack()
491 static int flexcan_low_power_exit_ack(struct flexcan_priv *priv) in flexcan_low_power_exit_ack()
505 static void flexcan_enable_wakeup_irq(struct flexcan_priv *priv, bool enable) in flexcan_enable_wakeup_irq()
520 static int flexcan_stop_mode_enable_scfw(struct flexcan_priv *priv, bool enabled) in flexcan_stop_mode_enable_scfw()
537 static inline int flexcan_enter_stop_mode(struct flexcan_priv *priv) in flexcan_enter_stop_mode()
567 static inline int flexcan_exit_stop_mode(struct flexcan_priv *priv) in flexcan_exit_stop_mode()
594 static inline void flexcan_error_irq_enable(const struct flexcan_priv *priv) in flexcan_error_irq_enable()
602 static inline void flexcan_error_irq_disable(const struct flexcan_priv *priv) in flexcan_error_irq_disable()
610 static int flexcan_clks_enable(const struct flexcan_priv *priv) in flexcan_clks_enable()
629 static void flexcan_clks_disable(const struct flexcan_priv *priv) in flexcan_clks_disable()
635 static inline int flexcan_transceiver_enable(const struct flexcan_priv *priv) in flexcan_transceiver_enable()
643 static inline int flexcan_transceiver_disable(const struct flexcan_priv *priv) in flexcan_transceiver_disable()
651 static int flexcan_chip_enable(struct flexcan_priv *priv) in flexcan_chip_enable()
663 static int flexcan_chip_disable(struct flexcan_priv *priv) in flexcan_chip_disable()
675 static int flexcan_chip_freeze(struct flexcan_priv *priv) in flexcan_chip_freeze()
700 static int flexcan_chip_unfreeze(struct flexcan_priv *priv) in flexcan_chip_unfreeze()
719 static int flexcan_chip_softreset(struct flexcan_priv *priv) in flexcan_chip_softreset()
737 const struct flexcan_priv *priv = netdev_priv(dev); in __flexcan_get_berr_counter()
750 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_get_berr_counter()
766 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_start_xmit()
818 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq_bus_err()
880 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq_state()
925 static inline u64 flexcan_read64_mask(struct flexcan_priv *priv, void __iomem *addr, u64 mask) in flexcan_read64_mask()
937 static inline void flexcan_write64(struct flexcan_priv *priv, u64 val, void __iomem *addr) in flexcan_write64()
945 static inline u64 flexcan_read_reg_iflag_rx(struct flexcan_priv *priv) in flexcan_read_reg_iflag_rx()
950 static inline u64 flexcan_read_reg_iflag_tx(struct flexcan_priv *priv) in flexcan_read_reg_iflag_tx()
955 static inline struct flexcan_priv *rx_offload_to_priv(struct can_rx_offload *offload) in rx_offload_to_priv()
957 return container_of(offload, struct flexcan_priv, offload); in rx_offload_to_priv()
964 struct flexcan_priv *priv = rx_offload_to_priv(offload); in flexcan_mailbox_read()
1062 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_irq()
1184 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming_ctrl()
1212 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming_cbt()
1318 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_set_bittiming()
1344 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_ram_init()
1371 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_rx_offload_setup()
1416 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_interrupts_enable()
1430 const struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_interrupts_disable()
1446 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_chip_start()
1685 struct flexcan_priv *priv = netdev_priv(dev); in __flexcan_chip_stop()
1718 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_open()
1792 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_close()
1846 struct flexcan_priv *priv = netdev_priv(dev); in register_flexcandev()
1921 struct flexcan_priv *priv; in flexcan_setup_stop_mode_gpr()
1971 struct flexcan_priv *priv; in flexcan_setup_stop_mode_scfw()
1996 struct flexcan_priv *priv; in flexcan_setup_stop_mode()
2062 struct flexcan_priv *priv; in flexcan_probe()
2140 dev = alloc_candev(sizeof(struct flexcan_priv), 1); in flexcan_probe()
2244 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_suspend()
2278 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_resume()
2309 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_runtime_suspend()
2319 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_runtime_resume()
2327 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_noirq_suspend()
2356 struct flexcan_priv *priv = netdev_priv(dev); in flexcan_noirq_resume()