/linux-6.12.1/drivers/staging/vc04_services/include/linux/raspberrypi/ |
D | vchiq.h | 50 struct vchiq_instance; 55 int (*callback)(struct vchiq_instance *instance, 72 int (*callback)(struct vchiq_instance *instance, 83 struct vchiq_instance **pinstance); 84 extern int vchiq_shutdown(struct vchiq_instance *instance); 85 extern int vchiq_connect(struct vchiq_instance *instance); 86 extern int vchiq_open_service(struct vchiq_instance *instance, 89 extern int vchiq_close_service(struct vchiq_instance *instance, 91 extern int vchiq_use_service(struct vchiq_instance *instance, unsigned int service); 92 extern int vchiq_release_service(struct vchiq_instance *instance, [all …]
|
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/ |
D | vchiq_arm.h | 62 struct vchiq_instance *instance; 81 struct vchiq_instance { struct 104 vchiq_use_service(struct vchiq_instance *instance, unsigned int handle); argument 107 vchiq_release_service(struct vchiq_instance *instance, unsigned int handle); 123 vchiq_instance_get_debugfs_node(struct vchiq_instance *instance); 126 vchiq_instance_get_use_count(struct vchiq_instance *instance); 129 vchiq_instance_get_pid(struct vchiq_instance *instance); 132 vchiq_instance_get_trace(struct vchiq_instance *instance); 135 vchiq_instance_set_trace(struct vchiq_instance *instance, int trace); 157 service_callback(struct vchiq_instance *vchiq_instance, enum vchiq_reason reason, [all …]
|
D | vchiq_core.h | 190 struct vchiq_instance *instance; 317 struct vchiq_instance **instance; 447 vchiq_connect_internal(struct vchiq_state *state, struct vchiq_instance *instance); 452 int srvstate, struct vchiq_instance *instance, 468 vchiq_shutdown_internal(struct vchiq_state *state, struct vchiq_instance *instance); 474 vchiq_bulk_xfer_waiting_interruptible(struct vchiq_instance *instance, 478 vchiq_bulk_xfer_blocking_interruptible(struct vchiq_instance *instance, unsigned int handle, 483 vchiq_bulk_xfer_callback_interruptible(struct vchiq_instance *instance, unsigned int handle, 495 struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle); 498 find_service_by_handle(struct vchiq_instance *instance, unsigned int handle); [all …]
|
D | vchiq_debugfs.c | 22 struct vchiq_instance *instance = f->private; in debugfs_usecount_show() 34 struct vchiq_instance *instance = f->private; in debugfs_trace_show() 63 struct vchiq_instance *instance = f->private; in debugfs_trace_write() 99 void vchiq_debugfs_add_instance(struct vchiq_instance *instance) in vchiq_debugfs_add_instance() 116 void vchiq_debugfs_remove_instance(struct vchiq_instance *instance) in vchiq_debugfs_remove_instance() 149 void vchiq_debugfs_add_instance(struct vchiq_instance *instance) in vchiq_debugfs_add_instance() 153 void vchiq_debugfs_remove_instance(struct vchiq_instance *instance) in vchiq_debugfs_remove_instance()
|
D | vchiq_arm.c | 125 vchiq_blocking_bulk_transfer(struct vchiq_instance *instance, unsigned int handle, void *data, 150 cleanup_pagelistinfo(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo) in cleanup_pagelistinfo() 237 create_pagelist(struct vchiq_instance *instance, char *buf, char __user *ubuf, in create_pagelist() 424 free_pagelist(struct vchiq_instance *instance, struct vchiq_pagelist_info *pagelistinfo, in free_pagelist() 639 vchiq_prepare_bulk_data(struct vchiq_instance *instance, struct vchiq_bulk *bulk, void *offset, in vchiq_prepare_bulk_data() 664 vchiq_complete_bulk(struct vchiq_instance *instance, struct vchiq_bulk *bulk) in vchiq_complete_bulk() 677 int vchiq_initialise(struct vchiq_state *state, struct vchiq_instance **instance_out) in vchiq_initialise() 679 struct vchiq_instance *instance = NULL; in vchiq_initialise() 723 void free_bulk_waiter(struct vchiq_instance *instance) in free_bulk_waiter() 737 int 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 | 110 vchiq_ioc_queue_message(struct vchiq_instance *instance, unsigned int handle, in vchiq_ioc_queue_message() 139 static int vchiq_ioc_create_service(struct vchiq_instance *instance, in vchiq_ioc_create_service() 203 static int vchiq_ioc_dequeue_message(struct vchiq_instance *instance, in vchiq_ioc_dequeue_message() 284 static int vchiq_irq_queue_bulk_tx_rx(struct vchiq_instance *instance, in vchiq_irq_queue_bulk_tx_rx() 439 static int vchiq_ioc_await_completion(struct vchiq_instance *instance, in vchiq_ioc_await_completion() 585 struct vchiq_instance *instance = file->private_data; in vchiq_ioctl() 916 struct vchiq_instance *instance = file->private_data; in vchiq_compat_ioctl_create_service() 969 struct vchiq_instance *instance = file->private_data; in vchiq_compat_ioctl_queue_message() 1178 struct vchiq_instance *instance; in vchiq_open() 1209 struct vchiq_instance *instance = file->private_data; in vchiq_release()
|
D | vchiq_core.c | 224 struct vchiq_service *handle_to_service(struct vchiq_instance *instance, unsigned int handle) in handle_to_service() 232 find_service_by_handle(struct vchiq_instance *instance, unsigned int handle) in find_service_by_handle() 271 find_service_for_instance(struct vchiq_instance *instance, unsigned int handle) in find_service_for_instance() 291 find_closed_service_for_instance(struct vchiq_instance *instance, unsigned int handle) in find_closed_service_for_instance() 314 struct vchiq_instance *instance, in __next_service_by_instance() 338 struct vchiq_instance *instance, in next_service_by_instance() 391 vchiq_get_client_id(struct vchiq_instance *instance, unsigned int handle) in vchiq_get_client_id() 404 vchiq_get_service_userdata(struct vchiq_instance *instance, unsigned int handle) in vchiq_get_service_userdata() 2279 void vchiq_msg_queue_push(struct vchiq_instance *instance, unsigned int handle, in vchiq_msg_queue_push() 2302 struct vchiq_header *vchiq_msg_hold(struct vchiq_instance *instance, unsigned int handle) in vchiq_msg_hold() [all …]
|
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-vchiq.c | 96 static int audio_vchi_callback(struct vchiq_instance *vchiq_instance, in audio_vchi_callback() argument 101 struct bcm2835_audio_instance *instance = vchiq_get_service_userdata(vchiq_instance, in audio_vchi_callback() 123 vchiq_release_message(vchiq_instance, instance->service_handle, header); in audio_vchi_callback() 128 vc_vchi_audio_init(struct vchiq_instance *vchiq_instance, in vc_vchi_audio_init() argument 141 status = vchiq_open_service(vchiq_instance, ¶ms, in vc_vchi_audio_init() 336 struct vchiq_instance *vchiq_instance = vchi_ctx->instance; in bcm2835_audio_write() local 358 status = vchiq_bulk_transmit(vchiq_instance, instance->service_handle, src, count, in bcm2835_audio_write() 364 status = vchiq_queue_kernel_message(vchiq_instance, in bcm2835_audio_write()
|
D | bcm2835.h | 48 struct vchiq_instance *instance;
|
/linux-6.12.1/drivers/staging/vc04_services/vchiq-mmal/ |
D | mmal-vchiq.c | 182 struct vchiq_instance *vchiq_instance; member 296 vchiq_use_service(instance->vchiq_instance, instance->service_handle); in buffer_to_host_work_cb() 297 ret = vchiq_bulk_receive(instance->vchiq_instance, instance->service_handle, in buffer_to_host_work_cb() 306 vchiq_release_service(instance->vchiq_instance, instance->service_handle); in buffer_to_host_work_cb() 440 vchiq_use_service(instance->vchiq_instance, instance->service_handle); in buffer_from_host() 442 ret = vchiq_queue_kernel_message(instance->vchiq_instance, instance->service_handle, &m, in buffer_from_host() 448 vchiq_release_service(instance->vchiq_instance, instance->service_handle); in buffer_from_host() 552 static int mmal_service_callback(struct vchiq_instance *vchiq_instance, in mmal_service_callback() argument 556 struct vchiq_mmal_instance *instance = vchiq_get_service_userdata(vchiq_instance, handle); in mmal_service_callback() 576 vchiq_release_message(vchiq_instance, handle, header); in mmal_service_callback() [all …]
|