Home
last modified time | relevance | path

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

/openbmc/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()
104 static void c_can_pci_reset_pch(const struct c_can_priv *priv, bool enable) in c_can_pci_reset_pch()
119 struct c_can_priv *priv; in c_can_pci_probe()
[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()
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()
76 static void c_can_hw_raminit_wait_syscon(const struct c_can_priv *priv, in c_can_hw_raminit_wait_syscon()
154 static void c_can_plat_write_reg32(const struct c_can_priv *priv, in c_can_plat_write_reg32()
166 static void d_can_plat_write_reg32(const struct c_can_priv *priv, in d_can_plat_write_reg32()
172 static void c_can_hw_raminit_wait(const struct c_can_priv *priv, u32 mask) in c_can_hw_raminit_wait()
178 static void c_can_hw_raminit(const struct c_can_priv *priv, bool enable) in c_can_hw_raminit()
261 struct c_can_priv *priv; in c_can_plat_probe()
416 struct c_can_priv *priv = netdev_priv(dev); in c_can_plat_remove()
428 struct c_can_priv *priv = netdev_priv(ndev); in c_can_suspend()
[all …]
H A Dc_can_main.c237 struct c_can_priv *priv = netdev_priv(dev); in c_can_obj_update()
268 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_tx_object()
276 struct c_can_priv *priv = netdev_priv(dev); in c_can_inval_msg_object()
285 struct c_can_priv *priv = netdev_priv(dev); in c_can_setup_tx_object()
339 struct c_can_priv *priv = netdev_priv(dev); in c_can_handle_lost_msg_obj()
365 struct c_can_priv *priv = netdev_priv(dev); in c_can_read_msg_object()
417 struct c_can_priv *priv = netdev_priv(dev); in c_can_setup_receive_object()
456 struct c_can_priv *priv = netdev_priv(dev); in c_can_start_xmit()
487 struct c_can_priv *priv, u32 init) in c_can_wait_for_ctrl_init()
811 struct c_can_priv *priv, u32 obj) in c_can_rx_finalize()
[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()