Lines Matching defs:cdev
15 struct m_can_classdev cdev;
21 static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev)
23 return container_of(cdev, struct m_can_plat_priv, cdev);
26 static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg)
28 struct m_can_plat_priv *priv = cdev_to_priv(cdev);
33 static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count)
35 struct m_can_plat_priv *priv = cdev_to_priv(cdev);
47 static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val)
49 struct m_can_plat_priv *priv = cdev_to_priv(cdev);
56 static int iomap_write_fifo(struct m_can_classdev *cdev, int offset,
59 struct m_can_plat_priv *priv = cdev_to_priv(cdev);
180 struct m_can_classdev *mcan_class = &priv->cdev;
190 struct m_can_classdev *mcan_class = &priv->cdev;
201 struct m_can_classdev *mcan_class = &priv->cdev;