Home
last modified time | relevance | path

Searched refs:c_can_priv (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/can/c_can/
Dc_can_pci.c41 void (*init)(const struct c_can_priv *priv, bool enable);
50 static u16 c_can_pci_read_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_pci_read_reg_aligned_to_16bit()
56 static void c_can_pci_write_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_pci_write_reg_aligned_to_16bit()
62 static u16 c_can_pci_read_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_pci_read_reg_aligned_to_32bit()
68 static void c_can_pci_write_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_pci_write_reg_aligned_to_32bit()
74 static u16 c_can_pci_read_reg_32bit(const struct c_can_priv *priv, in c_can_pci_read_reg_32bit()
80 static void c_can_pci_write_reg_32bit(const struct c_can_priv *priv, in c_can_pci_write_reg_32bit()
86 static u32 c_can_pci_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_pci_read_reg32()
96 static void c_can_pci_write_reg32(const struct c_can_priv *priv, enum reg index, in c_can_pci_write_reg32()
103 static void c_can_pci_reset_pch(const struct c_can_priv *priv, bool enable) in c_can_pci_reset_pch()
[all …]
Dc_can.c211 static inline void c_can_pm_runtime_enable(const struct c_can_priv *priv) in c_can_pm_runtime_enable()
217 static inline void c_can_pm_runtime_disable(const struct c_can_priv *priv) in c_can_pm_runtime_disable()
223 static inline void c_can_pm_runtime_get_sync(const struct c_can_priv *priv) in c_can_pm_runtime_get_sync()
229 static inline void c_can_pm_runtime_put_sync(const struct c_can_priv *priv) in c_can_pm_runtime_put_sync()
235 static inline void c_can_reset_ram(const struct c_can_priv *priv, bool enable) in c_can_reset_ram()
241 static void c_can_irq_control(struct c_can_priv *priv, bool enable) in c_can_irq_control()
253 struct c_can_priv *priv = netdev_priv(dev); in c_can_obj_update()
286 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_tx_object()
294 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_msg_object()
304 struct c_can_priv *priv = netdev_priv(dev); in c_can_setup_tx_object()
[all …]
Dc_can_platform.c50 static u16 c_can_plat_read_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_plat_read_reg_aligned_to_16bit()
56 static void c_can_plat_write_reg_aligned_to_16bit(const struct c_can_priv *priv, in c_can_plat_write_reg_aligned_to_16bit()
62 static u16 c_can_plat_read_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_plat_read_reg_aligned_to_32bit()
68 static void c_can_plat_write_reg_aligned_to_32bit(const struct c_can_priv *priv, in c_can_plat_write_reg_aligned_to_32bit()
74 static void c_can_hw_raminit_wait_syscon(const struct c_can_priv *priv, in c_can_hw_raminit_wait_syscon()
95 static void c_can_hw_raminit_syscon(const struct c_can_priv *priv, bool enable) in c_can_hw_raminit_syscon()
142 static u32 c_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_plat_read_reg32()
152 static void c_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, in c_can_plat_write_reg32()
159 static u32 d_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in d_can_plat_read_reg32()
164 static void d_can_plat_write_reg32(const struct c_can_priv *priv, enum reg index, in d_can_plat_write_reg32()
[all …]
Dc_can.h195 struct c_can_priv { struct
203 u16 (*read_reg) (const struct c_can_priv *priv, enum reg index); argument
204 void (*write_reg) (const struct c_can_priv *priv, enum reg index, u16 val); argument
205 u32 (*read_reg32) (const struct c_can_priv *priv, enum reg index); argument
206 void (*write_reg32) (const struct c_can_priv *priv, enum reg index, u32 val); argument
212 void (*raminit) (const struct c_can_priv *priv, bool enable); argument