Lines Matching refs:dca_provider
35 struct dca_provider { struct
49 int (*add_requester) (struct dca_provider *, struct device *); argument
50 int (*remove_requester) (struct dca_provider *, struct device *);
51 u8 (*get_tag) (struct dca_provider *, struct device *,
53 int (*dev_managed) (struct dca_provider *, struct device *);
56 struct dca_provider *alloc_dca_provider(struct dca_ops *ops, int priv_size);
57 void free_dca_provider(struct dca_provider *dca);
58 int register_dca_provider(struct dca_provider *dca, struct device *dev);
59 void unregister_dca_provider(struct dca_provider *dca, struct device *dev);
61 static inline void *dca_priv(struct dca_provider *dca) in dca_priv()
63 return (void *)dca + sizeof(struct dca_provider); in dca_priv()
76 int dca_sysfs_add_provider(struct dca_provider *dca, struct device *dev);
77 void dca_sysfs_remove_provider(struct dca_provider *dca);
78 int dca_sysfs_add_req(struct dca_provider *dca, struct device *dev, int slot);
79 void dca_sysfs_remove_req(struct dca_provider *dca, int slot);