/Linux-v5.10/arch/arm/mach-ebsa110/ |
D | io.c | 1 // 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 …]
|
/Linux-v5.10/drivers/gpio/ |
D | gpio-ws16c48.c | 1 // 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 …]
|
D | gpio-104-dio-48e.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * GPIO driver for the ACCES 104-DIO-48E series 6 * This driver supports the following ACCES devices: 104-DIO-48E and 7 * 104-DIO-24E. 30 MODULE_PARM_DESC(base, "ACCES 104-DIO-48E base addresses"); 34 MODULE_PARM_DESC(irq, "ACCES 104-DIO-48E interrupt line numbers"); 37 * struct dio48e_gpio - GPIO device private data structure 43 * @base: base port address of the GPIO device 59 const unsigned port = offset / 8; in dio48e_gpio_get_direction() local 62 if (dio48egpio->io_state[port] & mask) in dio48e_gpio_get_direction() [all …]
|
D | gpio-gpio-mm.c | 1 // 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 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() 66 const unsigned int control_port = io_port / 3; in gpiomm_gpio_direction_input() [all …]
|
/Linux-v5.10/arch/mips/boot/dts/cavium-octeon/ |
D | octeon_3xxx.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * OCTEON 3XXX, 5XXX, 63XX device tree skeleton. 6 * use. Because of this, it contains a super-set of the available 15 phy0: ethernet-phy@0 { 17 marvell,reg-init = 21 <3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */ 22 /* irq, blink-activity, blink-link */ 23 <3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */ 27 phy1: ethernet-phy@1 { 29 marvell,reg-init = [all …]
|
D | octeon_68xx.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 * use. Because of this, it contains a super-set of the available 11 compatible = "cavium,octeon-6880"; 12 #address-cells = <2>; 13 #size-cells = <2>; 14 interrupt-parent = <&ciu2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
/Linux-v5.10/drivers/staging/media/atomisp/pci/ |
D | sh_css_mipi.c | 1 // SPDX-License-Identifier: GPL-2.0 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() 83 *pport = port; in ia_css_mipi_is_source_port_valid() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/net/dsa/ |
D | ocelot.txt | 5 ----- 9 - VSC9959 (Felix) 10 - VSC9953 (Seville) 13 larger ENETC root complex. As a result, the ethernet-switch node is a sub-node 25 For the external switch ports, depending on board configuration, "phy-mode" and 26 "phy-handle" are populated by board specific device tree instances. Ports 4 and 29 The CPU port property ("ethernet") configures the feature called "NPI port" in 30 the Ocelot hardware core. The CPU port in Ocelot is a set of queues, which are 31 connected, in the Node Processor Interface (NPI) mode, to an Ethernet port. 32 By default, in fsl-ls1028a.dtsi, the NPI port is assigned to the internal [all …]
|
D | mt7530.txt | 6 - 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 …]
|
/Linux-v5.10/drivers/net/ethernet/mscc/ |
D | ocelot_police.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /* Types for ANA:POL[0-192]:POL_MODE_CFG.FRM_MODE */ 11 #define POL_MODE_LINERATE 0 /* Incl IPG. Unit: 33 1/3 kbps, 4096 bytes */ 12 #define POL_MODE_DATARATE 1 /* Excl IPG. Unit: 33 1/3 kbps, 4096 bytes */ 13 #define POL_MODE_FRMRATE_HI 2 /* Unit: 33 1/3 fps, 32.8 frames */ 14 #define POL_MODE_FRMRATE_LO 3 /* Unit: 1/3 fps, 0.3 frames */ 17 #define POL_IX_PORT 0 /* 0-11 : Port policers */ 18 #define POL_IX_QUEUE 32 /* 32-127 : Queue policers */ 21 #define POL_ORDER 0x1d3 /* Ocelot policer order: Serial (QoS -> Port -> VCAP) */ 23 int qos_policer_conf_set(struct ocelot *ocelot, int port, u32 pol_ix, in qos_policer_conf_set() argument [all …]
|
/Linux-v5.10/drivers/input/joystick/ |
D | analog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1996-2001 Vojtech Pavlik 75 #define ANALOG_MAX_TIME 3 /* 3 ms */ 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)) 177 return y - x; in delta() 188 struct input_dev *dev = analog->dev; in analog_decode() 191 if (analog->mask & ANALOG_HAT_FCS) in analog_decode() [all …]
|
/Linux-v5.10/sound/isa/ |
D | cmi8328.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for C-Media CMI8328-based soundcards, such as AudioExcel AV500 7 * - CMI8328 - main chip (SB Pro emulation, gameport, OPL3, MPU401, CD-ROM) 8 * - CS4231A - WSS codec 9 * - Dream SAM9233+GMS950400+RAM+ROM: Wavetable MIDI, connected to MPU401 26 MODULE_AUTHOR("Ondrej Zary <linux@rainbow-software.org>"); 27 MODULE_DESCRIPTION("C-Media CMI8328"); 34 /* I/O port is configured by jumpers on the card to one of these */ 38 static int index[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = -1}; 39 static char *id[CMI8328_MAX] = {[0 ... (CMI8328_MAX-1)] = NULL}; [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/pci/ |
D | mvebu-pci.txt | 5 - compatible: one of the following values: 6 marvell,armada-370-pcie 7 marvell,armada-xp-pcie 8 marvell,dove-pcie 9 marvell,kirkwood-pcie 10 - #address-cells, set to <3> 11 - #size-cells, set to <2> 12 - #interrupt-cells, set to <1> 13 - bus-range: PCI bus numbers covered 14 - device_type, set to "pci" [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | vga.c | 27 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument 29 if (device->card_type >= NV_50) in nvkm_rdport() 30 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport() 32 if (port == 0x03c0 || port == 0x03c1 || /* AR */ in nvkm_rdport() 33 port == 0x03c2 || port == 0x03da || /* INP0 */ in nvkm_rdport() 34 port == 0x03d4 || port == 0x03d5) /* CR */ in nvkm_rdport() 35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport() 37 if (port == 0x03c2 || port == 0x03cc || /* MISC */ in nvkm_rdport() 38 port == 0x03c4 || port == 0x03c5 || /* SR */ in nvkm_rdport() 39 port == 0x03ce || port == 0x03cf) { /* GR */ in nvkm_rdport() [all …]
|
/Linux-v5.10/drivers/thunderbolt/ |
D | test.c | 1 // SPDX-License-Identifier: GPL-2.0 20 res->data = ida; in __ida_init() 26 struct ida *ida = res->data; in __ida_destroy() 47 sw->config.upstream_port_number = upstream_port; in alloc_switch() 48 sw->config.depth = tb_route_length(route); in alloc_switch() 49 sw->config.route_hi = upper_32_bits(route); in alloc_switch() 50 sw->config.route_lo = lower_32_bits(route); in alloc_switch() 51 sw->config.enabled = 0; in alloc_switch() 52 sw->config.max_port_number = max_port_number; in alloc_switch() 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() [all …]
|
/Linux-v5.10/drivers/media/pci/ddbridge/ |
D | ddbridge-max.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ddbridge-max.c: Digital Devices bridge MAX card support 5 * Copyright (C) 2010-2017 Digital Devices GmbH 34 #include "ddbridge-regs.h" 35 #include "ddbridge-io.h" 36 #include "ddbridge-mci.h" 38 #include "ddbridge-max.h" 48 static int fmode_sat = -1; 62 v = LNB_TONE & (dev->link[link].lnb.tone << (15 - lnb)); in lnb_command() 71 dev_info(dev->dev, "%s lnb = %08x cmd = %08x\n", in lnb_command() [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/media/i2c/ |
D | maxim,max9286.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jacopo Mondi <jacopo+renesas@jmondi.org> 12 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 13 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 14 - Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> 18 Serial Links (GMSL) and outputs them on a CSI-2 D-PHY port using up to 4 data 28 '#address-cells': 31 '#size-cells': [all …]
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb/ |
D | vsc7326.c | 1 // SPDX-License-Identifier: GPL-2.0 16 * interface is down (MAC port disabled). This is a workaround 17 * for disabling the T2/MAC flow-control. When the interface is 40 spin_lock_bh(&adapter->mac_lock); in vsc_read() 60 spin_unlock_bh(&adapter->mac_lock); in vsc_read() 65 spin_lock_bh(&adapter->mac_lock); in vsc_write() 71 spin_unlock_bh(&adapter->mac_lock); in vsc_write() 114 { /* Port 0 */ 130 /* Port config */ 140 { /* Port 1 */ [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | armada-xp-mv78460.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78460", "marvell,armadaxp", "marvell,armada-370-xp"; 27 #address-cells = <1>; 28 #size-cells = <0>; 29 enable-method = "marvell,armada-xp-smp"; 33 compatible = "marvell,sheeva-v7"; 36 clock-latency = <1000000>; 41 compatible = "marvell,sheeva-v7"; [all …]
|
D | armada-xp-mv78260.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 13 #include "armada-xp.dtsi" 17 compatible = "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp"; 26 #address-cells = <1>; 27 #size-cells = <0>; 28 enable-method = "marvell,armada-xp-smp"; 32 compatible = "marvell,sheeva-v7"; 35 clock-latency = <1000000>; 40 compatible = "marvell,sheeva-v7"; [all …]
|
/Linux-v5.10/arch/alpha/kernel/ |
D | core_titan.c | 1 // SPDX-License-Identifier: GPL-2.0 44 * BIOS32-style PCI interface: 89 * Note also that type 1 is determined by non-zero bus number. 93 * 3 3|3 3 2 2|2 2 2 2|2 2 2 2|1 1 1 1|1 1 1 1|1 1 94 * 3 2|1 0 9 8|7 6 5 4|3 2 1 0|9 8 7 6|5 4 3 2|1 0 9 8|7 6 5 4|3 2 1 0 95 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 97 * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 106 * The function number selects which function of a multi-function device 118 struct pci_controller *hose = pbus->sysdata; in mk_conf_addr() 120 u8 bus = pbus->number; in mk_conf_addr() [all …]
|
/Linux-v5.10/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Ethernet port config (0x00 is not present on IXP42X): 9 * logical port 0x00 0x10 0x20 10 * NPE 0 (NPE-A) 1 (NPE-B) 2 (NPE-C) 13 * RX-free queue 26 27 28 14 * TX-done queue is always 31, per-port RX and TX-ready queues are configurable 17 * bits 0 -> 1 - NPE ID (RX and TX-done) 18 * bits 0 -> 2 - priority (TX, per 802.1D) 19 * bits 3 -> 4 - port ID (user-set?) 20 * bits 5 -> 31 - physical descriptor address [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/mfd/ |
D | omap-usb-host.txt | 5 - compatible: should be "ti,usbhs-host" 6 - reg: should contain one register range i.e. start and length 7 - ti,hwmods: must contain "usb_host_hs" 11 - num-ports: number of USB ports. Usually this is automatically detected 13 this property. A maximum of 3 ports are supported at the moment. 15 - portN-mode: String specifying the port mode for port N, where N can be 16 from 1 to 3. If the port mode is not specified, that port is treated 18 "ehci-phy", 19 "ehci-tll", 20 "ehci-hsic", [all …]
|
/Linux-v5.10/drivers/pinctrl/renesas/ |
D | pinctrl-rza1.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * This includes SoCs which are sub- or super- sets of this particular line, 24 #include <linux/pinctrl/pinconf-generic.h> 34 #define DRIVER_NAME "pinctrl-rza1" 47 #define RZA1_ADDR(mem, reg, port) ((mem) + (reg) + ((port) * 4)) argument 74 /* ---------------------------------------------------------------------------- 79 * rza1_bidir_pin - describe a single pin that needs bidir flag applied. 87 * rza1_bidir_entry - describe a list of pins that needs bidir flag applied. 88 * Each struct rza1_bidir_entry describes a port. 96 * rza1_swio_pin - describe a single pin that needs swio flag applied. [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 8 3 = /dev/null Null device 9 4 = /dev/port I/O port access 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and 44 These are the old-style (BSD) PTY devices; Unix98 53 3 = /dev/fd3 Controller 0, drive 3, autodetect [all …]
|