Searched refs:tifm_dev (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/include/linux/
H A Dtifm.h91 struct tifm_dev { struct
97 void (*card_event)(struct tifm_dev *sock);
98 void (*data_event)(struct tifm_dev *sock);
105 int (*probe)(struct tifm_dev *dev);
106 void (*remove)(struct tifm_dev *dev);
107 int (*suspend)(struct tifm_dev *dev,
109 int (*resume)(struct tifm_dev *dev);
127 struct tifm_dev *sock);
129 struct tifm_dev *sock);
131 struct tifm_dev *sockets[0];
141 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id,
146 void tifm_eject(struct tifm_dev *sock);
147 int tifm_has_ms_pif(struct tifm_dev *sock);
148 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,
150 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents,
154 static inline void *tifm_get_drvdata(struct tifm_dev *dev) tifm_get_drvdata()
159 static inline void tifm_set_drvdata(struct tifm_dev *dev, void *data) tifm_set_drvdata()
/linux-4.1.27/drivers/misc/
H A Dtifm_core.c38 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) tifm_dev_match()
47 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_bus_match()
64 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_uevent()
74 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_probe()
89 static void tifm_dummy_event(struct tifm_dev *sock) tifm_dummy_event()
96 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_remove()
115 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_suspend()
126 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_device_resume()
145 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); type_show()
154 ATTRIBUTE_GROUPS(tifm_dev); variable
185 + sizeof(struct tifm_dev*) * num_sockets, GFP_KERNEL); tifm_alloc_adapter()
248 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); tifm_free_device()
253 struct tifm_dev *tifm_alloc_device(struct tifm_adapter *fm, unsigned int id, tifm_alloc_device()
256 struct tifm_dev *sock = NULL; tifm_alloc_device()
261 sock = kzalloc(sizeof(struct tifm_dev), GFP_KERNEL); tifm_alloc_device()
284 void tifm_eject(struct tifm_dev *sock) tifm_eject()
291 int tifm_has_ms_pif(struct tifm_dev *sock) tifm_has_ms_pif()
298 int tifm_map_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, tifm_map_sg()
305 void tifm_unmap_sg(struct tifm_dev *sock, struct scatterlist *sg, int nents, tifm_unmap_sg()
H A Dtifm_7xx1.c26 struct tifm_dev *sock) tifm_7xx1_dummy_eject()
30 static void tifm_7xx1_eject(struct tifm_adapter *fm, struct tifm_dev *sock) tifm_7xx1_eject()
43 struct tifm_dev *sock; tifm_7xx1_isr()
143 struct tifm_dev *sock; tifm_7xx1_switch_media()
308 struct tifm_dev *sock) tifm_7xx1_dummy_has_ms_pif()
313 static int tifm_7xx1_has_ms_pif(struct tifm_adapter *fm, struct tifm_dev *sock) tifm_7xx1_has_ms_pif()
/linux-4.1.27/drivers/memstick/host/
H A Dtifm_ms.c72 struct tifm_dev *dev;
89 struct tifm_dev *sock = host->dev; tifm_ms_read_data()
129 struct tifm_dev *sock = host->dev; tifm_ms_write_data()
184 struct tifm_dev *sock = host->dev; tifm_ms_transfer_data()
256 struct tifm_dev *sock = host->dev; tifm_ms_issue_cmd()
341 struct tifm_dev *sock = host->dev; tifm_ms_complete_cmd()
386 static void tifm_ms_data_event(struct tifm_dev *sock) tifm_ms_data_event()
422 static void tifm_ms_card_event(struct tifm_dev *sock) tifm_ms_card_event()
464 struct tifm_dev *sock = host->dev; tifm_ms_req_tasklet()
504 struct tifm_dev *sock = host->dev; tifm_ms_set_param()
556 static int tifm_ms_probe(struct tifm_dev *sock) tifm_ms_probe()
596 static void tifm_ms_remove(struct tifm_dev *sock) tifm_ms_remove()
633 static int tifm_ms_suspend(struct tifm_dev *sock, pm_message_t state) tifm_ms_suspend()
641 static int tifm_ms_resume(struct tifm_dev *sock) tifm_ms_resume()
/linux-4.1.27/drivers/mmc/host/
H A Dtifm_sd.c91 struct tifm_dev *dev;
117 struct tifm_dev *sock = host->dev; tifm_sd_read_fifo()
143 struct tifm_dev *sock = host->dev; tifm_sd_write_fifo()
265 struct tifm_dev *sock = host->dev; tifm_sd_set_dma_data()
374 struct tifm_dev *sock = host->dev; tifm_sd_exec()
391 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) tifm_sd_fetch_resp()
405 struct tifm_dev *sock = host->dev; tifm_sd_check_status()
476 static void tifm_sd_data_event(struct tifm_dev *sock) tifm_sd_data_event()
504 static void tifm_sd_card_event(struct tifm_dev *sock) tifm_sd_card_event()
596 struct tifm_dev *sock = host->dev; tifm_sd_set_data_timeout()
624 struct tifm_dev *sock = host->dev; tifm_sd_request()
738 struct tifm_dev *sock = host->dev; tifm_sd_end_cmd()
800 struct tifm_dev *sock = host->dev; tifm_sd_ios()
868 struct tifm_dev *sock = host->dev; tifm_sd_ro()
888 struct tifm_dev *sock = host->dev; tifm_sd_initialize_host()
947 static int tifm_sd_probe(struct tifm_dev *sock) tifm_sd_probe()
998 static void tifm_sd_remove(struct tifm_dev *sock) tifm_sd_remove()
1031 static int tifm_sd_suspend(struct tifm_dev *sock, pm_message_t state) tifm_sd_suspend()
1036 static int tifm_sd_resume(struct tifm_dev *sock) tifm_sd_resume()

Completed in 57 milliseconds