/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (c) 2011-2013 MaxLinear, Inc. All rights reserved 29 /* Firmware-Host Command IDs */ 31 /* --Device command IDs-- */ 37 /* Host-used CMD, not used by firmware */ 44 /* --Tuner command IDs-- */ 48 /* --Demod command IDs-- */ 63 /* --- ABORT channel tune */ 66 /* --SWM/FSK command IDs-- */ 71 /* --DiSeqC command IDs-- */ [all …]
|
H A D | drxk_hard.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 #define SCU_RESULT_SIZE -4 25 #define SCU_RESULT_INVPAR -3 26 #define SCU_RESULT_UNKSTD -2 27 #define SCU_RESULT_UNKCMD -1 189 u16 top; /* rf-agc take over point */ 190 u16 cut_off_current; /* rf-agc is accelerated if output current 191 is below cut-off current */ 203 u16 subcmd; /* Sub-command parameter*/ 247 struct s_cfg_agc m_vsb_rf_agc_cfg; /* settings for VSB RF-AGC */ [all …]
|
H A D | dib8000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's DiB8000 chip (ISDB-T). 22 #define LAYER_ALL -1 149 {.addr = i2c->addr >> 1, .flags = 0, .len = 2}, in dib8000_i2c_read16() 150 {.addr = i2c->addr >> 1, .flags = I2C_M_RD, .len = 2}, in dib8000_i2c_read16() 153 if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) { in dib8000_i2c_read16() 158 msg[0].buf = i2c->i2c_write_buffer; in dib8000_i2c_read16() 161 msg[1].buf = i2c->i2c_read_buffer; in dib8000_i2c_read16() 163 if (i2c_transfer(i2c->adap, msg, 2) != 2) in dib8000_i2c_read16() 167 mutex_unlock(i2c->i2c_buffer_lock); in dib8000_i2c_read16() [all …]
|
H A D | dib7000p.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Linux-DVB Driver for DiBcom's second generation DiB7000P (PC). 5 * Copyright (C) 2005-7 DiBcom (http://www.dibcom.fr/) 27 MODULE_PARM_DESC(buggy_sfn_workaround, "Enable work-around for buggy SFNs (default: 0)"); 104 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word() 109 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word() 110 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word() 112 memset(state->msg, 0, 2 * sizeof(struct i2c_msg)); in dib7000p_read_word() 113 state->msg[0].addr = state->i2c_addr >> 1; in dib7000p_read_word() 114 state->msg[0].flags = 0; in dib7000p_read_word() [all …]
|
H A D | drxk_hard.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drxk_hard: DRX-K DVB-C/T demodulator driver 5 * Copyright (C) 2010-2011 Digital Devices GmbH 45 return state->m_operation_mode == OM_DVBT; in is_dvbt() 50 return state->m_operation_mode == OM_QAM_ITU_A || in is_qam() 51 state->m_operation_mode == OM_QAM_ITU_B || in is_qam() 52 state->m_operation_mode == OM_QAM_ITU_C; in is_qam() 164 R0 = (a % c) << 4; /* 32-28 == 4 shifts possible at max */ in Frac28a() 193 i2c_lock_bus(state->i2c, I2C_LOCK_SEGMENT); in drxk_i2c_lock() 194 state->drxk_i2c_exclusive_lock = true; in drxk_i2c_lock() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | base.c | 40 if (device->handle == handle) in nvkm_device_find_locked() 64 name[nr - 1] = device->handle; in nvkm_device_list() 81 .clk = { 0x00000001, nv04_clk_new }, 102 .clk = { 0x00000001, nv04_clk_new }, 123 .clk = { 0x00000001, nv04_clk_new }, 143 .clk = { 0x00000001, nv04_clk_new }, 165 .clk = { 0x00000001, nv04_clk_new }, 187 .clk = { 0x00000001, nv04_clk_new }, 209 .clk = { 0x00000001, nv04_clk_new }, 231 .clk = { 0x00000001, nv04_clk_new }, [all …]
|
H A D | priv.h | 1 /* SPDX-License-Identifier: MIT */ 10 #include <subdev/clk.h> 40 #include <engine/mpeg.h>
|
/openbmc/linux/arch/mips/ath25/ |
H A D | ar2315_regs.h | 11 * Copyright (C) 2006-2008 Felix Fietkau <nbd@openwrt.org> 81 #define AR2315_RESET_MPEGTS_RSVD 0x00000004 /* warm reset MPEG-TS */ 97 #define AR2315_ARB_MPEGTS_RSVD 0x00000004 /* MPEG-TS */ 106 #define AR2315_CONFIG_AHB 0x00000001 /* EC-AHB bridge endian */ 108 #define AR2315_CONFIG_MPEGTS_RSVD 0x00000004 /* MPEG-TS byteswap */ 128 /* Revision Register - Initial value is 0x3010 (WMAC 3.0, AR231X 1.0). */ 172 #define AR2315_GISR_MPEGTS_RSVD 0x00000004 /* MPEG-TS */ 260 /* CPU CLK Control fields */ 266 /* AMBA CLK Control fields */ 303 * - No read or write buffers are included. [all …]
|
/openbmc/linux/drivers/clk/meson/ |
H A D | axg-aoclk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Amlogic Meson-AXG Clock Controller Driver 11 #include <linux/clk-provider.h> 13 #include <linux/reset-controller.h> 16 #include "meson-aoclk.h" 18 #include "clk-regmap.h" 19 #include "clk-dualdiv.h" 21 #include <dt-bindings/clock/axg-aoclkc.h> 22 #include <dt-bindings/reset/axg-aoclkc.h> 47 .fw_name = "mpeg-clk", \ [all …]
|
H A D | gxbb-aoclk.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 9 #include "meson-aoclk.h" 11 #include "clk-regmap.h" 12 #include "clk-dualdiv.h" 14 #include <dt-bindings/clock/gxbb-aoclkc.h> 15 #include <dt-bindings/reset/gxbb-aoclkc.h> 36 .fw_name = "mpeg-clk", \ 170 { .fw_name = "ext-32k-0", }, 171 { .fw_name = "ext-32k-1", }, 172 { .fw_name = "ext-32k-2", }, [all …]
|
H A D | g12a-aoclk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Amlogic Meson-AXG Clock Controller Driver 11 #include <linux/clk-provider.h> 13 #include <linux/reset-controller.h> 16 #include "meson-aoclk.h" 18 #include "clk-regmap.h" 19 #include "clk-dualdiv.h" 21 #include <dt-bindings/clock/g12a-aoclkc.h> 22 #include <dt-bindings/reset/g12a-aoclkc.h> 56 .fw_name = "mpeg-clk", \ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/clock/ |
H A D | amlogic,gxbb-aoclkc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Always-On Clock Controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 15 - items: 16 - enum: 17 - amlogic,meson-gxbb-aoclkc 18 - amlogic,meson-gxl-aoclkc [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | layout.h | 1 /* SPDX-License-Identifier: MIT */ 27 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_CLK , struct nvkm_clk , clk) 40 NVKM_LAYOUT_ONCE(NVKM_ENGINE_MPEG , struct nvkm_engine , mpeg)
|
/openbmc/linux/Documentation/devicetree/bindings/soc/amlogic/ |
H A D | amlogic,meson-gx-hhi-sysctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-hhi-sysctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Neil Armstrong <neil.armstrong@linaro.org> 15 - enum: 16 - amlogic,meson-gx-hhi-sysctrl 17 - amlogic,meson-gx-ao-sysctrl 18 - amlogic,meson-axg-hhi-sysctrl 19 - amlogic,meson-axg-ao-sysctrl [all …]
|
/openbmc/linux/drivers/staging/media/meson/vdec/ |
H A D | vdec_1.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * MPEG 1/2/4, H.263, H.264, MJPEG, VC1 11 #include <linux/clk.h> 29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() 30 struct device *dev = core->dev_dec; in vdec_1_load_firmware() 31 struct amvdec_codec_ops *codec_ops = sess->fmt_out->codec_ops; in vdec_1_load_firmware() 39 return -EINVAL; in vdec_1_load_firmware() 41 if (fw->size < MC_SIZE) { in vdec_1_load_firmware() 43 fw->size, MC_SIZE); in vdec_1_load_firmware() 44 ret = -EINVAL; in vdec_1_load_firmware() [all …]
|
/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | hantro.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd. 18 #include <linux/clk.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-ioctl.h> 24 #include <media/v4l2-mem2mem.h> 25 #include <media/videobuf2-core.h> 26 #include <media/videobuf2-dma-contig.h> 45 * struct hantro_irq - irq handler and name [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 60 /*------------------------------------------------------------------------------ 62 ------------------------------------------------------------------------------*/ 69 * \retval -EIO Initialization failed. 78 * \retval -EIO Termination failed. 98 * \retval -EIO Failure. 99 * \retval -EINVAL Parameter 'wcount' is not zero but parameter 133 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */ 134 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */ 135 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */ [all …]
|
H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 74 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 200 /*----------------------------------------------------------------------------- 202 ----------------------------------------------------------------------------*/ 204 /*----------------------------------------------------------------------------- 206 ----------------------------------------------------------------------------*/ 208 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 437 #define AUD_VOLUME_DB_MIN -60 [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | tda1997x_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* Page 0x00 - General Control */ 165 #define RT_MAN_CTRL_RT_B BIT(1) /* enable TMDS pull-up on Input B */ 166 #define RT_MAN_CTRL_RT_A BIT(0) /* enable TMDS pull-up on Input A */ 212 #define PCLK_DELAY_SHIFT 4 /* Pixel delay (-8..+7) */ 227 /* Page 0x01 - HDMI info and packets */ 247 /* Page 0x12 - HDMI Extra control and debug */ 272 /* CLK CFG */ 279 /* Page 0x13 - HDMI Extra control and debug */ 351 /* Page 0x14 - Audio Extra control and debug */ [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amlogic/ |
H A D | meson-gxbb.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include "meson-gx.dtsi" 7 #include "meson-gx-mali450.dtsi" 8 #include <dt-bindings/gpio/meson-gxbb-gpio.h> 9 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 10 #include <dt-bindings/clock/gxbb-clkc.h> 11 #include <dt-bindings/clock/gxbb-aoclkc.h> 12 #include <dt-bindings/reset/gxbb-aoclkc.h> 15 compatible = "amlogic,meson-gxbb"; 19 compatible = "amlogic,meson-gxbb-usb2-phy"; [all …]
|
H A D | meson-gxl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "meson-gx.dtsi" 8 #include <dt-bindings/clock/gxbb-clkc.h> 9 #include <dt-bindings/clock/gxbb-aoclkc.h> 10 #include <dt-bindings/gpio/meson-gxl-gpio.h> 11 #include <dt-bindings/reset/amlogic,meson-gxbb-reset.h> 14 compatible = "amlogic,meson-gxl"; 18 compatible = "amlogic,meson-gxl-usb-ctrl"; 21 #address-cells = <2>; 22 #size-cells = <2>; [all …]
|
H A D | meson-axg.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/axg-aoclkc.h> 7 #include <dt-bindings/clock/axg-audio-clkc.h> 8 #include <dt-bindings/clock/axg-clkc.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/gpio/meson-axg-gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h> 14 #include <dt-bindings/reset/amlogic,meson-axg-reset.h> [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 32 return core->base + HDMI_CORE_AV; in hdmi_av_base() 37 void __iomem *base = core->base; in hdmi4_core_ddc_init() 39 /* Turn on CLK for DDC */ in hdmi4_core_ddc_init() 50 return -ETIMEDOUT; in hdmi4_core_ddc_init() 54 /* Clk SCL Devices */ in hdmi4_core_ddc_init() 61 return -ETIMEDOUT; in hdmi4_core_ddc_init() 71 return -ETIMEDOUT; in hdmi4_core_ddc_init() 80 void __iomem *base = core->base; in hdmi4_core_ddc_read() [all …]
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | hdmi4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com/ 33 return core->base + HDMI_CORE_AV; in hdmi_av_base() 38 void __iomem *base = core->base; in hdmi_core_ddc_init() 40 /* Turn on CLK for DDC */ in hdmi_core_ddc_init() 51 return -ETIMEDOUT; in hdmi_core_ddc_init() 55 /* Clk SCL Devices */ in hdmi_core_ddc_init() 62 return -ETIMEDOUT; in hdmi_core_ddc_init() 72 return -ETIMEDOUT; in hdmi_core_ddc_init() 81 void __iomem *base = core->base; in hdmi_core_ddc_edid() [all …]
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org> 9 * - Multituner support 10 * - video_ioctl2 conversion 11 * - PAL/M fixes 29 #include <media/v4l2-common.h> 30 #include <media/v4l2-ioctl.h> 36 /* ------------------------------------------------------------------ */ 64 #define NO_SYNC_LINE (-1U) 91 offset -= sg_dma_len(sg); in cx88_risc_field() [all …]
|