Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dthunderbolt.h380 struct tb_service { struct
391 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
398 static inline void tb_service_put(struct tb_service *svc) in tb_service_put()
409 static inline struct tb_service *tb_to_service(struct device *dev) in tb_to_service()
412 return container_of(dev, struct tb_service, dev); in tb_to_service()
426 int (*probe)(struct tb_service *svc, const struct tb_service_id *id);
427 void (*remove)(struct tb_service *svc);
428 void (*shutdown)(struct tb_service *svc);
441 static inline void *tb_service_get_drvdata(const struct tb_service *svc) in tb_service_get_drvdata()
446 static inline void tb_service_set_drvdata(struct tb_service *svc, void *data) in tb_service_set_drvdata()
[all …]
/Linux-v5.15/drivers/thunderbolt/
Dxdomain.c710 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show()
720 static int get_modalias(struct tb_service *svc, char *buf, size_t size) in get_modalias()
729 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show()
740 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show()
749 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show()
758 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcrevs_show()
767 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcstns_show()
794 struct tb_service *svc = container_of(dev, struct tb_service, dev); in tb_service_uevent()
803 struct tb_service *svc = container_of(dev, struct tb_service, dev); in tb_service_release()
823 struct tb_service *svc; in remove_missing_service()
[all …]
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()
Ddomain.c24 const struct tb_service *svc) in match_service_id()
54 struct tb_service *svc; in __tb_service_match()
79 struct tb_service *svc = tb_to_service(dev); in tb_service_probe()
91 struct tb_service *svc = tb_to_service(dev); in tb_service_remove()
102 struct tb_service *svc; in tb_service_shutdown()
Dtb.h1159 void tb_service_debugfs_init(struct tb_service *svc);
1160 void tb_service_debugfs_remove(struct tb_service *svc);
1166 static inline void tb_service_debugfs_init(struct tb_service *svc) { } in tb_service_debugfs_init()
1167 static inline void tb_service_debugfs_remove(struct tb_service *svc) { } in tb_service_debugfs_remove()
Ddebugfs.c711 void tb_service_debugfs_init(struct tb_service *svc) in tb_service_debugfs_init()
723 void tb_service_debugfs_remove(struct tb_service *svc) in tb_service_debugfs_remove()
/Linux-v5.15/drivers/net/
Dthunderbolt.c177 const struct tb_service *svc;
1218 static int tbnet_probe(struct tb_service *svc, const struct tb_service_id *id) in tbnet_probe()
1288 static void tbnet_remove(struct tb_service *svc) in tbnet_remove()
1297 static void tbnet_shutdown(struct tb_service *svc) in tbnet_shutdown()
1304 struct tb_service *svc = tb_to_service(dev); in tbnet_suspend()
1319 struct tb_service *svc = tb_to_service(dev); in tbnet_resume()