| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | adi,adau7118.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf 19 - $ref: dai-common.yaml# 24 - adi,adau7118 29 "#sound-dai-cells": 32 iovdd-supply: 35 dvdd-supply: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | adi,adau7118.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Nuno Sá <nuno.sa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/ADAU7118.pdf 21 - adi,adau7118 26 "#sound-dai-cells": 29 iovdd-supply: 32 dvdd-supply: 35 adi,decimation-ratio: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | qcom-spmi-adc-tm5.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm5.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 14 - qcom,spmi-adc-tm5 15 - qcom,spmi-adc-tm5-gen2 16 - qcom,adc-tm7 # Incomplete / subject to change 24 "#thermal-sensor-cells": 30 "#address-cells": [all …]
|
| D | qcom-spmi-adc-tm-hc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 13 const: qcom,spmi-adc-tm-hc 21 "#thermal-sensor-cells": 27 "#address-cells": 30 "#size-cells": 33 qcom,avg-samples: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
| D | qcom,pm8xxx-xoadc.txt | 8 - compatible: should be one of: 9 "qcom,pm8018-adc" 10 "qcom,pm8038-adc" 11 "qcom,pm8058-adc" 12 "qcom,pm8921-adc" 14 - reg: should contain the ADC base address in the PMIC, typically 17 - xoadc-ref-supply: should reference a regulator that can supply 22 iio-bindings.txt for more details, but notice that this particular 26 - #address-cells: should be set to <2>, the first cell is the 33 - #size-cells: should be set to <0> [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | qcom,spmi-vadc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andy Gross <agross@kernel.org> 11 - Bjorn Andersson <bjorn.andersson@linaro.org> 15 voltage. The VADC is a 15-bit sigma-delta ADC. 17 voltage. The VADC is a 16-bit sigma-delta ADC. 22 - items: 23 - const: qcom,pms405-adc [all …]
|
| D | qcom,pm8018-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/qcom,pm8018-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 19 - qcom,pm8018-adc 20 - qcom,pm8038-adc 21 - qcom,pm8058-adc 22 - qcom,pm8921-adc 29 xoadc-ref-supply: [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
| D | sc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 struct device *dev = &sc->pdev->dev; in sc_dump_regs() 25 #define DUMPREG(r) dev_dbg(dev, "%-35s %08x\n", #r, \ in sc_dump_regs() 26 ioread32(sc->base + CFG_##r)) in sc_dump_regs() 28 dev_dbg(dev, "SC Registers @ %pa:\n", &sc->res->start); in sc_dump_regs() 58 * set the horizontal scaler coefficients according to the ratio of output to 59 * input widths, after accounting for up to two levels of decimation 74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs() 76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs() 84 idx = HS_LT_9_16_SCALE + sixteenths - 8; in sc_set_hs_coeffs() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/ti/vpe/ |
| D | sc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 struct device *dev = &sc->pdev->dev; in sc_dump_regs() 25 #define DUMPREG(r) dev_dbg(dev, "%-35s %08x\n", #r, \ in sc_dump_regs() 26 ioread32(sc->base + CFG_##r)) in sc_dump_regs() 28 dev_dbg(dev, "SC Registers @ %pa:\n", &sc->res->start); in sc_dump_regs() 58 * set the horizontal scaler coefficients according to the ratio of output to 59 * input widths, after accounting for up to two levels of decimation 74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs() 76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs() 84 idx = HS_LT_9_16_SCALE + sixteenths - 8; in sc_set_hs_coeffs() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | qcom-vadc-common.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 /* Max ADC code represents full-scale range of 1.8V */ 32 /* Default decimation - 1024 for rev2, 840 for pmic5 */ 45 #define PMI_CHG_SCALE_1 -138890 55 #define DIE_TEMP_ADC7_SCALE_1 -60000 61 * struct vadc_map_pt - Map the graph representation for ADC channel 82 * struct vadc_linear_graph - Represent ADC characteristics. 97 * struct vadc_prescale_ratio - Represent scaling ratio for ADC input. 107 * enum vadc_scale_fn_type - Scaling function to convert ADC code to 154 unsigned int *decimation; member
|
| D | qcom-spmi-adc5.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <dt-bindings/iio/qcom,spmi-vadc.h> 22 #include "qcom-vadc-common.h" 73 * Conversion time varies based on the decimation, clock rate, fast average 103 * struct adc5_channel_prop - ADC channel property. 107 * @decimation: sampling rate supported for the channel. 122 unsigned int decimation; member 132 * struct adc5_chip - ADC private structure. 171 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read() 176 return regmap_bulk_write(adc->regmap, adc->base + offset, data, len); in adc5_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 94 * SSPP sub-blocks/features 101 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion 104 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control 134 * MIXER sub-blocks/features 136 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration 150 * DSPP sub-blocks 161 * PINGPONG sub-blocks 179 * CTL sub-blocks [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | qcom-spmi-adc5.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/iio/adc/qcom-vadc-common.h> 23 #include <dt-bindings/iio/qcom,spmi-vadc.h> 74 * Conversion time varies based on the decimation, clock rate, fast average 104 * struct adc5_channel_prop - ADC channel property. 108 * @decimation: sampling rate supported for the channel. 123 unsigned int decimation; member 133 * struct adc5_chip - ADC private structure. 160 return regmap_bulk_read(adc->regmap, adc->base + offset, data, len); in adc5_read() 165 return regmap_bulk_write(adc->regmap, adc->base + offset, data, len); in adc5_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
| D | binary.c | 1 // SPDX-License-Identifier: GPL-2.0 55 if (info->enable.dvs_envelope) { in ia_css_binary_dvs_env() 57 binary_dvs_env->width = max(dvs_env->width, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 58 binary_dvs_env->height = max(dvs_env->height, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 72 bool binary_supports_yuv_ds = info->enable.ds & 2; in ia_css_binary_internal_res() 81 isp_tmp_internal_width = in_info->res.width in ia_css_binary_internal_res() 82 + info->pipeline.left_cropping + binary_dvs_env.width; in ia_css_binary_internal_res() 83 isp_tmp_internal_height = in_info->res.height in ia_css_binary_internal_res() 84 + info->pipeline.top_cropping + binary_dvs_env.height; in ia_css_binary_internal_res() 89 (bds_out_info->res.width >= out_info->res.width)) { in ia_css_binary_internal_res() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/runtime/binary/src/ |
| D | binary.c | 1 // SPDX-License-Identifier: GPL-2.0 57 if (info->enable.dvs_envelope) { in ia_css_binary_dvs_env() 59 binary_dvs_env->width = max(dvs_env->width, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 60 binary_dvs_env->height = max(dvs_env->height, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env() 74 bool binary_supports_yuv_ds = info->enable.ds & 2; in ia_css_binary_internal_res() 83 isp_tmp_internal_width = in_info->res.width in ia_css_binary_internal_res() 84 + info->pipeline.left_cropping + binary_dvs_env.width; in ia_css_binary_internal_res() 85 isp_tmp_internal_height = in_info->res.height in ia_css_binary_internal_res() 86 + info->pipeline.top_cropping + binary_dvs_env.height; in ia_css_binary_internal_res() 91 (bds_out_info->res.width >= out_info->res.width)) { in ia_css_binary_internal_res() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_catalog.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved. 4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved. 52 * SSPP sub-blocks/features 59 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion 62 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control 94 * MIXER sub-blocks/features 96 * @DPU_MIXER_SOURCESPLIT Layer mixer supports source-split configuration 112 * DSPP sub-blocks 121 * PINGPONG sub-blocks [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/zoran/ |
| D | zr36060.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 44 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_read() 47 if (ptr->codec->master_data->readreg) in zr36060_read() 48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read() 50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read() 57 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36060_write() 62 if (ptr->codec->master_data->writereg) in zr36060_write() 63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write() 65 zrdev_err(zr, "%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36060_write() 77 ptr->status = zr36060_read(ptr, ZR060_CFSR); in zr36060_read_status() [all …]
|
| D | zr36050.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 43 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_read() 47 if (ptr->codec->master_data->readreg) in zr36050_read() 48 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xFF; in zr36050_read() 50 zrdev_err(zr, "%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36050_read() 52 zrdev_dbg(zr, "%s: reading from 0x%04x: %02x\n", ptr->name, reg, value); in zr36050_read() 59 struct zoran *zr = videocodec_to_zoran(ptr->codec); in zr36050_write() 61 zrdev_dbg(zr, "%s: writing 0x%02x to 0x%04x\n", ptr->name, value, reg); in zr36050_write() 64 if (ptr->codec->master_data->writereg) in zr36050_write() 65 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/zoran/ |
| D | zr36060.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 MODULE_PARM_DESC(debug, "Debug level (0-4)"); 59 if (ptr->codec->master_data->readreg) in zr36060_read() 60 value = (ptr->codec->master_data->readreg(ptr->codec, reg)) & 0xff; in zr36060_read() 62 pr_err("%s: invalid I/O setup, nothing read!\n", ptr->name); in zr36060_read() 72 if (ptr->codec->master_data->writereg) in zr36060_write() 73 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write() 75 pr_err("%s: invalid I/O setup, nothing written!\n", ptr->name); in zr36060_write() 87 ptr->status = zr36060_read(ptr, ZR060_CFSR); in zr36060_read_status() 90 return ptr->status; in zr36060_read_status() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
| D | cx24110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx24110 - Single Chip Satellite Channel Receiver driver module 5 Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> based on 74 /* leave front-end AGC parameters at default values */ 75 /* leave decimation AGC parameters at default values */ 82 {0x41,0x00}, /* @ MSB of front-end derotator frequency */ 90 {0x61,0x95}, /* GPIO pins 1-4 have special function */ 106 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; in cx24110_writereg() 109 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { in cx24110_writereg() 112 return -EREMOTEIO; in cx24110_writereg() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
| D | cx24110.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx24110 - Single Chip Satellite Channel Receiver driver module 5 Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> based on 74 /* leave front-end AGC parameters at default values */ 75 /* leave decimation AGC parameters at default values */ 82 {0x41,0x00}, /* @ MSB of front-end derotator frequency */ 90 {0x61,0x95}, /* GPIO pins 1-4 have special function */ 106 struct i2c_msg msg = { .addr = state->config->demod_address, .flags = 0, .buf = buf, .len = 2 }; in cx24110_writereg() 109 if ((err = i2c_transfer(state->i2c, &msg, 1)) != 1) { in cx24110_writereg() 112 return -EREMOTEIO; in cx24110_writereg() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | adau7118.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver 128 snd_soc_component_get_drvdata(dai->component); in adau7118_set_channel_map() 131 dev_dbg(st->dev, "Set channel map, %d", tx_num); in adau7118_set_channel_map() 134 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_channel_map() 148 snd_soc_component_get_drvdata(dai->component); in adau7118_set_fmt() 152 dev_dbg(st->dev, "Set format, fmt:%d\n", fmt); in adau7118_set_fmt() 156 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_fmt() 162 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_fmt() 168 st->right_j = true; in adau7118_set_fmt() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | adau7118.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Analog Devices ADAU7118 8 channel PDM-to-I2S/TDM Converter driver 128 snd_soc_component_get_drvdata(dai->component); in adau7118_set_channel_map() 131 dev_dbg(st->dev, "Set channel map, %d", tx_num); in adau7118_set_channel_map() 134 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_channel_map() 148 snd_soc_component_get_drvdata(dai->component); in adau7118_set_fmt() 152 dev_dbg(st->dev, "Set format, fmt:%d\n", fmt); in adau7118_set_fmt() 156 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_fmt() 162 ret = snd_soc_component_update_bits(dai->component, in adau7118_set_fmt() 168 st->right_j = true; in adau7118_set_fmt() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | bt819.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * bt819 - BT819A VideoStream Decoder (Rockwell Part) 12 * - moved over to linux>=2.4.x i2c protocol (9/9/2002) 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-ctrls.h> 29 MODULE_DESCRIPTION("Brooktree-819 video decoder driver"); 35 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 38 /* ----------------------------------------------------------------------- */ 57 return &container_of(ctrl->handler, struct bt819, hdl)->sd; in to_sd() 71 {864 - 24, 20, 625 - 2, 1, 0x0504, 0x0000}, [all …]
|