| /linux/Documentation/devicetree/bindings/iio/frequency/ |
| H A D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 31 '#clock-cells': 34 clock-output-names: [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-record.txt | 1 perf-record(1) 5 ---- 6 perf-record - Run a command and record its profile into perf.data 9 -------- 11 'perf record' [-e <EVENT> | --event=EVENT] [-a] <command> 12 'perf record' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>] 15 ----------- 17 from it, into perf.data - without displaying anything. 23 ------- 27 -e:: [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | mt6357.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 17 static void set_playback_gpio(struct mt6357_priv *priv, bool enable) in set_playback_gpio() argument 19 regmap_write(priv->regmap, MT6357_GPIO_MODE2_CLR, MT6357_GPIO_MODE2_CLEAR_ALL); in set_playback_gpio() 20 if (enable) { in set_playback_gpio() 22 regmap_write(priv->regmap, MT6357_GPIO_MODE2_SET, in set_playback_gpio() 32 regmap_update_bits(priv->regmap, MT6357_GPIO_DIR0, in set_playback_gpio() 44 static void set_capture_gpio(struct mt6357_priv *priv, bool enable) in set_capture_gpio() argument 46 regmap_write(priv->regmap, MT6357_GPIO_MODE3_CLR, MT6357_GPIO_MODE3_CLEAR_ALL); in set_capture_gpio() 47 if (enable) { in set_capture_gpio() [all …]
|
| H A D | ak4535.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ak4535.c -- AK4535 ALSA Soc Audio driver 65 static const char *ak4535_mono_gain[] = {"+6dB", "-17dB"}; 66 static const char *ak4535_mono_out[] = {"(L + R)/2", "Hi-Z"}; 81 SOC_ENUM("Mono 1 Output", ak4535_enum[1]), 83 SOC_ENUM("Headphone Output", ak4535_enum[2]), 97 SOC_SINGLE("AUX Bypass Volume", AK4535_VOL, 0, 15, 0), 111 SOC_DAPM_SINGLE("Aux Bypass Switch", AK4535_SIG2, 5, 1, 0), 117 SOC_DAPM_SINGLE("Aux Capture Switch", AK4535_MIC, 5, 1, 0), 154 SND_SOC_DAPM_SWITCH("Mono 2 Enable", SND_SOC_NOPM, 0, 0, [all …]
|
| H A D | da7213.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 34 /* -54dB */ 35 0x0, 0x11, TLV_DB_SCALE_ITEM(-5400, 0, 0), 36 /* -52.5dB to 15dB */ 37 0x12, 0x3f, TLV_DB_SCALE_ITEM(-5250, 150, 0) 42 /* -78dB to 12dB */ 43 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0) 52 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0); 53 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0); 54 static const DECLARE_TLV_DB_SCALE(eq_gain_tlv, -1050, 150, 0); [all …]
|
| H A D | ak4641.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ak4641.c -- AK4641 ALSA Soc Audio driver 77 if (ak4641->deemph && deemph_settings[i] != 0 && in ak4641_set_deemph() 78 abs(deemph_settings[i] - ak4641->playback_fs) < in ak4641_set_deemph() 79 abs(deemph_settings[best] - ak4641->playback_fs)) in ak4641_set_deemph() 82 if (!ak4641->deemph && deemph_settings[i] == 0) in ak4641_set_deemph() 86 dev_dbg(component->dev, "Set deemphasis %d\n", best); in ak4641_set_deemph() 96 int deemph = ucontrol->value.integer.value[0]; in ak4641_put_deemph() 99 return -EINVAL; in ak4641_put_deemph() 101 ak4641->deemph = deemph; in ak4641_put_deemph() [all …]
|
| H A D | cs42l73.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l73.c -- CS42L73 ALSA Soc Audio driver 26 #include <sound/soc-dapm.h> 54 { 6, 0xF1 }, /* r06 - Power Ctl 1 */ 55 { 7, 0xDF }, /* r07 - Power Ctl 2 */ 56 { 8, 0x3F }, /* r08 - Power Ctl 3 */ 57 { 9, 0x50 }, /* r09 - Charge Pump Freq */ 58 { 10, 0x53 }, /* r0A - Output Load MicBias Short Detect */ 59 { 11, 0x00 }, /* r0B - DMIC Master Clock Ctl */ 60 { 12, 0x00 }, /* r0C - Aux PCM Ctl */ [all …]
|
| H A D | wm8974.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8974.c -- WM8974 ALSA Soc Audio driver 5 * Copyright 2006-2009 Wolfson Microelectronics PLC. 55 static const char *wm8974_companding[] = {"Off", "NC", "u-law", "A-law" }; 91 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 92 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 93 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 94 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); 103 SOC_ENUM("Playback De-emphasis", wm8974_enum[2]), 141 SOC_SINGLE("ALC Enable Switch", WM8974_ALC1, 8, 1, 0), [all …]
|
| H A D | wm8940.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8940.c -- WM8940 ALSA Soc Audio driver 147 { 0x31, 0x0002 }, /* Output Control */ 155 static const char *wm8940_companding[] = { "Off", "NC", "u-law", "A-law" }; 173 static DECLARE_TLV_DB_SCALE(wm8940_spk_vol_tlv, -5700, 100, 1); 174 static DECLARE_TLV_DB_SCALE(wm8940_att_tlv, -1000, 1000, 0); 175 static DECLARE_TLV_DB_SCALE(wm8940_pga_vol_tlv, -1200, 75, 0); 176 static DECLARE_TLV_DB_SCALE(wm8940_alc_min_tlv, -1200, 600, 0); 178 static DECLARE_TLV_DB_SCALE(wm8940_alc_tar_tlv, -2250, 50, 0); 180 static DECLARE_TLV_DB_SCALE(wm8940_lim_thresh_tlv, -600, 100, 0); [all …]
|
| /linux/drivers/media/platform/st/sti/delta/ |
| H A D | delta-mjpeg-fw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 45 * used for enabling main/aux outputs for both display & 49 /* enable decimated (for display) reconstruction */ 51 /* enable main (for display) reconstruction */ 53 /* enable both main & decimated (for display) reconstruction */ 55 /* enable only reference output(ex. for trick modes) */ 58 * enable reference output with decimated 63 * enable reference output with main 68 * enable reference output with main & decimated 78 /* Advanced H/2 resize using improved 8-tap filters */ [all …]
|
| /linux/sound/mips/ |
| H A D | ad1843.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2003 Vivien Chappelier <vivien.chappelier@linux-mips.org> 35 ad1843_PDNO = { 0, 14, 1 }, /* Converter Power-Down Flag */ 38 ad1843_RMGE = { 2, 4, 1 }, /* Right ADC Mic Gain Enable */ 41 ad1843_LMGE = { 2, 12, 1 }, /* Left ADC Mic Gain Enable */ 47 ad1843_RX1M = { 4, 0, 5 }, /* Right Aux 1 Mix Gain/Atten */ 48 ad1843_RX1MM = { 4, 7, 1 }, /* Right Aux 1 Mix Mute */ 49 ad1843_LX1M = { 4, 8, 5 }, /* Left Aux 1 Mix Gain/Atten */ 50 ad1843_LX1MM = { 4, 15, 1 }, /* Left Aux 1 Mix Mute */ 51 ad1843_RX2M = { 5, 0, 5 }, /* Right Aux 2 Mix Gain/Atten */ [all …]
|
| /linux/sound/pci/oxygen/ |
| H A D | xonar_dg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * ------------ 18 * SPI 0 -> CS4245 21 * I²S 1 -> CS4245 22 * I²S 2 -> CS4361 (center/LFE) 23 * I²S 3 -> CS4361 (surround) 24 * I²S 4 -> CS4361 (front) 26 * I²S ADC 1 <- CS4245 28 * GPIO 3 <- ? 29 * GPIO 4 <- headphone detect [all …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | tc358767.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * TC358767/TC358867/TC9595 DSI/DPI-to-DPI/(e)DP bridge driver 6 * All modes are supported -- DPI->(e)DP / DSI->DPI / DSI->(e)DP . 27 #include <linux/media-bus-format.h> 44 /* DSI D-PHY Layer registers */ 77 #define DSI_STARTDSI 0x0204 /* START control bit of DSI-TX */ 82 /* Lane enable PPI and DSI register bits */ 110 #define SUB_CFG_TYPE_CONFIG3 (2 << 2) /* LSB aligned 8-bit */ 115 /* Display Parallel Output Interface */ 151 #define SYSRSTENB 0x050c /* System Reset/Enable Register */ [all …]
|
| H A D | ti-sn65dsi86.c | 1 // SPDX-License-Identifier: GPL-2.0 134 * struct ti_sn65dsi86 - Platform data for ti-sn65dsi86 driver. 135 * @bridge_aux: AUX-bus sub device for MIPI-to-eDP bridge functionality. 136 * @gpio_aux: AUX-bus sub device for GPIO controller functionality. 137 * @aux_aux: AUX-bus sub device for eDP AUX channel functionality. 138 * @pwm_aux: AUX-bus sub device for PWM controller functionality. 142 * @aux: Our aux channel. 149 * @enable_gpio: The GPIO we toggle to enable the bridge. 153 * @ln_polrs: Value for the 4-bit LN_POLRS field of SN_ENH_FRAME_REG. 154 * @comms_enabled: If true then communication over the aux channel is enabled. [all …]
|
| /linux/Documentation/gpu/ |
| H A D | zynqmp.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 This subsystem handles DisplayPort video and audio output on the ZynqMP. It 8 supports in-memory framebuffers with the DisplayPort DMA controller 9 (xilinx-dpdma), as well as "live" video and audio from the programmable logic 15 ------- 18 though debugfs. The following files in /sys/kernel/debug/dri/X/DP-1/test/ 24 active/inactive will re-activate/re-deactivate test mode. When test 34 Enable/disable clock downspreading (spread-spectrum clocking) by 38 Enable/disable enhanced framing 41 Ignore AUX errors when set to 1. Writes to this file take effect [all …]
|
| /linux/include/linux/ |
| H A D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 47 #define WM97XX_COO 0x0800 /* enable coordinate mode */ 48 #define WM97XX_CTC 0x0400 /* enable continuous mode */ 61 #define WM97XX_SLEN 0x0008 /* slot read back enable */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 87 #define WM9705_PINV 0x0800 /* inverts sense of pen down output */ 88 #define WM9705_BSEN 0x0400 /* BUSY flag enable, pin47 is 1 when busy */ 89 #define WM9705_BINV 0x0200 /* invert BUSY (pin47) output */ 102 #define WM9713_CTC 0x0100 /* enable continuous mode */ [all …]
|
| /linux/drivers/gpu/drm/mediatek/ |
| H A D | mtk_dp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2019-2022 MediaTek Inc. 18 #include <linux/arm-smccc.h> 23 #include <linux/media-bus-format.h> 24 #include <linux/nvmem-consumer.h> 33 #include <sound/hdmi-codec.h> 118 struct drm_dp_aux aux; member 402 .name = "mtk-dp-registers", 415 ret = regmap_read(mtk_dp->regs, offset, &read_val); in mtk_dp_read() 417 dev_err(mtk_dp->dev, "Failed to read register 0x%x: %d\n", in mtk_dp_read() [all …]
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * Enable Mask used to get corresponding virtual processor dispatch 30 * Event codes based on Dispatch Trace Log Enable Mask. 42 PMU_FORMAT_ATTR(event, "config:0-7"); 99 * Formula is: ((timbase from DTL entry - boot time) / frequency) 119 * Capture DTL data in AUX buffer 124 struct dtl_entry *aux_copy_buf = (struct dtl_entry *)buf->base; in vpa_dtl_capture_aux() 131 if (buf->head + *n_entries >= buf->threshold) { in vpa_dtl_capture_aux() 132 *n_entries = buf->threshold - buf->head; in vpa_dtl_capture_aux() 133 buf->full = 1; in vpa_dtl_capture_aux() [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | ti,sn65dsi86.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 23 enable-gpios: 27 suspend-gpios: 31 no-hpd: 37 vccio-supply: 40 vpll-supply: 43 vcca-supply: [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_helpers.c | 1 // SPDX-License-Identifier: MIT 54 return (u32)edid->mfg_id[0] << 24 | in edid_extract_panel_id() 55 (u32)edid->mfg_id[1] << 16 | in edid_extract_panel_id() 67 edid_caps->panel_patch.wait_after_dpcd_poweroff_ms = 10000; in apply_edid_quirks() 74 edid_caps->panel_patch.disable_fams = true; in apply_edid_quirks() 83 edid_caps->panel_patch.remove_sink_ext_caps = true; in apply_edid_quirks() 88 edid_caps->panel_patch.disable_colorimetry = true; in apply_edid_quirks() 96 * dm_helpers_parse_edid_caps() - Parse edid caps 109 struct amdgpu_dm_connector *aconnector = link->priv; in dm_helpers_parse_edid_caps() 110 struct drm_connector *connector = &aconnector->base; in dm_helpers_parse_edid_caps() [all …]
|
| /linux/sound/pci/ca0106/ |
| H A D | ca0106.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (c) 2004 James Courtier-Dutton <James@superbug.demon.co.uk> 21 * Fix AC3 output. 22 * Enable S32_LE format support. 24 …* Enable playback 48000 and 96000 rates. (Rates other that these do not work, even with "plug:f… 46 * Added I2C and SPI registers. Filled in interrupt enable. 50 * Implement support for Line-in capture on SB Live 24bit. 73 #define IPR_MIDI_RX_B 0x00020000 /* MIDI UART-B Receive buffer non-empty */ 74 #define IPR_MIDI_TX_B 0x00010000 /* MIDI UART-B Transmit buffer empty */ 76 #define IPR_SPDIF_OUT_USER 0x00002000 /* SPDIF output user data needs 16 more bits */ [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3588-edgeble-neu6a-io.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/soc/rockchip,vop2.h> 11 stdout-path = "serial2:1500000n8"; 14 hdmi1-con { 15 compatible = "hdmi-connector"; 20 remote-endpoint = <&hdmi1_out_con>; 26 pcie30_port0_refclk: pcie30_port1_refclk: pcie-oscillator { 27 compatible = "gated-fixed-clock"; 28 #clock-cells = <0>; [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8186-corsola-steelix.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "mt8186-corsola.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 pp1000_edpbrdg: regulator-pp1000-edpbrdg { 13 compatible = "regulator-fixed"; 14 regulator-name = "pp1000_edpbrdg"; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&en_pp1000_edpbrdg>; [all …]
|
| /linux/Documentation/devicetree/bindings/display/mediatek/ |
| H A D | mediatek,dp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 11 - Jitao shi <jitao.shi@mediatek.com> 17 In addition, We just need to enable the power domain of DP, so the clock 24 - mediatek,mt8188-dp-tx 25 - mediatek,mt8188-edp-tx 26 - mediatek,mt8195-dp-tx 27 - mediatek,mt8195-edp-tx [all …]
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | anx7625.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #include <media/v4l2-fwnode.h> 36 #include <sound/hdmi-codec.h> 50 struct device *dev = &client->dev; in i2c_access_workaround() 53 if (client == ctx->last_client) in i2c_access_workaround() 56 ctx->last_client = client; in i2c_access_workaround() 58 if (client == ctx->i2c.tcpc_client) in i2c_access_workaround() 60 else if (client == ctx->i2c.tx_p0_client) in i2c_access_workaround() 62 else if (client == ctx->i2c.tx_p1_client) in i2c_access_workaround() 64 else if (client == ctx->i2c.rx_p0_client) in i2c_access_workaround() [all …]
|