Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dthunderbolt.h420 struct tb_service { struct
434 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
441 static inline void tb_service_put(struct tb_service *svc) in tb_service_put()
452 static inline struct tb_service *tb_to_service(struct device *dev) in tb_to_service()
455 return container_of(dev, struct tb_service, dev); in tb_to_service()
469 int (*probe)(struct tb_service *svc);
470 void (*remove)(struct tb_service *svc);
471 void (*shutdown)(struct tb_service *svc);
484 static inline void *tb_service_get_drvdata(const struct tb_service *svc) in tb_service_get_drvdata()
489 static inline void tb_service_set_drvdata(struct tb_service *svc, void *data) in tb_service_set_drvdata()
[all …]
/linux/drivers/thunderbolt/
H A Dxdomain.c655 struct tb_service *svc; in update_service_properties()
1020 void tb_service_properties_changed(struct tb_service *svc) in tb_service_properties_changed()
1036 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show()
1046 static int get_modalias(const struct tb_service *svc, char *buf, size_t size) in get_modalias()
1055 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show()
1066 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show()
1075 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show()
1084 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcrevs_show()
1093 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcstns_show()
1120 const struct tb_service *svc = container_of_const(dev, struct tb_service, dev); in tb_service_uevent()
[all …]
H A Ddomain.c23 const struct tb_service *svc) in match_service_id()
53 struct tb_service *svc; in __tb_service_match()
78 struct tb_service *svc = tb_to_service(dev); in tb_service_probe()
88 struct tb_service *svc = tb_to_service(dev); in tb_service_remove()
99 struct tb_service *svc; in tb_service_shutdown()
H A Dstream.c193 struct tb_service *svc;
1077 static void service_remove_properties(struct tb_service *svc, const char *name) in service_remove_properties()
1106 static int service_update_properties(struct tb_service *svc, const char *name, in service_update_properties()
1393 static void service_get_hopids(struct tb_service *svc, const char *name, in service_get_hopids()
1698 static int tbstream_probe(struct tb_service *svc) in tbstream_probe()
1719 static void tbstream_remove(struct tb_service *svc) in tbstream_remove()
1731 struct tb_service *svc = tb_to_service(dev); in tbstream_suspend()
1754 struct tb_service *svc = tb_to_service(dev); in tbstream_resume()
/linux/drivers/net/thunderbolt/
H A Dmain.c183 const struct tb_service *svc;
1365 static int tbnet_probe(struct tb_service *svc) in tbnet_probe()
1436 static void tbnet_remove(struct tb_service *svc) in tbnet_remove()
1445 static void tbnet_shutdown(struct tb_service *svc) in tbnet_shutdown()
1452 struct tb_service *svc = tb_to_service(dev); in tbnet_suspend()
1467 struct tb_service *svc = tb_to_service(dev); in tbnet_resume()