Lines Matching refs:drv
86 const struct comp_driver *drv; in create_host() local
89 drv = ipc4_get_drv((uint8_t *)&host); in create_host()
90 if (!drv) in create_host()
98 dev = drv->ops.create(drv, config, &ipc_host); in create_host()
119 const struct comp_driver *drv; in create_dai() local
124 drv = ipc4_get_drv((uint8_t *)&id); in create_dai()
125 if (!drv) in create_dai()
160 dev = drv->ops.create(drv, config, &dai); in create_dai()
181 static struct comp_dev *copier_new(const struct comp_driver *drv, in copier_new() argument
194 dev = comp_alloc(drv, sizeof(*dev)); in copier_new()
292 cd->endpoint->drv->ops.free(cd->endpoint); in copier_free()
362 ret = cd->endpoint->drv->ops.prepare(cd->endpoint); in copier_prepare()
391 ret = cd->endpoint->drv->ops.reset(cd->endpoint); in copier_reset()
410 ret = cd->endpoint->drv->ops.trigger(cd->endpoint, cmd); in copier_comp_trigger()
425 ret = cd->endpoint->drv->ops.copy(cd->endpoint); in copier_copy()
536 ret = cd->endpoint->drv->ops.params(cd->endpoint, params); in copier_params()
606 .drv = &comp_copier,