Lines Matching refs:m_can_classdev
61 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 {
131 struct m_can_classdev *m_can_class_allocate_dev(struct device *dev, int sizeof_priv);
133 int m_can_class_register(struct m_can_classdev *cdev);
134 void m_can_class_unregister(struct m_can_classdev *cdev);
135 int m_can_class_get_clocks(struct m_can_classdev *cdev);
136 int m_can_init_ram(struct m_can_classdev *priv);
137 int m_can_check_mram_cfg(struct m_can_classdev *cdev, u32 mram_max_size);