Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c215 static inline void c_can_pm_runtime_get_sync(const struct c_can_priv *priv) in c_can_pm_runtime_get_sync()
221 static inline void c_can_pm_runtime_put_sync(const struct c_can_priv *priv) in c_can_pm_runtime_put_sync()
227 static inline void c_can_reset_ram(const struct c_can_priv *priv, bool enable) in c_can_reset_ram()
233 static void c_can_irq_control(struct c_can_priv *priv, bool enable) in c_can_irq_control()
245 struct c_can_priv *priv = netdev_priv(dev); in c_can_obj_update()
278 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_tx_object()
286 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_msg_object()
296 struct c_can_priv *priv = netdev_priv(dev); in c_can_setup_tx_object()
351 struct c_can_priv *priv = netdev_priv(dev); in c_can_handle_lost_msg_obj()
377 struct c_can_priv *priv = netdev_priv(dev); in c_can_read_msg_object()
[all …]
Dc_can_platform.c52 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()
58 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()
64 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()
70 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()
76 static void c_can_hw_raminit_wait_syscon(const struct c_can_priv *priv, in c_can_hw_raminit_wait_syscon()
97 static void c_can_hw_raminit_syscon(const struct c_can_priv *priv, bool enable) in c_can_hw_raminit_syscon()
144 static u32 c_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_plat_read_reg32()
154 static void c_can_plat_write_reg32(const struct c_can_priv *priv, in c_can_plat_write_reg32()
161 static u32 d_can_plat_read_reg32(const struct c_can_priv *priv, enum reg index) in d_can_plat_read_reg32()
166 static void d_can_plat_write_reg32(const struct c_can_priv *priv, in d_can_plat_write_reg32()
[all …]
Dc_can.h195 struct c_can_priv { struct
204 u16 (*read_reg) (const struct c_can_priv *priv, enum reg index); argument
205 void (*write_reg) (const struct c_can_priv *priv, enum reg index, u16 val); argument
206 u32 (*read_reg32) (const struct c_can_priv *priv, enum reg index); argument
207 void (*write_reg32) (const struct c_can_priv *priv, enum reg index, u32 val); argument
213 void (*raminit) (const struct c_can_priv *priv, bool enable); argument