Home
last modified time | relevance | path

Searched +full:port +full:- +full:2 (Results 1 – 25 of 1118) sorted by relevance

12345678910>>...45

/kernel/linux/linux-6.6/drivers/gpio/
Dgpio-gpio-mm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * GPIO driver for the Diamond Systems GPIO-MM
6 * This driver supports the following Diamond Systems devices: GPIO-MM and
7 * GPIO-MM-12.
19 #include "gpio-i8255.h"
29 MODULE_PARM_DESC(base, "Diamond Systems GPIO-MM base addresses");
31 #define GPIOMM_NUM_PPI 2
52 "Port 1A0", "Port 1A1", "Port 1A2", "Port 1A3", "Port 1A4", "Port 1A5",
53 "Port 1A6", "Port 1A7", "Port 1B0", "Port 1B1", "Port 1B2", "Port 1B3",
54 "Port 1B4", "Port 1B5", "Port 1B6", "Port 1B7", "Port 1C0", "Port 1C1",
[all …]
Dgpio-ws16c48.c1 // SPDX-License-Identifier: GPL-2.0-only
42 #define ENAB_PAGE u8_encode_bits(2, PAGE_LOCK_PAGE_FIELD)
89 /* Only the first 24 lines (Port 0-2) support interrupts */
92 WS16C48_REGMAP_IRQ(0), WS16C48_REGMAP_IRQ(1), WS16C48_REGMAP_IRQ(2), /* 0-2 */
93 WS16C48_REGMAP_IRQ(3), WS16C48_REGMAP_IRQ(4), WS16C48_REGMAP_IRQ(5), /* 3-5 */
94 WS16C48_REGMAP_IRQ(6), WS16C48_REGMAP_IRQ(7), WS16C48_REGMAP_IRQ(8), /* 6-8 */
95 WS16C48_REGMAP_IRQ(9), WS16C48_REGMAP_IRQ(10), WS16C48_REGMAP_IRQ(11), /* 9-11 */
96 WS16C48_REGMAP_IRQ(12), WS16C48_REGMAP_IRQ(13), WS16C48_REGMAP_IRQ(14), /* 12-14 */
97 WS16C48_REGMAP_IRQ(15), WS16C48_REGMAP_IRQ(16), WS16C48_REGMAP_IRQ(17), /* 15-17 */
98 WS16C48_REGMAP_IRQ(18), WS16C48_REGMAP_IRQ(19), WS16C48_REGMAP_IRQ(20), /* 18-20 */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/
Drenesas,du.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Display Unit (DU)
10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
13 These DT bindings describe the Display Unit embedded in the Renesas R-Car
14 Gen1, R-Car Gen2, R-Car Gen3, RZ/G1 and RZ/G2 SoCs.
19 - renesas,du-r8a7742 # for RZ/G1H compatible DU
20 - renesas,du-r8a7743 # for RZ/G1M compatible DU
21 - renesas,du-r8a7744 # for RZ/G1N compatible DU
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-gpio-mm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * GPIO driver for the Diamond Systems GPIO-MM
6 * This driver supports the following Diamond Systems devices: GPIO-MM and
7 * GPIO-MM-12.
28 MODULE_PARM_DESC(base, "Diamond Systems GPIO-MM base addresses");
31 * struct gpiomm_gpio - GPIO device private data structure
37 * @base: base port address of the GPIO device
43 unsigned char control[2];
52 const unsigned int port = offset / 8; in gpiomm_gpio_get_direction() local
55 if (gpiommgpio->io_state[port] & mask) in gpiomm_gpio_get_direction()
[all …]
Dgpio-ws16c48.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * struct ws16c48_gpio - GPIO device private data structure
41 * @base: base port address of the GPIO device
56 const unsigned port = offset / 8; in ws16c48_gpio_get_direction() local
59 if (ws16c48gpio->io_state[port] & mask) in ws16c48_gpio_get_direction()
68 const unsigned port = offset / 8; in ws16c48_gpio_direction_input() local
72 raw_spin_lock_irqsave(&ws16c48gpio->lock, flags); in ws16c48_gpio_direction_input()
74 ws16c48gpio->io_state[port] |= mask; in ws16c48_gpio_direction_input()
75 ws16c48gpio->out_state[port] &= ~mask; in ws16c48_gpio_direction_input()
76 outb(ws16c48gpio->out_state[port], ws16c48gpio->base + port); in ws16c48_gpio_direction_input()
[all …]
/kernel/linux/linux-5.10/drivers/parport/
Ddaisy.c2 * IEEE 1284.3 Parallel port daisy chain and multiplexor code
9 * 2 of the License, or (at your option) any later version.
11 * ??-12-1998: Initial implementation.
12 * 31-01-1999: Make port-cloning transparent.
13 * 13-02-1999: Move DeviceID technique from parport_probe.
14 * 13-03-1999: Get DeviceID from non-IEEE 1284.3 devices too.
15 * 22-02-2000: Count devices that are actually detected.
35 struct parport *port; member
44 /* Forward-declaration of lower-level functions. */
45 static int mux_present(struct parport *port);
[all …]
/kernel/linux/linux-6.6/drivers/parport/
Ddaisy.c2 * IEEE 1284.3 Parallel port daisy chain and multiplexor code
9 * 2 of the License, or (at your option) any later version.
11 * ??-12-1998: Initial implementation.
12 * 31-01-1999: Make port-cloning transparent.
13 * 13-02-1999: Move DeviceID technique from parport_probe.
14 * 13-03-1999: Get DeviceID from non-IEEE 1284.3 devices too.
15 * 22-02-2000: Count devices that are actually detected.
35 struct parport *port; member
44 /* Forward-declaration of lower-level functions. */
45 static int mux_present(struct parport *port);
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dmt7530.txt6 - compatible: may be compatible = "mediatek,mt7530"
9 - #address-cells: Must be 1.
10 - #size-cells: Must be 0.
11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part
12 on multi-chip module belong to MT7623A has or the remotely standalone
17 - core-supply: Phandle to the regulator node necessary for the core power.
18 - io-supply: Phandle to the regulator node necessary for the I/O power.
19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt
24 - reset-gpios: Should be a gpio specifier for a reset line.
28 - resets : Phandle pointing to the system reset controller with
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-ebsa110/
Dio.c1 // SPDX-License-Identifier: GPL-2.0
3 * linux/arch/arm/mach-ebsa110/isamem.c
8 * in the way it handles accesses to odd IO ports on 16-bit devices. These
9 * devices have their D0-D15 lines connected to the processors D0-D15 lines.
10 * Since they expect all byte IO operations to be performed on D0-D7, and the
11 * StrongARM expects to transfer the byte to these odd addresses on D8-D15,
14 * The trick employed here is to use long word stores to odd address -1. The
16 * peripherals address bus, thereby accessing the odd IO port. Meanwhile, the
17 * StrongARM transfers its data on D0-D7 as expected.
19 * Things get more interesting on the pass-1 EBSA110 - the PCMCIA controller
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh2 # SPDX-License-Identifier: GPL-2.0-only
30 [ -e /sys/class/net/$dev ] && ip link del dev $dev
36 if [ -e $NSIM_DEV_SYS ]; then
50 local dstport=$2
58 [ "$ipver" != '6' ] || ipfl="-6"
77 local dstport=$2
83 [ "$ipver" != '6' ] && remote=1.1.1.2 || group=::2
84 [ "$ipver" != '6' ] || ipfl="-6"
107 # Helpers for netdevsim port/type encoding
109 local port=$1
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh2 # SPDX-License-Identifier: GPL-2.0-only
30 [ -e /sys/class/net/$dev ] && ip link del dev $dev
36 if [ -e $NSIM_DEV_SYS ]; then
50 local dstport=$2
58 [ "$ipver" != '6' ] || ipfl="-6"
77 local dstport=$2
83 [ "$ipver" != '6' ] && remote=1.1.1.2 || group=::2
84 [ "$ipver" != '6' ] || ipfl="-6"
107 # Helpers for netdevsim port/type encoding
109 local port=$1
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/
Drenesas,isp.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Renesas R-Car ISP Channel Selector
11 - Niklas Söderlund <niklas.soderlund@ragnatech.se>
14 The R-Car ISP Channel Selector provides MIPI CSI-2 VC and DT filtering
15 capabilities for the Renesas R-Car family of devices. It is used in
16 conjunction with the R-Car VIN and CSI-2 modules, which provides the video
22 - enum:
23 - renesas,r8a779a0-isp # V3U
[all …]
/kernel/linux/linux-6.6/drivers/input/joystick/
Dtmdc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1998-2001 Vojtech Pavlik
6 * Trystan Larey-Williams
46 static const unsigned char tmdc_byte_d[16] = { 2, 5, 8, 9 };
53 { ABS_X, ABS_Y, ABS_RUDDER, -1, ABS_THROTTLE };
71 } tmdc_hat_to_axis[] = {{ 0, 0}, { 1, 0}, { 0,-1}, {-1, 0}, { 0, 1}};
83 { 1, "ThrustMaster Millennium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
84 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
85 { 4, "ThrustMaster Attack Throttle", 5, 2, { 4, 6 }, { 4, 2 }, tmdc_abs_at, tmdc_btn_at },
86 { 8, "ThrustMaster FragMaster", 4, 0, { 8, 2 }, { 0, 0 }, tmdc_abs_fm, tmdc_btn_fm },
[all …]
Danalog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1996-2001 Vojtech Pavlik
70 #define ANALOG_LOOP_TIME 2000 /* 2 * loop */
73 #define ANALOG_AXIS_TIME 2 /* 2 * refresh */
75 #define ANALOG_FUZZ_BITS 2 /* 2 bit more */
101 struct analog analog[2];
121 struct input_dev *dev = analog->dev; in analog_decode()
124 if (analog->mask & ANALOG_HAT_FCS) in analog_decode()
132 if (analog->mask & (0x10 << i)) in analog_decode()
133 input_report_key(dev, analog->buttons[j++], (buttons >> i) & 1); in analog_decode()
[all …]
Ddb9.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2001 Vojtech Pavlik
27 int args[2];
38 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0);
72 #define DB9_MAX_DEVICES 2
104 { "Multisystem joystick", db9_multi_btn, 1, 1, 2, 1, 1 },
105 { "Multisystem joystick (2 fire)", db9_multi_btn, 2, 1, 2, 1, 1 },
106 { "Genesis pad", db9_genesis_btn, 4, 1, 2, 1, 1 },
108 { "Genesis 5 pad", db9_genesis_btn, 6, 1, 2, 1, 1 },
109 { "Genesis 6 pad", db9_genesis_btn, 8, 1, 2, 1, 1 },
[all …]
/kernel/linux/linux-5.10/drivers/input/joystick/
Dtmdc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1998-2001 Vojtech Pavlik
6 * Trystan Larey-Williams
49 static const unsigned char tmdc_byte_d[16] = { 2, 5, 8, 9 };
56 { ABS_X, ABS_Y, ABS_RUDDER, -1, ABS_THROTTLE };
74 } tmdc_hat_to_axis[] = {{ 0, 0}, { 1, 0}, { 0,-1}, {-1, 0}, { 0, 1}};
86 { 1, "ThrustMaster Millenium 3D Inceptor", 6, 2, { 4, 2 }, { 4, 6 }, tmdc_abs, tmdc_btn_joy },
87 { 3, "ThrustMaster Rage 3D Gamepad", 2, 0, { 8, 2 }, { 0, 0 }, tmdc_abs, tmdc_btn_pad },
88 { 4, "ThrustMaster Attack Throttle", 5, 2, { 4, 6 }, { 4, 2 }, tmdc_abs_at, tmdc_btn_at },
89 { 8, "ThrustMaster FragMaster", 4, 0, { 8, 2 }, { 0, 0 }, tmdc_abs_fm, tmdc_btn_fm },
[all …]
Danalog.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1996-2001 Vojtech Pavlik
76 #define ANALOG_LOOP_TIME 2000 /* 2 * loop */
79 #define ANALOG_AXIS_TIME 2 /* 2 * refresh */
81 #define ANALOG_FUZZ_BITS 2 /* 2 bit more */
107 struct analog analog[2];
131 #define DELTA(x,y) (boot_cpu_has(X86_FEATURE_TSC) ? ((y) - (x)) : ((x) - (y) + ((x) < (y) ? PIT_TIC…
148 #define DELTA(x,y) ((y)-(x))
152 #define DELTA(x,y) ((y)-(x))
158 #define DELTA(x,y) ((y)-(x))
[all …]
Ddb9.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (c) 1999-2001 Vojtech Pavlik
30 int args[2];
41 module_param_array_named(dev3, db9_cfg[2].args, int, &db9_cfg[2].nargs, 0);
75 #define DB9_MAX_DEVICES 2
107 { "Multisystem joystick", db9_multi_btn, 1, 1, 2, 1, 1 },
108 { "Multisystem joystick (2 fire)", db9_multi_btn, 2, 1, 2, 1, 1 },
109 { "Genesis pad", db9_genesis_btn, 4, 1, 2, 1, 1 },
111 { "Genesis 5 pad", db9_genesis_btn, 6, 1, 2, 1, 1 },
112 { "Genesis 6 pad", db9_genesis_btn, 8, 1, 2, 1, 1 },
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dsh_css_mipi.c1 // SPDX-License-Identifier: GPL-2.0
8 * version 2, as published by the Free Software Foundation.
48 * Check if a source port or TPG/PRBS ID is valid
54 unsigned int port = 0; in ia_css_mipi_is_source_port_valid() local
57 switch (pipe->stream->config.mode) { in ia_css_mipi_is_source_port_valid()
59 port = (unsigned int)pipe->stream->config.source.port.port; in ia_css_mipi_is_source_port_valid()
63 port = (unsigned int)pipe->stream->config.source.tpg.id; in ia_css_mipi_is_source_port_valid()
67 port = (unsigned int)pipe->stream->config.source.prbs.id; in ia_css_mipi_is_source_port_valid()
77 assert(port < max_ports); in ia_css_mipi_is_source_port_valid()
79 if (port >= max_ports) in ia_css_mipi_is_source_port_valid()
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
Dsh_css_mipi.c1 // SPDX-License-Identifier: GPL-2.0
8 * version 2, as published by the Free Software Foundation.
37 * - A line is multiple of 4 bytes = 1 word.
38 * - Each frame has SOF and EOF (each 1 word).
39 * - Each line has format header and optionally SOL and EOL (each 1 word).
40 * - Odd and even lines of YUV420 format are different in bites per pixel size.
41 * - Custom size of embedded data.
42 * -- Interleaved frames are not taken into account.
43 * -- Lines are multiples of 8B, and not necessary of (custom 3B, or 7B
72 * in the non-continuous use scenario. in ia_css_mipi_frame_calculate_size()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/nvidia/
Dtegra234-p3701.dtsi1 // SPDX-License-Identifier: GPL-2.0
17 #address-cells = <1>;
18 #size-cells = <0>;
20 port@0 {
24 remote-endpoint = <&xbar_i2s1>;
28 i2s1_port: port@1 {
32 dai-format = "i2s";
43 #address-cells = <1>;
44 #size-cells = <0>;
46 port@0 {
[all …]
Dtegra194-p3509-0000.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/gpio/tegra194-gpio.h>
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
19 #address-cells = <1>;
20 #size-cells = <0>;
22 port@0 {
26 remote-endpoint = <&xbar_i2s3_ep>;
30 i2s3_port: port@1 {
34 dai-format = "i2s";
[all …]
Dtegra194-p2972-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra194-p2888.dtsi"
11 compatible = "nvidia,p2972-0000", "nvidia,tegra194";
24 #address-cells = <1>;
25 #size-cells = <0>;
27 port@0 {
31 remote-endpoint = <&xbar_i2s1_ep>;
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/bridge/
Dlontium,lt9211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marek Vasut <marex@denx.de>
13 The LT9211 are bridge devices which convert Single/Dual-Link DSI/LVDS
14 or Single DPI to Single/Dual-Link DSI/LVDS or Single DPI.
19 - lontium,lt9211
27 reset-gpios:
31 vccio-supply:
38 port@0:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/
Dmediatek,mt7530.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Arınç ÜNAL <arinc.unal@arinc9.com>
11 - Landen Chao <Landen.Chao@mediatek.com>
12 - DENG Qingfang <dqfext@gmail.com>
13 - Sean Wang <sean.wang@mediatek.com>
14 - Daniel Golle <daniel@makrotopia.org>
17 There are three versions of MT7530, standalone, in a multi-chip module and
18 built-into a SoC.
[all …]

12345678910>>...45