/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A 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> 18 - $ref: dai-common.yaml# 23 - rockchip,px30-i2s-tdm 24 - rockchip,rk1808-i2s-tdm 25 - rockchip,rk3308-i2s-tdm 26 - rockchip,rk3568-i2s-tdm [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A 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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | es8326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // es8326.c -- es8326 ALSA SoC audio driver 6 // Authors: David Yang <yangxiaohua@everest-semi.com> 17 #include <sound/soc-dapm.h> 22 struct clk *mclk; member 48 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9550, 50, 0); 49 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9550, 50, 0); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_target_tlv, -3200, 200, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(drc_recovery_tlv, -125, 250, 0); 188 u32 mclk; member [all …]
|
H A D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 48 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 241 if (priv->tdm_mode) in cs35l34_sdin_event() 242 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 245 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 248 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 254 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|
H A D | rt5659.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5659.c -- RT5659/RT5658 ALSA SoC audio codec driver 25 #include <sound/soc-dapm.h> 1136 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -2325, 75, 0); 1137 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 1138 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -65625, 375, 0); 1139 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 1140 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -17625, 375, 0); 1142 static const DECLARE_TLV_DB_SCALE(in_bst_tlv, -1200, 75, 0); 1249 * rt5659_headset_detect - Detect headset. [all …]
|
H A 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 …]
|
H A 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. 41 { 4, 0x0018 }, /* R4 - Bias Control 0 */ 42 { 5, 0x0000 }, /* R5 - VMID Control 0 */ 43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */ 44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */ 45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */ [all …]
|
H A 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 …]
|
H A D | rt1011.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * rt1011.c -- rt1011 ALSA SoC amplifier component driver 25 #include <sound/soc-dapm.h> 683 regmap_multi_reg_write(rt1011->regmap, in rt1011_reg_init() 1042 ucontrol->value.integer.value[0] = rt1011->recv_spk_mode; in rt1011_recv_spk_mode_get() 1055 if (ucontrol->value.integer.value[0] == rt1011->recv_spk_mode) in rt1011_recv_spk_mode_put() 1059 rt1011->recv_spk_mode = ucontrol->value.integer.value[0]; in rt1011_recv_spk_mode_put() 1061 if (rt1011->recv_spk_mode) { in rt1011_recv_spk_mode_put() 1119 (struct rt1011_bq_drc_params *)ucontrol->value.integer.value; in rt1011_bq_drc_coeff_get() 1122 if (strstr(ucontrol->id.name, "AdvanceMode Initial Set")) in rt1011_bq_drc_coeff_get() [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A 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. 23 #include "sdhci-cqhci.h" 24 #include "sdhci-pltfm.h" 123 #define INVALID_TUNING_PHASE -1 140 /* Max load for eMMC Vdd-io supply */ 146 /* Max load for SD Vdd-io supply */ 150 msm_host->var_ops->msm_readl_relaxed(host, offset) 153 msm_host->var_ops->msm_writel_relaxed(val, host, offset) [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/ |
H A D | amdgpu_pm.c | 33 #include <linux/hwmon-sysfs.h> 68 * - battery 70 * - balanced 72 * - performance 104 return -EPERM; in amdgpu_get_power_dpm_state() 105 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state() 106 return -EPERM; in amdgpu_get_power_dpm_state() 108 ret = pm_runtime_get_sync(ddev->dev); in amdgpu_get_power_dpm_state() 110 pm_runtime_put_autosuspend(ddev->dev); in amdgpu_get_power_dpm_state() 116 pm_runtime_mark_last_busy(ddev->dev); in amdgpu_get_power_dpm_state() [all …]
|
/openbmc/linux/drivers/gpu/drm/ast/ |
H A D | ast_post.c | 14 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 67 /* ast_set_index_reg-mask(ast, AST_IO_CRTC_PORT, 0xa1, 0xff, 0x3); */ in ast_set_def_ext_reg() 107 #define CBR_SIZE_AST2150 ((16 << 10) - 1) 161 #if 0 /* unused in DDX driver - here for completeness */ 232 if (dll_max[0] == 0 || (dll_max[0]-dll_min[0]) < CBR_THRESHOLD_AST2150) in cbrdlli_ast2150() 235 dlli = dll_min[0] + (((dll_max[0] - dll_min[0]) * 7) >> 4); in cbrdlli_ast2150() 261 if (ast->chip == AST2100 || ast->chip == AST2200) in ast_init_dram_reg() 279 while (dram_reg_info->index != 0xffff) { in ast_init_dram_reg() 280 if (dram_reg_info->index == 0xff00) {/* delay fn */ in ast_init_dram_reg() 282 udelay(dram_reg_info->data); in ast_init_dram_reg() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | amdgpu_smu.h | 215 SMU_PPT_LIMIT_MIN = -1, 571 * struct pptable_funcs - Callbacks used to interact with the SMU. 575 * @run_btc: Calibrate voltage/frequency curve to fit the system's 750 * Optimize deep sleep DCEFclk and mclk for the current display 1096 * @set_xgmi_pstate: Set inter-chip global memory interconnect pstate. 1111 * 0 - GFXOFF(default). 1112 * 1 - Transition out of GFX State. 1113 * 2 - Not in GFXOFF. 1114 * 3 - Transition into GFXOFF. 1120 * query since system power-up [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | vega20_hwmgr.c | 65 (struct vega20_hwmgr *)(hwmgr->backend); in vega20_set_default_registry_data() 67 data->gfxclk_average_alpha = PPVEGA20_VEGA20GFXCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 68 data->socclk_average_alpha = PPVEGA20_VEGA20SOCCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 69 data->uclk_average_alpha = PPVEGA20_VEGA20UCLKCLKAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 70 data->gfx_activity_average_alpha = PPVEGA20_VEGA20GFXACTIVITYAVERAGEALPHA_DFLT; in vega20_set_default_registry_data() 71 data->lowest_uclk_reserved_for_ulv = PPVEGA20_VEGA20LOWESTUCLKRESERVEDFORULV_DFLT; in vega20_set_default_registry_data() 73 data->display_voltage_mode = PPVEGA20_VEGA20DISPLAYVOLTAGEMODE_DFLT; in vega20_set_default_registry_data() 74 data->dcef_clk_quad_eqn_a = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() 75 data->dcef_clk_quad_eqn_b = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() 76 data->dcef_clk_quad_eqn_c = PPREGKEY_VEGA20QUADRATICEQUATION_DFLT; in vega20_set_default_registry_data() [all …]
|