/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-fm-rx.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _fm-rx-controls: 13 .. _fm-rx-control-id: 27 Gets RDS Programme Type field. This encodes up to 31 pre-defined 45 wishes to transmit longer PS names, programme-related information or 70 enum v4l2_deemphasis - 71 Configures the de-emphasis value for reception. A de-emphasis filter 75 values for de-emphasis. Here they are: 79 .. flat-table:: 80 :header-rows: 0 [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | pcm3008.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 31 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_dac_ev() 32 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_dac_ev() 34 gpio_set_value_cansleep(setup->pdda_pin, in pcm3008_dac_ev() 44 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in pcm3008_adc_ev() 45 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_adc_ev() 47 gpio_set_value_cansleep(setup->pdad_pin, in pcm3008_adc_ev() 80 .name = "pcm3008-hifi", 109 struct pcm3008_setup_data *setup = pdev->dev.platform_data; in pcm3008_codec_probe() 113 return -EINVAL; in pcm3008_codec_probe() [all …]
|
H A D | ad1836.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright 2009-2011 Analog Devices Inc. 38 * AD1836 volume/mute/de-emphasis etc. controls 99 /* ADC high-pass filter */ 103 /* DAC de-emphasis */ 141 return -EINVAL; in ad1836_set_dai_fmt() 148 return -EINVAL; in ad1836_set_dai_fmt() 156 return -EINVAL; in ad1836_set_dai_fmt() 166 struct ad1836_priv *ad1836 = snd_soc_component_get_drvdata(dai->component); in ad1836_hw_params() 182 return -EINVAL; in ad1836_hw_params() [all …]
|
H A D | ak4458.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <sound/soc-dapm.h> 86 * from -127 to 0 dB in 0.5 dB steps (mute instead of -127.5 dB) 88 static DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1); 103 * 0, 0, 0 : Sharp Roll-Off Filter 104 * 0, 0, 1 : Slow Roll-Off Filter 105 * 0, 1, 0 : Short delay Sharp Roll-Off Filter 106 * 0, 1, 1 : Short delay Slow Roll-Off Filter 107 * 1, *, * : Super Slow Roll-Off Filter 110 "Sharp Roll-Off Filter", [all …]
|
H A D | ad193x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 * AD193X volume/mute/de-emphasis etc. controls 37 static const DECLARE_TLV_DB_MINMAX(adau193x_tlv, -9563, 0); 67 /* DAC de-emphasis */ 78 /* ADC high-pass filter */ 105 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in ad193x_check_pll() 108 return !!ad193x->sysclk; in ad193x_check_pll() 131 switch (ad193x->type) { in ad193x_has_adc() 148 struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); in ad193x_mute() 151 regmap_update_bits(ad193x->regmap, AD193X_DAC_CTRL2, in ad193x_mute() [all …]
|
H A D | pcm1681.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 39 #define PCM1681_DEEMPH_CONTROL 0x0a /* De-emphasis control */ 87 int i, val = -1, enable = 0; in pcm1681_set_deemph() 89 if (priv->deemph) { in pcm1681_set_deemph() 91 if (pcm1681_deemph[i] == priv->rate) { in pcm1681_set_deemph() 98 if (val != -1) { in pcm1681_set_deemph() 99 regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL, in pcm1681_set_deemph() 107 return regmap_update_bits(priv->regmap, PCM1681_DEEMPH_CONTROL, in pcm1681_set_deemph() 117 ucontrol->value.integer.value[0] = priv->deemph; in pcm1681_get_deemph() 128 priv->deemph = ucontrol->value.integer.value[0]; in pcm1681_put_deemph() [all …]
|
H A D | cs4271.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * The data format accepted is I2S or left-justified. 132 * Default CS4271 power-up configuration 133 * Array contains non-existing in hw register at address 0 161 /* Current sample rate for de-emphasis control */ 177 SND_SOC_DAPM_OUTPUT("AOUTA-"), 179 SND_SOC_DAPM_OUTPUT("AOUTB-"), 187 { "AOUTA-", NULL, "Playback" }, 189 { "AOUTB-", NULL, "Playback" }, 200 struct snd_soc_component *component = codec_dai->component; in cs4271_set_dai_sysclk() [all …]
|
H A D | cs4349.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 42 /* (Digital Interface Format, De-Emphasis Control, Functional Mode */
|
H A D | ssm2602.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 81 #define APDIGI_DE_EMPHASIS 0x006 /* De-Emphasis Control … 107 #define SRATE_BOS_RATE 0x002 /* Base Over-Sampling rate …
|
/openbmc/linux/Documentation/devicetree/bindings/pci/ |
H A D | fsl,imx6q-pcie-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/fsl,imx6q-pcie-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lucas Stach <l.stach@pengutronix.de> 11 - Richard Zhu <hongxing.zhu@nxp.com> 22 clock-names: 26 num-lanes: 29 fsl,imx7d-pcie-phy: 31 description: A phandle to an fsl,imx7d-pcie-phy node. Additional [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | fsl,imx8-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8-pcie-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Richard Zhu <hongxing.zhu@nxp.com> 13 "#phy-cells": 18 - fsl,imx8mm-pcie-phy 19 - fsl,imx8mp-pcie-phy 27 clock-names: 29 - const: ref [all …]
|
H A D | fsl,imx8mq-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Li Jun <jun.li@nxp.com> 15 - fsl,imx8mq-usb-phy 16 - fsl,imx8mp-usb-phy 21 "#phy-cells": 27 clock-names: 29 - const: phy [all …]
|
H A D | microchip,sparx5-serdes.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/microchip,sparx5-serdes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steen Hegelund <steen.hegelund@microchip.com> 21 * Rx built-in fault detector (loss-of-lock/loss-of-signal) 22 * Adjustable tx de-emphasis (FFE) 31 The SERDES6G is a high-speed SERDES interface, which can operate at 34 * 100 Mbps (100BASE-FX) 35 * 1.25 Gbps (SGMII/1000BASE-X/1000BASE-KX) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | snps,dwc3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 be presented as a standalone DT node with an optional vendor-specific 18 - $ref: usb-drd.yaml# 19 - if: 25 - dr_mode 29 $ref: usb-xhci.yaml# 35 - const: snps,dwc3 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | uda1334.txt | 7 - compatible : "nxp,uda1334" 8 - nxp,mute-gpios: a GPIO spec for the MUTE pin. 9 - nxp,deemph-gpios: a GPIO spec for the De-emphasis pin 13 uda1334: audio-codec { 15 nxp,mute-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 16 nxp,deemph-gpios = <&gpio3 3 GPIO_ACTIVE_LOW>;
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | samsung_usb_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * samsung_usb_phy.c - DesignWare USB3 (DWC3) PHY handling file 12 #include <asm/arch/xhci-exynos.h> 19 writel(0x0, &phy->phy_reg0); in exynos5_usb3_phy_init() 21 clrbits_le32(&phy->phy_param0, in exynos5_usb3_phy_init() 24 /* Set Loss-of-Signal Detector sensitivity */ in exynos5_usb3_phy_init() 26 setbits_le32(&phy->phy_param0, PHYPARAM0_REF_LOSLEVEL); in exynos5_usb3_phy_init() 29 writel(0x0, &phy->phy_resume); in exynos5_usb3_phy_init() 35 setbits_le32(&phy->link_system, in exynos5_usb3_phy_init() 39 /* Set Tx De-Emphasis level */ in exynos5_usb3_phy_init() [all …]
|
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * core.h - DesignWare USB3 DRD Core Header 5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com 8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.h) and ported 378 * struct dwc3_event_buffer - Software event buffer representation 408 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1) 411 * struct dwc3_ep - device side endpoint representation 424 * @number: endpoint number (1 - 15) 428 * @name: a human readable name e.g. ep1out-bulk [all …]
|
/openbmc/linux/drivers/media/radio/wl128x/ |
H A D | fmdrv_common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 129 #define fm_cb(skb) ((struct fm_skb_cb *)(skb->cb)) 131 /* FM Channel-8 command message format */ 133 __u8 hdr; /* Logical Channel-8 */ 142 /* FM Channel-8 event messgage format */ 144 __u8 header; /* Logical Channel-8 */ 223 #define FM_RX_RSSI_THRESHOLD_MIN -128 231 /* FM RX De-emphasis filter modes */ 347 /* FM TX Pre-emphasis filter values */ 357 /* Functions exported by FM common sub-module */
|
H A D | fmdrv_rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * This sub-module of FM driver implements FM RX functionality. 17 fmdev->rx.rds.flag = FM_RDS_DISABLE; in fm_rx_reset_rds_cache() 18 fmdev->rx.rds.last_blk_idx = 0; in fm_rx_reset_rds_cache() 19 fmdev->rx.rds.wr_idx = 0; in fm_rx_reset_rds_cache() 20 fmdev->rx.rds.rd_idx = 0; in fm_rx_reset_rds_cache() 22 if (fmdev->rx.af_mode == FM_RX_RDS_AF_SWITCH_MODE_ON) in fm_rx_reset_rds_cache() 23 fmdev->irq_info.mask |= FM_LEV_EVENT; in fm_rx_reset_rds_cache() 28 fmdev->rx.stat_info.picode = FM_NO_PI_CODE; in fm_rx_reset_station_info() 29 fmdev->rx.stat_info.afcache_size = 0; in fm_rx_reset_station_info() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/scsi/ |
H A D | hisilicon-sas.txt | 6 - compatible : value should be as follows: 7 (a) "hisilicon,hip05-sas-v1" for v1 hw in hip05 chipset 8 (b) "hisilicon,hip06-sas-v2" for v2 hw in hip06 chipset 9 (c) "hisilicon,hip07-sas-v2" for v2 hw in hip07 chipset 10 - sas-addr : array of 8 bytes for host SAS address 11 - reg : Contains two regions. The first is the address and length of the SAS 15 - hisilicon,sas-syscon: phandle of syscon used for sas control 16 - ctrl-reset-reg : offset to controller reset register in ctrl reg 17 - ctrl-reset-sts-reg : offset to controller reset status register in ctrl reg 18 - ctrl-clock-ena-reg : offset to controller clock enable register in ctrl reg [all …]
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * core.h - DesignWare USB3 DRD Core Header 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 8 * Sebastian Andrzej Siewior <bigeasy@linutronix.de> 20 #include <linux/dma-mapping.h> 666 * struct dwc3_event_buffer - Software event buffer representation 700 * struct dwc3_ep - device side endpoint representation 713 * @number: endpoint number (1 - 15) 718 * @name: a human readable name e.g. ep1out-bulk 762 * anything larger than 256 - I can't see why people would want to do [all …]
|
/openbmc/linux/drivers/media/radio/si470x/ |
H A D | radio-si470x-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/media/radio/si470x/radio-si470x-common.c 8 * Copyright (c) 2012 Hans de Goede <hdegoede@redhat.com> 14 * 2008-01-12 Tobias Lorenz <tobias.lorenz@gmx.net> 16 * - First working version 17 * 2008-01-13 Tobias Lorenz <tobias.lorenz@gmx.net> 19 * - Improved error handling, every function now returns errno 20 * - Improved multi user access (start/mute/stop) 21 * - Channel doesn't get lost anymore after start/mute/stop 22 * - RDS support added (polling mode via interrupt EP 1) [all …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | xhci-exynos5.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 * This file is a conglomeration for DWC3-init sequence and further 12 * exynos5 specific PHY-init sequence. 24 #include <asm/arch/xhci-exynos.h> 56 const void *blob = gd->fdt_blob; in xhci_usb_ofdata_to_platdata() 63 plat->hcd_base = devfdt_get_addr(dev); in xhci_usb_ofdata_to_platdata() 64 if (plat->hcd_base == FDT_ADDR_T_NONE) { in xhci_usb_ofdata_to_platdata() 66 return -ENXIO; in xhci_usb_ofdata_to_platdata() 73 debug("XHCI: Can't get device node for usb3-phy controller\n"); in xhci_usb_ofdata_to_platdata() 74 return -ENODEV; in xhci_usb_ofdata_to_platdata() [all …]
|
/openbmc/linux/sound/i2c/other/ |
H A D | ak4xxx-adda.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2000-2004 Jaroslav Kysela <perex@perex.cz>, 7 * Takashi Iwai <tiwai@suse.de> 18 #include <sound/ak4xxx-adda.h> 21 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>"); 29 ak->ops.lock(ak, chip); in snd_akm4xxx_write() 30 ak->ops.write(ak, chip, reg, val); in snd_akm4xxx_write() 34 ak->ops.unlock(ak, chip); in snd_akm4xxx_write() 45 for (chip = 0; chip < ak->num_dacs/2; chip++) { in ak4524_reset() 50 for (reg = 0x04; reg < ak->total_regs; reg++) in ak4524_reset() [all …]
|
/openbmc/linux/drivers/phy/lantiq/ |
H A D | phy-lantiq-rcu-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2017 Hauke Mehrtens <hauke@hauke-m.de> 21 /* Transmitter HS Pre-Emphasis Enable */ 69 .compatible = "lantiq,ase-usb2-phy", 73 .compatible = "lantiq,danube-usb2-phy", 77 .compatible = "lantiq,xrx100-usb2-phy", 81 .compatible = "lantiq,xrx200-usb2-phy", 85 .compatible = "lantiq,xrx300-usb2-phy", 96 if (priv->reg_bits->have_ana_cfg) { in ltq_rcu_usb2_phy_init() 97 regmap_update_bits(priv->regmap, priv->ana_cfg1_reg_offset, in ltq_rcu_usb2_phy_init() [all …]
|