/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | rockchip,i2s-tdm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/rockchip,i2s-tdm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Nicolas Frattaroli <frattaroli.nicolas@gmail.com> 20 - rockchip,px30-i2s-tdm 21 - rockchip,rk1808-i2s-tdm 22 - rockchip,rk3308-i2s-tdm 23 - rockchip,rk3568-i2s-tdm 24 - rockchip,rv1126-i2s-tdm [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | rockchip,rk817.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chris Zhong <zyw@rock-chips.com> 11 - Zhang Qing <zhangqing@rock-chips.com> 21 - rockchip,rk817 29 '#clock-cells': 31 See <dt-bindings/clock/rockchip,rk808.h> for clock IDs. 35 clock-output-names: 39 rockchip,system-power-controller: [all …]
|
/Linux-v6.1/sound/soc/rockchip/ |
D | rockchip_i2s_tdm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // ALSA SoC Audio Layer - Rockchip I2S/TDM Controller driver 5 // Author: Sugar Zhang <sugar.zhang@rock-chips.com> 9 #include <linux/clk-provider.h> 25 #define DRV_NAME "rockchip-i2s-tdm" 30 #define CLK_PPM_MIN -1000 117 clk_disable_unprepare(i2s_tdm->mclk_tx); in i2s_tdm_disable_unprepare_mclk() 118 clk_disable_unprepare(i2s_tdm->mclk_rx); in i2s_tdm_disable_unprepare_mclk() 119 if (i2s_tdm->mclk_calibrate) { in i2s_tdm_disable_unprepare_mclk() 120 clk_disable_unprepare(i2s_tdm->mclk_tx_src); in i2s_tdm_disable_unprepare_mclk() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | rt5659.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver 26 #include <sound/soc-dapm.h> 1137 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0); 1138 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 1139 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 1140 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 1141 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 1143 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); 1250 * rt5659_headset_detect - Detect headset. [all …]
|
D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 29 #include <sound/soc-dapm.h> 50 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 237 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 243 if (priv->tdm_mode) in cs35l34_sdin_event() 244 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 247 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 250 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 256 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|
D | wm8904.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8904.c -- WM8904 ALSA SoC Audio driver 5 * Copyright 2009-12 Wolfson Microelectronics plc 48 struct clk *mclk; member 84 /* DC servo configuration - cached offset values */ 89 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 90 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 91 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 92 { 7, 0x0000 }, /* R7 - Mic Bias Control 1 */ 93 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ [all …]
|
D | wm8903.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8903.c -- WM8903 ALSA SoC Audio driver 5 * Copyright 2008-12 Wolfson Microelectronics 6 * Copyright 2011-2012 NVIDIA, Inc. 11 * - TDM mode configuration. 12 * - Digital microphone support. 42 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 43 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 44 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 45 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ [all …]
|
D | rt5663.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5663.c -- RT5663 ALSA SoC audio codec driver 24 #include <sound/soc-dapm.h> 1373 static const DECLARE_TLV_DB_SCALE(rt5663_hp_vol_tlv, -2400, 150, 0); 1374 static const DECLARE_TLV_DB_SCALE(rt5663_v2_hp_vol_tlv, -2250, 150, 0); 1375 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0); 1376 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0); 1405 /* reset in-line command */ in rt5663_enable_push_button_irq() 1412 switch (rt5663->codec_ver) { in rt5663_enable_push_button_irq() 1424 dev_err(component->dev, "Unknown CODEC Version\n"); in rt5663_enable_push_button_irq() [all …]
|
D | rt1011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * rt1011.c -- rt1011 ALSA SoC amplifier component driver 27 #include <sound/soc-dapm.h> 685 regmap_multi_reg_write(rt1011->regmap, in rt1011_reg_init() 1044 ucontrol->value.integer.value[0] = rt1011->recv_spk_mode; in rt1011_recv_spk_mode_get() 1057 if (ucontrol->value.integer.value[0] == rt1011->recv_spk_mode) in rt1011_recv_spk_mode_put() 1061 rt1011->recv_spk_mode = ucontrol->value.integer.value[0]; in rt1011_recv_spk_mode_put() 1063 if (rt1011->recv_spk_mode) { in rt1011_recv_spk_mode_put() 1121 (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; in rt1011_bq_drc_coeff_get() 1124 if (strstr(ucontrol->id.name, "AdvanceMode Initial Set")) in rt1011_bq_drc_coeff_get() [all …]
|
/Linux-v6.1/drivers/mmc/host/ |
D | sdhci-msm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/mmc/host/sdhci-msm.c - Qualcomm SDHCI Platform driver 5 * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. 22 #include "sdhci-pltfm.h" 121 #define INVALID_TUNING_PHASE -1 135 /* Max load for eMMC Vdd-io supply */ 139 msm_host->var_ops->msm_readl_relaxed(host, offset) 142 msm_host->var_ops->msm_writel_relaxed(val, host, offset) 296 return msm_host->offset; in sdhci_priv_msm_offset() 309 return readl_relaxed(msm_host->core_mem + offset); in sdhci_msm_mci_variant_readl_relaxed() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/ |
D | amdgpu_pm.c | 33 #include <linux/hwmon-sysfs.h> 104 * - battery 106 * - balanced 108 * - performance 140 return -EPERM; in amdgpu_get_power_dpm_state() 141 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state() 142 return -EPERM; in amdgpu_get_power_dpm_state() 144 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state() 146 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state() 152 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state() [all …]
|
/Linux-v6.1/drivers/gpu/drm/ast/ |
D | ast_post.c | 14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 74 struct pci_dev *pdev = to_pci_dev(dev->dev); in ast_set_def_ext_reg() 82 if (ast->chip == AST2300 || ast->chip == AST2400 || in ast_set_def_ext_reg() 83 ast->chip == AST2500) { in ast_set_def_ext_reg() 84 if (pdev->revision >= 0x20) in ast_set_def_ext_reg() 99 /* ast_set_index_reg-mask(ast, AST_IO_CRTC_PORT, 0xa1, 0xff, 0x3); */ in ast_set_def_ext_reg() 107 if (ast->chip == AST2300 || ast->chip == AST2400 || in ast_set_def_ext_reg() 108 ast->chip == AST2500) in ast_set_def_ext_reg() 140 #define CBR_SIZE_AST2150 ((16 << 10) - 1) 194 #if 0 /* unused in DDX driver - here for completeness */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/inc/ |
D | amdgpu_smu.h | 217 SMU_PPT_LIMIT_MIN = -1, 576 * struct pptable_funcs - Callbacks used to interact with the SMU. 580 * @run_btc: Calibrate voltage/frequency curve to fit the system's 743 * Optimize deep sleep DCEFclk and mclk for the current display 1092 * @set_xgmi_pstate: Set inter-chip global memory interconnect pstate. 1107 * 0 - GFXOFF(default). 1108 * 1 - Transition out of GFX State. 1109 * 2 - Not in GFXOFF. 1110 * 3 - Transition into GFXOFF. 1116 * query since system power-up [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | vega20_hwmgr.c | 66 (struct vega20_hwmgr *)(hwmgr->backend); in vega20_set_default_registry_data() 68 data->gfxclk_average_alpha = PPVEGA20_VEGA20GFXCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 69 data->socclk_average_alpha = PPVEGA20_VEGA20SOCCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 70 data->uclk_average_alpha = PPVEGA20_VEGA20UCLKCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 71 data->gfx_activity_average_alpha = PPVEGA20_VEGA20GFXACTIVITYAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 72 data->lowest_uclk_reserved_for_ulv = PPVEGA20_VEGA20LOWESTUCLKRESERVEDFORULV_DFLT; in vega20_set_default_registry_data() 74 data->display_voltage_mode = PPVEGA20_VEGA20DISPLAYVOLTAGEMODE_DFLT; in vega20_set_default_registry_data() 75 data->dcef_clk_quad_eqn_a = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() 76 data->dcef_clk_quad_eqn_b = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() 77 data->dcef_clk_quad_eqn_c = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() [all …]
|