Home
last modified time | relevance | path

Searched refs:tifm_adapter (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/include/linux/
Dtifm.h110 struct tifm_adapter { struct
122 void (*eject)(struct tifm_adapter *fm, argument
124 int (*has_ms_pif)(struct tifm_adapter *fm, argument
130 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets, argument
132 int tifm_add_adapter(struct tifm_adapter *fm);
133 void tifm_remove_adapter(struct tifm_adapter *fm);
134 void tifm_free_adapter(struct tifm_adapter *fm);
137 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id,
/Linux-v5.4/drivers/misc/
Dtifm_core.c165 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free()
175 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets, in tifm_alloc_adapter()
178 struct tifm_adapter *fm; in tifm_alloc_adapter()
180 fm = kzalloc(sizeof(struct tifm_adapter) in tifm_alloc_adapter()
193 int tifm_add_adapter(struct tifm_adapter *fm) in tifm_add_adapter()
219 void tifm_remove_adapter(struct tifm_adapter *fm) in tifm_remove_adapter()
236 void tifm_free_adapter(struct tifm_adapter *fm) in tifm_free_adapter()
249 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, in tifm_alloc_device()
282 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_eject()
289 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_has_ms_pif()
Dtifm_7xx1.c21 static void tifm_7xx1_dummy_eject(struct tifm_adapter *fm, in tifm_7xx1_dummy_eject()
26 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_eject()
38 struct tifm_adapter *fm = dev_id; in tifm_7xx1_isr()
137 struct tifm_adapter *fm = container_of(work, struct tifm_adapter, in tifm_7xx1_switch_media()
214 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_suspend()
233 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_resume()
307 static int tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm, in tifm_7xx1_dummy_has_ms_pif()
313 static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_has_ms_pif()
325 struct tifm_adapter *fm; in tifm_7xx1_probe()
396 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_remove()