/Linux-v5.10/fs/jfs/ |
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-v5.10/Documentation/ABI/testing/ |
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. 123 What: /sys/class/ata_device/devX[.Y].Z/trim 128 (RO) Shows the DSM TRIM mode currently used by the device. Valid 131 unsupported: Drive does not support DSM TRIM [all …]
|
/Linux-v5.10/arch/mips/boot/dts/cavium-octeon/ |
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-v5.10/Documentation/devicetree/bindings/mmc/ |
D | nvidia,tegra20-sdhci.txt | 7 by mmc.txt and the properties used by the sdhci-tegra driver. 10 - compatible : should be one of: 11 - "nvidia,tegra20-sdhci": for Tegra20 12 - "nvidia,tegra30-sdhci": for Tegra30 13 - "nvidia,tegra114-sdhci": for Tegra114 14 - "nvidia,tegra124-sdhci": for Tegra124 and Tegra132 15 - "nvidia,tegra210-sdhci": for Tegra210 16 - "nvidia,tegra186-sdhci": for Tegra186 17 - "nvidia,tegra194-sdhci": for Tegra194 18 - clocks: For Tegra210, Tegra186 and Tegra194 must contain two entries. [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-rs5c372.c | 1 // SPDX-License-Identifier: GPL-2.0-only 116 * - we're in the 21st century, so it's safe to ignore the century 118 * - we should use ALARM_A not ALARM_B (may be wrong on some boards) 133 struct i2c_client *client = rs5c->client; in rs5c_get_regs() 136 .addr = client->addr, in rs5c_get_regs() 138 .len = sizeof(rs5c->buf), in rs5c_get_regs() 139 .buf = rs5c->buf in rs5c_get_regs() 150 * The third method on the other hand doesn't work for the SMBus-only in rs5c_get_regs() 154 if (rs5c->smbus) { in rs5c_get_regs() 156 int size = sizeof(rs5c->buf) - 1; in rs5c_get_regs() [all …]
|
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-v5.10/drivers/hwmon/ |
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 …]
|
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> 33 #include "bt1-pvt.h" 43 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES), 44 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES), 45 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES), 50 * to PVT data and vice-versa are following: 51 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) + 53 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) + [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
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-v5.10/scripts/ |
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-v5.10/fs/ocfs2/ |
D | dlmglue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* -*- mode: c; c-basic-offset: 8; -*- 74 u8 tf_success; /* trim is successful, or not */ 76 u64 tf_start; /* trim start offset in clusters */ 77 u64 tf_len; /* trim end offset in clusters */ 78 u64 tf_minlen; /* trim minimum contiguous free clusters */ 93 /* don't block waiting for the downconvert thread, instead return -EAGAIN */ 151 /* 99% of the time we don't want to supply any additional flags --
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ieee802154/ |
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-v5.10/drivers/clk/microchip/ |
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-v5.10/drivers/net/phy/ |
D | bcm7xxx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2014-2017 Broadcom 11 #include "bcm-phy-lib.h" 54 /* AFE_RXCONFIG_2, set rCal offset for HT=0 code and LT=-2 code */ in bcm7xxx_28nm_d0_afe_config_init() 69 /* AFE_HPF_TRIM_OTHERS, set 100Tx/10BT to -4.5% swing and set rCal in bcm7xxx_28nm_d0_afe_config_init() 74 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */ in bcm7xxx_28nm_d0_afe_config_init() 77 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */ in bcm7xxx_28nm_d0_afe_config_init() 97 /* AFE_HPF_TRIM_OTHERS, set 100Tx/10BT to -4.5% swing and set rCal in bcm7xxx_28nm_e0_plus_afe_config_init() 102 /* CORE_BASE1E, force trim to overwrite and set I_ext trim to 0000 */ in bcm7xxx_28nm_e0_plus_afe_config_init() 105 /* DSP_TAP10, adjust bias current trim (+0% swing, +0 tick) */ in bcm7xxx_28nm_e0_plus_afe_config_init() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/phy/ |
D | qcom,qusb2-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Manu Gautam <mgautam@codeaurora.org> 19 - items: 20 - enum: 21 - qcom,ipq8074-qusb2-phy 22 - qcom,msm8996-qusb2-phy 23 - qcom,msm8998-qusb2-phy [all …]
|
/Linux-v5.10/net/core/ |
D | skmsg.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2017 - 2018 Covalent IO, Inc. http://covalent.io */ 14 if (msg->sg.end > msg->sg.start && in sk_msg_try_coalesce_ok() 15 elem_first_coalesce < msg->sg.end) in sk_msg_try_coalesce_ok() 18 if (msg->sg.end < msg->sg.start && in sk_msg_try_coalesce_ok() 19 (elem_first_coalesce > msg->sg.start || in sk_msg_try_coalesce_ok() 20 elem_first_coalesce < msg->sg.end)) in sk_msg_try_coalesce_ok() 32 len -= msg->sg.size; in sk_msg_alloc() 39 return -ENOMEM; in sk_msg_alloc() 41 orig_offset = pfrag->offset; in sk_msg_alloc() [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/socionext/ |
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/thermal/thermal.h> 13 compatible = "socionext,uniphier-pxs3"; 14 #address-cells = <2>; 15 #size-cells = <2>; 16 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <0>; [all …]
|
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/thermal/thermal.h> 13 compatible = "socionext,uniphier-ld20"; 14 #address-cells = <2>; 15 #size-cells = <2>; 16 interrupt-parent = <&gic>; 19 #address-cells = <2>; [all …]
|
/Linux-v5.10/kernel/bpf/ |
D | lpm_trie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 55 * [0xc0, 0xa8, 0x00, 0x00] in big-endian notation. This documentation will 56 * stick to IP-address notation for readability though. 62 * +----------------+ 67 * +----------------+ 75 * +----------------+ 80 * +----------------+ 82 * +----------------+ 87 * +----------------+ 93 * +----------------+ [all …]
|
/Linux-v5.10/fs/xfs/ |
D | xfs_discard.c | 1 // SPDX-License-Identifier: GPL-2.0 31 struct block_device *bdev = mp->m_ddev_targp->bt_bdev; in xfs_trim_extents() 51 agf = agbp->b_addr; in xfs_trim_extents() 58 error = xfs_alloc_lookup_ge(cur, 0, be32_to_cpu(agf->agf_longest), &i); in xfs_trim_extents() 76 error = -EFSCORRUPTED; in xfs_trim_extents() 79 ASSERT(flen <= be32_to_cpu(agf->agf_longest)); in xfs_trim_extents() 99 * supposed to discard skip it. Do not bother to trim in xfs_trim_extents() 128 error = -ERESTARTSYS; in xfs_trim_extents() 142 * trim a range of the filesystem. 148 * comparisons for determining the correct offset and regions to trim. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/nvmem/ |
D | qcom,qfprom.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org> 13 - $ref: "nvmem.yaml#" 20 # If the QFPROM is read-only OS image then only the corrected region 24 - items: 25 - description: The corrected region. 26 - items: 27 - description: The corrected region. [all …]
|
/Linux-v5.10/include/linux/mmc/ |
D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 72 unsigned int sec_trim_mult; /* Secure trim multiplier */ 122 u8 raw_sectors[4]; /* 212 - 4 bytes */ 184 #define SD_SET_CURRENT_NO_CHANGE (-1) 258 #define MMC_QUIRK_BLKSZ_FOR_BYTE_MODE (1<<1) /* use func->cur_blksize */ 260 #define MMC_QUIRK_NONSTD_SDIO (1<<2) /* non-standard SDIO card attached */ 269 #define MMC_QUIRK_SEC_ERASE_TRIM_BROKEN (1<<10) /* Skip secure for erase/trim */ 271 #define MMC_QUIRK_TRIM_BROKEN (1<<12) /* Skip trim */ 274 bool reenable_cmdq; /* Re-enable Command Queue */ 279 unsigned int eg_boundary; /* don't cross erase-group boundaries */ [all …]
|
/Linux-v5.10/drivers/iio/adc/ |
D | palmas_gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * palmas-adc.c -- TI PALMAS GPADC. 27 #define MOD_NAME "palmas-gpadc" 30 #define PALMAS_GPADC_TRIMINVALID -1 38 u8 trim1_reg; /* register number for lower trim */ 39 u8 trim2_reg; /* register number for upper trim */ 40 int gain; /* calculated from above (after reading trim regs) */ 41 int offset; /* calculated from above (after reading trim regs) */ 42 int gain_error; /* calculated from above (after reading trim regs) */ 80 * struct palmas_gpadc - the palmas_gpadc structure [all …]
|
/Linux-v5.10/lib/ |
D | extable.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 #define ex_to_insn(x) ((x)->insn) 20 return (unsigned long)&x->insn + x->insn; in ex_to_insn() 31 int delta = b - a; in swap_ex() 34 x->insn = y->insn + delta; in swap_ex() 35 y->insn = tmp.insn - delta; in swap_ex() 40 x->fixup = y->fixup + delta; in swap_ex() 41 y->fixup = tmp.fixup - delta; in swap_ex() 60 return -1; in cmp_ex_sort() 67 sort(start, finish - start, sizeof(struct exception_table_entry), in sort_extable() [all …]
|
/Linux-v5.10/drivers/phy/socionext/ |
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 …]
|