/linux-6.1.9/drivers/staging/vc04_services/include/linux/raspberrypi/ |
D | vchiq.h | 56 struct vchiq_instance; 60 enum vchiq_status (*callback)(struct vchiq_instance *instance, 77 enum vchiq_status (*callback)(struct vchiq_instance *instance, 87 struct vchiq_instance; 89 extern int vchiq_initialise(struct vchiq_instance **pinstance); 90 extern enum vchiq_status vchiq_shutdown(struct vchiq_instance *instance); 91 extern enum vchiq_status vchiq_connect(struct vchiq_instance *instance); 92 extern enum vchiq_status vchiq_open_service(struct vchiq_instance *instance, 95 extern enum vchiq_status vchiq_close_service(struct vchiq_instance *instance, 97 extern enum vchiq_status vchiq_use_service(struct vchiq_instance *instance, unsigned int service); [all …]
|
/linux-6.1.9/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.h | 31 struct vchiq_instance *instance; 50 struct vchiq_instance { struct 89 vchiq_use_service(struct vchiq_instance *instance, unsigned int handle); argument 92 vchiq_release_service(struct vchiq_instance *instance, unsigned int handle); 111 vchiq_instance_get_debugfs_node(struct vchiq_instance *instance); 114 vchiq_instance_get_use_count(struct vchiq_instance *instance); 117 vchiq_instance_get_pid(struct vchiq_instance *instance); 120 vchiq_instance_get_trace(struct vchiq_instance *instance); 123 vchiq_instance_set_trace(struct vchiq_instance *instance, int trace); 141 service_callback(struct vchiq_instance *vchiq_instance, enum vchiq_reason reason, [all …]
|
D | vchiq_core.h | 208 struct vchiq_instance *instance; 335 struct vchiq_instance **instance; 462 vchiq_connect_internal(struct vchiq_state *state, struct vchiq_instance *instance); 467 int srvstate, struct vchiq_instance *instance, 483 vchiq_shutdown_internal(struct vchiq_state *state, struct vchiq_instance *instance); 489 vchiq_bulk_transfer(struct vchiq_instance *instance, unsigned int handle, void *offset, 509 struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle); 512 find_service_by_handle(struct vchiq_instance *instance, unsigned int handle); 518 find_service_for_instance(struct vchiq_instance *instance, unsigned int handle); 521 find_closed_service_for_instance(struct vchiq_instance *instance, unsigned int handle); [all …]
|
D | vchiq_debugfs.c | 114 struct vchiq_instance *instance = f->private; in debugfs_usecount_show() 126 struct vchiq_instance *instance = f->private; in debugfs_trace_show() 145 struct vchiq_instance *instance = f->private; in debugfs_trace_write() 181 void vchiq_debugfs_add_instance(struct vchiq_instance *instance) in vchiq_debugfs_add_instance() 198 void vchiq_debugfs_remove_instance(struct vchiq_instance *instance) in vchiq_debugfs_remove_instance() 239 void vchiq_debugfs_add_instance(struct vchiq_instance *instance) in vchiq_debugfs_add_instance() 243 void vchiq_debugfs_remove_instance(struct vchiq_instance *instance) in vchiq_debugfs_remove_instance()
|
D | vchiq_arm.c | 155 vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle, void *data, 177 cleanup_pagelistinfo(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo) in cleanup_pagelistinfo() 214 create_pagelist(struct vchiq_instance *instance, char *buf, char __user *ubuf, in create_pagelist() 399 free_pagelist(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo, in free_pagelist() 620 vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() 645 vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk) in vchiq_complete_bulk() 662 int vchiq_initialise(struct vchiq_instance **instance_out) in vchiq_initialise() 665 struct vchiq_instance *instance = NULL; in vchiq_initialise() 712 void free_bulk_waiter(struct vchiq_instance *instance) in free_bulk_waiter() 725 enum vchiq_status vchiq_shutdown(struct vchiq_instance *instance) in vchiq_shutdown() [all …]
|
D | vchiq_debugfs.h | 17 void vchiq_debugfs_add_instance(struct vchiq_instance *instance); 19 void vchiq_debugfs_remove_instance(struct vchiq_instance *instance);
|
D | vchiq_dev.c | 111 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() 140 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() 204 static int vchiq_ioc_dequeue_message(struct vchiq_instance *instance, in vchiq_ioc_dequeue_message() 286 static int vchiq_irq_queue_bulk_tx_rx(struct vchiq_instance *instance, in vchiq_irq_queue_bulk_tx_rx() 432 static int vchiq_ioc_await_completion(struct vchiq_instance *instance, in vchiq_ioc_await_completion() 579 struct vchiq_instance *instance = file->private_data; in vchiq_ioctl() 911 struct vchiq_instance *instance = file->private_data; in vchiq_compat_ioctl_create_service() 964 struct vchiq_instance *instance = file->private_data; in vchiq_compat_ioctl_queue_message() 1171 struct vchiq_instance *instance; in vchiq_open() 1203 struct vchiq_instance *instance = file->private_data; in vchiq_release()
|
D | vchiq_core.c | 237 struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle) in handle_to_service() 244 find_service_by_handle(struct vchiq_instance *instance, unsigned int handle) in find_service_by_handle() 285 find_service_for_instance(struct vchiq_instance *instance, unsigned int handle) in find_service_for_instance() 306 find_closed_service_for_instance(struct vchiq_instance *instance, unsigned int handle) in find_closed_service_for_instance() 330 struct vchiq_instance *instance, in __next_service_by_instance() 354 struct vchiq_instance *instance, in next_service_by_instance() 407 vchiq_get_client_id(struct vchiq_instance *instance, unsigned int handle) in vchiq_get_client_id() 420 vchiq_get_service_userdata(struct vchiq_instance *instance, unsigned int handle) in vchiq_get_service_userdata() 2297 void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle, in vchiq_msg_queue_push() 2320 struct vchiq_header *vchiq_msg_hold(struct vchiq_instance *instance, unsigned int handle) in vchiq_msg_hold() [all …]
|
/linux-6.1.9/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 94 static enum vchiq_status audio_vchi_callback(struct vchiq_instance *vchiq_instance, in audio_vchi_callback() argument 99 struct bcm2835_audio_instance *instance = vchiq_get_service_userdata(vchiq_instance, in audio_vchi_callback() 121 vchiq_release_message(vchiq_instance, instance->service_handle, header); in audio_vchi_callback() 126 vc_vchi_audio_init(struct vchiq_instance *vchiq_instance, in vc_vchi_audio_init() argument 139 status = vchiq_open_service(vchiq_instance, ¶ms, in vc_vchi_audio_init() 333 struct vchiq_instance *vchiq_instance = vchi_ctx->instance; in bcm2835_audio_write() local 355 status = vchiq_bulk_transmit(vchiq_instance, instance->service_handle, src, count, in bcm2835_audio_write() 361 status = vchiq_queue_kernel_message(vchiq_instance, in bcm2835_audio_write()
|
D | bcm2835.h | 47 struct vchiq_instance *instance;
|
/linux-6.1.9/drivers/staging/vc04_services/vchiq-mmal/ |
D | mmal-vchiq.c | 181 struct vchiq_instance *vchiq_instance; member 295 vchiq_use_service(instance->vchiq_instance, instance->service_handle); in buffer_to_host_work_cb() 296 ret = vchiq_bulk_receive(instance->vchiq_instance, instance->service_handle, in buffer_to_host_work_cb() 305 vchiq_release_service(instance->vchiq_instance, instance->service_handle); in buffer_to_host_work_cb() 439 vchiq_use_service(instance->vchiq_instance, instance->service_handle); in buffer_from_host() 441 ret = vchiq_queue_kernel_message(instance->vchiq_instance, instance->service_handle, &m, in buffer_from_host() 447 vchiq_release_service(instance->vchiq_instance, instance->service_handle); in buffer_from_host() 551 static enum vchiq_status service_callback(struct vchiq_instance *vchiq_instance, in service_callback() argument 556 struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(vchiq_instance, handle); in service_callback() 576 vchiq_release_message(vchiq_instance, handle, header); in service_callback() [all …]
|