Searched refs:tifm_adapter (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | tifm.h | 110 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,
|
/openbmc/linux/drivers/misc/ |
H A D | tifm_core.c | 164 struct tifm_adapter *fm = container_of(dev, struct tifm_adapter, dev); in tifm_free() 174 struct tifm_adapter *tifm_alloc_adapter(unsigned int num_sockets, in tifm_alloc_adapter() 177 struct tifm_adapter *fm; in tifm_alloc_adapter() 191 int tifm_add_adapter(struct tifm_adapter *fm) in tifm_add_adapter() 217 void tifm_remove_adapter(struct tifm_adapter *fm) in tifm_remove_adapter() 234 void tifm_free_adapter(struct tifm_adapter *fm) in tifm_free_adapter() 247 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, in tifm_alloc_device() 280 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_eject() 287 struct tifm_adapter *fm = dev_get_drvdata(sock->dev.parent); in tifm_has_ms_pif()
|
H A D | tifm_7xx1.c | 21 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() 213 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_suspend() 230 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_resume() 292 static int tifm_7xx1_dummy_has_ms_pif(struct tifm_adapter *fm, in tifm_7xx1_dummy_has_ms_pif() 298 static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) in tifm_7xx1_has_ms_pif() 310 struct tifm_adapter *fm; in tifm_7xx1_probe() 381 struct tifm_adapter *fm = pci_get_drvdata(dev); in tifm_7xx1_remove()
|