Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dthunderbolt.h352 struct tb_service { struct
362 static inline struct tb_service *tb_service_get(struct tb_service *svc) in tb_service_get() argument
369 static inline void tb_service_put(struct tb_service *svc) in tb_service_put()
380 static inline struct tb_service *tb_to_service(struct device *dev) in tb_to_service()
383 return container_of(dev, struct tb_service, dev); in tb_to_service()
397 int (*probe)(struct tb_service *svc, const struct tb_service_id *id);
398 void (*remove)(struct tb_service *svc);
399 void (*shutdown)(struct tb_service *svc);
412 static inline void *tb_service_get_drvdata(const struct tb_service *svc) in tb_service_get_drvdata()
417 static inline void tb_service_set_drvdata(struct tb_service *svc, void *data) in tb_service_set_drvdata()
[all …]
/Linux-v5.10/drivers/thunderbolt/
Dxdomain.c684 struct tb_service *svc = container_of(dev, struct tb_service, dev); in key_show()
694 static int get_modalias(struct tb_service *svc, char *buf, size_t size) in get_modalias()
703 struct tb_service *svc = container_of(dev, struct tb_service, dev); in modalias_show()
714 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcid_show()
723 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcvers_show()
732 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcrevs_show()
741 struct tb_service *svc = container_of(dev, struct tb_service, dev); in prtcstns_show()
768 struct tb_service *svc = container_of(dev, struct tb_service, dev); in tb_service_uevent()
777 struct tb_service *svc = container_of(dev, struct tb_service, dev); in tb_service_release()
796 struct tb_service *svc; in remove_missing_service()
[all …]
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()
104 struct tb_service *svc; in tb_service_shutdown()
/Linux-v5.10/drivers/net/
Dthunderbolt.c177 const struct tb_service *svc;
1190 static int tbnet_probe(struct tb_service *svc, const struct tb_service_id *id) in tbnet_probe()
1260 static void tbnet_remove(struct tb_service *svc) in tbnet_remove()
1269 static void tbnet_shutdown(struct tb_service *svc) in tbnet_shutdown()
1276 struct tb_service *svc = tb_to_service(dev); in tbnet_suspend()
1291 struct tb_service *svc = tb_to_service(dev); in tbnet_resume()