Lines Matching defs:priv
66 rkcanfd_get_model_str(const struct rkcanfd_priv *priv) in rkcanfd_get_model_str()
105 static void rkcanfd_chip_set_reset_mode(const struct rkcanfd_priv *priv) in rkcanfd_chip_set_reset_mode()
114 static void rkcanfd_chip_set_work_mode(const struct rkcanfd_priv *priv) in rkcanfd_chip_set_work_mode()
119 static int rkcanfd_set_bittiming(struct rkcanfd_priv *priv) in rkcanfd_set_bittiming()
162 static void rkcanfd_get_berr_counter_corrected(struct rkcanfd_priv *priv, in rkcanfd_get_berr_counter_corrected()
208 struct rkcanfd_priv *priv = netdev_priv(ndev); in rkcanfd_get_berr_counter() local
222 static void rkcanfd_chip_interrupts_enable(const struct rkcanfd_priv *priv) in rkcanfd_chip_interrupts_enable()
230 static void rkcanfd_chip_interrupts_disable(const struct rkcanfd_priv *priv) in rkcanfd_chip_interrupts_disable()
235 static void rkcanfd_chip_fifo_setup(struct rkcanfd_priv *priv) in rkcanfd_chip_fifo_setup()
254 static void rkcanfd_chip_start(struct rkcanfd_priv *priv) in rkcanfd_chip_start()
319 static void __rkcanfd_chip_stop(struct rkcanfd_priv *priv, const enum can_state state) in __rkcanfd_chip_stop()
327 static void rkcanfd_chip_stop(struct rkcanfd_priv *priv, const enum can_state state) in rkcanfd_chip_stop()
335 static void rkcanfd_chip_stop_sync(struct rkcanfd_priv *priv, const enum can_state state) in rkcanfd_chip_stop_sync()
346 struct rkcanfd_priv *priv = netdev_priv(ndev); in rkcanfd_set_mode() local
363 rkcanfd_alloc_can_err_skb(struct rkcanfd_priv *priv, in rkcanfd_alloc_can_err_skb()
399 rkcanfd_handle_error_int_reg_ec(struct rkcanfd_priv *priv, struct can_frame *cf, in rkcanfd_handle_error_int_reg_ec()
527 static int rkcanfd_handle_error_int(struct rkcanfd_priv *priv) in rkcanfd_handle_error_int()
564 static int rkcanfd_handle_state_error_int(struct rkcanfd_priv *priv) in rkcanfd_handle_state_error_int()
610 rkcanfd_handle_rx_fifo_overflow_int(struct rkcanfd_priv *priv) in rkcanfd_handle_rx_fifo_overflow_int()
642 #define rkcanfd_handle(priv, irq, ...) \ argument
657 struct rkcanfd_priv *priv = dev_id; in rkcanfd_irq() local
716 struct rkcanfd_priv *priv = netdev_priv(ndev); in rkcanfd_open() local
750 struct rkcanfd_priv *priv = netdev_priv(ndev); in rkcanfd_stop() local
774 struct rkcanfd_priv *priv = dev_get_drvdata(dev); in rkcanfd_runtime_suspend() local
783 struct rkcanfd_priv *priv = dev_get_drvdata(dev); in rkcanfd_runtime_resume() local
788 static void rkcanfd_register_done(const struct rkcanfd_priv *priv) in rkcanfd_register_done()
809 static int rkcanfd_register(struct rkcanfd_priv *priv) in rkcanfd_register()
840 static inline void rkcanfd_unregister(struct rkcanfd_priv *priv) in rkcanfd_unregister()
863 struct rkcanfd_priv *priv; in rkcanfd_probe() local
941 struct rkcanfd_priv *priv = platform_get_drvdata(pdev); in rkcanfd_remove() local