Home
last modified time | relevance | path

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

12

/linux-6.12.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-6.12.1/drivers/staging/vc04_services/
DKconfig15 tristate "BCM2835 VCHIQ"
20 This config enables the VCHIQ driver, which implements a
23 the VPU. More specifically, the VCHIQ driver is used by
34 bool "VCHIQ Character Driver"
36 Enable the creation of VCHIQ character driver. The cdev exposes
38 with VideoCore, via the VCHIQ core driver (Check BCM2835_VCHIQ
53 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-6.12.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 which has most of the VCHIQ options enabled.
40 Check the driver is probed and /dev/vchiq is created
86 Command: cat /sys/kernel/debug/vchiq/state
DTODO9 requests to the firmware, which are transmitted across VCHIQ. vcdbg
/linux-6.12.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
28 #include "../include/linux/raspberrypi/vchiq.h"
31 #include "mmal-vchiq.h"
181 /* handle for a vchiq instance */
248 * we do this because it is important we do not call any other vchiq
1318 * list, and we should get the relevant callbacks via VCHIQ in port_disable()
1841 pr_err("mmal-vchiq: VCHIQ close failed\n"); in vchiq_mmal_finalise()
1915 instance->bulk_wq = alloc_ordered_workqueue("mmal-vchiq", in vchiq_mmal_init()
1945 MODULE_DESCRIPTION("BCM2835 MMAL VCHIQ interface");
Dmmal-msg.h40 #include "mmal-vchiq.h"
91 u32 status; /* The status of the vchiq operation */
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm2836-rpi.dtsi5 &vchiq {
6 compatible = "brcm,bcm2836-vchiq", "brcm,bcm2835-vchiq";
Dbcm2835-rpi.dtsi21 vchiq: mailbox@7e00b840 { label
22 compatible = "brcm,bcm2835-vchiq";
Dbcm2711-rpi.dtsi101 &vchiq {
/linux-6.12.1/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_bus.h50 * module_vchiq_driver() - Helper macro for registering a vchiq driver
51 * @__vchiq_driver: vchiq driver struct
53 * Helper macro for vchiq drivers which do not do anything special in
Dvchiq_bus.c3 * vchiq_device.c - VCHIQ generic device and bus-type
30 return add_uevent_var(env, "MODALIAS=vchiq:%s", dev_name(&device->dev)); in vchiq_bus_uevent()
51 .name = "vchiq-bus",
Dvchiq_arm.c41 #define DEVICE_NAME "vchiq"
63 * The devices implemented in the VCHIQ firmware are not discoverable,
105 * Flag to indicate that the first vchiq connect has made it through.
179 * This function is called by the vchiq stack once it has been connected to
198 * This function is used to defer initialization until the vchiq stack is
561 "VCHIQ doorbell", state); in vchiq_platform_init()
1377 snprintf(entity, sizeof(entity), "VCHIQ: "); in vchiq_use_internal()
1643 dev_warn(state->dev, "suspend: VCHIQ use count %d\n", peer_count); in vchiq_dump_service_use_state()
1644 dev_warn(state->dev, "suspend: Overall vchiq instance use count %d\n", vc_use_count); in vchiq_dump_service_use_state()
1696 snprintf(threadname, sizeof(threadname), "vchiq-keep/%d", in vchiq_platform_conn_state_changed()
[all …]
Dvchiq_debugfs.c16 /* Global 'vchiq' debugfs and clients entry used by all instances */
126 vchiq_dbg_dir = debugfs_create_dir("vchiq", NULL); in vchiq_debugfs_init()
Dvchiq_dev.c508 /* This must be a VCHIQ-style service */ in vchiq_ioc_await_completion()
627 "arm: vchiq: connect: could not lock mutex for state %d: %d\n", in vchiq_ioctl()
639 "arm: vchiq: could not connect: %d\n", status); in vchiq_ioctl()
1180 dev_dbg(state->dev, "arm: vchiq open\n"); in vchiq_open()
1183 dev_dbg(state->dev, "arm: vchiq has no connection to VideoCore\n"); in vchiq_open()
1328 .name = "vchiq",
1333 * vchiq_register_chrdev - Register the char driver for vchiq
1348 * vchiq_deregister_chrdev - Deregister and cleanup the vchiq char
Dvchiq_cfg.h8 /* The version of VCHIQ - change with any non-trivial change */
Dvchiq_core.h17 #include "../../include/linux/raspberrypi/vchiq.h"
431 short version; /* The version of VCHIQ */
432 short version_min; /* The minimum compatible version of VCHIQ */
Dvchiq_ioctl.h9 #include "../../include/linux/raspberrypi/vchiq.h"
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-audio/
DMakefile3 snd-bcm2835-objs := bcm2835.o bcm2835-ctl.o bcm2835-pcm.o bcm2835-vchiq.o
DKconfig10 the VCHIQ messaging interface between the kernel and the firmware
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.c16 struct mutex vchi_mutex; /* Serialize vchiq access */
25 MODULE_PARM_DESC(force_bulk, "Force use of vchiq bulk for audio");
/linux-6.12.1/drivers/staging/vc04_services/bcm2835-camera/
DKconfig12 Broadcom BCM2835 SoC. This operates over the VCHIQ interface

12