Home
last modified time | relevance | path

Searched full:trim (Results 1 – 25 of 338) sorted by relevance

12345678910>>...14

/Linux-v5.10/fs/jfs/
Djfs_discard.c20 * 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/
Dsysfs-ata123 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/
Docteon_68xx.dts74 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/
Dnvidia,tegra20-sdhci.txt84 - 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/
Drtc-rs5c372.c322 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 …]
Drtc-x1205.c293 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/
Dbt1-pvt.h70 * @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.
Dbt1-pvt.c154 * 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/
Djfs.rst53 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/
Dparse-maintainers.pl101 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/
Ddlmglue.h74 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/
Dat86rf230.txt15 - xtal-trim: u8 value for fine tuning the internal capacitance
26 xtal-trim = /bits/ 8 <0x06>;
/Linux-v5.10/drivers/clk/microchip/
Dclk-core.c57 /* 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/
Dbcm7xxx.c74 /* 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/
Dqcom,qusb2-phy.yaml67 Phandle to nvmem cell that contains 'HS Tx trim'
110 qcom,hstx-trim-value:
142 qcom,hsdisc-trim-value:
/Linux-v5.10/net/core/
Dskmsg.c255 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/
Duniphier-pxs3.dtsi462 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 {
Duniphier-ld20.dtsi632 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/
Dlpm_trie.c435 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/
Dxfs_discard.c99 * 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/
Dqcom,qfprom.yaml75 hstx-trim-primary@25b {
93 hstx-trim-primary@1eb {
/Linux-v5.10/include/linux/mmc/
Dcard.h72 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/
Dpalmas_gpadc.c38 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/
Dextable.c78 /*trim the beginning*/ in trim_init_extable()
84 /*trim the end*/ in trim_init_extable()
/Linux-v5.10/drivers/block/drbd/
Ddrbd_protocol.h61 * 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.

12345678910>>...14