Lines Matching refs:tb_service
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()
468 static inline struct tb_xdomain *tb_service_parent(struct tb_service *svc) in tb_service_parent()