/Linux-v5.15/arch/arm64/boot/dts/qcom/ |
D | sm8250-mtp.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 24 stdout-path = "serial0:115200n8"; 27 thermal-zones { 28 camera-thermal { 29 polling-delay-passive = <0>; 30 polling-delay = <0>; 31 thermal-sensors = <&pm8150l_adc_tm 0>; [all …]
|
D | pm660.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/spmi/spmi.h> 10 #include <dt-bindings/thermal/thermal.h> 13 thermal-zones { 15 polling-delay-passive = <250>; 16 polling-delay = <1000>; 18 thermal-sensors = <&pm660_temp>; [all …]
|
D | pms405.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/spmi/spmi.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/iio/qcom,spmi-vadc.h> 7 #include <dt-bindings/thermal/thermal.h> 10 thermal-zones { 11 pms405-thermal { 12 polling-delay-passive = <250>; 13 polling-delay = <1000>; 15 thermal-sensors = <&pms405_temp>; [all …]
|
D | qrb5165-rb5.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 9 #include <dt-bindings/sound/qcom,q6afe.h> 10 #include <dt-bindings/sound/qcom,q6asm.h> 18 compatible = "qcom,qrb5165-rb5", "qcom,sm8250"; 26 stdout-path = "serial0:115200n8"; 31 compatible = "fixed-clock"; 32 #clock-cells = <0>; 33 clock-frequency = <40000000>; [all …]
|
D | sc7180-trogdor-coachz.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 #include "sc7180-trogdor.dtsi" 17 /delete-node/ &alc5682; 18 /delete-node/ &pp3300_codec; 21 /* BOARD-SPECIFIC TOP LEVEL NODES */ 23 adau7002: audio-codec-1 { 25 IOVDD-supply = <&pp1800_l15a>; 26 wakeup-delay-ms = <80>; 27 #sound-dai-cells = <0>; 30 thermal-zones { [all …]
|
D | sc7180-trogdor-pompom.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 13 #include "sc7180-trogdor.dtsi" 16 thermal-zones { 17 5v-choke-thermal { 18 polling-delay-passive = <0>; 19 polling-delay = <250>; 21 thermal-sensors = <&pm6150_adc_tm 1>; 24 5v-choke-crit { 35 realtek,dmic-clk-driving-high = "true"; 47 sustainable-power = <948>; [all …]
|
D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 12 #include <dt-bindings/sound/sc7180-lpass.h> 19 thermal-zones { 20 charger_thermal: charger-thermal { 21 polling-delay-passive = <0>; 22 polling-delay = <0>; [all …]
|
/Linux-v5.15/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 …]
|
/Linux-v5.15/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> 13 const: qcom,spmi-adc-tm5 21 "#thermal-sensor-cells": 27 "#address-cells": 30 "#size-cells": 33 qcom,avg-samples: [all …]
|
/Linux-v5.15/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. 111 * @hw_settle_time: the time between AMUX being configured and the 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() 170 return regmap_update_bits(adc->regmap, adc->base + offset, mask, val); in adc5_masked_write() [all …]
|
D | qcom-spmi-vadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2016, The Linux Foundation. All rights reserved. 10 #include <linux/iio/adc/qcom-vadc-common.h> 22 #include <dt-bindings/iio/qcom,spmi-vadc.h> 75 * struct vadc_channel_prop - VADC channel property. 80 * @hw_settle_time: the time between AMUX being configured and the 98 * struct vadc_priv - VADC private structure. 138 return regmap_bulk_read(vadc->regmap, vadc->base + offset, data, 1); in vadc_read() 143 return regmap_write(vadc->regmap, vadc->base + offset, data); in vadc_write() 202 dev_err(vadc->dev, in vadc_show_status() [all …]
|
D | qcom-spmi-iadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 95 * struct iadc_chip - IADC Current ADC device structure. 123 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() 133 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() 192 dev_err(iadc->dev, in iadc_status_show() 219 /* HW settle time delay */ in iadc_configure() 236 if (!iadc->poll_eoc) in iadc_configure() 237 reinit_completion(&iadc->complete); in iadc_configure() 269 return -ETIMEDOUT; in iadc_poll_wait_eoc() [all …]
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | intr.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 19 struct hfi1_devdata *dd = ppd->dd; in set_mgmt_allowed() 21 if (ppd->neighbor_type == NEIGHBOR_TYPE_HFI) { in set_mgmt_allowed() 22 ppd->mgmt_allowed = 1; in set_mgmt_allowed() 25 ppd->mgmt_allowed = (frame >> MGMT_ALLOWED_SHIFT) in set_mgmt_allowed() 33 * (0-based) pkey array position. Note that we should already have 39 struct hfi1_devdata *dd = ppd->dd; in add_full_mgmt_pkey() 41 /* Sanity check - ppd->pkeys[2] should be 0, or already initialized */ in add_full_mgmt_pkey() 42 if (!((ppd->pkeys[2] == 0) || (ppd->pkeys[2] == FULL_MGMT_P_KEY))) in add_full_mgmt_pkey() 44 __func__, ppd->pkeys[2], FULL_MGMT_P_KEY); in add_full_mgmt_pkey() [all …]
|
/Linux-v5.15/drivers/clk/samsung/ |
D | clk-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/clk-provider.h> 18 #include "clk-pll.h" 24 struct clk_hw hw; member 36 #define to_clk_pll(_hw) container_of(_hw, struct samsung_clk_pll, hw) 41 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_get_pll_settings() 44 for (i = 0; i < pll->rate_count; i++) { in samsung_get_pll_settings() 52 static long samsung_pll_round_rate(struct clk_hw *hw, in samsung_pll_round_rate() argument 55 struct samsung_clk_pll *pll = to_clk_pll(hw); in samsung_pll_round_rate() 56 const struct samsung_pll_rate_table *rate_table = pll->rate_table; in samsung_pll_round_rate() [all …]
|
/Linux-v5.15/drivers/misc/mei/ |
D | hw-txe.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2013-2020, Intel Corporation. All rights reserved. 18 #include "hw-txe.h" 22 #include "mei-trace.h" 27 * mei_txe_reg_read - Reads 32bit data from the txe device 41 * mei_txe_reg_write - Writes 32bit data to the txe device 54 * mei_txe_sec_reg_read_silent - Reads 32bit data from the SeC BAR 56 * @hw: the txe hardware structure 63 static inline u32 mei_txe_sec_reg_read_silent(struct mei_txe_hw *hw, in mei_txe_sec_reg_read_silent() argument 66 return mei_txe_reg_read(hw->mem_addr[SEC_BAR], offset); in mei_txe_sec_reg_read_silent() [all …]
|
/Linux-v5.15/drivers/thermal/qcom/ |
D | qcom-spmi-adc-tm5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 9 #include <linux/iio/adc/qcom-vadc-common.h> 96 * struct adc_tm5_channel - ADC Thermal Monitoring channel data. 101 * @hw_settle_time: the time between AMUX being configured and the 119 * struct adc_tm5_chip - ADC Thermal Monitoring properties 151 return regmap_bulk_read(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_read() 156 return regmap_bulk_write(adc_tm->regmap, adc_tm->base + offset, data, len); in adc_tm5_write() 161 return regmap_write_bits(adc_tm->regmap, adc_tm->base + offset, mask, val); in adc_tm5_reg_update() 172 dev_err(chip->dev, "read status low failed: %d\n", ret); in adc_tm5_isr() [all …]
|
/Linux-v5.15/include/linux/regulator/ |
D | driver.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * driver.h -- SoC Regulator driver support. 62 * struct regulator_ops - regulator operations. 75 * return -ENOTRECOVERABLE if regulator can't be read at 78 * regulator; return -ENOTRECOVERABLE if regulator can't 85 * @set_current_limit: Configure a limit for a current-limited regulator. 87 * @get_current_limit: Get the configured limit for a current-limited regulator. 94 * REGULATOR_SEVERITY_ERR should indicate that over-current situation is 95 * caused by an unrecoverable error but HW does not perform 115 * @get_status: Return actual (not as-configured) status of regulator, as a [all …]
|
/Linux-v5.15/drivers/staging/wlan-ng/ |
D | prism2sta.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) 7 * -------------------------------------------------------------------- 9 * linux-wlan 32 * -------------------------------------------------------------------- 34 * Inquiries regarding the linux-wlan Open Source project can be 38 * info@linux-wlan.com 39 * http://www.linux-wlan.com 41 * -------------------------------------------------------------------- 46 * -------------------------------------------------------------------- 51 * -------------------------------------------------------------------- [all …]
|
D | hfa384x_usb.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MPL-1.1) 7 * -------------------------------------------------------------------- 9 * linux-wlan 32 * -------------------------------------------------------------------- 34 * Inquiries regarding the linux-wlan Open Source project can be 38 * info@linux-wlan.com 39 * http://www.linux-wlan.com 41 * -------------------------------------------------------------------- 46 * -------------------------------------------------------------------- 52 * abstraction. The lowest level functions are simply C-callable wrappers [all …]
|
/Linux-v5.15/drivers/macintosh/ |
D | adb.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * - /sys/bus/adb to list the devices and infos 15 * - more /dev/adb to allow userland to receive the 16 * flow of auto-polling datas from a given device. 17 * - move bus probe to a kernel thread 106 * time adb_unregister returns, we know that the old handler isn't being 117 printk("adb reply (%d)", req->reply_len); 118 for(i = 0; i < req->reply_len; i++) 119 printk(" %x", req->reply[i]); 143 /* Note we reset noMovement to 0 each time we move a device */ in adb_scan_bus() [all …]
|
/Linux-v5.15/sound/drivers/ |
D | portman2x4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) by Levent Guendogdu <levon@feature-it.com> 9 * - cleanup and rewrite 11 * - source code cleanup 13 * - fixed compilation problem with alsa 1.0.6a (removed MODULE_CLASSES, 17 * - added 2.6 kernel support 19 …* - added parport_unregister_driver to the startup routine if the driver fails to detect a po… 20 * - added support for all 4 output ports in portman_putmidi 22 * - added checks for opened input device in interrupt handler 24 * - ported from alsa 0.5 to 1.0 [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
D | hw.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 10 #include "hw.h" 12 #include "wmi-ops.h" 555 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time() 558 wraparound_type = ar->hw_params.cc_wraparound_type; in ath10k_hw_fill_survey_time() 565 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time() 580 cc -= cc_prev - cc_fix; in ath10k_hw_fill_survey_time() 581 rcc -= rcc_prev - rcc_fix; in ath10k_hw_fill_survey_time() 583 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time() [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/ |
D | test_offload.py | 7 # June 1991 as shown in the file COPYING in the top-level directory of this 29 import time 50 log_level -= sub 113 stdout = stdout.decode("utf-8") 114 stderr = stderr.decode("utf-8") 119 if stderr[-1] == "\n": 120 stderr = stderr[:-1] 129 if len(stderr) > 0 and stderr[-1] == "\n": 130 stderr = stderr[:-1] 139 cmd("rm -f %s" % (f)) [all …]
|
/Linux-v5.15/drivers/mtd/nand/raw/gpmi-nand/ |
D | gpmi-nand.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2010-2015 Freescale Semiconductor, Inc. 18 #include <linux/dma/mxs-dma.h> 19 #include "gpmi-nand.h" 20 #include "gpmi-regs.h" 21 #include "bch-regs.h" 24 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand" 28 /* Converts time to clock cycles */ 46 * SFTRST needs 3 GPMI clocks to settle, the reference manual in clear_poll_bit() 52 while ((readl(addr) & mask) && --timeout) in clear_poll_bit() [all …]
|
/Linux-v5.15/include/scsi/ |
D | scsi_host.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/blk-mq.h> 38 * Additional per-command data allocated for the driver. 66 * For compatibility, any other non-zero return is treated the 70 * this device/host completes, or a period of time determined by 112 * When unknown ioctl is passed return -ENOIOCTLCMD. 125 * define one of these if you don't want to - there is a default 128 * own strategy routine, this is where it is specified. Note - the 157 * Return values: 0 on success, non-0 on failure 164 * time), you will then get a call to slave_destroy(). This is [all …]
|