#include <linux/delay.h>
#include <linux/fsi.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/slab.h>
#include "fsi-master.h"
#define FSI_ENGID_HUB_MASTER …
#define FSI_LINK_ENABLE_SETUP_TIME …
struct fsi_master_hub { … };
#define to_fsi_master_hub(m) …
static int hub_master_read(struct fsi_master *master, int link,
uint8_t id, uint32_t addr, void *val, size_t size)
{ … }
static int hub_master_write(struct fsi_master *master, int link,
uint8_t id, uint32_t addr, const void *val, size_t size)
{ … }
static int hub_master_break(struct fsi_master *master, int link)
{ … }
static int hub_master_link_enable(struct fsi_master *master, int link,
bool enable)
{ … }
static void hub_master_release(struct device *dev)
{ … }
static inline u32 fsi_mmode_crs0(u32 x)
{ … }
static inline u32 fsi_mmode_crs1(u32 x)
{ … }
static int hub_master_init(struct fsi_master_hub *hub)
{ … }
static int hub_master_probe(struct device *dev)
{ … }
static int hub_master_remove(struct device *dev)
{ … }
static const struct fsi_device_id hub_master_ids[] = …;
static struct fsi_driver hub_master_driver = …;
module_fsi_driver(…);
MODULE_LICENSE(…) …;