/Linux-v5.10/fs/jfs/ |
D | jfs_discard.c | 20 * FUNCTION: TRIM the specified block range on device, if supported 54 * FUNCTION: attempt to discard (TRIM) all free blocks from the 76 * start: First Byte to trim in jfs_ioc_trim() 77 * len: number of Bytes to trim from start in jfs_ioc_trim() 95 * we trim all ag's within the range in jfs_ioc_trim()
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-ata | 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 133 unqueued: Drive supports unqueued DSM TRIM only 135 queued: Drive supports queued DSM TRIM 138 be buggy and only unqueued TRIM commands
|
/Linux-v5.10/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_68xx.dts | 74 cavium,qlm-trim = "4,sgmii"; 83 cavium,qlm-trim = "4,sgmii"; 92 cavium,qlm-trim = "4,sgmii"; 101 cavium,qlm-trim = "4,sgmii"; 118 cavium,qlm-trim = "0,sgmii"; 127 cavium,qlm-trim = "0,sgmii"; 136 cavium,qlm-trim = "0,sgmii"; 145 cavium,qlm-trim = "0,sgmii"; 162 cavium,qlm-trim = "2,sgmii"; 171 cavium,qlm-trim = "2,sgmii"; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mmc/ |
D | nvidia,tegra20-sdhci.txt | 84 - nvidia,default-trim : Specify the default outbound clock trimmer 86 - nvidia,dqs-trim : Specify DQS trim value for HS400 timing 97 Notes on tap and trim values: 103 - The DQS trim values are only used on controllers which support
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-rs5c372.c | 322 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument 330 if (trim) { in rs5c372_get_trim() 331 dev_dbg(&client->dev, "%s: raw trim=%x\n", __func__, tmp); in rs5c372_get_trim() 344 *trim = tmp; in rs5c372_get_trim() 472 int err, osc, trim; in rs5c372_rtc_proc() local 474 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc() 478 seq_printf(seq, "trim\t\t: %d\n", trim); in rs5c372_rtc_proc() 502 int err, trim; in rs5c372_sysfs_show_trim() local 504 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim() 508 return sprintf(buf, "%d\n", trim); in rs5c372_sysfs_show_trim() [all …]
|
D | rtc-x1205.c | 293 static int x1205_get_dtrim(struct i2c_client *client, int *trim) in x1205_get_dtrim() argument 320 *trim = 0; in x1205_get_dtrim() 323 *trim += 20; in x1205_get_dtrim() 326 *trim += 10; in x1205_get_dtrim() 329 *trim = -*trim; in x1205_get_dtrim() 334 static int x1205_get_atrim(struct i2c_client *client, int *trim) in x1205_get_atrim() argument 369 *trim = (atr * 250) + 11000; in x1205_get_atrim() 371 dev_dbg(&client->dev, "%s: real=%d\n", __func__, *trim); in x1205_get_atrim()
|
/Linux-v5.10/drivers/hwmon/ |
D | bt1-pvt.h | 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 74 * @PVT_TRIM_TEMP: Maximum temperature encoded by the trim factor. 75 * @PVT_TRIM_STEP: Temperature stride corresponding to the trim value.
|
D | bt1-pvt.c | 154 * getting back enabled. The same concerns the temperature trim and 176 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) in pvt_set_trim() argument 180 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim); in pvt_set_trim() 184 trim | old); in pvt_set_trim() 244 * Lock the interface mutex to serialize trim, timeouts and alarm in pvt_soft_isr() 648 u32 trim; in pvt_write_trim() local 652 * Serialize trim update, since a part of the register is changed and in pvt_write_trim() 659 trim = pvt_calc_trim(val); in pvt_write_trim() 660 pvt_set_trim(pvt, trim); in pvt_write_trim() 1008 u32 trim, temp; in pvt_init_iface() local [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
D | jfs.rst | 53 This enables/disables the use of discard/TRIM commands. 54 The discard/TRIM commands are sent to the underlying 59 a TRIM command to the block device is considered useful.
|
/Linux-v5.10/scripts/ |
D | parse-maintainers.pl | 101 sub trim { subroutine 153 $line = $1 . ":\t" . trim($2) . "\n"; 158 $case = trim($lastline); 170 trim($lastline) eq "" or die ("Odd non-pattern line '$lastline' for '$case'");
|
/Linux-v5.10/fs/ocfs2/ |
D | dlmglue.h | 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 */
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ieee802154/ |
D | at86rf230.txt | 15 - xtal-trim: u8 value for fine tuning the internal capacitance 26 xtal-trim = /bits/ 8 <0x06>;
|
/Linux-v5.10/drivers/clk/microchip/ |
D | clk-core.c | 57 /* Reference Oscillator Trim Register Fields */ 299 /* fout = fin / [2 * {div + (trim / 512)}] in roclk_calc_rate() 300 * = fin * 512 / [1024 * div + 2 * trim] in roclk_calc_rate() 301 * = fin * 256 / (512 * div + trim) in roclk_calc_rate() 302 * = (fin << 8) / ((div << 9) + trim) in roclk_calc_rate() 368 /* get trim */ in roclk_recalc_rate() 482 u32 trim, rodiv, v; in roclk_set_rate_and_parent() local 486 roclk_calc_div_trim(rate, parent_rate, &rodiv, &trim); in roclk_set_rate_and_parent() 488 pr_debug("parent_rate = %lu, rate = %lu, div = %d, trim = %d\n", in roclk_set_rate_and_parent() 489 parent_rate, rate, rodiv, trim); in roclk_set_rate_and_parent() [all …]
|
/Linux-v5.10/drivers/net/phy/ |
D | bcm7xxx.c | 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() 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() 248 /* Set current trim values INT_trim = -1, Ext_trim =0 */ in bcm7xxx_28nm_ephy_01_afe_config_init()
|
/Linux-v5.10/Documentation/devicetree/bindings/phy/ |
D | qcom,qusb2-phy.yaml | 67 Phandle to nvmem cell that contains 'HS Tx trim' 110 qcom,hstx-trim-value: 142 qcom,hsdisc-trim-value:
|
/Linux-v5.10/net/core/ |
D | skmsg.c | 255 int trim = msg->sg.size - len; in sk_msg_trim() local 258 if (trim <= 0) { in sk_msg_trim() 259 WARN_ON(trim < 0); in sk_msg_trim() 266 trim >= msg->sg.data[i].length) { in sk_msg_trim() 267 trim -= msg->sg.data[i].length; in sk_msg_trim() 270 if (!trim) in sk_msg_trim() 274 msg->sg.data[i].length -= trim; in sk_msg_trim() 275 sk_mem_uncharge(sk, trim); in sk_msg_trim() 283 /* If we trim data a full sg elem before curr pointer update in sk_msg_trim() 350 /* Revert iov_iter updates, msg will need to use 'trim' later if it in sk_msg_zerocopy_from_iter() [all …]
|
/Linux-v5.10/arch/arm64/boot/dts/socionext/ |
D | uniphier-pxs3.dtsi | 462 usb_rterm0: trim@54,4 { 466 usb_rterm1: trim@55,4 { 470 usb_rterm2: trim@58,4 { 474 usb_rterm3: trim@59,4 { 478 usb_sel_t0: trim@54,0 { 482 usb_sel_t1: trim@55,0 { 486 usb_sel_t2: trim@58,0 { 490 usb_sel_t3: trim@59,0 { 494 usb_hs_i0: trim@56,0 { 498 usb_hs_i2: trim@5a,0 {
|
D | uniphier-ld20.dtsi | 632 usb_rterm0: trim@54,4 { 636 usb_rterm1: trim@55,4 { 640 usb_rterm2: trim@58,4 { 644 usb_rterm3: trim@59,4 { 648 usb_sel_t0: trim@54,0 { 652 usb_sel_t1: trim@55,0 { 656 usb_sel_t2: trim@58,0 { 660 usb_sel_t3: trim@59,0 { 664 usb_hs_i0: trim@56,0 { 668 usb_hs_i2: trim@5a,0 {
|
/Linux-v5.10/kernel/bpf/ |
D | lpm_trie.c | 435 struct lpm_trie_node __rcu **trim, **trim2; in trie_delete_elem() local 453 trim = &trie->root; in trie_delete_elem() 454 trim2 = trim; in trie_delete_elem() 457 *trim, lockdep_is_held(&trie->lock)))) { in trie_delete_elem() 465 trim2 = trim; in trie_delete_elem() 467 trim = &node->child[next_bit]; in trie_delete_elem() 513 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem() 515 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem() 517 RCU_INIT_POINTER(*trim, NULL); in trie_delete_elem()
|
/Linux-v5.10/fs/xfs/ |
D | xfs_discard.c | 99 * supposed to discard skip it. Do not bother to trim in xfs_trim_extents() 142 * trim a range of the filesystem. 148 * comparisons for determining the correct offset and regions to trim.
|
/Linux-v5.10/Documentation/devicetree/bindings/nvmem/ |
D | qcom,qfprom.yaml | 75 hstx-trim-primary@25b { 93 hstx-trim-primary@1eb {
|
/Linux-v5.10/include/linux/mmc/ |
D | card.h | 72 unsigned int sec_trim_mult; /* Secure trim multiplier */ 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 */ 280 unsigned int erase_arg; /* erase / trim / discard */
|
/Linux-v5.10/drivers/iio/adc/ |
D | palmas_gpadc.c | 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) */ 304 dev_err(adc->dev, "TRIM read failed: %d\n", ret); in palmas_gpadc_calibrate() 311 dev_err(adc->dev, "TRIM read failed: %d\n", ret); in palmas_gpadc_calibrate()
|
/Linux-v5.10/lib/ |
D | extable.c | 78 /*trim the beginning*/ in trim_init_extable() 84 /*trim the end*/ in trim_init_extable()
|
/Linux-v5.10/drivers/block/drbd/ |
D | drbd_protocol.h | 61 * which is why I chose TRIM here, to disambiguate. */ 193 /* supports TRIM/DISCARD on the "wire" protocol */ 196 /* Detect all-zeros during resync, and rather TRIM/UNMAP/DISCARD those blocks 234 * unmap/trim/discard/de-allocate.
|