Searched refs:tb_service (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | thunderbolt.h | 397 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 …]
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | dma_test.c | 93 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()
|
H A D | xdomain.c | 903 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show() 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() 1032 struct tb_service *svc; in find_service() [all …]
|
H A D | domain.c | 22 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 D | tb.h | 1418 void tb_service_debugfs_init(struct tb_service *svc); 1419 void tb_service_debugfs_remove(struct tb_service *svc); 1427 static inline void tb_service_debugfs_init(struct tb_service *svc) { } in tb_service_debugfs_init() 1428 static inline void tb_service_debugfs_remove(struct tb_service *svc) { } in tb_service_debugfs_remove()
|
H A D | debugfs.c | 1575 void tb_service_debugfs_init(struct tb_service *svc) in tb_service_debugfs_init() 1587 void tb_service_debugfs_remove(struct tb_service *svc) in tb_service_debugfs_remove()
|
/openbmc/linux/drivers/net/thunderbolt/ |
H A D | main.c | 181 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()
|