Home
last modified time | relevance | path

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

/linux/drivers/net/can/c_can/
H A Dc_can_pci.c43 void (*init)(const struct c_can_priv *priv, bool enable);
51 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()
57 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()
63 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()
69 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()
75 static u16 c_can_pci_read_reg_32bit(const struct c_can_priv *priv, in c_can_pci_read_reg_32bit()
81 static void c_can_pci_write_reg_32bit(const struct c_can_priv *priv, in c_can_pci_write_reg_32bit()
87 static u32 c_can_pci_read_reg32(const struct c_can_priv *priv, enum reg index) in c_can_pci_read_reg32()
97 static void c_can_pci_write_reg32(const struct c_can_priv *priv, enum reg index, in c_can_pci_write_reg32()
104 static void c_can_pci_reset_pch(const struct c_can_priv *priv, bool enable) in c_can_pci_reset_pch()
[all …]
H A 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 …]
H A Dc_can.h187 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
212 void (*raminit)(const struct c_can_priv *priv, bool enable); argument
238 static inline u8 c_can_get_tx_free(const struct c_can_priv *priv, in c_can_get_tx_free()
H A Dc_can_ethtool.c19 struct c_can_priv *priv = netdev_priv(netdev); in c_can_get_ringparam()