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()
111 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend()
122 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume()
141 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show()
150 ATTRIBUTE_GROUPS(tifm_dev);
181 + sizeof(struct tifm_dev*) * num_sockets, GFP_KERNEL); in tifm_alloc_adapter()
244 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device()
249 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, in tifm_alloc_device()
252 struct tifm_dev *sock = NULL; in tifm_alloc_device()
257 sock = kzalloc(sizeof(struct tifm_dev), GFP_KERNEL); in tifm_alloc_device()
280 void tifm_eject(struct tifm_dev *sock) in tifm_eject()
287 int tifm_has_ms_pif(struct tifm_dev *sock) in tifm_has_ms_pif()
294 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_map_sg()
301 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, in tifm_unmap_sg()