Home
last modified time | relevance | path

Searched full:vchiq (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.1/Documentation/devicetree/bindings/soc/bcm/
Dbrcm,bcm2835-vchiq.yaml4 $id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-vchiq.yaml#
7 title: Broadcom VCHIQ firmware services
13 The VCHIQ communication channel can be provided by BCM283x and Capri SoCs,
22 - brcm,bcm2835-vchiq
27 - brcm,bcm2836-vchiq
28 - const: brcm,bcm2835-vchiq
48 compatible = "brcm,bcm2835-vchiq";
/Linux-v6.1/drivers/staging/vc04_services/
DKconfig15 tristate "BCM2835 VCHIQ"
20 enables the VCHIQ driver, which implements a messaging interface between
22 interface to communicate to the VPU. More specifically, the VCHIQ driver is
32 bool "VCHIQ Character Driver"
34 Enable the creation of VCHIQ character driver. The cdev exposes ioctls used
36 the VCHIQ core driver (Check BCM2835_VCHIQ for more info).
47 source "drivers/staging/vc04_services/vchiq-mmal/Kconfig"
DMakefile2 obj-$(CONFIG_BCM2835_VCHIQ) += vchiq.o
4 vchiq-objs := \
11 vchiq-objs += interface/vchiq_arm/vchiq_dev.o
16 obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += vchiq-mmal/
/Linux-v6.1/drivers/staging/vc04_services/interface/
DTESTING1 This document contains some hints to test the function of the VCHIQ driver
6 Testing the VCHIQ driver requires a Raspberry Pi with one of the following SoC:
14 There are no specific requirements to the VideoCore firmware to get VCHIQ
26 Just use bcm2835_defconfig which already has VCHIQ enabled.
30 Use the multi_v7_defconfig as a base and then enable all VCHIQ options.
34 Use the defconfig as a base and then enable all VCHIQ options.
40 Check the driver is probed and /dev/vchiq is created
/Linux-v6.1/arch/arm/boot/dts/
Dbcm2836-rpi.dtsi4 &vchiq {
5 compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq";
Dbcm2835-rpi.dtsi30 vchiq: mailbox@7e00b840 { label
31 compatible = "brcm,bcm2835-vchiq";
Dbcm2711-rpi.dtsi76 &vchiq {
/Linux-v6.1/drivers/staging/vc04_services/vchiq-mmal/
DMakefile2 bcm2835-mmal-vchiq-objs := mmal-vchiq.o
4 obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o
DKconfig2 tristate "BCM2835 MMAL VCHIQ service"
5 Enables the MMAL API over VCHIQ interface as used for the
Dmmal-vchiq.c13 * V4L2 driver MMAL vchiq interface code
26 #include <linux/raspberrypi/vchiq.h>
30 #include "mmal-vchiq.h"
180 /* handle for a vchiq instance */
247 * we do this because it is important we do not call any other vchiq
1317 * list, and we should get the relevant callbacks via VCHIQ in port_disable()
1840 pr_err("mmal-vchiq: VCHIQ close failed\n"); in vchiq_mmal_finalise()
1913 instance->bulk_wq = alloc_ordered_workqueue("mmal-vchiq", in vchiq_mmal_init()
1943 MODULE_DESCRIPTION("BCM2835 MMAL VCHIQ interface");
Dmmal-msg.h40 #include "mmal-vchiq.h"
91 u32 status; /* The status of the vchiq operation */
/Linux-v6.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c40 #define DEVICE_NAME "vchiq"
111 * Flag to indicate that the first vchiq connect has made it through.
141 * the VCHIQ node and will overwrite it with the actual L2 cache size,
534 "VCHIQ doorbell", state); in vchiq_platform_init()
691 "%s: error allocating vchiq instance\n", __func__); in vchiq_initialise()
1426 sprintf(entity, "VCHIQ: "); in vchiq_use_internal()
1691 vchiq_log_warning(vchiq_susp_log_level, "----- VCHIQ use count %d", peer_count); in vchiq_dump_service_use_state()
1692 vchiq_log_warning(vchiq_susp_log_level, "--- Overall vchiq instance use count %d", in vchiq_dump_service_use_state()
1745 snprintf(threadname, sizeof(threadname), "vchiq-keep/%d", in vchiq_platform_conn_state_changed()
1752 "vchiq: FATAL: couldn't create thread %s", in vchiq_platform_conn_state_changed()
[all …]
Dvchiq_connected.c25 * This function is used to defer initialization until the vchiq stack is
56 * This function is called by the vchiq stack once it has been connected to
Dvchiq_debugfs.c21 /* Global 'vchiq' debugfs and clients entry used by all instances */
211 vchiq_dbg_dir = debugfs_create_dir("vchiq", NULL); in vchiq_debugfs_init()
214 /* create an entry under <debugfs>/vchiq/log for each log category */ in vchiq_debugfs_init()
Dvchiq_core.h13 #include <linux/raspberrypi/vchiq.h>
40 #define VCHIQ_LOG_PREFIX KERN_INFO "vchiq: "
442 short version; /* The version of VCHIQ */
443 short version_min; /* The minimum compatible version of VCHIQ */
Dvchiq_dev.c502 /* This must be a VCHIQ-style service */ in vchiq_ioc_await_completion()
622 "vchiq: connect: could not lock mutex for state %d: %d", in vchiq_ioctl()
634 "vchiq: could not connect: %d", status); in vchiq_ioctl()
1177 "vchiq has no connection to VideoCore"); in vchiq_open()
1344 .name = "vchiq",
1349 * vchiq_register_chrdev - Register the char driver for vchiq
1364 * vchiq_deregister_chrdev - Deregister and cleanup the vchiq char
Dvchiq_cfg.h8 /* The version of VCHIQ - change with any non-trivial change */
Dvchiq_ioctl.h8 #include <linux/raspberrypi/vchiq.h>
/Linux-v6.1/drivers/staging/vc04_services/bcm2835-camera/
DKconfig12 Broadcom BCM2835 SoC. This operates over the VCHIQ interface
DMakefile10 -I $(srctree)/$(src)/../vchiq-mmal/ \
/Linux-v6.1/drivers/staging/vc04_services/bcm2835-audio/
DKconfig10 the VCHIQ messaging interface between the kernel and the firmware
DMakefile3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
Dbcm2835-pcm.c136 /* minimum 16 bytes alignment (for vchiq bulk transfers) */ in snd_bcm2835_playback_open_generic()
203 /* notify the vchiq that it should enter spdif passthrough mode by in snd_bcm2835_pcm_prepare()
Dbcm2835-vchiq.c14 struct mutex vchi_mutex; /* Serialize vchiq access */
23 MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");
Dbcm2835.h9 #include <linux/raspberrypi/vchiq.h>

12