Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.17-rc7 37 lines 950 B view raw
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright (C) 2016 BayLibre, SAS 4 * Author: Neil Armstrong <narmstrong@baylibre.com> 5 */ 6 7/* Video Clock */ 8 9#ifndef __MESON_VCLK_H 10#define __MESON_VCLK_H 11 12#include <drm/drm_modes.h> 13 14struct meson_drm; 15 16enum { 17 MESON_VCLK_TARGET_CVBS = 0, 18 MESON_VCLK_TARGET_HDMI = 1, 19 MESON_VCLK_TARGET_DMT = 2, 20}; 21 22/* 27MHz is the CVBS Pixel Clock */ 23#define MESON_VCLK_CVBS (27 * 1000 * 1000) 24 25enum drm_mode_status 26meson_vclk_dmt_supported_freq(struct meson_drm *priv, unsigned long long freq); 27enum drm_mode_status 28meson_vclk_vic_supported_freq(struct meson_drm *priv, 29 unsigned long long phy_freq, 30 unsigned long long vclk_freq); 31 32void meson_vclk_setup(struct meson_drm *priv, unsigned int target, 33 unsigned long long phy_freq, unsigned long long vclk_freq, 34 unsigned long long venc_freq, unsigned long long dac_freq, 35 bool hdmi_use_enci); 36 37#endif /* __MESON_VCLK_H */