Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dthunderbolt.h397 struct tb_service { struct
408 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
415 static inline void tb_service_put(struct tb_service *svc) in tb_service_put()
426 static inline struct tb_service *tb_to_service(struct device *dev) in tb_to_service()
429 return container_of(dev, struct tb_service, dev); in tb_to_service()
443 int (*probe)(struct tb_service *svc, const struct tb_service_id *id);
444 void (*remove)(struct tb_service *svc);
445 void (*shutdown)(struct tb_service *svc);
458 static inline void *tb_service_get_drvdata(const struct tb_service *svc) in tb_service_get_drvdata()
463 static inline void tb_service_set_drvdata(struct tb_service *svc, void *data) in tb_service_set_drvdata()
[all …]
/linux-6.6.21/drivers/thunderbolt/
Ddma_test.c93 const struct tb_service *svc;
361 struct tb_service *svc = data; \
374 struct tb_service *svc = data; \
513 struct tb_service *svc = data; in test_store()
599 struct tb_service *svc = s->private; in status_show()
624 static void dma_test_debugfs_init(struct tb_service *svc) in dma_test_debugfs_init()
640 static int dma_test_probe(struct tb_service *svc, const struct tb_service_id *id) in dma_test_probe()
660 static void dma_test_remove(struct tb_service *svc) in dma_test_remove()
Dxdomain.c903 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show()
913 static int get_modalias(const struct tb_service *svc, char *buf, size_t size) in get_modalias()
922 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show()
933 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show()
942 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show()
951 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcrevs_show()
960 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcstns_show()
987 const struct tb_service *svc = container_of_const(dev, struct tb_service, dev); in tb_service_uevent()
996 struct tb_service *svc = container_of(dev, struct tb_service, dev); in tb_service_release()
1016 struct tb_service *svc; in remove_missing_service()
[all …]
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()
Dtb.h1370 void tb_service_debugfs_init(struct tb_service *svc);
1371 void tb_service_debugfs_remove(struct tb_service *svc);
1379 static inline void tb_service_debugfs_init(struct tb_service *svc) { } in tb_service_debugfs_init()
1380 static inline void tb_service_debugfs_remove(struct tb_service *svc) { } in tb_service_debugfs_remove()
Ddebugfs.c1574 void tb_service_debugfs_init(struct tb_service *svc) in tb_service_debugfs_init()
1586 void tb_service_debugfs_remove(struct tb_service *svc) in tb_service_debugfs_remove()
/linux-6.6.21/drivers/net/thunderbolt/
Dmain.c181 const struct tb_service *svc;
1287 static int tbnet_probe(struct tb_service *svc, const struct tb_service_id *id) in tbnet_probe()
1357 static void tbnet_remove(struct tb_service *svc) in tbnet_remove()
1366 static void tbnet_shutdown(struct tb_service *svc) in tbnet_shutdown()
1373 struct tb_service *svc = tb_to_service(dev); in tbnet_suspend()
1388 struct tb_service *svc = tb_to_service(dev); in tbnet_resume()