/linux/Documentation/devicetree/bindings/thermal/ |
H A 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> 11 $ref: thermal-sensor.yaml# 16 - qcom,spmi-adc-tm5 17 - qcom,spmi-adc-tm5-gen2 18 - qcom,adc-tm7 # Incomplete / subject to change 26 "#thermal-sensor-cells": [all …]
|
H A 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> 11 $ref: thermal-sensor.yaml# 15 const: qcom,spmi-adc-tm-hc 23 "#thermal-sensor-cells": 26 "#address-cells": 29 "#size-cells": [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6125-sony-xperia-seine-pdx201.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */ 17 qcom,board-id = <34 0>; 21 chassis-type = "handset"; 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
H A D | sm7225-fairphone-fp4.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 15 #include <dt-bindings/firmware/qcom,scm.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 18 #include <dt-bindings/input/input.h> 19 #include <dt-bindings/leds/common.h> 20 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 21 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 22 #include <dt-bindings/usb/pd.h> [all …]
|
H A D | qcm6490-shift-otter.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 12 #include <dt-bindings/iio/qcom,spmi-adc7-pm7325.h> 13 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 14 #include <dt-bindings/leds/common.h> 15 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 16 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &rmtfs_mem; 28 chassis-type = "handset"; 36 #address-cells = <2>; [all …]
|
H A D | sm8250-mtp.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> 11 #include <dt-bindings/gpio/gpio.h> 20 compatible = "qcom,sm8250-mtp", "qcom,sm8250"; 21 chassis-type = "handset"; 27 wcd938x: audio-codec { 28 compatible = "qcom,wcd9380-codec"; [all …]
|
H A D | sm6125-xiaomi-laurel-sprout.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/input/gpio-keys.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 compatible = "xiaomi,laurel-sprout", "qcom,sm6125"; 18 chassis-type = "handset"; 21 qcom,msm-id = <394 0>; /* sm6125 v1 */ 22 qcom,board-id = <11 0>; [all …]
|
H A D | sdm845-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 compatible = "qcom,sdm845-mtp", "qcom,sdm845"; 18 chassis-type = "handset"; 25 stdout-path = "serial0:115200n8"; 28 vph_pwr: vph-pwr-regulator { 29 compatible = "regulator-fixed"; 30 regulator-name = "vph_pwr"; 31 regulator-min-microvolt = <3700000>; [all …]
|
H A D | sc8280xp-lenovo-thinkpad-x13s.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/iio/qcom,spmi-adc7-pm8350.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/gpio-keys.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 17 #include "sc8280xp-pmics.dtsi" 21 compatible = "lenovo,thinkpad-x13s", "qcom,sc8280xp"; [all …]
|
H A D | sc7180-trogdor-pompom.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include "sc7180-trogdor.dtsi" 9 #include "sc7180-trogdor-clamshell.dtsi" 10 #include "sc7180-trogdor-rt5682i-sku.dtsi" 11 #include "sc7180-trogdor-ti-sn65dsi86.dtsi" 14 thermal-zones { 15 5v-choke-thermal { 16 thermal-sensors = <&pm6150_adc_tm 1>; 19 5v-choke-crit { 30 realtek,dmic-clk-driving-high; [all …]
|
H A D | sc7180-acer-aspire1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/sound/qcom,q6asm.h> 7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 14 /delete-node/ &tz_mem; 15 /delete-node/ &ipa_fw_mem; 20 chassis-type = "laptop"; 30 stdout-path = "serial0:115200n8"; 33 reserved-memory { [all …]
|
H A 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/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 13 #include <dt-bindings/sound/sc7180-lpass.h> 16 #include "sc7180-firmware-tfa.dtsi" 22 thermal-zones { 23 charger_thermal: charger-thermal { [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | qcom,spmi-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/mfd/qcom,spmi-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SPMI PMICs multi-function device 13 16-bit SPMI peripheral address space into 256 smaller fixed-size regions, 256 bytes 14 each. A function can consume one or more of these fixed-size register regions. 24 - Stephen Boyd <sboyd@kernel.org> 29 - pattern: '^pmic@.*$' 30 - pattern: '^pm(a|s)?[0-9]*@.*$' [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2022-2023 Intel Corporation 34 * | may be shifted forward 1-3 extra lines via TRANSCONF 41 * ----va---> <-----------------vb--------------------> <--------va------------- 42 * | | <----vs-----> | 43 …* -vbs-----> <---vbs+1---> <---vbs+2---> <-----0-----> <-----1-----> <-----2--- (scanline counter … 44 …* -vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2---> <-----0--- (scanline counter … 45 …* -vbs-2---> <---vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2- (scanline counter … 60 * - most events happen at the start of horizontal sync 61 * - frame start happens at the start of horizontal blank, 1-4 lines [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | hw.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 11 #include "hw.h" 13 #include "wmi-ops.h" 557 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time() 560 wraparound_type = ar->hw_params.cc_wraparound_type; in ath10k_hw_fill_survey_time() 567 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time() 582 cc -= cc_prev - cc_fix; in ath10k_hw_fill_survey_time() 583 rcc -= rcc_prev - rcc_fix; in ath10k_hw_fill_survey_time() 585 survey->time = CCNT_TO_MSEC(ar, cc); in ath10k_hw_fill_survey_time() [all …]
|
/linux/drivers/scsi/ |
H A D | aha1542.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for Adaptec AHA-1542 SCSI host adapters 38 /* time AHA spends on the AT-bus during data transfer */ 39 static int bus_on[MAXBOARDS] = { -1, -1, -1, -1 }; /* power-on default: 11us */ 41 MODULE_PARM_DESC(bus_on, "bus on time [us] (2-15, default=-1 [HW default: 11])"); 43 /* time AHA spends off the bus (not to monopolize it) during data transfer */ 44 static int bus_off[MAXBOARDS] = { -1, -1, -1, -1 }; /* power-on default: 4us */ 46 MODULE_PARM_DESC(bus_off, "bus off time [us] (1-64, default=-1 [HW default: 4])"); 49 static int dma_speed[MAXBOARDS] = { -1, -1, -1, -1 }; 51 MODULE_PARM_DESC(dma_speed, "DMA speed [MB/s] (5,6,7,8,10, default=-1 [by jumper])"); [all …]
|
/linux/drivers/iio/adc/ |
H A D | qcom-spmi-iadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. 83 #define IADC_DEF_HW_SETTLE_TIME 0 /* 0 us */ 94 * struct iadc_chip - IADC Current ADC device structure. 122 ret = regmap_read(iadc->regmap, iadc->base + offset, &val); in iadc_read() 132 return regmap_write(iadc->regmap, iadc->base + offset, data); in iadc_write() 191 dev_err(iadc->dev, in iadc_status_show() 218 /* HW settle time delay */ in iadc_configure() 235 if (!iadc->poll_eoc) in iadc_configure() 236 reinit_completion(&iadc->complete); in iadc_configure() [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-powkiddy-rk2023.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 13 chassis-type = "handset"; 21 adc-joystick { 22 compatible = "adc-joystick"; [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_reset.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2008-2018 Intel Corporation 41 struct drm_i915_file_private *file_priv = ctx->file_priv; in client_mark_guilty() 52 prev_hang = xchg(&file_priv->hang_timestamp, jiffies); in client_mark_guilty() 57 atomic_add(score, &file_priv->ban_score); in client_mark_guilty() 59 drm_dbg(&ctx->i915->drm, in client_mark_guilty() 61 ctx->name, score, in client_mark_guilty() 62 atomic_read(&file_priv->ban_score)); in client_mark_guilty() 73 if (intel_context_is_closed(rq->context)) in mark_guilty() 77 ctx = rcu_dereference(rq->context->gem_context); in mark_guilty() [all …]
|
/linux/drivers/ufs/host/ |
H A D | ufs-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2016, Linux Foundation. All rights reserved. 16 #include <linux/reset-controller.h> 17 #include <linux/time.h> 25 #include "ufshcd-pltfrm.h" 26 #include "ufs-qcom.h" 111 if (host->hba->caps & UFSHCD_CAP_CRYPTO) in ufs_qcom_ice_enable() 112 qcom_ice_enable(host->ice); in ufs_qcom_ice_enable() 117 struct ufs_hba *hba = host->hba; in ufs_qcom_ice_init() 118 struct device *dev = hba->dev; in ufs_qcom_ice_init() [all …]
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2010-2015 Freescale Semiconductor, Inc. 19 #include <linux/dma/mxs-dma.h> 20 #include "gpmi-nand.h" 21 #include "gpmi-regs.h" 22 #include "bch-regs.h" 25 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand" 29 /* Converts time to clock cycles */ 47 * SFTRST needs 3 GPMI clocks to settle, the reference manual in clear_poll_bit() 48 * recommends to wait 1us. in clear_poll_bit() [all …]
|
/linux/drivers/memory/tegra/ |
H A D | tegra124-emc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/clk-provider.h> 15 #include <linux/interconnect-provider.h> 284 /* Maximum amount of time in us. to wait for changes to become effective */ 512 /* protect shared rate-change code path */ 521 writel(value, emc->regs + EMC_CCFIFO_DATA); in emc_ccfifo_writel() 522 writel(offset, emc->regs + EMC_CCFIFO_ADDR); in emc_ccfifo_writel() 530 writel(1, emc->regs + EMC_TIMING_CONTROL); in emc_seq_update_timing() 533 value = readl(emc->regs + EMC_STATUS); in emc_seq_update_timing() 539 dev_err(emc->dev, "timing update timed out\n"); in emc_seq_update_timing() [all …]
|
/linux/net/ipv4/ |
H A D | ipconfig.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Automatic Configuration of IP -- use DHCP, BOOTP, RARP, or 4 * user-supplied information to configure own IP address and routes. 6 * Copyright (C) 1996-1998 Martin Mares <mj@atrey.karlin.mff.cuni.cz> 12 * of misusing the IP layer. num_bugs_causing_wrong_arp_replies--; 13 * -- MJ, December 1998 17 * - Arnaldo Carvalho de Melo <acme@conectiva.com.br>, 08/11/1999 21 * -- Chip Salzenberg <chip@valinux.com>, May 2000 23 * Ported DHCP support from 2.2.16 to 2.4.0-test4 24 * -- Eric Biederman <ebiederman@lnxi.com>, 30 Aug 2000 [all …]
|
/linux/drivers/tty/serial/ |
H A D | sunzilog.c | 1 // SPDX-License-Identifier: GPL-2.0 48 /* On 32-bit sparcs we need to delay after register accesses 50 * On 64-bit sparc we only need to flush single writes to ensure 61 readb(&((__channel)->control)) 105 #define ZILOG_CHANNEL_FROM_PORT(PORT) ((struct zilog_channel __iomem *)((PORT)->membase)) 108 #define ZS_IS_KEYB(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_KEYB) 109 #define ZS_IS_MOUSE(UP) ((UP)->flags & SUNZILOG_FLAG_CONS_MOUSE) 110 #define ZS_IS_CONS(UP) ((UP)->flags & SUNZILOG_FLAG_IS_CONS) 111 #define ZS_IS_KGDB(UP) ((UP)->flags & SUNZILOG_FLAG_IS_KGDB) 112 #define ZS_WANTS_MODEM_STATUS(UP) ((UP)->flags & SUNZILOG_FLAG_MODEM_STATUS) [all …]
|
/linux/drivers/hid/ |
H A D | hid-ntrig.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HID driver for N-Trig touchscreens 5 * Copyright (c) 2008-2010 Rafi Rubin 6 * Copyright (c) 2009-2010 Stephane Chatty 19 #include "hid-ids.h" 111 struct hid_report *report = hdev->report_enum[HID_FEATURE_REPORT]. in ntrig_get_mode() 114 if (!report || report->maxfield < 1 || in ntrig_get_mode() 115 report->field[0]->report_count < 1) in ntrig_get_mode() 116 return -EINVAL; in ntrig_get_mode() 120 return (int)report->field[0]->value[0]; in ntrig_get_mode() [all …]
|