Home
last modified time | relevance | path

Searched refs:trim (Results 1 – 25 of 64) sorted by relevance

123

/kernel/linux/linux-5.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'");
Dcheckpatch.pl670 return trim($string) if ($string =~ /^\s*0[0-7]{3,3}\s*$/);
1171 $name = trim($name);
1186 $comment = trim($comment);
1187 $name = trim($name);
1190 $name_comment = trim($1);
1192 $address = trim($address);
1208 $name_comment = trim($name_comment);
1209 $comment = trim($comment);
1210 $name = trim($name);
1212 $address = trim($address);
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
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()
510 static DEVICE_ATTR(trim, S_IRUGO, rs5c372_sysfs_show_trim, NULL);
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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/hwmon/
Dbt1-pvt.c176 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()
648 u32 trim; in pvt_write_trim() local
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
1053 trim = PVT_TRIM_DEF; in pvt_init_iface()
1056 trim = pvt_calc_trim(temp); in pvt_init_iface()
1058 pvt_set_trim(pvt, trim); in pvt_init_iface()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ieee802154/
Dat86rf230.txt15 - xtal-trim: u8 value for fine tuning the internal capacitance
26 xtal-trim = /bits/ 8 <0x06>;
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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 {
/kernel/linux/linux-5.10/drivers/phy/socionext/
Dphy-uniphier-usb3hs.c145 struct uniphier_u3hsphy_trim_param trim; in uniphier_u3hsphy_update_config() local
149 ret = uniphier_u3hsphy_get_nvparams(priv, &trim); in uniphier_u3hsphy_update_config()
158 if (!ret && trim_param_is_valid(&trim)) { in uniphier_u3hsphy_update_config()
159 priv->data->trim_func(priv, pconfig, &trim); in uniphier_u3hsphy_update_config()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dtwl6040.h27 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim);
Dtwl6040.c552 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim) in twl6040_get_trim_value() argument
554 if (unlikely(trim >= TWL6040_TRIM_INVAL)) in twl6040_get_trim_value()
557 return twl6040_read(component, TWL6040_REG_TRIM1 + trim); in twl6040_get_trim_value()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-light-tsl27725 Causes an internal calibration of the als gain trim
Dsysfs-bus-iio-light-tsl25835 This property causes an internal calibration of the als gain trim
/kernel/linux/linux-5.10/Documentation/driver-api/mmc/
Dmmc-dev-attrs.rst50 to trim or secure trim operations where the minimum size is
/kernel/linux/linux-5.10/net/sunrpc/
Dxdr.c1444 unsigned int trim = len; in xdr_buf_trim() local
1447 cur = min_t(size_t, buf->tail[0].iov_len, trim); in xdr_buf_trim()
1449 trim -= cur; in xdr_buf_trim()
1450 if (!trim) in xdr_buf_trim()
1455 cur = min_t(unsigned int, buf->page_len, trim); in xdr_buf_trim()
1457 trim -= cur; in xdr_buf_trim()
1458 if (!trim) in xdr_buf_trim()
1463 cur = min_t(size_t, buf->head[0].iov_len, trim); in xdr_buf_trim()
1465 trim -= cur; in xdr_buf_trim()
1468 buf->len -= (len - trim); in xdr_buf_trim()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Darcxcnn_bl.txt19 - arc,trim-config: setting for register IMAXTUNE
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-pci-arasan.c190 u8 drv_type, u8 itap, u8 trim, u8 clk) in arasan_phy_set() argument
226 ret = arasan_phy_write(host, trim, DLL_TRIM); in arasan_phy_set()
/kernel/linux/linux-5.10/Documentation/hwmon/
Dpowr1220.rst22 includes voltage monitoring for 14 inputs as well as trim settings
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra210-emc-cc-r21021.c1138 const u16 *offsets = emc->offsets->trim; in tegra210_emc_r21021_set_clock()
1171 const struct tegra210_emc_per_channel_regs *trim = in tegra210_emc_r21021_set_clock() local
1175 if (!trim[i].offset) in tegra210_emc_r21021_set_clock()
1178 if (emc->num_channels < 2 && trim[i].bank >= 1) in tegra210_emc_r21021_set_clock()
1181 offset = trim[i].offset; in tegra210_emc_r21021_set_clock()
1199 emc_channel_writel(emc, trim[i].bank, value, offset); in tegra210_emc_r21021_set_clock()
1203 emc_channel_writel(emc, trim[i].bank, in tegra210_emc_r21021_set_clock()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
Dskl-nhlt.c118 static void skl_nhlt_trim_space(char *trim) in skl_nhlt_trim_space() argument
120 char *s = trim; in skl_nhlt_trim_space()
/kernel/linux/linux-5.10/drivers/clk/microchip/
Dclk-core.c482 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()
489 parent_rate, rate, rodiv, trim); in roclk_set_rate_and_parent()
520 v |= trim << REFO_TRIM_SHIFT; in roclk_set_rate_and_parent()

123