Home
last modified time | relevance | path

Searched +full:- +full:32000 (Results 1 – 25 of 513) sorted by relevance

12345678910>>...21

/linux/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c1 // 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/drivers/media/pci/cx18/
H A Dcx18-av-audio.c1 // 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/sound/soc/mediatek/mt8186/
H A Dmt8186-afe-control.c1 // 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()
H A Dmt8186-dai-src.c1 // 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/sound/soc/mediatek/mt8192/
H A Dmt8192-afe-control.c1 // 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/drivers/thermal/ti-soc-thermal/
H A Domap3-thermal-data.c1 // 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/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi_common.c1 // 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/drivers/video/fbdev/omap2/omapfb/dss/
H A Dhdmi_common.c1 // 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/tools/testing/selftests/hid/tests/
H A Dtest_sony.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
44 for x in range(-32000, 32000, 4000):
52 # to inverse calibration, followed by calibration by hid-sony.
53 assert x - 1 <= value <= x + 1
55 for y in range(-32000, 32000, 4000):
62 assert y - 1 <= value <= y + 1
64 for z in range(-32000, 32000, 4000):
71 assert z - 1 <= value <= z + 1
77 for rx in range(-2000000, 2000000, 200000):
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Drohm,bd99954.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
11 - Markus Laine <markus.laine@fi.rohmeurope.com>
12 - Mikko Mutanen <mikko.mutanen@fi.rohmeurope.com>
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/sound/soc/mediatek/common/
H A Dmtk-dai-adda-common.c1 // 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/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_lib_spectrum.sh2 # 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/sound/soc/codecs/
H A Dwm8731.c1 // 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 …]
H A Drt5631.c1 // 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 …]
H A Dcs4265.c1 // 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/include/uapi/linux/
H A Dsem.h1 /* 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/drivers/gpu/drm/bridge/adv7511/
H A Dadv7511_audio.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <sound/hdmi-codec.h>
21 case 32000: in adv7511_calc_cts_n()
42 adv7511_calc_cts_n(adv7511->f_tmds, adv7511->f_audio, &cts, &n); in adv7511_update_cts_n()
44 regmap_write(adv7511->regmap, ADV7511_REG_N0, (n >> 16) & 0xf); in adv7511_update_cts_n()
45 regmap_write(adv7511->regmap, ADV7511_REG_N1, (n >> 8) & 0xff); in adv7511_update_cts_n()
46 regmap_write(adv7511->regmap, ADV7511_REG_N2, n & 0xff); in adv7511_update_cts_n()
48 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL0, in adv7511_update_cts_n()
50 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL1, in adv7511_update_cts_n()
52 regmap_write(adv7511->regmap, ADV7511_REG_CTS_MANUAL2, in adv7511_update_cts_n()
[all …]
/linux/Documentation/iio/
H A Dadxl380.rst1 .. 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/drivers/iio/imu/
H A Dadis16480.c1 // 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 …]
/linux/sound/firewire/fireface/
H A Dff-protocol-latter.c1 // 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/drivers/rtc/
H A Drtc-stmp3xxx.c1 // 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/tools/testing/selftests/net/packetdrill/
H A Dtcp_close_close-on-syn-sent.pkt1 // SPDX-License-Identifier: GPL-2.0
10 +0 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress)
17 // Receive syn-ack to trigger the send side packet examination:
20 +.1 < S. 0:0(0) ack 1 win 32000 <mss 1460,nop,wscale 7>
/linux/arch/arm64/boot/dts/apple/
H A Dt7001.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR MIT
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/apple-aic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/pinctrl/apple.h>
15 interrupt-parent = <&aic>;
16 #address-cells = <2>;
17 #size-cells = <2>;
23 clkref: clock-ref {
24 compatible = "fixed-clock";
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Dam57-pruss.dtsi1 // 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 …]
/linux/include/linux/
H A Dext2_fs.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 * Laboratoire MASI - Institut Blaise Pascal
28 #define EXT2_LINK_MAX 32000

12345678910>>...21