Home
last modified time | relevance | path

Searched +full:avg +full:- +full:pos +full:- +full:strength (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/iio/proximity/
Dsemtech,sx9360.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gwendal Grignou <gwendal@chromium.org>
11 - Daniel Campello <campello@chromium.org>
29 vdd-supply:
32 svdd-supply:
35 "#io-channel-cells":
46 semtech,proxraw-strength:
52 PROXRAW filter strength for both phases. A value of 0 represents off,
[all …]
Dsemtech,sx9310.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Daniel Campello <campello@chromium.org>
16 https://www.semtech.com/products/smart-sensing/sar-sensors/sx9310
19 - $ref: /schemas/iio/iio.yaml#
24 - semtech,sx9310
25 - semtech,sx9311
37 vdd-supply:
40 svdd-supply:
[all …]
Dsemtech,sx9324.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Gwendal Grignou <gwendal@chromium.org>
11 - Daniel Campello <campello@chromium.org>
17 - $ref: /schemas/iio/iio.yaml#
32 vdd-supply:
35 svdd-supply:
38 "#io-channel-cells":
41 semtech,ph0-pin:
[all …]
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsc7180-trogdor-quackingstick-r0-lte.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 * - bits 11..8: Panel ID: 0x6 (AUO)
11 #include "sc7180-trogdor-quackingstick-r0.dts"
12 #include "sc7180-trogdor-lte-sku.dtsi"
16 compatible = "google,quackingstick-sku1536", "qcom,sc7180";
21 semtech,ph0-pin = <3 1 3>;
22 semtech,ph1-pin = <2 1 2>;
23 semtech,ph2-pin = <3 3 1>;
24 semtech,ph3-pin = <1 3 3>;
25 semtech,ph01-resolution = <1024>;
[all …]
Dsc7180-trogdor-lazor.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor-clamshell.dtsi"
11 semtech,cs0-ground;
12 semtech,combined-sensors = <3>;
14 semtech,startup-sensor = <0>;
15 semtech,proxraw-strength = <8>;
16 semtech,avg-pos-strength = <64>;
34 clock-frequency = <400000>;
37 compatible = "hid-over-i2c";
39 pinctrl-names = "default";
[all …]
Dsc7180-trogdor-pazquel.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 #include "sc7180-trogdor-clamshell.dtsi"
12 semtech,ph0-pin = <1 3 3>;
13 semtech,ph1-pin = <3 1 3>;
14 semtech,ph2-pin = <1 3 3>;
15 semtech,ph3-pin = <0 0 0>;
16 semtech,ph01-resolution = <1024>;
17 semtech,ph23-resolution = <1024>;
18 semtech,startup-sensor = <1>;
19 semtech,ph01-proxraw-strength = <3>;
[all …]
/linux-6.12.1/drivers/iio/proximity/
Dsx9360.c1 // SPDX-License-Identifier: GPL-2.0
181 * Returns the fake increment of (Max-Min)/2047
216 regmap_reg_range(SX9360_REG_IRQ_CFG + 1, SX9360_REG_GNRL_CTRL0 - 1),
217 regmap_reg_range(SX9360_REG_GNRL_CTRL2 + 1, SX9360_REG_AFE_CTRL1 - 1),
219 SX9360_REG_PROX_CTRL0_PHR - 1),
220 regmap_reg_range(SX9360_REG_PROX_CTRL5 + 1, SX9360_REG_REF_CORR0 - 1),
222 SX9360_REG_USEFUL_PHR_MSB - 1),
223 regmap_reg_range(SX9360_REG_USE_FILTER_LSB + 1, SX9360_REG_RESET - 1),
224 regmap_reg_range(SX9360_REG_RESET + 1, SX9360_REG_WHOAMI - 1),
225 regmap_reg_range(SX9360_REG_WHOAMI + 1, SX9360_REG_REVISION - 1),
[all …]
Dsx9310.c1 // SPDX-License-Identifier: GPL-2.0
8 * linux-driver-SX9310_NoSmartHSensing>.
264 ret = regmap_write(data->regmap, SX9310_REG_SENSOR_SEL, chan->channel); in sx9310_read_prox_data()
268 return regmap_bulk_read(data->regmap, chan->address, val, sizeof(*val)); in sx9310_read_prox_data()
280 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &val); in sx9310_wait_for_sample()
297 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL3, &regval); in sx9310_read_gain()
301 switch (chan->channel) { in sx9310_read_gain()
311 return -EINVAL; in sx9310_read_gain()
324 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &regval); in sx9310_read_samp_freq()
341 if (chan->type != IIO_PROXIMITY) in sx9310_read_raw()
[all …]
Dsx9324.c1 // SPDX-License-Identifier: GPL-2.0
186 ret = regmap_read(data->regmap, SX9324_REG_AFE_PH0 + chan->channel, &val); in sx9324_phase_configuration_show()
195 buf[len - 1] = '\n'; in sx9324_phase_configuration_show()
315 regmap_reg_range(SX9324_REG_IRQ_CFG2 + 1, SX9324_REG_GNRL_CTRL0 - 1),
316 regmap_reg_range(SX9324_REG_GNRL_CTRL1 + 1, SX9324_REG_AFE_CTRL0 - 1),
317 regmap_reg_range(SX9324_REG_AFE_CTRL9 + 1, SX9324_REG_PROX_CTRL0 - 1),
318 regmap_reg_range(SX9324_REG_PROX_CTRL7 + 1, SX9324_REG_ADV_CTRL0 - 1),
319 regmap_reg_range(SX9324_REG_ADV_CTRL20 + 1, SX9324_REG_PHASE_SEL - 1),
320 regmap_reg_range(SX9324_REG_SAR_LSB + 1, SX9324_REG_RESET - 1),
321 regmap_reg_range(SX9324_REG_RESET + 1, SX9324_REG_WHOAMI - 1),
[all …]
/linux-6.12.1/drivers/mtd/nand/raw/
Dnandsim.c1 // SPDX-License-Identifier: GPL-2.0-or-later
142 MODULE_PARM_DESC(bus_width, "Chip's bus width (8- or 16-bit)");
143 MODULE_PARM_DESC(do_delays, "Simulate NAND delays using busy-waits if not zero");
165 "be correctable in 512-byte blocks");
182 /* Busy-wait delay macros (microseconds, milliseconds) */
189 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
192 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
199 (((ns)->regs.row * (ns)->geom.pgszoob) + (ns)->regs.column)
202 #define NS_RAW_OFFSET_OOB(ns) (NS_RAW_OFFSET(ns) + ns->geom.pgsz)
205 #define NS_PAGE_BYTE_SHIFT(ns) ((ns)->regs.column + (ns)->regs.off)
[all …]