Home
last modified time | relevance | path

Searched defs:fmc (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/fmc/
Dfmc-fakedev.c90 struct fmc_device *fmc[FF_MAX_MEZZANINES]; member
96 static int ff_reprogram(struct fmc_device *fmc, struct fmc_driver *drv, in ff_reprogram()
124 static int ff_irq_request(struct fmc_device *fmc, irq_handler_t handler, in ff_irq_request()
167 static int ff_eeprom_read(struct fmc_device *fmc, uint32_t offset, in ff_eeprom_read()
178 static int ff_eeprom_write(struct fmc_device *fmc, uint32_t offset, in ff_eeprom_write()
193 static int ff_read_ee(struct fmc_device *fmc, int pos, void *data, int len) in ff_read_ee()
200 static int ff_write_ee(struct fmc_device *fmc, int pos, in ff_write_ee()
209 static uint32_t ff_readl(struct fmc_device *fmc, int offset) in ff_readl()
214 static void ff_writel(struct fmc_device *fmc, uint32_t value, int offset) in ff_writel()
220 static int ff_validate(struct fmc_device *fmc, struct fmc_driver *drv) in ff_validate()
[all …]
Dfmc-chardev.c25 struct fmc_device *fmc; member
32 struct fmc_device *fmc; in fc_open() local
51 struct fmc_device *fmc = f->private_data; in fc_release() local
60 struct fmc_device *fmc = f->private_data; in fc_read() local
81 struct fmc_device *fmc = f->private_data; in fc_write() local
125 static int fc_probe(struct fmc_device *fmc) in fc_probe()
162 static int fc_remove(struct fmc_device *fmc) in fc_remove()
Dfmc-write-eeprom.c32 static int fwe_run_tlv(struct fmc_device *fmc, const struct firmware *fw, in fwe_run_tlv()
68 static int fwe_run_bin(struct fmc_device *fmc, const struct firmware *fw) in fwe_run_bin()
82 static int fwe_run(struct fmc_device *fmc, const struct firmware *fw, char *s) in fwe_run()
106 static int fwe_probe(struct fmc_device *fmc) in fwe_probe()
147 static int fwe_remove(struct fmc_device *fmc) in fwe_remove()
Dfmc-sdb.c18 static uint32_t __sdb_rd(struct fmc_device *fmc, unsigned long address, in __sdb_rd()
27 static struct sdb_array *__fmc_scan_sdb_tree(struct fmc_device *fmc, in __fmc_scan_sdb_tree()
91 int fmc_scan_sdb_tree(struct fmc_device *fmc, unsigned long address) in fmc_scan_sdb_tree()
121 int fmc_free_sdb_tree(struct fmc_device *fmc) in fmc_free_sdb_tree()
130 int fmc_reprogram(struct fmc_device *fmc, struct fmc_driver *d, char *gw, in fmc_reprogram()
168 static void __fmc_show_sdb_tree(const struct fmc_device *fmc, in __fmc_show_sdb_tree()
245 void fmc_show_sdb_tree(const struct fmc_device *fmc) in fmc_show_sdb_tree()
Dfmc-core.c72 struct fmc_device *fmc = container_of(dev, struct fmc_device, dev); in fmc_release() local
86 struct fmc_device *fmc; in fmc_read_eeprom() local
107 struct fmc_device *fmc; in fmc_write_eeprom() local
146 struct fmc_device *fmc, **devarray; in fmc_device_register_n() local
259 int fmc_device_register(struct fmc_device *fmc) in fmc_device_register()
284 void fmc_device_unregister(struct fmc_device *fmc) in fmc_device_unregister()
Dfmc-trivial.c25 struct fmc_device *fmc = dev_id; in t_handler() local
44 static int t_probe(struct fmc_device *fmc) in t_probe()
73 static int t_remove(struct fmc_device *fmc) in t_remove()
Dfmc-match.c54 int fmc_fill_id_info(struct fmc_device *fmc) in fmc_fill_id_info()
109 void fmc_free_id_info(struct fmc_device *fmc) in fmc_free_id_info()
Dfmc-dump.c44 void fmc_dump_eeprom(const struct fmc_device *fmc) in fmc_dump_eeprom()
63 void fmc_dump_sdb(const struct fmc_device *fmc) in fmc_dump_sdb()
/linux-4.4.14/include/linux/
Dfmc.h195 static inline uint32_t fmc_readl(struct fmc_device *fmc, int offset) in fmc_readl()
201 static inline void fmc_writel(struct fmc_device *fmc, uint32_t val, int off) in fmc_writel()
210 static inline void *fmc_get_drvdata(const struct fmc_device *fmc) in fmc_get_drvdata()
215 static inline void fmc_set_drvdata(struct fmc_device *fmc, void *data) in fmc_set_drvdata()
Dfmc-sdb.h28 struct fmc_device *fmc; /* the device that hosts it */ member