Lines Matching refs:tifm_dev
34 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match()
43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match()
60 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent()
70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe()
85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event()
92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove()
110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend()
121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume()
140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show()
149 ATTRIBUTE_GROUPS(tifm_dev);
180 + sizeof(struct tifm_dev*) * num_sockets, GFP_KERNEL); in tifm_alloc_adapter()
243 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device()
248 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, in tifm_alloc_device()
251 struct tifm_dev *sock = NULL; in tifm_alloc_device()
256 sock = kzalloc(sizeof(struct tifm_dev), GFP_KERNEL); in tifm_alloc_device()
279 void tifm_eject(struct tifm_dev *sock) in tifm_eject()
286 int tifm_has_ms_pif(struct tifm_dev *sock) in tifm_has_ms_pif()
293 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_map_sg()
300 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_unmap_sg()