/Linux-v4.19/include/linux/ |
D | fmc.h | 19 struct fmc_device; 78 int (*probe)(struct fmc_device *); 79 int (*remove)(struct fmc_device *); 132 uint32_t (*read32)(struct fmc_device *fmc, int offset); 133 void (*write32)(struct fmc_device *fmc, uint32_t value, int offset); 134 int (*validate)(struct fmc_device *fmc, struct fmc_driver *drv); 135 int (*reprogram_raw)(struct fmc_device *f, struct fmc_driver *d, 137 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw); 138 int (*irq_request)(struct fmc_device *fmc, irq_handler_t h, 140 void (*irq_ack)(struct fmc_device *fmc); [all …]
|
D | fmc-sdb.h | 22 struct fmc_device; 29 struct fmc_device *fmc; /* the device that hosts it */ 35 extern int fmc_scan_sdb_tree(struct fmc_device *fmc, unsigned long address); 36 extern void fmc_show_sdb_tree(const struct fmc_device *fmc); 39 extern int fmc_free_sdb_tree(struct fmc_device *fmc);
|
/Linux-v4.19/drivers/fmc/ |
D | fmc-core.c | 46 struct fmc_device *fdev = to_fmc_device(dev); in fmc_probe() 54 struct fmc_device *fdev = to_fmc_device(dev); in fmc_remove() 75 struct fmc_device *fmc = container_of(dev, struct fmc_device, dev); in fmc_release() 89 struct fmc_device *fmc; in fmc_read_eeprom() 93 fmc = container_of(dev, struct fmc_device, dev); in fmc_read_eeprom() 110 struct fmc_device *fmc; in fmc_write_eeprom() 113 fmc = container_of(dev, struct fmc_device, dev); in fmc_write_eeprom() 124 int fmc_irq_request(struct fmc_device *fmc, irq_handler_t h, in fmc_irq_request() 133 void fmc_irq_free(struct fmc_device *fmc) in fmc_irq_free() 140 void fmc_irq_ack(struct fmc_device *fmc) in fmc_irq_ack() [all …]
|
D | fmc-fakedev.c | 90 struct fmc_device *fmc[FF_MAX_MEZZANINES]; 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 …]
|
D | fmc-chardev.c | 25 struct fmc_device *fmc; 32 struct fmc_device *fmc; in fc_open() 51 struct fmc_device *fmc = f->private_data; in fc_release() 60 struct fmc_device *fmc = f->private_data; in fc_read() 81 struct fmc_device *fmc = f->private_data; in fc_write() 110 static int fc_probe(struct fmc_device *fmc); 111 static int fc_remove(struct fmc_device *fmc); 125 static int fc_probe(struct fmc_device *fmc) in fc_probe() 161 static int fc_remove(struct fmc_device *fmc) in fc_remove()
|
D | fmc-sdb.c | 18 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_raw(struct fmc_device *fmc, struct fmc_driver *d, in fmc_reprogram_raw() 154 int fmc_reprogram(struct fmc_device *fmc, struct fmc_driver *d, char *gw, in fmc_reprogram() 177 void fmc_show_sdb_tree(const struct fmc_device *fmc) in fmc_show_sdb_tree()
|
D | fmc-write-eeprom.c | 32 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()
|
D | fmc-debug.c | 41 static void fmc_sdb_dump_recursive(struct fmc_device *fmc, struct seq_file *s, in fmc_sdb_dump_recursive() 119 struct fmc_device *fmc = s->private; in fmc_sdb_dump() 137 struct fmc_device *fmc = inode->i_private; in fmc_sdb_dump_open() 151 int fmc_debug_init(struct fmc_device *fmc) in fmc_debug_init() 169 void fmc_debug_exit(struct fmc_device *fmc) in fmc_debug_exit()
|
D | fmc-trivial.c | 25 struct fmc_device *fmc = dev_id; in t_handler() 44 static int t_probe(struct fmc_device *fmc) in t_probe() 69 static int t_remove(struct fmc_device *fmc) in t_remove()
|
D | fmc-private.h | 8 extern int fmc_debug_init(struct fmc_device *fmc); 9 extern void fmc_debug_exit(struct fmc_device *fmc);
|
D | fmc-match.c | 25 struct fmc_device *fdev = to_fmc_device(dev); in fmc_match() 54 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()
|
D | fmc-dump.c | 42 void fmc_dump_eeprom(const struct fmc_device *fmc) in fmc_dump_eeprom()
|
/Linux-v4.19/Documentation/fmc/ |
D | API.txt | 9 int fmc_device_register(struct fmc_device *fmc); 10 void fmc_device_unregister(struct fmc_device *fmc); 12 int fmc_device_register_n(struct fmc_device **fmc, int n); 13 void fmc_device_unregister_n(struct fmc_device **fmc, int n); 15 uint32_t fmc_readl(struct fmc_device *fmc, int offset); 16 void fmc_writel(struct fmc_device *fmc, uint32_t val, int off); 17 void *fmc_get_drvdata(struct fmc_device *fmc); 18 void fmc_set_drvdata(struct fmc_device *fmc, void *data); 20 int fmc_reprogram(struct fmc_device *f, struct fmc_driver *d, char *gw, 25 Driver::. Please note that structures of type fmc_device must be
|
D | carrier.txt | 30 struct fmc_device { 44 struct fmc_device **devarray; /* Allocated by the bus */ 135 uint32_t (*readl)(struct fmc_device *fmc, int offset); 136 void (*writel)(struct fmc_device *fmc, uint32_t value, int offset); 137 int (*reprogram)(struct fmc_device *f, struct fmc_driver *d, char *gw); 138 int (*validate)(struct fmc_device *fmc, struct fmc_driver *drv); 139 int (*irq_request)(struct fmc_device *fmc, irq_handler_t h, 141 void (*irq_ack)(struct fmc_device *fmc); 142 int (*irq_free)(struct fmc_device *fmc); 143 int (*gpio_config)(struct fmc_device *fmc, struct fmc_gpio *gpio, [all …]
|
D | FMC-and-SDB.txt | 84 int fmc_scan_sdb_tree(struct fmc_device *fmc, unsigned long address); 85 void fmc_show_sdb_tree(struct fmc_device *fmc); 88 int fmc_free_sdb_tree(struct fmc_device *fmc);
|