/Linux-v5.15/drivers/iio/light/ |
D | veml6070.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * veml6070.c - Support for Vishay VEML6070 UV A light sensor 5 * Copyright 2016 Peter Meerwald-Stadler <pmeerw@pmeerw.net> 7 * IIO driver for VEML6070 (7-bit I2C slave addresses 0x38 and 0x39) 29 #define VEML6070_COMMAND_SD BIT(0) /* shutdown mode when set */ 45 mutex_lock(&data->lock); in veml6070_read() 47 /* disable shutdown */ in veml6070_read() 48 ret = i2c_smbus_write_byte(data->client1, in veml6070_read() 49 data->config & ~VEML6070_COMMAND_SD); in veml6070_read() 55 ret = i2c_smbus_read_byte(data->client2); /* read MSB, address 0x39 */ in veml6070_read() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/regulator/ |
D | richtek,rtq2134-regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/regulator/richtek,rtq2134-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiYuan Huang <cy_huang@richtek.com> 13 The RTQ2134 is a multi-phase, programmable power management IC that 14 integrates with four high efficient, synchronous step-down converter cores. 17 https://www.richtek.com/assets/product_file/RTQ2134-QA/DSQ2134-QA-01.pdf 22 - richtek,rtq2134 31 "^buck[1-3]$": [all …]
|
D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 27 regulator-min-microamp: [all …]
|
/Linux-v5.15/arch/x86/platform/uv/ |
D | uv_time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2009-2013 Silicon Graphics, Inc. All Rights Reserved. 12 #include <asm/uv/uv_mmrs.h> 13 #include <asm/uv/uv_hub.h> 14 #include <asm/uv/bios.h> 15 #include <asm/uv/uv.h> 38 .irq = -1, 92 /* Setup interrupt and return non-zero if early expiration occurred. */ 101 uv_write_global_mmr64(pnode, UVH_INT_CMPB, -1L); in uv_setup_intr() 121 * Per-cpu timer tracking routines [all …]
|
/Linux-v5.15/arch/ia64/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 67 The Itanium Processor Family is Intel's 64-bit successor to 68 the 32-bit X86 line. The IA-64 Linux project has a home 70 <linux-ia64@vger.kernel.org>. 127 Select your IA-64 processor type. The default is Itanium. 128 This choice is safe for all IA-64 systems, but may not perform 145 This lets you select the page size of the kernel. For best IA-64 147 IA-32 compatibility, a page size of 4KB should be selected (the vast 148 majority of IA-32 binaries work perfectly fine with a larger page 152 4KB For best IA-32 compatibility [all …]
|
/Linux-v5.15/drivers/regulator/ |
D | rtq2134-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 80 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_set_mode() 88 return -EINVAL; in rtq2134_buck_set_mode() 90 val <<= ffs(desc->mode_mask) - 1; in rtq2134_buck_set_mode() 91 return regmap_update_bits(rdev->regmap, desc->mode_reg, desc->mode_mask, in rtq2134_buck_set_mode() 98 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_get_mode() 102 ret = regmap_read(rdev->regmap, desc->mode_reg, &mode); in rtq2134_buck_get_mode() 106 if (mode & desc->mode_mask) in rtq2134_buck_get_mode() 111 static int rtq2134_buck_set_suspend_voltage(struct regulator_dev *rdev, int uV) in rtq2134_buck_set_suspend_voltage() argument 114 (struct rtq2134_regulator_desc *)rdev->desc; in rtq2134_buck_set_suspend_voltage() [all …]
|
D | vctrl-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 50 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_ctrl_voltage() 51 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_ctrl_voltage() 53 return ctrl->min_uV + in vctrl_calc_ctrl_voltage() 54 DIV_ROUND_CLOSEST_ULL((s64)(out_uV - out->min_uV) * in vctrl_calc_ctrl_voltage() 55 (ctrl->max_uV - ctrl->min_uV), in vctrl_calc_ctrl_voltage() 56 out->max_uV - out->min_uV); in vctrl_calc_ctrl_voltage() 61 struct vctrl_voltage_range *ctrl = &vctrl->vrange.ctrl; in vctrl_calc_output_voltage() 62 struct vctrl_voltage_range *out = &vctrl->vrange.out; in vctrl_calc_output_voltage() 69 if (ctrl_uV < ctrl->min_uV) in vctrl_calc_output_voltage() [all …]
|
D | bd718x7-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd71837-regulator.c ROHM BD71837MWV/BD71847MWV regulator driver 9 #include <linux/mfd/rohm-bd718x7.h> 50 * controlled by software - or by PMIC internal HW state machine. Whether 51 * regulator should be under SW or HW control can be defined from device-tree. 102 * Note for next hacker - these PMICs have a register where the HW state can be 103 * read. If assuming RUN appears to be false in your use-case - you can 122 ret = regmap_read(rdev->regmap, rdev->desc->enable_reg, &val); in bd71837_get_buck34_enable_hwctrl() 132 * is changed. Hence we return -EBUSY for these if voltage is changed 136 * enabled. But if voltage is increased the LDO power-good monitoring [all …]
|
/Linux-v5.15/include/linux/mfd/samsung/ |
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 27 /* Ramp delay in uV/us */ 51 * struct sec_pmic_dev - s2m/s5m master device for sub-drivers 102 /* Whether or not manually set PWRHOLD to low during shutdown. */ 109 * sec_regulator_data - regulator data 121 * sec_opmode_data - regulator operation mode data 134 * SEC_OPMODE_LOWPOWER Regulator is on in low-power mode
|
/Linux-v5.15/drivers/char/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 27 int "ttyprintk log level (1-7)" 40 Also read the Printing-HOWTO, available from 48 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 77 tristate "Support for user-space parallel port device drivers" 82 port, for instance deviceid (which displays Plug-and-Play device 86 It is safe to say N to this -- it is not needed for normal printing 87 or parallel port CD-ROM/disk support. 102 Also serves as a general-purpose serial device for data 131 If unsure, say M here to build it as a module called powernv-op-panel. [all …]
|
/Linux-v5.15/drivers/mfd/ |
D | wm831x-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * wm831x-core.c -- Device access for Wolfson WM831x PMICs 29 /* Current settings - values are 2*2^(reg_val/4) microamps. These are 94 if (!wm831x->locked) in wm831x_reg_locked() 126 dev_vdbg(wm831x->dev, "Registers locked\n"); in wm831x_reg_lock() 128 mutex_lock(&wm831x->io_lock); in wm831x_reg_lock() 129 WARN_ON(wm831x->locked); in wm831x_reg_lock() 130 wm831x->locked = 1; in wm831x_reg_lock() 131 mutex_unlock(&wm831x->io_lock); in wm831x_reg_lock() 133 dev_err(wm831x->dev, "Failed to lock registers: %d\n", ret); in wm831x_reg_lock() [all …]
|
/Linux-v5.15/drivers/power/supply/ |
D | smb347-charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <dt-bindings/power/summit,smb347-charger.h> 26 #define SMB3XX_SOFT_TEMP_COMPENSATE_DEFAULT -1 29 #define SMB3XX_TEMP_USE_DEFAULT -273 34 * reloaded from non-volatile registers after POR. 136 * struct smb347_charger - smb347 charger instance 148 * @max_charge_voltage: maximum voltage (in uV) the battery can be charged 149 * @pre_charge_current: current (in uA) to use in pre-charging phase 152 * @pre_to_fast_voltage: voltage (in uV) treshold used for transitioning to 153 * pre-charge to fast charge mode [all …]
|
D | rt9455_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 #define RT9455_DRIVER_NAME "rt9455-charger" 166 #define GET_MASK(fid) (BIT(rt9455_reg_fields[fid].msb + 1) - \ 170 * Each array initialised below shows the possible real-world values for a 172 * ascending order. The index of each real-world value represents the value 184 /* REG02[7:2] (VOREG) in uV */ 200 /* REG02[7:2] (Boost output voltage) in uV */ 212 /* REG07[3:0] (VMREG) in uV */ 223 /* REG05[1:0] (MIVR) in uV */ 264 for (i = 0; i < tbl_size - 1; i++) in rt9455_find_idx() [all …]
|
D | bq24190_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 #include <linux/extcon-provider.h> 32 #define BQ24190_REG_POC 0x01 /* Power-On Configuration */ 56 #define BQ24190_REG_PCTCC 0x03 /* Pre-charge/Termination Current Cntl */ 180 * The tables below provide a 2-way mapping for the value that goes in 181 * the register field and the real-world value that it represents. 183 * number at that index in the array is the real-world value that it 204 /* REG04[7:2] (VREG) in uV */ 223 * 'val'. The index range returned is 0 to 'tbl_size' - 1. Assumes that 235 return i - 1; in bq24190_find_idx() [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | am335x-shc.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 11 #include <dt-bindings/input/input.h> 15 compatible = "ti,am335x-shc", "ti,am335x-bone", "ti,am33xx"; 29 operating-points = < 30 /* kHz uV */ 34 voltage-tolerance = <2>; /* 2 percentage */ 35 cpu0-supply = <&dcdc2_reg>; 40 compatible = "gpio-keys"; 46 debounce-interval = <1000>; [all …]
|
D | exynos3250-rinato.dts | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/gpio/gpio.h> 17 #include <dt-bindings/clock/samsung,s2mps11.h> 28 stdout-path = &serial_1; 37 compatible = "samsung,secure-firmware"; 41 gpio-keys { 42 compatible = "gpio-keys"; [all …]
|
D | exynos4412-midas.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 /dts-v1/; 14 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/clock/maxim,max77686.h> 19 #include <dt-bindings/pinctrl/samsung.h> 30 stdout-path = &serial_2; 34 compatible = "samsung,secure-firmware"; [all …]
|
D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/exynos/ |
D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | packet_mmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es> 23 - Johann Baudy 67 [setup] socket() -------> creation of the capture socket 68 setsockopt() ---> allocation of the circular buffer (ring) 70 mmap() ---------> mapping of the allocated buffer to the 73 [capture] poll() ---------> to wait for incoming packets 75 [shutdown] close() --------> destruction of the capture socket and 88 supported and a link level pseudo-header is provided 107 [setup] socket() -------> creation of the transmission socket [all …]
|
/Linux-v5.15/drivers/gpu/drm/tegra/ |
D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 stats->frames = 0; in tegra_dc_stats_reset() 38 stats->vblank = 0; in tegra_dc_stats_reset() 39 stats->underflow = 0; in tegra_dc_stats_reset() 40 stats->overflow = 0; in tegra_dc_stats_reset() 59 offset = 0x000 + (offset - 0x500); in tegra_plane_offset() 60 return plane->offset + offset; in tegra_plane_offset() 64 offset = 0x180 + (offset - 0x700); in tegra_plane_offset() 65 return plane->offset + offset; in tegra_plane_offset() 69 offset = 0x1c0 + (offset - 0x800); in tegra_plane_offset() [all …]
|
/Linux-v5.15/Documentation/admin-guide/ |
D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 116 Format: <byte> or <bitmap-list> [all …]
|
/Linux-v5.15/drivers/media/pci/bt8xx/ |
D | bttv-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv - Bt848 frame grabber driver 6 Copyright (C) 1996,97,98 Ralph Metzler <rjkm@thp.uni-koeln.de> 7 & Marcus Metzler <mocm@thp.uni-koeln.de> 8 (c) 1999-2002 Gerd Knorr <kraxel@bytesex.org> 14 (c) 2005-2006 Nickolay V. Shmyrev <nshmyrev@yandex.ru> 38 #include <media/v4l2-common.h> 39 #include <media/v4l2-ioctl.h> 40 #include <media/v4l2-event.h> 42 #include <media/drv-intf/msp3400.h> [all …]
|
/Linux-v5.15/net/ceph/ |
D | osd_client.c | 1 // SPDX-License-Identifier: GPL-2.0 71 WARN_ON(!rwsem_is_locked(&osdc->lock)); in verify_osdc_locked() 75 WARN_ON(!rwsem_is_wrlocked(&osdc->lock)); in verify_osdc_wrlocked() 79 struct ceph_osd_client *osdc = osd->o_osdc; in verify_osd_locked() 81 WARN_ON(!(mutex_is_locked(&osd->lock) && in verify_osd_locked() 82 rwsem_is_locked(&osdc->lock)) && in verify_osd_locked() 83 !rwsem_is_wrlocked(&osdc->lock)); in verify_osd_locked() 87 WARN_ON(!mutex_is_locked(&lreq->lock)); in verify_lreq_locked() 116 orig_len - *plen, off, *plen); in calc_layout() 126 osd_data->type = CEPH_OSD_DATA_TYPE_NONE; in ceph_osd_data_init() [all …]
|
/Linux-v5.15/ |
D | MAINTAINERS | 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- 97 W: *Web-page* with status/info [all …]
|