| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/regulator/ |
| D | maxim,max8973.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 30 maxim,dvs-gpio: 35 maxim,dvs-default-state: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/ |
| D | max8973-regulator.txt | 5 - compatible: must be one of following: 8 - reg: the i2c slave address of the regulator. It should be 0x1b. 15 -maxim,externally-enable: boolean, externally control the regulator output 16 enable/disable. 17 -maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided 18 then externally enable control will be considered. 19 -maxim,dvs-gpio: GPIO which is connected to DVS pin of device. 20 -maxim,dvs-default-state: Default state of GPIO during initialisation. 22 -maxim,enable-remote-sense: boolean, enable reote sense. 23 -maxim,enable-falling-slew-rate: boolean, enable falling slew rate. [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi/ |
| D | gaudi_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2018 HabanaLabs, Ltd. 381 dev_err(hdev->dev, in gaudi_coresight_timeout() 384 return -EFAULT; in gaudi_coresight_timeout() 398 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in gaudi_config_stm() 399 dev_err(hdev->dev, "Invalid register index in STM\n"); in gaudi_config_stm() 400 return -EINVAL; in gaudi_config_stm() 403 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in gaudi_config_stm() 407 if (params->enable) { in gaudi_config_stm() 408 input = params->input; in gaudi_config_stm() [all …]
|
| /kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
| D | coresight-tmc-etr.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 17 #include "coresight-catu.h" 18 #include "coresight-etm-perf.h" 19 #include "coresight-priv.h" 20 #include "coresight-tmc.h" 30 * etr_perf_buffer - Perf buffer used for ETR 31 * @drvdata - The ETR drvdaga this buffer has been allocated for. 32 * @etr_buf - Actual buffer used by the ETR 33 * @pid - The PID this etr_perf_buffer belongs to. [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 31 modules will be called coresight-funnel and coresight-replicator. 40 trace router - ETR) or sink (embedded trace FIFO). The driver 45 module will be called coresight-tmc. 51 Enable support for the Coresight Address Translation Unit (CATU). 53 lookup. CATU helps TMC ETR to use a large physically non-contiguous trace 54 buffer by translating the addresses used by ETR to the physical address 55 by looking up the provided table. CATU can also be used in pass-through 59 module will be called coresight-catu. 66 responsible for bridging the gap between the on-chip coresight [all …]
|
| D | coresight-catu.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/dma-mapping.h> 17 #include "coresight-catu.h" 18 #include "coresight-priv.h" 19 #include "coresight-tmc.h" 22 dev_get_drvdata(csdev->dev.parent) 43 * ------------------------------------ 44 * | Address [63-12] | SBZ | V| 45 * ------------------------------------ 55 * SLADDR ===> x------------------x x--> x-----------------x [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/goya/ |
| D | goya_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2019 HabanaLabs, Ltd. 205 if (hdev->pldm) in goya_coresight_timeout() 219 dev_err(hdev->dev, in goya_coresight_timeout() 222 return -EFAULT; in goya_coresight_timeout() 236 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in goya_config_stm() 237 dev_err(hdev->dev, "Invalid register index in STM\n"); in goya_config_stm() 238 return -EINVAL; in goya_config_stm() 241 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in goya_config_stm() 245 if (params->enable) { in goya_config_stm() [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/habanalabs/gaudi/ |
| D | gaudi_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2018 HabanaLabs, Ltd. 382 dev_err(hdev->dev, in gaudi_coresight_timeout() 385 return -EFAULT; in gaudi_coresight_timeout() 399 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in gaudi_config_stm() 400 dev_err(hdev->dev, "Invalid register index in STM\n"); in gaudi_config_stm() 401 return -EINVAL; in gaudi_config_stm() 404 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in gaudi_config_stm() 408 if (params->enable) { in gaudi_config_stm() 409 input = params->input; in gaudi_config_stm() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
| D | coresight-tmc-etr.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/dma-mapping.h> 17 #include "coresight-catu.h" 18 #include "coresight-etm-perf.h" 19 #include "coresight-priv.h" 20 #include "coresight-tmc.h" 30 * etr_perf_buffer - Perf buffer used for ETR 31 * @drvdata - The ETR drvdaga this buffer has been allocated for. 32 * @etr_buf - Actual buffer used by the ETR 33 * @pid - The PID this etr_perf_buffer belongs to. [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 32 modules will be called coresight-funnel and coresight-replicator. 41 trace router - ETR) or sink (embedded trace FIFO). The driver 46 module will be called coresight-tmc. 52 Enable support for the Coresight Address Translation Unit (CATU). 54 lookup. CATU helps TMC ETR to use a large physically non-contiguous trace 55 buffer by translating the addresses used by ETR to the physical address 56 by looking up the provided table. CATU can also be used in pass-through 60 module will be called coresight-catu. 67 responsible for bridging the gap between the on-chip coresight [all …]
|
| D | coresight-catu.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/dma-mapping.h> 17 #include "coresight-catu.h" 18 #include "coresight-priv.h" 19 #include "coresight-tmc.h" 22 dev_get_drvdata(csdev->dev.parent) 43 * ------------------------------------ 44 * | Address [63-12] | SBZ | V| 45 * ------------------------------------ 55 * SLADDR ===> x------------------x x--> x-----------------x [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/habanalabs/goya/ |
| D | goya_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2016-2019 HabanaLabs, Ltd. 207 if (hdev->pldm) in goya_coresight_timeout() 221 dev_err(hdev->dev, in goya_coresight_timeout() 224 return -EFAULT; in goya_coresight_timeout() 238 if (params->reg_idx >= ARRAY_SIZE(debug_stm_regs)) { in goya_config_stm() 239 dev_err(hdev->dev, "Invalid register index in STM\n"); in goya_config_stm() 240 return -EINVAL; in goya_config_stm() 243 base_reg = debug_stm_regs[params->reg_idx] - CFG_BASE; in goya_config_stm() 247 if (params->enable) { in goya_config_stm() [all …]
|
| /kernel/linux/linux-6.6/drivers/accel/habanalabs/gaudi2/ |
| D | gaudi2_coresight.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2019-2022 HabanaLabs, Ltd. 13 #define COMPONENT_ID_INVALID ((u32)(-1)) 45 * struct component_config_offsets - per cs_dbg unit - view off all related components indices 46 * @funnel_id: funnel id - index in debug_funnel_regs 47 * @etf_id: etf id - index in debug_etf_regs 48 * @stm_id: stm id - index in debug_stm_regs 49 * @spmu_id: spmu_id - index in debug_spmu_regs 51 * @bmon_ids: array of bmon id (max size - MAX_BMONS_PER_UNIT) index in debug_bmon_regs 1933 if (hdev->pldm) in gaudi2_coresight_timeout() [all …]
|
| /kernel/linux/linux-5.10/Documentation/trace/coresight/ |
| D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| 43 | |->### | ! | |->### | ! | ! . | || DAP || 49 *****************************************************************<-| 63 | * ===== F =====<---------| 65 |-->:: CTI ::<!! === N === 69 |------>&& ETB &&<......II I ======= [all …]
|
| D | coresight-ect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 21 0 C 0----------->: : +======>(other CTI channel IO) 22 0 P 0<-----------: : v 24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+ 25 ####### in_trigs : : (id 0-3) ***** ::::::: v 26 # ETM #----------->: : ^ ####### 27 # #<-----------: : +---# ETR # 50 The hardware trigger signals can also be connected to non-CoreSight devices 60 --------------------------- [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/coresight/ |
| D | coresight.rst | 2 Coresight - HW Assisted Tracing on ARM 9 ------------ 38 0 CPU 0<-->: C : 0 CPU 0<-->: C : : C : @ STM @ || System || 39 |->0000000 : T : |->0000000 : T : : T :<--->@@@@@ || Memory || 40 | #######<-->: I : | #######<-->: I : : I : @@@<-| |||||||||||| 43 | |->### | ! | |->### | ! | ! . | || DAP || 49 *****************************************************************<-| 63 | * ===== F =====<---------| 65 |-->:: CTI ::<!! === N === 69 |------>&& ETB &&<......II I ======= [all …]
|
| D | coresight-ect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 -------------------- 21 0 C 0----------->: : +======>(other CTI channel IO) 22 0 P 0<-----------: : v 24 0000000 : CTI :<=========>*CTM*<====>: CTI :---+ 25 ####### in_trigs : : (id 0-3) ***** ::::::: v 26 # ETM #----------->: : ^ ####### 27 # #<-----------: : +---# ETR # 50 The hardware trigger signals can also be connected to non-CoreSight devices 60 --------------------------- [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | max8973-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max8973-regulator.c -- Maxim max8973A 5 * Regulator driver for MAXIM 8973A DC-DC step-down switching regulator. 21 #include <linux/regulator/max8973-regulator.h> 123 * - If it is already there then it will make that register as most 127 * - If requested voltage is not found then it will use the least 137 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 138 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 141 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 142 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | max8973-regulator.c | 2 * max8973-regulator.c -- Maxim max8973 4 * Regulator driver for MAXIM 8973 DC-DC step-down switching regulator. 22 * 02111-1307, USA 34 #include <linux/regulator/max8973-regulator.h> 136 * - If it is already there then it will make that register as most 140 * - If requested voltage is not found then it will use the least 150 int new_vout_reg = tps->lru_index[MAX8973_MAX_VOUT_REG - 1]; in find_voltage_set_register() 151 int found_index = MAX8973_MAX_VOUT_REG - 1; in find_voltage_set_register() 154 if (tps->curr_vout_val[tps->lru_index[i]] == req_vsel) { in find_voltage_set_register() 155 new_vout_reg = tps->lru_index[i]; in find_voltage_set_register() [all …]
|
| /kernel/linux/linux-5.10/include/uapi/misc/ |
| D | habanalabs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note 3 * Copyright 2016-2020 HabanaLabs, Ltd. 15 * Defines that are asic-specific but constitutes as ABI between kernel driver 240 * HW_IP_INFO - Receive information about different IP blocks in the 242 * HL_INFO_HW_EVENTS - Receive an array describing how many times each event 244 * HL_INFO_DRAM_USAGE - Retrieve the dram usage inside the device and of the 247 * HL_INFO_HW_IDLE - Retrieve information about the idle status of each 249 * HL_INFO_DEVICE_STATUS - Retrieve the device's status. This opcode doesn't 251 * HL_INFO_DEVICE_UTILIZATION - Retrieve the total utilization of the device 256 * HL_INFO_HW_EVENTS_AGGREGATE - Receive an array describing how many times each [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/qcom/ |
| D | msm8998-mtp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 16 stdout-path = "serial0:115200n8"; 19 vph_pwr: vph-pwr-regulator { 20 compatible = "regulator-fixed"; 21 regulator-name = "vph_pwr"; 22 regulator-always-on; 23 regulator-boot-on; 31 compatible = "qcom,wcn3990-bt"; 33 vddio-supply = <&vreg_s4a_1p8>; 34 vddxo-supply = <&vreg_l7a_1p8>; [all …]
|
| D | apq8016-sbc.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "msm8916-pm8916.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 10 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 26 stdout-path = "serial0"; 29 camera_vdddo_1v8: camera-vdddo-1v8 { 30 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | msm8998-mtp.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 13 compatible = "qcom,msm8998-mtp", "qcom,msm8998"; 14 chassis-type = "handset"; 16 qcom,board-id = <8 0>; 24 stdout-path = "serial0:115200n8"; 27 vph_pwr: vph-pwr-regulator { 28 compatible = "regulator-fixed"; 29 regulator-name = "vph_pwr"; 30 regulator-always-on; [all …]
|
| D | msm8998-fxtec-pro1.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 20 chassis-type = "handset"; 21 qcom,board-id = <0x02000b 0x10>; 29 * Until we hook up type-c detection, we 32 extcon_usb: extcon-usb { 33 compatible = "linux,extcon-usb-gpio"; [all …]
|
| /kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
| D | adf_init.c | 1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) 2 /* Copyright(c) 2014 - 2020 Intel Corporation */ 19 list_add(&service->list, &service_table); in adf_service_add() 25 memset(service->init_status, 0, sizeof(service->init_status)); in adf_service_register() 26 memset(service->start_status, 0, sizeof(service->start_status)); in adf_service_register() 34 list_del(&service->list); in adf_service_remove() 42 for (i = 0; i < ARRAY_SIZE(service->init_status); i++) { in adf_service_unregister() 43 if (service->init_status[i] || service->start_status[i]) { in adf_service_unregister() 45 return -EFAULT; in adf_service_unregister() 53 * adf_dev_init() - Init data structures and services for the given accel device [all …]
|