Home
last modified time | relevance | path

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

1234

/linux-6.6.21/Documentation/devicetree/bindings/nvmem/
Dsocionext,uniphier-efuse.yaml43 usb_rterm0: trim@54,4 {
47 usb_rterm1: trim@55,4 {
51 usb_rterm2: trim@58,4 {
55 usb_rterm3: trim@59,4 {
59 usb_sel_t0: trim@54,0 {
63 usb_sel_t1: trim@55,0 {
67 usb_sel_t2: trim@58,0 {
71 usb_sel_t3: trim@59,0 {
75 usb_hs_i0: trim@56,0 {
79 usb_hs_i2: trim@5a,0 {
Dqcom,qfprom.yaml99 hstx-trim-primary@25b {
117 hstx-trim-primary@1eb {
/linux-6.6.21/drivers/thermal/
Dimx8mm_thermal.c203 u32 trim[4] = { 0 }; in imx8mm_tmu_probe_set_calib_v2() local
217 memcpy(trim, buf, min(len, sizeof(trim))); in imx8mm_tmu_probe_set_calib_v2()
227 if (!trim[0] && !trim[1] && !trim[2] && !trim[3]) { in imx8mm_tmu_probe_set_calib_v2()
237 FIELD_GET(TRIM2_BUF_VERF_SEL_MASK, trim[0])) | in imx8mm_tmu_probe_set_calib_v2()
239 FIELD_GET(TRIM2_BUF_SLOP_SEL_MASK, trim[0])), in imx8mm_tmu_probe_set_calib_v2()
243 FIELD_GET(TRIM2_BJT_CUR_MASK, trim[0])) | in imx8mm_tmu_probe_set_calib_v2()
244 FIELD_PREP(TRIM_BGR_MASK, FIELD_GET(TRIM2_BGR_MASK, trim[0])) | in imx8mm_tmu_probe_set_calib_v2()
245 FIELD_PREP(TRIM_VLSB_MASK, FIELD_GET(TRIM2_VLSB_MASK, trim[0])) | in imx8mm_tmu_probe_set_calib_v2()
250 FIELD_GET(TRIM3_TCA25_0_LSB_MASK, trim[1]) | in imx8mm_tmu_probe_set_calib_v2()
251 (FIELD_GET(TRIM4_TCA25_0_MSB_MASK, trim[2]) << 4)) | in imx8mm_tmu_probe_set_calib_v2()
[all …]
/linux-6.6.21/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'");
Drustdoc_test_gen.rs219 let rust_tests = rust_tests.trim(); in main()
220 let c_test_declarations = c_test_declarations.trim(); in main()
221 let c_test_cases = c_test_cases.trim(); in main()
Dcheckpatch.pl260 $verbose_messages{$type} = trim($desc);
271 $verbose_messages{$type} = trim($desc);
280 $verbose_messages{$type} = trim($desc);
899 return trim($string) if ($string =~ /^\s*0[0-7]{3,3}\s*$/);
1410 $name = trim($name);
1431 $name_comment .= trim($1);
1434 $name = trim("$quoted $name");
1436 $address = trim($address);
1438 $comment = trim($comment);
1454 $address = trim($address);
[all …]
/linux-6.6.21/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-6.6.21/kernel/bpf/
Dlpm_trie.c441 struct lpm_trie_node __rcu **trim, **trim2; in trie_delete_elem() local
459 trim = &trie->root; in trie_delete_elem()
460 trim2 = trim; in trie_delete_elem()
463 *trim, lockdep_is_held(&trie->lock)))) { in trie_delete_elem()
471 trim2 = trim; in trie_delete_elem()
473 trim = &node->child[next_bit]; in trie_delete_elem()
519 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
521 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
523 RCU_INIT_POINTER(*trim, NULL); in trie_delete_elem()
/linux-6.6.21/drivers/rtc/
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()
Drtc-rs5c372.c324 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
336 if (trim) { in rs5c372_get_trim()
350 *trim = tmp; in rs5c372_get_trim()
478 int err, osc, trim; in rs5c372_rtc_proc() local
480 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
484 seq_printf(seq, "trim\t\t: %d\n", trim); in rs5c372_rtc_proc()
681 int err, trim; in rs5c372_sysfs_show_trim() local
683 err = rs5c372_get_trim(to_i2c_client(dev), NULL, &trim); in rs5c372_sysfs_show_trim()
687 return sprintf(buf, "%d\n", trim); in rs5c372_sysfs_show_trim()
689 static DEVICE_ATTR(trim, S_IRUGO, rs5c372_sysfs_show_trim, NULL);
/linux-6.6.21/drivers/hwmon/
Dbt1-pvt.c152 static inline void pvt_set_trim(struct pvt_hwmon *pvt, u32 trim) in pvt_set_trim() argument
156 trim = FIELD_PREP(PVT_CTRL_TRIM_MASK, trim); in pvt_set_trim()
160 trim | old); in pvt_set_trim()
624 u32 trim; in pvt_write_trim() local
635 trim = pvt_calc_trim(val); in pvt_write_trim()
636 pvt_set_trim(pvt, trim); in pvt_write_trim()
975 u32 trim, temp; in pvt_init_iface() local
1020 trim = PVT_TRIM_DEF; in pvt_init_iface()
1023 trim = pvt_calc_trim(temp); in pvt_init_iface()
1025 pvt_set_trim(pvt, trim); in pvt_init_iface()
/linux-6.6.21/Documentation/devicetree/bindings/net/ieee802154/
Dat86rf230.txt15 - xtal-trim: u8 value for fine tuning the internal capacitance
26 xtal-trim = /bits/ 8 <0x06>;
/linux-6.6.21/Documentation/devicetree/bindings/phy/
Dqcom,qusb2-phy.yaml78 Phandle to nvmem cell that contains 'HS Tx trim'
114 qcom,hstx-trim-value:
146 qcom,hsdisc-trim-value:
178 qcom,hstx-trim-value: false
181 qcom,hsdisc-trim-value: false
Dphy-stm32-usbphyc.yaml122 st,trim-hs-current:
146 st,trim-hs-impedance:
257 st,trim-hs-current = <15>;
258 st,trim-hs-impedance = <1>;
275 st,trim-hs-current = <15>;
276 st,trim-hs-impedance = <1>;
/linux-6.6.21/drivers/infiniband/core/
Dumem_dmabuf.c52 unsigned long trim = cur + sg_dma_len(sg) - end; in ib_umem_dmabuf_map_pages() local
55 umem_dmabuf->last_sg_trim = trim; in ib_umem_dmabuf_map_pages()
56 sg_dma_len(sg) -= trim; in ib_umem_dmabuf_map_pages()
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mid.c1189 static void qla_trim_buf(struct qla_qpair *qp, u16 trim) in qla_trim_buf() argument
1194 if (!trim) in qla_trim_buf()
1197 for (i = 0; i < trim; i++) { in qla_trim_buf()
1218 qp->id, trim, qp->buf_pool.num_alloc); in qla_trim_buf()
1223 u32 trim; in __qla_adjust_buf() local
1232 trim = qp->buf_pool.num_alloc - qp->buf_pool.max_used; in __qla_adjust_buf()
1233 trim = (trim * 10) / 100; in __qla_adjust_buf()
1234 trim = trim ? trim : 1; in __qla_adjust_buf()
1235 qla_trim_buf(qp, trim); in __qla_adjust_buf()
/linux-6.6.21/arch/arm64/boot/dts/socionext/
Duniphier-ld20.dtsi647 usb_rterm0: trim@54,4 {
651 usb_rterm1: trim@55,4 {
655 usb_rterm2: trim@58,4 {
659 usb_rterm3: trim@59,4 {
663 usb_sel_t0: trim@54,0 {
667 usb_sel_t1: trim@55,0 {
671 usb_sel_t2: trim@58,0 {
675 usb_sel_t3: trim@59,0 {
679 usb_hs_i0: trim@56,0 {
683 usb_hs_i2: trim@5a,0 {
Duniphier-pxs3.dtsi473 usb_rterm0: trim@54,4 {
477 usb_rterm1: trim@55,4 {
481 usb_rterm2: trim@58,4 {
485 usb_rterm3: trim@59,4 {
489 usb_sel_t0: trim@54,0 {
493 usb_sel_t1: trim@55,0 {
497 usb_sel_t2: trim@58,0 {
501 usb_sel_t3: trim@59,0 {
505 usb_hs_i0: trim@56,0 {
509 usb_hs_i2: trim@5a,0 {
/linux-6.6.21/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()
/linux-6.6.21/arch/arm/boot/dts/st/
Dstm32mp135f-dk.dts342 st,trim-hs-current = <11>;
343 st,trim-hs-impedance = <2>;
356 st,trim-hs-current = <11>;
357 st,trim-hs-impedance = <2>;
Dstm32mp157c-ev1.dts393 st,trim-hs-current = <15>;
394 st,trim-hs-impedance = <1>;
409 st,trim-hs-current = <15>;
410 st,trim-hs-impedance = <1>;
/linux-6.6.21/Documentation/devicetree/bindings/mmc/
Dnvidia,tegra20-sdhci.yaml100 The DQS trim values are only used on controllers which support HS400
104 nvidia,default-trim:
108 nvidia,dqs-trim:
109 description: Specify DQS trim value for HS400 timing.
307 nvidia,default-trim = <0x4>;
/linux-6.6.21/sound/soc/codecs/
Dtwl6040.h27 int twl6040_get_trim_value(struct snd_soc_component *component, enum twl6040_trim trim);
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-bus-iio-light-tsl27725 Causes an internal calibration of the als gain trim
/linux-6.6.21/net/core/
Dskmsg.c265 int trim = msg->sg.size - len; in sk_msg_trim() local
268 if (trim <= 0) { in sk_msg_trim()
269 WARN_ON(trim < 0); in sk_msg_trim()
276 trim >= msg->sg.data[i].length) { in sk_msg_trim()
277 trim -= msg->sg.data[i].length; in sk_msg_trim()
280 if (!trim) in sk_msg_trim()
284 msg->sg.data[i].length -= trim; in sk_msg_trim()
285 sk_mem_uncharge(sk, trim); in sk_msg_trim()

1234