/openbmc/linux/arch/alpha/kernel/ |
H A D | smc37c669.c | 58 * er 28-Jan-1997 Initial Entry 67 ** The mask acts as a flag used in mapping actual ISA IRQs (0 - 15) 68 ** to device IRQs (A - H). 81 ** The mask acts as a flag used in mapping actual ISA DMA 82 ** channels to device DMA channels (A - C). 216 ** CR00 - default value 0x28 219 ** 0x - 30ua pull-ups on nIDEEN, nHDCS0, NHDCS1 220 ** 11 - IRQ_H available as IRQ output, 222 ** 10 - nIDEEN, nHDCS0, nHDCS1 used to control IDE 245 ** CR01 - default value 0x9C [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/dsa/ |
H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 14 describing a port needs to have a valid phandle referencing the internal PHY 15 it is connected to. This is because there is no N:N mapping of port and PHY 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 17 the switch node and declare the phandle for the port, referencing the internal 18 PHY it is connected to. In this config, an internal mdio-bus is registered and [all …]
|
/openbmc/linux/drivers/net/dsa/mv88e6xxx/ |
H A D | port.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Marvell 88E6xxx Switch Port Registers support 7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc. 18 #include "port.h" 21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() argument 24 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_read() 29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit() argument 32 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_wait_bit() 37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() argument 40 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_write() [all …]
|
H A D | port.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Marvell 88E6xxx Switch Port Registers support 7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc. 16 /* Offset 0x00: Port Status Register */ 28 /* - Modes with PHY suffix use output instead of input clock 29 * - Modes without RMII or RGMII use MII 30 * - Modes without speed do not have a fixed speed specified in the manual 31 * ("DC to x MHz" - variable clock support?) 165 /* Offset 0x04: Port Control Register */ 200 /* Offset 0x05: Port Control 1 */ [all …]
|
H A D | chip.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Marvell 88E6xxx Ethernet switch single-chip definition 28 /* PVT limits for 4-bit port and 5-bit switch */ 110 * enum mv88e6xxx_edsa_support - Ethertype DSA tag support level 115 * empirical data shows that this mode 149 * ports 2-4 are not routet to pins. 152 /* Multi-chip Addressing Mode. 154 * when it is non-zero, and use indirect access to internal registers. 157 /* Dual-chip Addressing Mode 175 * port 0, 1 means internal PHYs range starts at port 1, etc [all …]
|
H A D | global1.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc. 18 int addr = chip->info->global1_addr; in mv88e6xxx_g1_read() 25 int addr = chip->info->global1_addr; in mv88e6xxx_g1_write() 33 return mv88e6xxx_wait_bit(chip, chip->info->global1_addr, reg, in mv88e6xxx_g1_wait_bit() 40 return mv88e6xxx_wait_mask(chip, chip->info->global1_addr, reg, in mv88e6xxx_g1_wait_mask() 98 /* Returns 0 when done, -EBUSY when waiting, other negative codes on error */ 106 dev_err(chip->dev, "Error reading status"); in mv88e6xxx_g1_is_eeprom_done() 116 return -EBUSY; in mv88e6xxx_g1_is_eeprom_done() 135 if (ret != -EBUSY) in mv88e6xxx_g1_wait_eeprom_done() [all …]
|
/openbmc/linux/sound/drivers/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 50 tristate "PC-Speaker support (READ HELP!)" 60 You can compile this as a module which will be called snd-pcsp. 65 pc-speaker a default sound device. Which is likely not 69 options snd-pcsp index=2 71 You don't need this driver if you only want your pc-speaker to beep. 90 will be called snd-dummy. 99 the standard ALSA PCM device. The devices are routed 0->1 and 100 1->0, where first number is the playback PCM device and second 106 timing source using the time shift universal control (+-20% [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | device-io.rst | 10 Bus-Independent Device Accesses 27 ---------------------------- 49 -------------------- 52 memory-mapped registers on the device. Linux provides interfaces to read 53 and write 8-bit, 16-bit, 32-bit and 64-bit quantities. Due to a 82 from config space, which is guaranteed to soft-fail if the card doesn't 94 reg = ha->iobase; 96 WRT_REG_WORD(®->ictrl, 0); 102 RD_REG_WORD(®->ictrl); 103 ha->flags.ints_enabled = 0; [all …]
|
H A D | pin-control.rst | 9 - Enumerating and naming controllable pins 11 - Multiplexing of pins, pads, fingers (etc) see below for details 13 - Configuration of pins, pads, fingers (etc), such as software-controlled 14 biasing and driving mode specific pins, such as pull-up, pull-down, open drain, 17 Top-level interface 22 - A PIN CONTROLLER is a piece of hardware, usually a set of registers, that 26 - PINS are equal to pads, fingers, balls or whatever packaging input or 30 be sparse - i.e. there may be gaps in the space with numbers where no 60 .. code-block:: c 97 See ``arch/arm/mach-ux500/Kconfig`` for an example. [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb251xb.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Microchip USB 2.0 Hi-Speed Hub Controller 10 - Richard Leitner <richard.leitner@skidata.com> 15 - microchip,usb2422 16 - microchip,usb2512b 17 - microchip,usb2512bi 18 - microchip,usb2513b 19 - microchip,usb2513bi [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_ag_api.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 6 /* This file is autogenerated by cml-utils 2023-03-13 10:16:42 +0100. 63 * Used by 802.1BR Bridge Port Extension in an E-Tag 65 * Used by 802.1BR Bridge Port Extension in an E-Tag 67 * Set for frames containing an E-TAG (802.1BR Ethertype 893f) 69 * E-Tag group bits in 802.1BR Bridge Port Extension 71 * Used by 802.1BR Bridge Port Extension in an E-Tag 73 * Used by 802.1BR Bridge Port Extension in an E-Tag 78 * First DEI in multiple vlan tags (outer tag or default port tag) 86 * First PCP in multiple vlan tags (outer tag or default port tag) [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | thine,thc63lvd1024.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo+renesas@jmondi.org> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 19 Single or dual operation mode, output data mapping and DDR output modes are 32 When operating in single input mode, all pixels are received on port@0, 33 and port@1 shall not contain any endpoint. In dual input mode, 34 even-numbered pixels are received on port@0 and odd-numbered pixels on 35 port@1, and both port@0 and port@1 shall contain endpoints. [all …]
|
/openbmc/linux/include/linux/ |
H A D | if_team.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * include/linux/if_team.h - Network team device driver header 33 int index; /* index of enabled port. If disabled, it's set to -1 */ 55 * become a port. 68 struct list_head qom_list; /* node in queue override mapping list */ 75 return rcu_dereference(dev->rx_handler_data); in team_port_get_rcu() 78 static inline bool team_port_enabled(struct team_port *port) in team_port_enabled() argument 80 return port->index != -1; in team_port_enabled() 83 static inline bool team_port_txable(struct team_port *port) in team_port_txable() argument 85 return port->linkup && team_port_enabled(port); in team_port_txable() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | ldb.txt | 1 Device-Tree bindings for LVDS Display Bridge (ldb) 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 10 - #address-cells : should be <1> 11 - #size-cells : should be <0> 12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb". 16 - gpr : should be <&gpr> on i.MX53 and i.MX6q. 17 The phandle points to the iomuxc-gpr region containing the LVDS 19 - clocks, clock-names : phandles to the LDB divider and selector clocks and to 21 Documentation/devicetree/bindings/clock/clock-bindings.txt 23 "di0_pll" - LDB LVDS channel 0 mux [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | kd.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 16 unsigned short charheight; /* scan lines per character (1-32) */ 39 #define KDADDIO 0x4B34 /* add i/o port as valid */ 40 #define KDDELIO 0x4B35 /* del i/o port as valid */ 44 #define KDSETMODE 0x4B3A /* set text/graphics mode */ 49 #define KDGETMODE 0x4B3B /* get current mode */ 56 #define GIO_SCRNMAP 0x4B40 /* get screen mapping from kernel */ 57 #define PIO_SCRNMAP 0x4B41 /* put screen mapping table in kernel */ 58 #define GIO_UNISCRNMAP 0x4B69 /* get full Unicode screen mapping */ 59 #define PIO_UNISCRNMAP 0x4B6A /* set full Unicode screen mapping */ [all …]
|
/openbmc/linux/drivers/ntb/hw/idt/ |
H A D | ntb_hw_idt.h | 7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. 36 * IDT PCIe-switch NTB Linux driver 39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 55 * the supported IDT PCIe-switches 66 * IDT PCIe-switches device IDs 78 * NT-function Configuration Space registers 79 * NOTE 1) The IDT PCIe-switch internal data is little-endian 83 * with byte-enables corresponding to their native size or 86 * So to simplify the driver code, there is only DWORD-sized read/write 107 /* IDT Proprietary NT-port-specific registers */ [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 63 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 64 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 65 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 66 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 67 #define IS_DIGITAL(c) (c->output_flag & (SDVO_TMDS_MASK | SDVO_LVDS_MASK)) 118 enum port port; member 124 * the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd 140 /* add the property for the SDVO-TV */ 158 /* add the property for the SDVO-TV/LVDS */ [all …]
|
/openbmc/linux/drivers/net/dsa/ |
H A D | lantiq_gswip.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (C) 2017 - 2019 Hauke Mehrtens <hauke@hauke-m.de> 16 * The hardware does not support VLAN filter on the port, but on the 20 * rule and the CPU port is also added to all bridges. This makes it possible 23 * each switch port which is used when the port is used without an 46 #include <dt-bindings/mips/lantiq_rcu_gphy.h> 64 #define GSWIP_MDIO_PHYp(p) (0x15 - (p)) 135 #define GSWIP_BM_RAM_VAL(x) (0x043 - (x)) 143 /* buffer management Port Configuration Register */ 147 /* buffer management Port Control Register */ [all …]
|
/openbmc/linux/drivers/cxl/ |
H A D | cxl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 18 * (port-driver, region-driver, nvdimm object-drivers... etc). 82 return -EINVAL; in eig_to_granularity() 87 /* Encode defined in CXL ECN "3, 6, 12 and 16-way memory Interleaving" */ 95 *ways = 3 << (eiw - 8); in eiw_to_ways() 98 return -EINVAL; in eiw_to_ways() 108 return -EINVAL; in granularity_to_eig() 109 *eig = ilog2(granularity) - 8; in granularity_to_eig() 116 return -EINVAL; in ways_to_eiw() 122 return -EINVAL; in ways_to_eiw() [all …]
|
/openbmc/linux/Documentation/arch/arm/ |
H A D | booting.rst | 9 The following documentation is relevant to 2.4.18-rmk6 and beyond. 20 2. Initialise one serial port. 28 --------------------------- 43 2. Initialise one serial port 44 ----------------------------- 51 The boot loader should initialise and enable one serial port on the 53 which serial port it should use for the kernel console (generally 57 option to the kernel via the tagged lists specifying the port, and 60 Documentation/admin-guide/kernel-parameters.rst. 64 -------------------------- [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | jailhouse.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) Siemens AG, 2015-2017 81 * We do not have access to IR inside Jailhouse non-root cells. So in jailhouse_x2apic_init() 82 * we have to run in physical mode. in jailhouse_x2apic_init() 115 /* Register 1:1 mapping for legacy UART IRQs 3 and 4 */ in jailhouse_get_smp_config() 157 static void jailhouse_serial_fixup(int port, struct uart_port *up, in jailhouse_serial_fixup() argument 164 if (pcuart_base[n] != up->iobase) in jailhouse_serial_fixup() 168 pr_info("Enabling UART%u (port 0x%lx)\n", n, in jailhouse_serial_fixup() 169 up->iobase); in jailhouse_serial_fixup() 170 jailhouse_setup_irq(up->irq); in jailhouse_serial_fixup() [all …]
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_pcie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2020-21 Intel Corporation. 30 iounmap(ipc_pcie->scratchpad); in ipc_pcie_resources_release() 33 iounmap(ipc_pcie->ipc_regs); in ipc_pcie_resources_release() 39 pci_release_regions(ipc_pcie->pci); in ipc_pcie_resources_release() 45 ipc_imem_cleanup(ipc_pcie->imem); in ipc_pcie_cleanup() 50 pci_disable_device(ipc_pcie->pci); in ipc_pcie_cleanup() 55 kfree(ipc_pcie->imem); in ipc_pcie_deinit() 70 struct pci_dev *pci = ipc_pcie->pci; in ipc_pcie_resources_request() 80 dev_err(ipc_pcie->dev, "failed pci request regions"); in ipc_pcie_resources_request() [all …]
|
/openbmc/linux/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Michał Mirosław <mirq-linux@rere.qmqm.pl> 22 #include <linux/dma-mapping.h> 46 #define DRV_NAME "gmac-gemini" 49 static int debug = -1; 86 * struct gmac_queue_page - page buffer per-page info 88 * @mapping: the dma address handle 92 dma_addr_t mapping; member 156 spinlock_t irq_lock; /* Locks IRQ-related registers */ 227 struct gemini_ethernet_port *port = netdev_priv(netdev); in gmac_update_config0_reg() local [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | ppcboot-hotfoot.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * This interface is used for compatibility with old U-boots *ONLY*. 11 * least-offensive solution. Please direct all flames to: 13 * Solomon Peachy <solomon@linux-wlan.com> 30 * include/asm-ppc/ppcboot.h 54 /* second onboard ethernet port */ 88 /* second onboard ethernet port */ 104 int bi_phynum[2]; /* Determines phy mapping */ 105 int bi_phymode[2]; /* Determines phy mode */ 109 int bi_iic_fast[2]; /* Use fast i2c mode */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | tda1997x.txt | 1 Device-Tree bindings for the NXP TDA1997x HDMI receiver 5 The TDA19971 Video port output pins can be used as follows: 6 - RGB 8bit per color (24 bits total): R[11:4] B[11:4] G[11:4] 7 - YUV444 8bit per color (24 bits total): Y[11:4] Cr[11:4] Cb[11:4] 8 - YUV422 semi-planar 8bit per component (16 bits total): Y[11:4] CbCr[11:4] 9 - YUV422 semi-planar 10bit per component (20 bits total): Y[11:2] CbCr[11:2] 10 - YUV422 semi-planar 12bit per component (24 bits total): - Y[11:0] CbCr[11:0] 11 - YUV422 BT656 8bit per component (8 bits total): YCbCr[11:4] (2-cycles) 12 - YUV422 BT656 10bit per component (10 bits total): YCbCr[11:2] (2-cycles) 13 - YUV422 BT656 12bit per component (12 bits total): YCbCr[11:0] (2-cycles) [all …]
|