Home
last modified time | relevance | path

Searched refs:tb_service (Results 1 – 5 of 5) sorted by relevance

/linux/include/linux/
H A Dthunderbolt.h403 struct tb_service { struct
414 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
421 static inline void tb_service_put(struct tb_service *svc) in tb_service_put()
432 static inline struct tb_service *tb_to_service(struct device *dev) in tb_to_service()
435 return container_of(dev, struct tb_service, dev); in tb_to_service()
449 int (*probe)(struct tb_service *svc, const struct tb_service_id *id);
450 void (*remove)(struct tb_service *svc);
451 void (*shutdown)(struct tb_service *svc);
464 static inline void *tb_service_get_drvdata(const struct tb_service *svc) in tb_service_get_drvdata()
469 static inline void tb_service_set_drvdata(struct tb_service *svc, void *data) in tb_service_set_drvdata()
[all …]
/linux/drivers/thunderbolt/
H A Ddma_test.c93 const struct tb_service *svc;
361 struct tb_service *svc = data; \
374 struct tb_service *svc = data; \
509 struct tb_service *svc = data; in test_store()
595 struct tb_service *svc = s->private; in status_show()
620 static void dma_test_debugfs_init(struct tb_service *svc) in dma_test_debugfs_init()
636 static int dma_test_probe(struct tb_service *svc, const struct tb_service_id *id) in dma_test_probe()
656 static void dma_test_remove(struct tb_service *svc) in dma_test_remove()
H A Ddomain.c22 const struct tb_service *svc) in match_service_id()
52 struct tb_service *svc; in __tb_service_match()
77 struct tb_service *svc = tb_to_service(dev); in tb_service_probe()
89 struct tb_service *svc = tb_to_service(dev); in tb_service_remove()
100 struct tb_service *svc; in tb_service_shutdown()
H A Dtb.h1528 void tb_service_debugfs_init(struct tb_service *svc);
1529 void tb_service_debugfs_remove(struct tb_service *svc);
1539 static inline void tb_service_debugfs_init(struct tb_service *svc) { } in tb_service_debugfs_init()
1540 static inline void tb_service_debugfs_remove(struct tb_service *svc) { } in tb_service_debugfs_remove()
/linux/drivers/net/thunderbolt/
H A Dmain.c181 const struct tb_service *svc;
1286 static int tbnet_probe(struct tb_service *svc, const struct tb_service_id *id) in tbnet_probe()
1356 static void tbnet_remove(struct tb_service *svc) in tbnet_remove()
1365 static void tbnet_shutdown(struct tb_service *svc) in tbnet_shutdown()
1372 struct tb_service *svc = tb_to_service(dev); in tbnet_suspend()
1387 struct tb_service *svc = tb_to_service(dev); in tbnet_resume()