/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | socionext,uniphier-efuse.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Keiji Hayashibara <hayashibara.keiji@socionext.com> 11 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com> 14 - $ref: nvmem.yaml# 15 - $ref: nvmem-deprecated-cells.yaml# 19 const: socionext,uniphier-efuse 25 - compatible [all …]
|
/linux/fs/jfs/ |
H A D | jfs_discard.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * FUNCTION: TRIM the specified block range on device, if supported 23 * ip - pointer to in-core inode 24 * blkno - starting block number to be trimmed (0..N) 25 * nblocks - number of blocks to be trimmed 34 struct super_block *sb = ip->i_sb; in jfs_issue_discard() 54 * FUNCTION: attempt to discard (TRIM) all free blocks from the 58 * ip - pointer to in-core inode; 59 * range - the range, given by user space 62 * 0 - success [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-ata | 8 ------------------------------- 35 persistent links in /dev/disk/by-path. 38 ------------------------------- 65 --------------------------------- 69 - X is ata_port_id of the port where the device is connected, 70 - Y the port of the PM if any, and 71 - Z the device id: for PATA, there is usually 2 devices [0,1], only 1 for SATA. 124 What: /sys/class/ata_device/devX[.Y].Z/trim 129 (RO) Shows the DSM TRIM mode currently used by the device. Valid 132 unsupported: Drive does not support DSM TRIM [all …]
|
/linux/arch/mips/boot/dts/cavium-octeon/ |
H A D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
/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 …]
|
/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 | 14 iocharset=utf8 for UTF-8 translations. This requires 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 53 This enables/disables the use of discard/TRIM commands. 54 The discard/TRIM commands are sent to the underlying 56 devices and sparse/thinly-provisioned LUNs. The FITRIM ioctl [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-x1205.c | 1 // SPDX-License-Identifier: GPL-2.0-only 85 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch 97 .addr = client->addr, in x1205_get_datetime() 102 .addr = client->addr, in x1205_get_datetime() 110 if (i2c_transfer(client->adapter, &msgs[0], 2) != 2) { in x1205_get_datetime() 111 dev_err(&client->dev, "%s: read error\n", __func__); in x1205_get_datetime() 112 return -EIO; in x1205_get_datetime() 115 dev_dbg(&client->dev, in x1205_get_datetime() 116 "%s: raw read data - sec=%02x, min=%02x, hr=%02x, " in x1205_get_datetime() 127 tm->tm_sec = bcd2bin(buf[CCR_SEC]); in x1205_get_datetime() [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 …]
|
/linux/fs/ocfs2/ |
H A D | dlmglue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 72 u8 tf_success; /* trim is successful, or not */ 74 u64 tf_start; /* trim start offset in clusters */ 75 u64 tf_len; /* trim end offset in clusters */ 76 u64 tf_minlen; /* trim minimum contiguous free clusters */ 91 /* don't block waiting for the downconvert thread, instead return -EAGAI [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/drivers/clk/microchip/ |
H A D | clk-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include <linux/clk-provider.h> 12 #include <asm/mach-pic32/pic32.h> 15 #include "clk-core.h" 57 /* Reference Oscillator Trim Register Fields */ 78 /* add instruction pipeline delay while CPU clock is in-transition. */ 101 return readl(pb->ctrl_reg) & PB_DIV_ENABLE; in pbclk_is_enabled() 108 writel(PB_DIV_ENABLE, PIC32_SET(pb->ctrl_reg)); in pbclk_enable() 116 writel(PB_DIV_ENABLE, PIC32_CLR(pb->ctrl_reg)); in pbclk_disable() 137 if (abs(rate - divided_rate_down) < abs(rate - divided_rate)) in calc_best_divided_rate() [all …]
|
/linux/drivers/mmc/core/ |
H A D | quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * This file contains work-arounds for many known SD/MMC 25 0, -1ull, SDIO_ANY_ID, SDIO_ANY_ID, add_quirk_sd, 33 0, -1ull, SDIO_ANY_ID, SDIO_ANY_ID, add_quirk_sd, 61 * instead of CMD12-bounded multiblock transfers. For now we'll 63 * - Certain Toshiba cards. 67 MMC_FIXUP("SDMB-32", CID_MANFID_SANDISK, CID_OEMID_ANY, add_quirk_mmc, 96 * secure trim can result in unrecoverable corruption due to a 117 * On Some Kingston eMMCs, performing trim can result in 126 * Micron MTFC4GACAJCN-1M supports TRIM but does not appear to support [all …]
|
/linux/Documentation/devicetree/bindings/net/ieee802154/ |
H A D | at86rf230.txt | 4 - compatible: should be "atmel,at86rf230", "atmel,at86rf231", 6 - spi-max-frequency: maximal bus speed, should be set to 7500000 depends 8 - reg: the chipselect index 9 - interrupts: the interrupt generated by the device. Non high-level 13 - reset-gpio: GPIO spec for the rstn pin 14 - sleep-gpio: GPIO spec for the slp_tr pin 15 - xtal-trim: u8 value for fine tuning the internal capacitance 22 spi-max-frequency = <7500000>; 25 interrupt-parent = <&gpio3>; 26 xtal-trim = /bits/ 8 <0x06>;
|
/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/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 del_timer_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/arch/arm64/boot/dts/socionext/ |
H A D | uniphier-pxs3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 14 compatible = "socionext,uniphier-pxs3"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; 20 #address-cells = <2>; [all …]
|
H A D | uniphier-ld20.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 5 // Copyright (C) 2015-2016 Socionext Inc. 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/gpio/uniphier-gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 14 compatible = "socionext,uniphier-ld20"; 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; [all …]
|
/linux/kernel/bpf/ |
H A D | lpm_trie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 * [0xc0, 0xa8, 0x00, 0x00] in big-endian notation. This documentation will 58 * stick to IP-address notation for readability though. 64 * +----------------+ 69 * +----------------+ 77 * +----------------+ 82 * +----------------+ 84 * +----------------+ 89 * +----------------+ 95 * +----------------+ [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->sg.start || in sk_msg_try_coalesce_ok() 21 elem_first_coalesce < msg->sg.end)) in sk_msg_try_coalesce_ok() 31 u32 osize = msg->sg.size; in sk_msg_alloc() 34 len -= msg->sg.size; in sk_msg_alloc() 41 ret = -ENOMEM; in sk_msg_alloc() [all …]
|
/linux/drivers/infiniband/core/ |
H A D | umem_dmabuf.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 #include <linux/dma-buf.h> 7 #include <linux/dma-resv.h> 8 #include <linux/dma-mapping.h> 24 dma_resv_assert_held(umem_dmabuf->attach->dmabuf->resv); in ib_umem_dmabuf_map_pages() 26 if (umem_dmabuf->revoked) in ib_umem_dmabuf_map_pages() 27 return -EINVAL; in ib_umem_dmabuf_map_pages() 29 if (umem_dmabuf->sgt) in ib_umem_dmabuf_map_pages() 32 sgt = dma_buf_map_attachment(umem_dmabuf->attach, in ib_umem_dmabuf_map_pages() 37 /* modify the sg list in-place to match umem address and length */ in ib_umem_dmabuf_map_pages() [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 …]
|
/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 …]
|