Lines Matching defs:dca
27 #include <linux/dca.h>
142 static int ioat_dca_add_requester(struct dca_provider *dca, struct device *dev)
144 struct ioat_dca_priv *ioatdca = dca_priv(dca);
174 static int ioat_dca_remove_requester(struct dca_provider *dca,
177 struct ioat_dca_priv *ioatdca = dca_priv(dca);
198 static u8 ioat_dca_get_tag(struct dca_provider *dca,
202 struct ioat_dca_priv *ioatdca = dca_priv(dca);
222 static int ioat_dca_dev_managed(struct dca_provider *dca,
225 struct ioat_dca_priv *ioatdca = dca_priv(dca);
248 struct dca_provider *dca;
291 dca = alloc_dca_provider(&ioat_dca_ops,
294 if (!dca)
297 ioatdca = dca_priv(dca);
305 err = register_dca_provider(dca, &pdev->dev);
307 free_dca_provider(dca);
311 return dca;
315 static int ioat2_dca_add_requester(struct dca_provider *dca, struct device *dev)
317 struct ioat_dca_priv *ioatdca = dca_priv(dca);
349 static int ioat2_dca_remove_requester(struct dca_provider *dca,
352 struct ioat_dca_priv *ioatdca = dca_priv(dca);
376 static u8 ioat2_dca_get_tag(struct dca_provider *dca,
382 tag = ioat_dca_get_tag(dca, dev, cpu);
414 struct dca_provider *dca;
436 dca = alloc_dca_provider(&ioat2_dca_ops,
439 if (!dca)
442 ioatdca = dca_priv(dca);
477 free_dca_provider(dca);
481 err = register_dca_provider(dca, &pdev->dev);
483 free_dca_provider(dca);
487 return dca;
490 static int ioat3_dca_add_requester(struct dca_provider *dca, struct device *dev)
492 struct ioat_dca_priv *ioatdca = dca_priv(dca);
524 static int ioat3_dca_remove_requester(struct dca_provider *dca,
527 struct ioat_dca_priv *ioatdca = dca_priv(dca);
551 static u8 ioat3_dca_get_tag(struct dca_provider *dca,
557 struct ioat_dca_priv *ioatdca = dca_priv(dca);
610 struct dca_provider *dca;
639 dca = alloc_dca_provider(&ioat3_dca_ops,
642 if (!dca)
645 ioatdca = dca_priv(dca);
677 err = register_dca_provider(dca, &pdev->dev);
679 free_dca_provider(dca);
683 return dca;