Searched refs:vchi_ctx (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 28 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_lock() 34 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_unlock() 49 status = vchiq_queue_kernel_message(instance->alsa_stream->chip->vchi_ctx->instance, in bcm2835_audio_send_msg_locked() 150 vchiq_release_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_init() 161 vchiq_use_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_deinit() 165 status = vchiq_close_service(instance->alsa_stream->chip->vchi_ctx->instance, in vc_vchi_audio_deinit() 176 int bcm2835_new_vchi_ctx(struct device *dev, struct bcm2835_vchi_ctx *vchi_ctx) in bcm2835_new_vchi_ctx() argument 181 ret = vchiq_initialise(&vchi_ctx->instance); in bcm2835_new_vchi_ctx() 188 ret = vchiq_connect(vchi_ctx->instance); in bcm2835_new_vchi_ctx() 193 kfree(vchi_ctx->instance); in bcm2835_new_vchi_ctx() [all …]
|
D | bcm2835.c | 25 struct bcm2835_vchi_ctx *vchi_ctx = res; in bcm2835_devm_free_vchi_ctx() local 27 bcm2835_free_vchi_ctx(vchi_ctx); in bcm2835_devm_free_vchi_ctx() 32 struct bcm2835_vchi_ctx *vchi_ctx; in bcm2835_devm_add_vchi_ctx() local 35 vchi_ctx = devres_alloc(bcm2835_devm_free_vchi_ctx, sizeof(*vchi_ctx), in bcm2835_devm_add_vchi_ctx() 37 if (!vchi_ctx) in bcm2835_devm_add_vchi_ctx() 40 ret = bcm2835_new_vchi_ctx(dev, vchi_ctx); in bcm2835_devm_add_vchi_ctx() 42 devres_free(vchi_ctx); in bcm2835_devm_add_vchi_ctx() 46 devres_add(dev, vchi_ctx); in bcm2835_devm_add_vchi_ctx() 156 chip->vchi_ctx = devres_find(dev, in snd_add_child_device() 158 if (!chip->vchi_ctx) { in snd_add_child_device()
|
D | bcm2835.h | 67 struct bcm2835_vchi_ctx *vchi_ctx; member 95 int bcm2835_new_vchi_ctx(struct device *dev, struct bcm2835_vchi_ctx *vchi_ctx); 96 void bcm2835_free_vchi_ctx(struct bcm2835_vchi_ctx *vchi_ctx);
|