#include <linux/hrtimer.h>
#include <linux/phy/phy.h>
#include <linux/platform_device.h>
#include "m_can.h"
struct m_can_plat_priv { … };
static inline struct m_can_plat_priv *cdev_to_priv(struct m_can_classdev *cdev)
{ … }
static u32 iomap_read_reg(struct m_can_classdev *cdev, int reg)
{ … }
static int iomap_read_fifo(struct m_can_classdev *cdev, int offset, void *val, size_t val_count)
{ … }
static int iomap_write_reg(struct m_can_classdev *cdev, int reg, int val)
{ … }
static int iomap_write_fifo(struct m_can_classdev *cdev, int offset,
const void *val, size_t val_count)
{ … }
static const struct m_can_ops m_can_plat_ops = …;
static int m_can_plat_probe(struct platform_device *pdev)
{ … }
static __maybe_unused int m_can_suspend(struct device *dev)
{ … }
static __maybe_unused int m_can_resume(struct device *dev)
{ … }
static void m_can_plat_remove(struct platform_device *pdev)
{ … }
static int __maybe_unused m_can_runtime_suspend(struct device *dev)
{ … }
static int __maybe_unused m_can_runtime_resume(struct device *dev)
{ … }
static const struct dev_pm_ops m_can_pmops = …;
static const struct of_device_id m_can_of_table[] = …;
MODULE_DEVICE_TABLE(of, m_can_of_table);
static struct platform_driver m_can_plat_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;