/linux-6.14.4/drivers/media/i2c/cx25840/ |
D | cx25840-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <media/v4l2-common.h> 9 #include <media/drv-intf/cx25840.h> 11 #include "cx25840-core.h" 35 if (state->aud_input != CX25840_AUDIO_SERIAL) { in cx25840_set_audclk_freq() 37 case 32000: in cx25840_set_audclk_freq() 47 * 432 MHz pre-postdivide in cx25840_set_audclk_freq() 52 * 28636363 * 0x6.dd9cf70/0x10 = 32000 * 384 in cx25840_set_audclk_freq() 53 * 196.6 MHz pre-postdivide in cx25840_set_audclk_freq() 69 /* 0x1.f77f = (4 * 28636360/8 * 2/455) / 32000 */ in cx25840_set_audclk_freq() [all …]
|
/linux-6.14.4/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-audio.c 11 #include "cx18-driver.h" 15 struct cx18_av_state *state = &cx->av_state; in set_audclk_freq() 17 if (freq != 32000 && freq != 44100 && freq != 48000) in set_audclk_freq() 18 return -EINVAL; in set_audclk_freq() 31 * the NTSC Standards", Proceedings of the I-R-E, January 1954, pp 79-80 in set_audclk_freq() 34 * NTSC Standards", Proceedings of the I-R-E, January 1954, pp 81-83 in set_audclk_freq() 56 if (state->aud_input > CX18_AV_AUDIO_SERIAL2) { in set_audclk_freq() 58 case 32000: in set_audclk_freq() [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8186/ |
D | mt8186-afe-control.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "mt8186-afe-common.h" 90 case 32000: in mt8186_general_rate_transform() 133 case 32000: in tdm_rate_transform() 172 case 32000: in pcm_rate_transform() 199 case 32000: in mt8186_tdm_relatch_rate_transform() 239 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mt8186_dai_set_priv() 242 temp_data = devm_kzalloc(afe->dev, in mt8186_dai_set_priv() 246 return -ENOMEM; in mt8186_dai_set_priv() 251 afe_priv->dai_priv[id] = temp_data; in mt8186_dai_set_priv()
|
D | mt8186-dai-src.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "mt8186-afe-common.h" 10 #include "mt8186-interconnection.h" 114 case 32000: in mtk_get_src_freq_mode() 129 dev_err(afe->dev, "%s(), rate %d invalid!!!\n", in mtk_get_src_freq_mode() 139 if (rate_in == 32000 && rate_out == 16000) { in get_iir_coeff() 145 } else if (rate_in == 44100 && rate_out == 32000) { in get_iir_coeff() 149 (rate_in == 96000 && rate_out == 32000)) { in get_iir_coeff() 152 } else if (rate_in == 48000 && rate_out == 32000) { in get_iir_coeff() 173 struct mt8186_afe_private *afe_priv = afe->platform_priv; in mtk_set_src_1_param() [all …]
|
/linux-6.14.4/sound/soc/mediatek/mt8192/ |
D | mt8192-afe-control.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "mt8192-afe-common.h" 60 case 32000: in mt8192_general_rate_transform() 96 case 32000: in dai_memif_rate_transform() 116 case 32000: in pcm_rate_transform() 146 struct mt8192_afe_private *afe_priv = afe->platform_priv; in mt8192_dai_set_priv() 149 temp_data = devm_kzalloc(afe->dev, in mt8192_dai_set_priv() 153 return -ENOMEM; in mt8192_dai_set_priv() 158 afe_priv->dai_priv[id] = temp_data; in mt8192_dai_set_priv()
|
/linux-6.14.4/drivers/thermal/ti-soc-thermal/ |
D | omap3-thermal-data.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2012 Texas Instruments Inc. 21 #include "ti-thermal.h" 22 #include "ti-bandgap.h" 50 -40000, -40000, -40000, -40000, -40000, -39000, -38000, -36000, 51 -34000, -32000, -31000, -29000, -28000, -26000, -25000, -24000, 52 -22000, -21000, -19000, -18000, -17000, -15000, -14000, -12000, 53 -11000, -9000, -8000, -7000, -5000, -4000, -2000, -1000, 0000, 56 28000, 30000, 31000, 32000, 34000, 35000, 37000, 38000, 39000, 118 -40000, -40000, -40000, -40000, -40000, -40000, -40000, -40000, [all …]
|
/linux-6.14.4/drivers/video/fbdev/omap2/omapfb/dss/ |
D | hdmi_common.c | 1 // SPDX-License-Identifier: GPL-2.0 23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of() 24 return -EINVAL; in hdmi_parse_lanes_of() 30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of() 36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of() 44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of() 58 return -EINVAL; in hdmi_compute_acr() 65 * specification) yields to an non-integer CTS. Hence, we in hdmi_compute_acr() 70 case 32000: in hdmi_compute_acr() 89 return -EINVAL; in hdmi_compute_acr() [all …]
|
/linux-6.14.4/drivers/gpu/drm/omapdrm/dss/ |
D | hdmi_common.c | 1 // SPDX-License-Identifier: GPL-2.0 23 dev_err(&pdev->dev, "bad number of lanes\n"); in hdmi_parse_lanes_of() 24 return -EINVAL; in hdmi_parse_lanes_of() 30 dev_err(&pdev->dev, "failed to read lane data\n"); in hdmi_parse_lanes_of() 36 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of() 44 dev_err(&pdev->dev, "failed to parse lane data\n"); in hdmi_parse_lanes_of() 58 return -EINVAL; in hdmi_compute_acr() 65 * specification) yields to an non-integer CTS. Hence, we in hdmi_compute_acr() 70 case 32000: in hdmi_compute_acr() 89 return -EINVAL; in hdmi_compute_acr() [all …]
|
/linux-6.14.4/tools/testing/selftests/hid/tests/ |
D | test_sony.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 43 for x in range(-32000, 32000, 4000): 51 # to inverse calibration, followed by calibration by hid-sony. 52 assert x - 1 <= value <= x + 1 54 for y in range(-32000, 32000, 4000): 61 assert y - 1 <= value <= y + 1 63 for z in range(-32000, 32000, 4000): 70 assert z - 1 <= value <= z + 1 76 for rx in range(-2000000, 2000000, 200000): [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/ |
D | rohm,bd99954.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <[email protected]> 11 - Markus Laine <[email protected]> 12 - Mikko Mutanen <[email protected]> 15 The ROHM BD99954 is a Battery Management LSI for 1-4 cell Lithium-Ion 16 secondary battery intended to be used in space-constraint equipment such 18 provides a Dual-source Battery Charger, two port BC1.2 detection and a 21 $ref: power-supply.yaml# [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | cs43130.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 362 CS43130_XTAL_UNUSED = -1, 384 { 22579200, 32000, .v = { 10, 441, }, }, 393 { 24576000, 32000, .v = { 1, 48, }, }, 406 { 22579200, 32000, .v = { 20, 441, }, }, 415 { 24576000, 32000, .v = { 1, 24, }, }, 428 { 22579200, 32000, .v = { 100, 147, }, }, 437 { 24576000, 32000, .v = { 1, 16, }, }, 450 { 22579200, 32000, .v = { 40, 441, }, }, 458 { 24576000, 32000, .v = { 1, 12, }, },
|
D | wm8731.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8731.c -- WM8731 ALSA SoC Audio driver 6 * Copyright 2006-12 Wolfson Microelectronics, plc 66 static int wm8731_deemph[] = { 0, 32000, 44100, 48000 }; 76 if (wm8731->deemph) { in wm8731_set_deemph() 79 if (abs(wm8731_deemph[i] - wm8731->playback_fs) < in wm8731_set_deemph() 80 abs(wm8731_deemph[best] - wm8731->playback_fs)) in wm8731_set_deemph() 90 dev_dbg(component->dev, "Set deemphasis %d (%dHz)\n", in wm8731_set_deemph() 102 ucontrol->value.integer.value[0] = wm8731->deemph; in wm8731_get_deemph() 112 unsigned int deemph = ucontrol->value.integer.value[0]; in wm8731_put_deemph() [all …]
|
D | rt5631.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5631.c -- RT5631 ALSA Soc Audio driver 22 #include <sound/soc-dapm.h> 68 * rt5631_write_index - write index register of 2nd layer 78 * rt5631_read_index - read index register of 2nd layer 169 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 170 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -95625, 375, 0); 171 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 189 ucontrol->value.integer.value[0] = rt5631->dmic_used_flag; in rt5631_dmic_get() 200 rt5631->dmic_used_flag = ucontrol->value.integer.value[0]; in rt5631_dmic_put() [all …]
|
D | cs4265.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs4265.c -- CS4265 ALSA SoC audio driver 25 #include <sound/soc-dapm.h> 76 static DECLARE_TLV_DB_SCALE(pga_tlv, -1200, 50, 0); 78 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 0); 136 SOC_SINGLE("De-emp 44.1kHz Switch", CS4265_DAC_CTL, 1, 176 SND_SOC_DAPM_PGA("Pre-amp MIC", CS4265_PWRCTL, 3, 219 {"Pre-amp MIC", NULL, "MICL"}, 220 {"Pre-amp MIC", NULL, "MICR"}, 221 {"ADC Mux", "MIC", "Pre-amp MIC"}, [all …]
|
/linux-6.14.4/sound/soc/mediatek/common/ |
D | mtk-dai-adda-common.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "mtk-base-afe.h" 14 #include "mtk-dai-adda-common.h" 31 case 32000: in mtk_adda_dl_rate_transform() 42 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in mtk_adda_dl_rate_transform() 56 case 32000: in mtk_adda_ul_rate_transform() 65 dev_info(afe->dev, "%s(), rate %d invalid, use 48kHz!!!\n", in mtk_adda_ul_rate_transform()
|
/linux-6.14.4/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
D | devlink_lib_spectrum.sh | 2 # SPDX-License-Identifier: GPL-2.0 10 declare -A KVD_DEFAULTS 41 if [ "$size" -ne "$current_size" ]; then 52 if [ "$size" -ne "$current_size" ]; then 58 if [ "$need_reload" -ne "0" ]; then 90 devlink_resource_size_set 32000 kvd linear chunks 99 devlink_resource_size_set 32000 kvd linear chunks
|
/linux-6.14.4/include/uapi/linux/ |
D | sem.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 80 #define SEMMNI 32000 /* <= IPCMNI max # of semaphore identifiers */ 81 #define SEMMSL 32000 /* <= INT_MAX max num of semaphores per id */
|
/linux-6.14.4/sound/pci/echoaudio/ |
D | echoaudio_3g.c | 3 Copyright Echo Digital Audio Corporation (c) 1998 - 2004 21 Foundation, Inc., 59 Temple Place - Suite 330, Boston, 22 MA 02111-1307, USA. 26 Translation from C++ and adaptation for use in ALSA-Driver 41 return -EIO; in check_asic_status() 43 chip->comm_page->ext_box_status = cpu_to_le32(E3G_ASIC_NOT_LOADED); in check_asic_status() 44 chip->asic_loaded = false; in check_asic_status() 49 chip->dsp_code = NULL; in check_asic_status() 50 return -EIO; in check_asic_status() 53 box_status = le32_to_cpu(chip->comm_page->ext_box_status); in check_asic_status() [all …]
|
/linux-6.14.4/Documentation/iio/ |
D | adxl380.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 The ADXL380/ADXL382 is a low noise density, low power, 3-axis accelerometer with 37 +---------------------------------------------------+----------------------------------------------… 38 | 3-Axis Accelerometer related device files | Description … 39 +---------------------------------------------------+----------------------------------------------… 41 +---------------------------------------------------+----------------------------------------------… 43 +---------------------------------------------------+----------------------------------------------… 45 +---------------------------------------------------+----------------------------------------------… 47 +---------------------------------------------------+----------------------------------------------… 49 +---------------------------------------------------+----------------------------------------------… [all …]
|
/linux-6.14.4/drivers/iio/imu/ |
D | adis16480.c | 1 // SPDX-License-Identifier: GPL-2.0-only 116 ADIS16480_REG((page) + 1, (x) - 60 + 8)) 199 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_revision() 205 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision() 224 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_date() 230 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_Y, &year); in adis16480_show_firmware_date() 234 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_DM, &md); in adis16480_show_firmware_date() 238 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", in adis16480_show_firmware_date() 257 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_SERIAL_NUM, in adis16480_show_serial_number() 275 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_PROD_ID, in adis16480_show_product_id() [all …]
|
D | adis16475.c | 1 // SPDX-License-Identifier: GPL-2.0 171 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision() 177 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision() 197 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date() 203 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date() 207 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date() 211 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date() 230 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number() 247 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id() 264 ret = adis_read_reg_32(&st->adis, ADIS16475_REG_FLASH_CNT, in adis16475_show_flash_count() [all …]
|
/linux-6.14.4/sound/firewire/fireface/ |
D | ff-protocol-latter.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // ff-protocol-latter.c - a part of driver for RME Fireface series 42 // 0x0f000000: detected rate of ADAT-B on 2nd optical interface 43 // 0x00f00000: detected rate of ADAT-A on 1st optical interface 48 // 0x00000800: ADAT-B 49 // 0x00000600: ADAT-A 52 // 0x00000080: Synchronized to ADAT-B on 2nd optical interface 53 // 0x00000040: Synchronized to ADAT-A on 1st optical interface 56 // 0x00000008: Lock ADAT-B on 2nd optical interface 57 // 0x00000004: Lock ADAT-A on 1st optical interface [all …]
|
/linux-6.14.4/drivers/rtc/ |
D | rtc-stmp3xxx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 64 * stmp3xxx_wdt_set_timeout - configure the watchdog inside the STMP3xxx RTC 82 writel(timeout, rtc_data->io + STMP3XXX_RTC_WATCHDOG); in stmp3xxx_wdt_set_timeout() 84 rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_SET); in stmp3xxx_wdt_set_timeout() 86 rtc_data->io + STMP3XXX_RTC_PERSISTENT1 + STMP_OFFSET_REG_SET); in stmp3xxx_wdt_set_timeout() 89 rtc_data->io + STMP3XXX_RTC_CTRL + STMP_OFFSET_REG_CLR); in stmp3xxx_wdt_set_timeout() 91 rtc_data->io + STMP3XXX_RTC_PERSISTENT1 + STMP_OFFSET_REG_CLR); in stmp3xxx_wdt_set_timeout() 101 int rc = -1; in stmp3xxx_wdt_register() 103 platform_device_alloc("stmp3xxx_rtc_wdt", rtc_pdev->id); in stmp3xxx_wdt_register() 106 wdt_pdev->dev.parent = &rtc_pdev->dev; in stmp3xxx_wdt_register() [all …]
|
/linux-6.14.4/sound/soc/fsl/ |
D | imx-card.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright 2017-2021 NXP 14 #include <sound/soc-dapm.h> 55 * struct imx_card_plat_data - specific info for codecs 89 * struct dai_link_data - specific info for dai link 104 * struct imx_card_data - platform device data 128 { .rmin = 32000, .rmax = 32000, .wmin = 256, .wmax = 1024, }, 143 * Table 13 - Audio Interface Format 154 * Table 7 - mapping multiplier and speed mode 155 * Tables 8 & 9 - mapping speed mode and LRCK fs [all …]
|
/linux-6.14.4/arch/arm/boot/dts/ti/omap/ |
D | am57-pruss.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 9 pruss1_tm: target-module@4b226000 { 10 compatible = "ti,sysc-pruss", "ti,sysc"; 13 reg-names = "rev", "sysc"; 14 ti,sysc-mask = <(SYSC_PRUSS_STANDBY_INIT | 16 ti,sysc-midle = <SYSC_IDLE_FORCE>, 19 ti,sysc-sidle = <SYSC_IDLE_FORCE>, 24 clock-names = "fck"; 25 #address-cells = <1>; [all …]
|