Lines Matching defs:priv

95 mcp251xfd_get_model_str(const struct mcp251xfd_priv *priv)  in mcp251xfd_get_model_str()
140 static inline int mcp251xfd_vdd_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_vdd_enable()
148 static inline int mcp251xfd_vdd_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_vdd_disable()
157 mcp251xfd_transceiver_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_transceiver_enable()
166 mcp251xfd_transceiver_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_transceiver_disable()
174 static int mcp251xfd_clks_and_vdd_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_clks_and_vdd_enable()
193 static int mcp251xfd_clks_and_vdd_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_clks_and_vdd_disable()
212 mcp251xfd_chip_get_mode(const struct mcp251xfd_priv *priv, u8 *mode) in mcp251xfd_chip_get_mode()
227 __mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv, in __mcp251xfd_chip_set_mode()
288 mcp251xfd_chip_set_mode(const struct mcp251xfd_priv *priv, in mcp251xfd_chip_set_mode()
295 mcp251xfd_chip_set_mode_nowait(const struct mcp251xfd_priv *priv, in mcp251xfd_chip_set_mode_nowait()
302 mcp251xfd_chip_wait_for_osc_ready(const struct mcp251xfd_priv *priv, in mcp251xfd_chip_wait_for_osc_ready()
331 static int mcp251xfd_chip_wake(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_wake()
367 static inline int mcp251xfd_chip_sleep(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_sleep()
387 static int mcp251xfd_chip_softreset_do(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_softreset_do()
407 static int mcp251xfd_chip_softreset_check(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_softreset_check()
438 static int mcp251xfd_chip_softreset(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_softreset()
465 static int mcp251xfd_chip_clock_init(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_clock_init()
498 static int mcp251xfd_chip_timestamp_init(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_timestamp_init()
509 static int mcp251xfd_set_bittiming(const struct mcp251xfd_priv *priv) in mcp251xfd_set_bittiming()
587 static int mcp251xfd_chip_rx_int_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_rx_int_enable()
608 static int mcp251xfd_chip_rx_int_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_rx_int_disable()
624 static int mcp251xfd_chip_ecc_init(struct mcp251xfd_priv *priv) in mcp251xfd_chip_ecc_init()
652 static u8 mcp251xfd_get_normal_mode(const struct mcp251xfd_priv *priv) in mcp251xfd_get_normal_mode()
669 __mcp251xfd_chip_set_normal_mode(const struct mcp251xfd_priv *priv, in __mcp251xfd_chip_set_normal_mode()
680 mcp251xfd_chip_set_normal_mode(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_set_normal_mode()
686 mcp251xfd_chip_set_normal_mode_nowait(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_set_normal_mode_nowait()
691 static int mcp251xfd_chip_interrupts_enable(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_interrupts_enable()
722 static int mcp251xfd_chip_interrupts_disable(const struct mcp251xfd_priv *priv) in mcp251xfd_chip_interrupts_disable()
740 static void mcp251xfd_chip_stop(struct mcp251xfd_priv *priv, in mcp251xfd_chip_stop()
751 static int mcp251xfd_chip_start(struct mcp251xfd_priv *priv) in mcp251xfd_chip_start()
806 struct mcp251xfd_priv *priv = netdev_priv(ndev); in mcp251xfd_set_mode() local
834 const struct mcp251xfd_priv *priv = netdev_priv(ndev); in __mcp251xfd_get_berr_counter() local
854 const struct mcp251xfd_priv *priv = netdev_priv(ndev); in mcp251xfd_get_berr_counter() local
872 mcp251xfd_alloc_can_err_skb(struct mcp251xfd_priv *priv, in mcp251xfd_alloc_can_err_skb()
889 static int mcp251xfd_handle_rxovif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_rxovif()
944 static int mcp251xfd_handle_txatif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_txatif()
951 static int mcp251xfd_handle_ivmif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_ivmif()
1049 static int mcp251xfd_handle_cerrif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_cerrif()
1124 mcp251xfd_handle_modif(const struct mcp251xfd_priv *priv, bool *set_normal_mode) in mcp251xfd_handle_modif()
1178 static int mcp251xfd_handle_serrif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_serrif()
1257 mcp251xfd_handle_eccif_recover(struct mcp251xfd_priv *priv, u8 nr) in mcp251xfd_handle_eccif_recover()
1307 mcp251xfd_handle_eccif(struct mcp251xfd_priv *priv, bool set_normal_mode) in mcp251xfd_handle_eccif()
1383 static int mcp251xfd_handle_spicrcif(struct mcp251xfd_priv *priv) in mcp251xfd_handle_spicrcif()
1408 static int mcp251xfd_read_regs_status(struct mcp251xfd_priv *priv) in mcp251xfd_read_regs_status()
1422 #define mcp251xfd_handle(priv, irq, ...) \ argument
1437 struct mcp251xfd_priv *priv = dev_id; in mcp251xfd_irq() local
1597 struct mcp251xfd_priv *priv = netdev_priv(ndev); in mcp251xfd_open() local
1671 struct mcp251xfd_priv *priv = netdev_priv(ndev); in mcp251xfd_stop() local
1700 mcp251xfd_register_quirks(struct mcp251xfd_priv *priv) in mcp251xfd_register_quirks()
1709 static int mcp251xfd_register_chip_detect(struct mcp251xfd_priv *priv) in mcp251xfd_register_chip_detect()
1758 static int mcp251xfd_register_check_rx_int(struct mcp251xfd_priv *priv) in mcp251xfd_register_check_rx_int()
1790 mcp251xfd_register_get_dev_id(const struct mcp251xfd_priv *priv, u32 *dev_id, in mcp251xfd_register_get_dev_id()
1838 mcp251xfd_register_done(const struct mcp251xfd_priv *priv) in mcp251xfd_register_done()
1883 static int mcp251xfd_register(struct mcp251xfd_priv *priv) in mcp251xfd_register()
1955 static inline void mcp251xfd_unregister(struct mcp251xfd_priv *priv) in mcp251xfd_unregister()
2008 struct mcp251xfd_priv *priv; in mcp251xfd_probe() local
2174 struct mcp251xfd_priv *priv = spi_get_drvdata(spi); in mcp251xfd_remove() local
2185 const struct mcp251xfd_priv *priv = dev_get_drvdata(device); in mcp251xfd_runtime_suspend() local
2192 const struct mcp251xfd_priv *priv = dev_get_drvdata(device); in mcp251xfd_runtime_resume() local