Home
last modified time | relevance | path

Searched +full:io +full:- +full:channels (Results 1 – 25 of 1095) sorted by relevance

12345678910>>...44

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/
H A Diio-bindings.txt2 from Lars-Peter Clausen [1].
4 Sources of IIO channels can be represented by any node in the device
10 value of a #io-channel-cells property in the IIO provider node.
12 [1] https://marc.info/?l=linux-iio&m=135902119507483&w=2
17 #io-channel-cells: Number of cells in an IIO specifier; Typically 0 for nodes
27 adc: voltage-sensor@35 {
30 #io-channel-cells = <1>;
37 compatible = "some-vendor,some-adc";
40 adc1: iio-device@0 {
41 #io-channel-cells = <1>;
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zcu106-revA.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2016 - 2019, Xilinx, Inc.
10 /dts-v1/;
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "xlnx,zynqmp-zcu106-revA", "xlnx,zynqmp-zcu106", "xlnx,zynqmp";
34 stdout-path = "serial0:115200n8";
42 gpio-keys {
43 compatible = "gpio-keys";
[all …]
H A Dzynqmp-zcu102-revA.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2015 - 2019, Xilinx, Inc.
10 /dts-v1/;
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "xlnx,zynqmp-zcu102-revA", "xlnx,zynqmp-zcu102", "xlnx,zynqmp";
34 stdout-path = "serial0:115200n8";
42 gpio-keys {
43 compatible = "gpio-keys";
[all …]
H A Dzynqmp-zcu111-revA.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2017 - 2019, Xilinx, Inc.
10 /dts-v1/;
13 #include "zynqmp-clk-ccf.dtsi"
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/gpio/gpio.h>
19 compatible = "xlnx,zynqmp-zcu111-revA", "xlnx,zynqmp-zcu111", "xlnx,zynqmp";
33 stdout-path = "serial0:115200n8";
42 gpio-keys {
43 compatible = "gpio-keys";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/multiplexer/
H A Dio-channel-mux.txt7 - compatible : "io-channel-mux"
8 - io-channels : Channel node of the parent channel that has multiplexed
10 - io-channel-names : Should be "parent".
11 - #address-cells = <1>;
12 - #size-cells = <0>;
13 - mux-controls : Mux controller node to use for operating the mux
14 - channels : List of strings, labeling the mux controller states.
16 For each non-empty string in the channels property, an io-channel will
17 be created. The number of this io-channel is the same as the index into
18 the list of strings in the channels property, and also matches the mux
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dst,stm32-dfsdm-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-dfsdm-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Fabrice Gasnier <fabrice.gasnier@st.com>
11 - Olivier Moysan <olivier.moysan@st.com>
14 STM32 DFSDM ADC is a sigma delta analog-to-digital converter dedicated to
17 - Sigma delta modulators (motor control, metering...)
18 - PDM microphones (audio digital microphone)
28 - st,stm32h7-dfsdm
[all …]
H A Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
11 It has several multiplexed input channels. Conversions can be performed
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@st.com>
27 - st,stm32f4-adc-core
[all …]
H A Denvelope-detector.txt8 input +------>-------|+ \
10 .-------. | }---.
12 | dac|-->--|- / |
16 | irq|------<-------'
18 '-------'
21 - compatible: Should be "axentia,tse850-envelope-detector"
22 - io-channels: Channel node of the dac to be used for comparator input.
23 - io-channel-names: Should be "dac".
24 - interrupt specification for one client interrupt,
25 see ../../interrupt-controller/interrupts.txt for details.
[all …]
H A Dqcom,pm8xxx-xoadc.txt8 - compatible: should be one of:
9 "qcom,pm8018-adc"
10 "qcom,pm8038-adc"
11 "qcom,pm8058-adc"
12 "qcom,pm8921-adc"
14 - reg: should contain the ADC base address in the PMIC, typically
17 - xoadc-ref-supply: should reference a regulator that can supply
21 The following required properties are standard for IO channels, see
22 iio-bindings.txt for more details, but notice that this particular
26 - #address-cells: should be set to <2>, the first cell is the
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Dab8500.txt1 * AB8500 Multi-Functional Device (MFD)
4 - compatible : contains "stericsson,ab8500" or "stericsson,ab8505";
5 - interrupts : contains the IRQ line for the AB8500
6 - interrupt-controller : describes the AB8500 as an Interrupt Controller (has its own domain)
7 - #interrupt-cells : should be 2, for 2-cell format
8 - The first cell is the AB8500 local IRQ number
9 - The second cell is used to specify optional parameters
10 - bits[3:0] trigger type and level flags:
11 1 = low-to-high edge triggered
12 2 = high-to-low edge triggered
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-natte.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * at91-natte.dts - Device Tree include file for the Natte board
11 mux: mux-controller {
12 compatible = "gpio-mux";
13 #mux-control-cells = <0>;
15 mux-gpios = <&ioexp 0 GPIO_ACTIVE_HIGH>,
20 batntc-mux {
21 compatible = "io-channel-mux";
22 io-channels = <&adc 5>;
23 io-channel-names = "parent";
[all …]
H A Dcros-adc-thermistors.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
15 pullup-uv = <1800000>;
16 pullup-ohm = <47000>;
17 pulldown-ohm = <0>;
18 io-channels = <&adc 3>;
22 pullup-uv = <1800000>;
23 pullup-ohm = <47000>;
24 pulldown-ohm = <0>;
25 io-channels = <&adc 4>;
29 pullup-uv = <1800000>;
[all …]
H A Daspeed-bmc-opp-mowgli.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,mowgli-bmc", "aspeed,ast2500";
13 stdout-path = &uart5;
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
[all …]
H A Dste-ab8500.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
27 interrupt-parent = <&intc>;
29 interrupt-controller;
30 #interrupt-cells = <2>;
32 ab8500_clock: clock-controller {
33 compatible = "stericsson,ab8500-clk";
[all …]
H A Dste-ab8505.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later
6 #include <dt-bindings/clock/ste-ab8500.h>
10 iio-hwmon {
11 compatible = "iio-hwmon";
12 io-channels = <&gpadc 0x02>, /* Battery temperature */
23 interrupt-parent = <&intc>;
25 interrupt-controller;
26 #interrupt-cells = <2>;
28 ab8500_clock: clock-controller {
29 compatible = "stericsson,ab8500-clk";
[all …]
H A Daspeed-bmc-opp-mihawk.dts1 // SPDX-License-Identifier: GPL-2.0+
2 /dts-v1/;
3 #include "aspeed-g5.dtsi"
4 #include <dt-bindings/gpio/aspeed-gpio.h>
5 #include <dt-bindings/leds/leds-pca955x.h>
9 compatible = "ibm,mihawk-bmc", "aspeed,ast2500";
59 stdout-path = &uart5;
67 reserved-memory {
68 #address-cells = <1>;
69 #size-cells = <1>;
[all …]
H A Dat91-tse850-3.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board
9 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
11 #include "at91-linea.dtsi"
14 model = "Axentia TSE-850 3.0";
19 compatible = "fixed-clock";
21 #clock-cells = <0>;
22 clock-frequency = <16000000>;
23 clock-output-names = "sck";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dresistive-adc-touch.txt5 - compatible: must be "resistive-adc-touch"
6 The device must be connected to an ADC device that provides channels for
8 Refer to ../iio/iio-bindings.txt for details
9 - iio-channels: must have at least two channels connected to an ADC device.
10 These should correspond to the channels exposed by the ADC device and should
11 have the right index as the ADC device registers them. These channels
13 - iio-channel-names: must have all the channels' names. Mandatory channels
17 - iio-channels: The third channel named "pressure" is optional and can be
21 - iio-channel-names: optional channel named "pressure".
26 compatible = "resistive-adc-touch";
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mux/
H A Dadi,adg792a.txt4 - compatible : "adi,adg792a" or "adi,adg792g"
5 - #mux-control-cells : <0> if parallel (the three muxes are bound together
8 * Standard mux-controller bindings as described in mux-controller.txt
11 - gpio-controller : if present, #gpio-cells below is required.
12 - #gpio-cells : should be <2>
13 - First cell is the GPO line number, i.e. 0 or 1
14 - Second cell is used to specify active high (0)
18 - idle-state : if present, array of states that the mux controllers will have
32 mux: mux-controller@50 {
35 #mux-control-cells = <1>;
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Dadc-joystick.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
5 $id: "http://devicetree.org/schemas/input/adc-joystick.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Artur Rojek <contact@artur-rojek.eu>
19 const: adc-joystick
21 io-channels:
27 See Documentation/devicetree/bindings/iio/iio-bindings.txt for details.
29 '#address-cells':
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Dingenic,battery.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2019-2020 Artur Rojek
4 ---
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Artur Rojek <contact@artur-rojek.eu>
16 - const: ingenic,jz4740-battery
17 - items:
18 - enum:
19 - ingenic,jz4725b-battery
20 - ingenic,jz4770-battery
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/
H A Dinkern.c1 // SPDX-License-Identifier: GPL-2.0-only
39 ret = -ENOMEM; in iio_map_array_register()
42 mapi->map = &maps[i]; in iio_map_array_register()
43 mapi->indio_dev = indio_dev; in iio_map_array_register()
44 list_add_tail(&mapi->l, &iio_map_list); in iio_map_array_register()
60 int ret = -ENODEV; in iio_map_array_unregister()
65 if (indio_dev == mapi->indio_dev) { in iio_map_array_unregister()
66 list_del(&mapi->l); in iio_map_array_unregister()
82 for (i = 0; i < indio_dev->num_channels; i++) in iio_chan_spec_from_name()
83 if (indio_dev->channels[i].datasheet_name && in iio_chan_spec_from_name()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dphy-cpcap-usb.txt4 compatible: Shall be either "motorola,cpcap-usb-phy" or
5 "motorola,mapphone-cpcap-usb-phy"
6 #phy-cells: Shall be 0
8 interrupt-names: Interrupt names
9 io-channels: IIO ADC channels used by the USB PHY
10 io-channel-names: IIO ADC channel names
11 vusb-supply: Regulator for the PHY
15 pinctrl-names: Names for optional pin modes
16 mode-gpios: Optional GPIOs for configuring alternate modes
20 compatible = "motorola,mapphone-cpcap-usb-phy";
[all …]
/OK3568_Linux_fs/kernel/sound/core/oss/
H A Dio.c2 * PCM I/O Plug-In Interface
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 * Basic io plugin
43 return -ENXIO; in io_playback_transfer()
45 return -ENXIO; in io_playback_transfer()
46 if (plugin->access == SNDRV_PCM_ACCESS_RW_INTERLEAVED) { in io_playback_transfer()
47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() local
50 void **bufs = (void**)plugin->extra_data; in io_playback_transfer()
52 return -ENXIO; in io_playback_transfer()
[all …]
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
29 QETH_TXQ_STAT("IO buffers", bufs),
30 QETH_TXQ_STAT("IO buffer elements", buf_elements),
31 QETH_TXQ_STAT("packed IO buffers", bufs_pack),
49 QETH_CARD_STAT("rx0 IO buffers", rx_bufs),
90 struct qeth_card *card = dev->ml_priv; in qeth_get_sset_count()
95 card->qdio.no_out_queues * TXQ_STATS_LEN; in qeth_get_sset_count()
97 return -EINVAL; in qeth_get_sset_count()
104 struct qeth_card *card = dev->ml_priv; in qeth_get_ethtool_stats()
107 qeth_add_stat_data(&data, &card->stats, card_stats, CARD_STATS_LEN); in qeth_get_ethtool_stats()
[all …]

12345678910>>...44