mirror of
https://github.com/Qortal/Brooklyn.git
synced 2025-02-01 07:42:18 +00:00
84ba5b15ac
* Enhance GPIO addon for Noctua Fans for the Qortector upcoming case. This will put PWM signal to real-time. * Fixed RDP not letting a user login if not logged out on Cinnamon release (reported by Crowetic) * Update i2c sensor db * Fixed DRM broadcast over HDMI 2+ * Ease up DHCP security only to prevent Brooklyn blocking routers. * Add possibility to add extra memory for Cinnamon Desktop Release * Fix error message of Software Render mode on Cinnamon Desktop * Add proper offset for HD screens for pixel array *Fixed HDMI jitter for videocore4 GPU * Enable all radios (including Bluetooth)
34 lines
910 B
C
34 lines
910 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef DMA_H
|
|
#define DMA_H
|
|
|
|
#include <asm/glue-cache.h>
|
|
|
|
#ifndef MULTI_CACHE
|
|
#define dmac_map_area __glue(_CACHE,_dma_map_area)
|
|
#define dmac_unmap_area __glue(_CACHE,_dma_unmap_area)
|
|
|
|
/*
|
|
* These are private to the dma-mapping API. Do not use directly.
|
|
* Their sole purpose is to ensure that data held in the cache
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* visible to the CPU.
|
|
*/
|
|
extern void dmac_map_area(const void *, size_t, int);
|
|
extern void dmac_unmap_area(const void *, size_t, int);
|
|
|
|
#else
|
|
|
|
/*
|
|
* These are private to the dma-mapping API. Do not use directly.
|
|
* Their sole purpose is to ensure that data held in the cache
|
|
* is visible to DMA, or data written by DMA to system memory is
|
|
* visible to the CPU.
|
|
*/
|
|
#define dmac_map_area cpu_cache.dma_map_area
|
|
#define dmac_unmap_area cpu_cache.dma_unmap_area
|
|
|
|
#endif
|
|
|
|
#endif
|