Home
last modified time | relevance | path

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

/include/linux/greybus/
Dbundle.h42 int gb_bundle_add(struct gb_bundle *bundle);
43 void gb_bundle_destroy(struct gb_bundle *bundle);
47 static inline int gb_pm_runtime_get_sync(struct gb_bundle *bundle) in gb_pm_runtime_get_sync() argument
51 retval = pm_runtime_get_sync(&bundle->dev); in gb_pm_runtime_get_sync()
53 dev_err(&bundle->dev, in gb_pm_runtime_get_sync()
55 pm_runtime_put_noidle(&bundle->dev); in gb_pm_runtime_get_sync()
62 static inline int gb_pm_runtime_put_autosuspend(struct gb_bundle *bundle) in gb_pm_runtime_put_autosuspend() argument
66 pm_runtime_mark_last_busy(&bundle->dev); in gb_pm_runtime_put_autosuspend()
67 retval = pm_runtime_put_autosuspend(&bundle->dev); in gb_pm_runtime_put_autosuspend()
72 static inline void gb_pm_runtime_get_noresume(struct gb_bundle *bundle) in gb_pm_runtime_get_noresume() argument
[all …]
Dconnection.h41 struct gb_bundle *bundle; member
70 struct gb_connection *gb_connection_create(struct gb_bundle *bundle,
72 struct gb_connection *gb_connection_create_flags(struct gb_bundle *bundle,
75 struct gb_connection *gb_connection_create_offloaded(struct gb_bundle *bundle,
Dgreybus_manifest.h150 __u8 bundle; member
165 struct greybus_descriptor_bundle bundle; member
/include/linux/
Dgreybus.h59 int (*probe)(struct gb_bundle *bundle,
61 void (*disconnect)(struct gb_bundle *bundle);
69 static inline void greybus_set_drvdata(struct gb_bundle *bundle, void *data) in greybus_set_drvdata() argument
71 dev_set_drvdata(&bundle->dev, data); in greybus_set_drvdata()
74 static inline void *greybus_get_drvdata(struct gb_bundle *bundle) in greybus_get_drvdata() argument
76 return dev_get_drvdata(&bundle->dev); in greybus_get_drvdata()
/include/rdma/
Duverbs_ioctl.h854 __malloc void *_uverbs_alloc(struct uverbs_attr_bundle *bundle, size_t size,
857 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc() argument
860 return _uverbs_alloc(bundle, size, GFP_KERNEL); in uverbs_alloc()
863 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc() argument
866 return _uverbs_alloc(bundle, size, GFP_KERNEL | __GFP_ZERO); in uverbs_zalloc()
869 static inline __malloc void *uverbs_kcalloc(struct uverbs_attr_bundle *bundle, in uverbs_kcalloc() argument
876 return uverbs_zalloc(bundle, bytes); in uverbs_kcalloc()
886 int uverbs_copy_to_struct_or_zero(const struct uverbs_attr_bundle *bundle,
906 static inline __malloc void *uverbs_alloc(struct uverbs_attr_bundle *bundle, in uverbs_alloc() argument
911 static inline __malloc void *uverbs_zalloc(struct uverbs_attr_bundle *bundle, in uverbs_zalloc() argument
[all …]