Lines Matching refs:sgt
51 static int msu_sink_alloc_window(void *data, struct sg_table **sgt, size_t size)
64 ret = sg_alloc_table(*sgt, nents, GFP_KERNEL);
68 priv->sgts[priv->nr_sgts++] = *sgt;
70 for_each_sg((*sgt)->sgl, sg_ptr, nents, i) {
84 static void msu_sink_free_window(void *data, struct sg_table *sgt)
90 for_each_sg(sgt->sgl, sg_ptr, sgt->nents, i) {
95 sg_free_table(sgt);
99 static int msu_sink_ready(void *data, struct sg_table *sgt, size_t bytes)
103 intel_th_msc_window_unlock(priv->dev, sgt);