| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | phy-stm32-usbphyc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-stm32-usbphyc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 22 |_ PHY port#2 ----| |________________ 27 - Amelie Delaunay <amelie.delaunay@foss.st.com> 31 const: st,stm32mp1-usbphyc 42 "#address-cells": 45 "#size-cells": 48 vdda1v1-supply: [all …]
|
| H A D | realtek,usb3phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stanley Chang <stanley_chang@realtek.com> 23 XHCI controller#0 -- usb2phy -- phy#0 24 |- usb3phy -- phy#0 25 XHCI controller#1 -- usb2phy -- phy#0 26 XHCI controller#2 -- usb2phy -- phy#0 27 |- usb3phy -- phy#0 32 XHCI controller#0 -- usb2phy -- phy#0 [all …]
|
| /linux/drivers/hwmon/ |
| H A D | bt1-pvt.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Baikal-T1 Process, Voltage, Temperature sensor driver 17 /* Baikal-T1 PVT registers and their bitfields */ 61 * PVT sensors-related limits and default values 70 * @PVT_TRIM_MIN: Minimal temperature sensor trim value. 71 * @PVT_TRIM_MAX: Maximal temperature sensor trim value. 72 * @PVT_TRIM_DEF: Default temperature sensor trim value (set a proper value 73 * when one is determined for Baikal-T1 SoC). 74 * @PVT_TRIM_TEMP: Maximum temperature encoded by the trim factor. 75 * @PVT_TRIM_STEP: Temperature stride corresponding to the trim value. [all …]
|
| H A D | bt1-pvt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Baikal-T1 Process, Voltage, Temperature sensor driver 18 #include <linux/hwmon-sysfs.h> 34 #include "bt1-pvt.h" 44 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES), 45 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES), 46 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES), 51 * to PVT data and vice-versa are following: 52 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) + 54 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) + [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | jfs.rst | 9 (*) == default 13 ASCII. The default is to do no conversion. Use 14 iocharset=utf8 for UTF-8 translations. This requires 16 iocharset=none specifies the default behavior explicitly. 22 read-write. The resize keyword with no value will grow 38 errors=remount-ro(*) 39 Remount the filesystem read-only on an error. 44 Override on-disk uid with specified value 46 Override on-disk gid with specified value 48 Override on-disk umask with specified octal value. For [all …]
|
| /linux/scripts/ |
| H A D | parse-maintainers.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0 21 die "$P: invalid argument - use --help if necessary\n"; 33 --input => MAINTAINERS file to read (default: MAINTAINERS) 34 --output => sorted MAINTAINERS file to write (default: MAINTAINERS.new) 35 --section => new sorted MAINTAINERS file to write to (default: SECTION.new) 36 --order => Use the preferred section content output ordering (default: 0) 51 K: Keyword - patch content regex 84 $a_index = 1000 if ($a_index == -1); 85 $b_index = 1000 if ($b_index == -1); [all …]
|
| H A D | rustdoc_test_gen.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Generates KUnit tests from saved `rustdoc`-generated tests. 10 //! - Test code should not care about the implementation. 12 //! - Documentation looks worse if it needs to carry extra details unrelated to the piece 15 //! - Test code should be able to define functions and call them, without having to carry 18 //! - Later on, we may want to be able to test non-kernel code (e.g. `core` or third-part [all...] |
| /linux/drivers/rtc/ |
| H A D | rtc-rs5c372.c | 1 // SPDX-License-Identifier: GPL-2.0-only 118 * - we're in the 21st century, so it's safe to ignore the century 120 * - we should use ALARM_A not ALARM_B (may be wrong on some boards) 135 struct i2c_client *client = rs5c->client; in rs5c_get_regs() 138 .addr = client->addr, in rs5c_get_regs() 140 .len = sizeof(rs5c->buf), in rs5c_get_regs() 141 .buf = rs5c->buf in rs5c_get_regs() 152 * The third method on the other hand doesn't work for the SMBus-only in rs5c_get_regs() 156 if (rs5c->smbus) { in rs5c_get_regs() 158 int size = sizeof(rs5c->buf) - 1; in rs5c_get_regs() [all …]
|
| H A D | rtc-sa1100.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 #define RTSR_HZ BIT(1) /* HZ rising-edge detected */ 39 #include "rtc-sa1100.h" 41 #define RTC_DEF_DIVIDER (32768 - 1) 49 struct rtc_device *rtc = info->rtc; in sa1100_rtc_interrupt() 53 spin_lock(&info->lock); in sa1100_rtc_interrupt() 55 rtsr = readl_relaxed(info->rtsr); in sa1100_rtc_interrupt() 57 writel_relaxed(0, info->rtsr); in sa1100_rtc_interrupt() 64 writel_relaxed((RTSR_AL | RTSR_HZ) & (rtsr >> 2), info->rtsr); in sa1100_rtc_interrupt() 73 writel_relaxed(RTSR_AL | RTSR_HZ, info->rtsr); in sa1100_rtc_interrupt() [all …]
|
| /linux/Documentation/devicetree/bindings/mmc/ |
| H A D | nvidia,tegra20-sdhci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mmc/nvidia,tegra20-sdhci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 18 mmc-controller.yaml and the properties for the Tegra SDHCI controller. 23 - enum: 24 - nvidia,tegra20-sdhci 25 - nvidia,tegra30-sdhci [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | stm32mp135f-dhcor-dhsbc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG 7 * DHCOR PCB number: 718-100 or newer 8 * DHSBC PCB number: 719-100 or newer 11 /dts-v1/; 13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 16 #include "stm32mp13xx-dhcor-som.dtsi" 20 compatible = "dh,stm32mp135f-dhcor-dhsbc", 21 "dh,stm32mp135f-dhcor-som", 32 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | stm32mp135f-dk.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/st,stm32mp13-regulator.h> 15 #include "stm32mp13-pinctrl.dtsi" 18 model = "STMicroelectronics STM32MP135F-DK Discovery Board"; 19 compatible = "st,stm32mp135f-dk", "st,stm32mp135"; [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /linux/Documentation/devicetree/bindings/leds/backlight/ |
| H A D | arcxcnn_bl.txt | 4 - compatible: should be "arc,arc2c0608" 5 - reg: slave address 8 - default-brightness: brightness value on boot, value from: 0-4095 9 - label: The name of the backlight device 11 - led-sources: List of enabled channels from 0 to 5. 14 - arc,led-config-0: setting for register ILED_CONFIG_0 15 - arc,led-config-1: setting for register ILED_CONFIG_1 16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used) 17 - arc,comp-config: setting for register CONFIG_COMP 18 - arc,filter-config: setting for register FILTER_CONFIG [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_discard.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * gathering extents to trim, we must hold the AGF lock to lock out other 51 * We can't do this exactly with free space - once we drop the AGF lock, the 57 * This is exactly how online discard works - free extents are marked busy when 87 xfs_extent_busy_clear(&extents->extent_list, false); in xfs_discard_endio_work() 88 kfree(extents->owner); in xfs_discard_endio_work() 92 * Queue up the actual completion to a thread to avoid IRQ-safe locking for 99 struct xfs_busy_extents *extents = bio->bi_private; in xfs_discard_endio() 101 INIT_WORK(&extents->endio_work, xfs_discard_endio_work); in xfs_discard_endio() 102 queue_work(xfs_discard_wq, &extents->endio_work); in xfs_discard_endio() [all …]
|
| /linux/net/core/ |
| H A D | skmsg.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */ 15 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok() 16 elem_first_coalesce < msg->sg.end) in sk_msg_try_coalesce_ok() 19 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok() 20 (elem_first_coalesce > msg->s in sk_msg_try_coalesce_ok() 265 int trim = msg->sg.size - len; sk_msg_trim() local [all...] |
| /linux/drivers/phy/socionext/ |
| H A D | phy-uniphier-usb3hs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * phy-uniphier-usb3hs.c - HS-PHY driver for Socionext UniPhier USB3 controller 4 * Copyright 2015-2018 Socionext Inc. 17 #include <linux/nvmem-consumer.h> 66 #define trim_param_is_valid(p) ((p)->rterm || (p)->sel_t || (p)->hs_i) 92 *pconfig |= FIELD_PREP(HSPHY_CFG0_RTERM_MASK, pt->rterm); in uniphier_u3hsphy_trim_ld20() 95 *pconfig |= FIELD_PREP(HSPHY_CFG0_SEL_T_MASK, pt->sel_t); in uniphier_u3hsphy_trim_ld20() 98 *pconfig |= FIELD_PREP(HSPHY_CFG0_HS_I_MASK, pt->hs_i); in uniphier_u3hsphy_trim_ld20() 107 cell = devm_nvmem_cell_get(priv->dev, name); in uniphier_u3hsphy_get_nvparam() 127 ret = uniphier_u3hsphy_get_nvparam(priv, "rterm", &pt->rterm); in uniphier_u3hsphy_get_nvparams() [all …]
|
| /linux/include/linux/mmc/ |
| H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 70 unsigned int sec_trim_mult; /* Secure trim multiplier */ 121 u8 raw_sectors[4]; /* 212 - 4 bytes */ 185 #define SD_SET_CURRENT_NO_CHANGE (-1) 288 bool force_ro; /* to make boot parts RO by default */ 313 #define MMC_QUIRK_BLKSZ_FOR_BYTE_MODE (1<<1) /* use func->cur_blksize */ 315 #define MMC_QUIRK_NONSTD_SDIO (1<<2) /* non-standard SDIO card attached */ 324 #define MMC_QUIRK_SEC_ERASE_TRIM_BROKEN (1<<10) /* Skip secure for erase/trim */ 326 #define MMC_QUIRK_TRIM_BROKEN (1<<12) /* Skip trim */ 335 bool reenable_cmdq; /* Re-enable Command Queue */ [all …]
|
| /linux/Documentation/netlink/ |
| H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 27 required: [ name, doc, attribute-sets, operations ] [all …]
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_mid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2003-2014 QLogic Corporation 22 if (vha->vp_idx && vha->timer_active) { in qla2x00_vp_stop_timer() 23 timer_delete_sync(&vha->timer); in qla2x00_vp_stop_timer() 24 vha->timer_active = 0; in qla2x00_vp_stop_timer() 32 struct qla_hw_data *ha = vha->hw; in qla24xx_allocate_vp_id() 36 mutex_lock(&ha->vport_lock); in qla24xx_allocate_vp_id() 37 vp_id = find_first_zero_bit(ha->vp_idx_map, ha->max_npiv_vports + 1); in qla24xx_allocate_vp_id() 38 if (vp_id > ha->max_npiv_vports) { in qla24xx_allocate_vp_id() 40 "vp_id %d is bigger than max-supported %d.\n", in qla24xx_allocate_vp_id() [all …]
|
| /linux/include/linux/platform_data/ |
| H A D | tsl2772.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 20 /* The default LUX tables all have 3 elements. */ 37 * struct tsl2772_settings - Settings for the tsl2772 driver 40 * (256 - als_time) * 2.73. 42 * @als_gain_trim: Default gain trim to account for aperture effects. 47 * (256 - prx_time) * 2.73. 92 * struct tsl2772_platform_data - Platform callback, glass and defaults
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qusb2.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/nvmem-consumer.h> 22 #include <dt-bindings/phy/phy-qcom-qusb2.h> 105 * if yes, then offset gives index in the reg-layout 123 /* set of registers with offsets different per-PHY */ 307 /* true if PHY default clk scheme is single-ended */ 397 "vdd", "vdda-pll", "vdda-phy-dpdm", 402 /* struct override_param - structure holding qusb2 v2 phy overriding param 411 /*struct override_params - structure holding qusb2 v2 phy overriding params 414 * @preemphasis: Amplitude Pre-Emphasis to be updated in TUNE1 register [all …]
|
| /linux/drivers/video/backlight/ |
| H A D | arcxcnn_bl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 * @name : Backlight driver name (NULL will use default) 30 * @trim_config : full scale current trim, see datasheet 48 #define ARCXCNN_CMD_OVP_MASK 0x0C /* --- Over Voltage Threshold */ 63 #define ARCXCNN_LEDEN_ISETEXT 0x80 /* Full-scale current set extern */ 99 ret = i2c_smbus_read_byte_data(lp->client, reg); in arcxcnn_update_field() 101 dev_err(lp->dev, "failed to read 0x%.2x\n", reg); in arcxcnn_update_field() 109 return i2c_smbus_write_byte_data(lp->client, reg, tmp); in arcxcnn_update_field() 119 ret = i2c_smbus_write_byte_data(lp->client, in arcxcnn_set_brightness() 126 return i2c_smbus_write_byte_data(lp->client, in arcxcnn_set_brightness() [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | ntfs3.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 NTFS3 is fully functional NTFS Read-Write driver. The driver works with NTFS 13 - This driver implements NTFS read/write support for normal, sparse and 15 - Supports native journal replaying. 16 - Supports NFS export of mounted NTFS volumes. 17 - Supports extended attributes. Predefined extended attributes: 19 - *system.ntfs_security* gets/sets security 23 - *system.ntfs_attrib* gets/sets ntfs file/dir attributes. 28 - *system.ntfs_attrib_be* gets/sets ntfs file/dir attributes. 30 Same value as system.ntfs_attrib but always represent as big-endian [all …]
|
| /linux/drivers/mmc/host/ |
| H A D | sdhci-pci-arasan.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sdhci-pci-arasan.c - Driver for Arasan PCI Controller with 15 #include "sdhci-pci.h" 105 return -EBUSY; in arasan_phy_addr_poll() 140 return -EBUSY; in arasan_phy_sts_poll() 144 return -EBUSY; in arasan_phy_sts_poll() 159 return -EBUSY; in arasan_phy_init() 162 return -EBUSY; in arasan_phy_init() 184 return -EBUSY; in arasan_phy_init() 190 u8 drv_type, u8 itap, u8 trim, u8 clk) in arasan_phy_set() argument [all …]
|