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 const struct tifm_dev *sock = container_of_const(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);
242 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device()
247 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, in tifm_alloc_device()
250 struct tifm_dev *sock = NULL; in tifm_alloc_device()
255 sock = kzalloc(sizeof(struct tifm_dev), GFP_KERNEL); in tifm_alloc_device()
278 void tifm_eject(struct tifm_dev *sock) in tifm_eject()
285 int tifm_has_ms_pif(struct tifm_dev *sock) in tifm_has_ms_pif()
292 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()