Searched refs:m_can_classdev (Results 1 - 6 of 6) sorted by relevance

/linux-master/drivers/net/can/m_can/
H A Dm_can.h61 struct m_can_classdev;
64 int (*clear_interrupts)(struct m_can_classdev *cdev);
65 u32 (*read_reg)(struct m_can_classdev *cdev, int reg);
66 int (*write_reg)(struct m_can_classdev *cdev, int reg, int val);
67 int (*read_fifo)(struct m_can_classdev *cdev, int addr_offset, void *val, size_t val_count);
68 int (*write_fifo)(struct m_can_classdev *cdev, int addr_offset,
70 int (*init)(struct m_can_classdev *cdev);
74 struct m_can_classdev *cdev;
80 struct m_can_classdev { struct
131 struct m_can_classdev *m_can_class_allocate_de
[all...]
H A Dm_can_pci.c25 struct m_can_classdev cdev;
30 static inline struct m_can_pci_priv *cdev_to_priv(struct m_can_classdev *cdev)
35 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg)
42 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count)
56 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val)
65 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset,
90 struct m_can_classdev *mcan_class;
157 struct m_can_classdev *mcan_class = pci_get_drvdata(pci);
H A Dm_can_platform.c15 struct m_can_classdev cdev;
21 static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev)
26 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg)
33 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count)
47 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val)
56 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset,
80 struct m_can_classdev *mcan_class;
180 struct m_can_classdev *mcan_class = &priv->cdev;
190 struct m_can_classdev *mcan_class = &priv->cdev;
201 struct m_can_classdev *mcan_clas
[all...]
H A Dtcan4x5x-core.c138 static inline struct tcan4x5x_priv *cdev_to_priv(struct m_can_classdev *cdev)
179 static u32 tcan4x5x_read_reg(struct m_can_classdev *cdev, int reg)
189 static int tcan4x5x_read_fifo(struct m_can_classdev *cdev, int addr_offset,
197 static int tcan4x5x_write_reg(struct m_can_classdev *cdev, int reg, int val)
204 static int tcan4x5x_write_fifo(struct m_can_classdev *cdev,
223 static int tcan4x5x_write_tcan_reg(struct m_can_classdev *cdev,
231 static int tcan4x5x_clear_interrupts(struct m_can_classdev *cdev)
244 static int tcan4x5x_init(struct m_can_classdev *cdev)
273 static int tcan4x5x_disable_wake(struct m_can_classdev *cdev)
281 static int tcan4x5x_disable_state(struct m_can_classdev *cde
[all...]
H A Dm_can.c330 static inline u32 m_can_read(struct m_can_classdev *cdev, enum m_can_reg reg)
335 static inline void m_can_write(struct m_can_classdev *cdev, enum m_can_reg reg,
342 m_can_fifo_read(struct m_can_classdev *cdev,
355 m_can_fifo_write(struct m_can_classdev *cdev,
367 static inline int m_can_fifo_write_no_off(struct m_can_classdev *cdev,
374 m_can_txe_fifo_read(struct m_can_classdev *cdev, u32 fgi, u32 offset, u32 *val)
382 static void m_can_config_endisable(struct m_can_classdev *cdev, bool enable)
416 static void m_can_interrupt_enable(struct m_can_classdev *cdev, u32 interrupts)
424 static void m_can_coalescing_disable(struct m_can_classdev *cdev)
435 static inline void m_can_enable_all_interrupts(struct m_can_classdev *cde
[all...]
H A Dtcan4x5x.h33 struct m_can_classdev cdev;

Completed in 139 milliseconds