Lines Matching defs:firmware

3  * Raspberry Pi driver for firmware controlled clocks
6 * the system clocks we've had to factor out 'pllb' as the firmware 'owns' it.
8 * over-temperature and under-voltage protections provided by the firmware.
19 #include <soc/bcm2835/raspberrypi-firmware.h>
61 struct rpi_firmware *firmware;
74 * Structure of the message passed to Raspberry Pi's firmware in order to
80 * use the firmware interface as the firmware ultimately takes care of
84 * For more information on the firmware interface check:
85 * https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface
93 static int raspberrypi_clock_property(struct rpi_firmware *firmware,
104 ret = rpi_firmware_property(firmware, tag, &msg, sizeof(msg));
121 ret = raspberrypi_clock_property(rpi->firmware, data,
139 ret = raspberrypi_clock_property(rpi->firmware, data,
156 ret = raspberrypi_clock_property(rpi->firmware, data,
169 * The firmware will do the rounding but that isn't part of
170 * the interface with the firmware, so we just do our best
207 ret = raspberrypi_clock_property(rpi->firmware, data,
216 ret = raspberrypi_clock_property(rpi->firmware, data,
255 * The firmware doesn't guarantee that the last element of
265 ret = rpi_firmware_property(rpi->firmware, RPI_FIRMWARE_GET_CLOCKS,
303 struct rpi_firmware *firmware;
310 * child of the firmware node. Handle both cases.
316 "raspberrypi,bcm2835-firmware");
318 dev_err(dev, "Missing firmware node\n");
322 firmware = rpi_firmware_get(firmware_node);
324 if (!firmware)
332 rpi->firmware = firmware;
366 { .compatible = "raspberrypi,firmware-clocks" },
382 MODULE_DESCRIPTION("Raspberry Pi firmware clock driver");