/linux-6.14.4/drivers/gpu/drm/i915/display/ |
D | vlv_dsi_pll_regs.h | 1 /* SPDX-License-Identifier: MIT */ 21 #define BXT_MIPI_DIV_SHIFT(port) \ argument 22 _MIPI_PORT(port, BXT_MIPI1_DIV_SHIFT, \ 25 /* TX control divider to select actual TX clock output from (8x/var) */ 28 #define BXT_MIPI_TX_ESCLK_SHIFT(port) \ argument 29 _MIPI_PORT(port, BXT_MIPI1_TX_ESCLK_SHIFT, \ 33 #define BXT_MIPI_TX_ESCLK_FIXDIV_MASK(port) \ argument 34 _MIPI_PORT(port, BXT_MIPI1_TX_ESCLK_FIXDIV_MASK, \ 36 #define BXT_MIPI_TX_ESCLK_DIVIDER(port, val) \ argument 37 (((val) & 0x3F) << BXT_MIPI_TX_ESCLK_SHIFT(port)) [all …]
|
D | icl_dsi_regs.h | 1 /* SPDX-License-Identifier: MIT */ 12 #define _MMIO_DSI(tc, dsi0, dsi1) _MMIO_TRANS((tc) - TRANSCODER_DSI_0, \ 16 #define ICL_DSI_ESC_CLK_DIV(port) _MMIO_PORT((port), \ argument 21 #define ICL_DPHY_ESC_CLK_DIV(port) _MMIO_PORT((port), \ argument 31 #define ADL_MIPIO_DW(port, dw) _MMIO(_ICL_COMBOPHY(port) + _ADL_MIPIO_REG + 4 * (dw)) argument 38 #define DSI_CMD_FRMCTL(port) _MMIO_PORT(port, \ argument 48 #define DSI_INTR_MASK_REG(port) _MMIO_PORT(port, \ argument 54 #define DSI_INTR_IDENT_REG(port) _MMIO_PORT(port, \ argument 77 #define DSI_PERIPHERAL_SINGLE_ECC_ERROR (1 << 8) 90 #define ICL_DSI_IO_MODECTL(port) _MMIO_PORT(port, \ argument [all …]
|
D | vlv_dsi_regs.h | 1 /* SPDX-License-Identifier: MIT */ 14 #define _MIPI_MMIO_BASE(display) ((display)->dsi.mmio_base) 16 #define _MIPI_PORT(port, a, c) (((port) == PORT_A) ? a : c) /* ports A and C only */ argument 17 #define _MMIO_MIPI(base, port, a, c) _MMIO((base) + _MIPI_PORT(port, a, c)) argument 40 #define VLV_MIPI_PORT_CTRL(port) _MMIO_MIPI(VLV_MIPI_BASE, port, _MIPIA_PORT_CTRL, _MIPIC_PORT_CTR… argument 42 /* BXT port control */ 70 #define BANDGAP_MASK (1 << 8) 71 #define BANDGAP_PNW_CIRCUIT (0 << 8) 72 #define BANDGAP_LNC_CIRCUIT (1 << 8) 89 #define VLV_MIPI_TEARING_CTRL(port) _MMIO_MIPI(VLV_MIPI_BASE, port, _MIPIA_TEARING_CTRL, _MIPIC_T… argument [all …]
|
/linux-6.14.4/arch/parisc/lib/ |
D | io.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) Matthew Wilcox 2001 for Hewlett-Packard 17 ** Assumes the device can cope with 32-bit transfers. If it can't, 42 count--; in memcpy_fromio() 50 count -= 2; in memcpy_fromio() 57 count -= 4; in memcpy_fromio() 65 count -= 2; in memcpy_fromio() 69 while (count--) { in memcpy_fromio() 77 * Read COUNT 8-bit bytes from port PORT into memory starting at 80 void insb (unsigned long port, void *dst, unsigned long count) in insb() argument [all …]
|
/linux-6.14.4/drivers/gpio/ |
D | gpio-tegra186.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2016-2022 NVIDIA Corporation 19 #include <dt-bindings/gpio/tegra186-gpio.h> 20 #include <dt-bindings/gpio/tegra194-gpio.h> 21 #include <dt-bindings/gpio/tegra234-gpio.h> 22 #include <dt-bindings/gpio/tegra241-gpio.h> 74 unsigned int port; member 116 for (i = 0; i < gpio->soc->num_ports; i++) { in tegra186_gpio_get_port() 117 const struct tegra_gpio_port *port = &gpio->soc->ports[i]; in tegra186_gpio_get_port() local 119 if (*pin >= start && *pin < start + port->pins) { in tegra186_gpio_get_port() [all …]
|
/linux-6.14.4/drivers/staging/media/atomisp/pci/ |
D | sh_css_mipi.c | 1 // SPDX-License-Identifier: GPL-2.0 28 * - A line is multiple of 4 bytes = 1 word. 29 * - Each frame has SOF and EOF (each 1 word). 30 * - Each line has format header and optionally SOL and EOL (each 1 word). 31 * - Odd and even lines of YUV420 format are different in bites per pixel size. 32 * - Custom size of embedded data. 33 * -- Interleaved frames are not taken into account. 34 * -- Lines are multiples of 8B, and not necessary of (custom 3B, or 7B 63 * in the non-continuous use scenario. in ia_css_mipi_frame_calculate_size() 75 case ATOMISP_INPUT_FORMAT_RAW_7: /* 8p, 7B, 56bits */ in ia_css_mipi_frame_calculate_size() [all …]
|
/linux-6.14.4/drivers/tty/serial/ |
D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ 73 #define SCIx_IRQ_IS_MUXED(port) \ argument 74 ((port)->irqs[SCIx_ERI_IRQ] == \ 75 (port)->irqs[SCIx_RXI_IRQ]) || \ [all …]
|
D | rp2.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * rocketport_infinity_express-linux-1.20.tar.gz 13 * Copyright (C) 2004-2011 Comtrol, Inc. 44 #define ALL_PORTS_MASK (BIT(PORTS_PER_ASIC) - 1) 75 /* port registers */ 79 #define RP2_DATA_BYTE_ERR_PARITY_m BIT(8) 84 /* This lets uart_insert_char() drop bytes received on a !CREAD port */ 146 #define RP2_UART_CTL_DATABITS_s 8 179 struct uart_port port; member 200 #define RP_CAP(ports, smpte) (((ports) << 8) | ((smpte) << 0)) [all …]
|
/linux-6.14.4/arch/alpha/kernel/ |
D | io.c | 1 // SPDX-License-Identifier: GPL-2.0 12 /* Out-of-line versions of the i/o routines that redirect into the 13 platform-specific version. Note that "platform-specific" may mean 86 u8 inb(unsigned long port) in inb() argument 88 return ioread8(ioport_map(port, 1)); in inb() 91 u16 inw(unsigned long port) in inw() argument 93 return ioread16(ioport_map(port, 2)); in inw() 96 u32 inl(unsigned long port) in inl() argument 98 return ioread32(ioport_map(port, 4)); in inl() 101 void outb(u8 b, unsigned long port) in outb() argument [all …]
|
/linux-6.14.4/arch/m68k/include/asm/ |
D | raw_io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/include/asm-m68k/raw_io.h 5 * 10/20/00 RZ: - created from bits of io.h and ide.h to cleanup namespace 43 #define raw_outb(val,port) out_8((port),(val)) argument 44 #define raw_outw(val,port) out_be16((port),(val)) argument 45 #define raw_outl(val,port) out_be32((port),(val)) argument 51 * Atari ROM port (cartridge port) ISA adapter, used for the EtherNEC NE2000 53 * The ISA adapter connects address lines A9-A13 to ISA address lines A0-A4, 56 * Data lines D8-D15 are connected to ISA data lines D0-D7 for reading. 57 * For writes, address lines A1-A8 are latched to ISA data lines D0-D7 [all …]
|
/linux-6.14.4/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 35 #include <asm/octeon/cvmx-pko.h> 36 #include <asm/octeon/cvmx-helper.h> 61 case 8: in __cvmx_pko_int() 64 return -1; in __cvmx_pko_int() 85 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 95 (CVMX_FPA_OUTPUT_BUFFER_POOL_SIZE - in __cvmx_pko_iport_config() [all …]
|
/linux-6.14.4/arch/x86/boot/ |
D | early_serial_console.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Serial port routines for use during early boot reporting. This code is 26 static void early_serial_init(int port, int baud) in early_serial_init() argument 31 outb(0x3, port + LCR); /* 8n1 */ in early_serial_init() 32 outb(0, port + IER); /* no interrupt */ in early_serial_init() 33 outb(0, port + FCR); /* no fifo */ in early_serial_init() 34 outb(0x3, port + MCR); /* DTR + RTS */ in early_serial_init() 37 c = inb(port + LCR); in early_serial_init() 38 outb(c | DLAB, port + LCR); in early_serial_init() 39 outb(divisor & 0xff, port + DLL); in early_serial_init() [all …]
|
/linux-6.14.4/drivers/net/dsa/ |
D | bcm_sf2_cfp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 int port; member 50 CFG_UDF_EOL2 | 8, 53 /* End of L3, byte offset 0, src port */ 55 /* End of L3, byte offset 2, dst port */ 70 /* End of L2, byte offset 8, src IP[0:15] */ 79 CFG_UDF_EOL2 | 8, 86 /* End of L3, byte offset 0, src port */ 110 /* End of L3, byte offset 2, dst port */ 133 return GENMASK(num_udf - 1, 0) >> (UDFS_PER_SLICE - 1); in udf_upper_bits() [all …]
|
/linux-6.14.4/include/scsi/fc/ |
D | fc_ms.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Maintained at www.Open-FCoE.org 14 * Fibre Channel Services - Management Service (MS) 15 * From T11.org FC-GS-4 Rev 7.91 February 4, 2004 23 * Common-transport sub-type for FDMI 39 FC_FDMI_GRPL = 0x0102, /* Get Registered Port List */ 40 FC_FDMI_GPAT = 0x0110, /* Get Port Attributes */ 43 FC_FDMI_RPRT = 0x0210, /* Register Port */ 44 FC_FDMI_RPA = 0x0211, /* Register Port Attributes */ 47 FC_FDMI_DPRT = 0x0310, /* Deregister Port */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/media/ |
D | ti,da850-vpif.txt | 2 ---------------------- 4 The TI Video Port InterFace (VPIF) is the primary component for video 12 - compatible: must be "ti,da850-vpif" 13 - reg: physical base address and length of the registers set for the device; 14 - interrupts: should contain IRQ line for the VPIF 18 VPIF has a 16-bit parallel bus input, supporting 2 8-bit channels or a 19 single 16-bit channel. It should contain one or two port child nodes 20 with child 'endpoint' node. If there are two ports then port@0 must 21 describe the input and port@1 output channels. Please refer to the 23 Documentation/devicetree/bindings/media/video-interfaces.txt. [all …]
|
D | renesas,isp.yaml | 1 # 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 <[email protected]> 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 …]
|
/linux-6.14.4/drivers/net/dsa/qca/ |
D | qca8k.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2011-2012 Gabor Juhos <[email protected]> 45 #define QCA8K_MASK_CTRL_DEVICE_ID_MASK GENMASK(15, 8) 92 #define QCA8K_LED_COUNT ((QCA8K_NUM_PORTS - QCA8K_NUM_CPU_PORTS) * QCA8K_LED_PORT_COUNT) 97 #define QCA8K_LED_PHY123_PATTERN_EN_SHIFT(_phy, _led) ((((_phy) - 1) * 6) + 8 + (2 * (_led))) 121 #define QCA8K_LED_LINK_10M_EN_MASK BIT(8) 147 #define QCA8K_PORT_STATUS_LINK_UP BIT(8) 187 #define QCA8K_REG_PORT_VLAN_CTRL0(_i) (0x420 + (_i * 8)) 192 #define QCA8K_REG_PORT_VLAN_CTRL1(_i) (0x424 + (_i * 8)) 202 #define QCA8K_ATU_ADDR4_MASK GENMASK(15, 8) [all …]
|
/linux-6.14.4/drivers/usb/serial/ |
D | ftdi_sio_ids.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Philipp Gühring - [email protected] - added the Device ID of the USB relais 25 #define FTDI_4232H_PID 0x6011 /* Quad channel hi-speed device */ 26 #define FTDI_232H_PID 0x6014 /* Single channel hi-speed device */ 27 #define FTDI_FTX_PID 0x6015 /* FT-X series (FT201X, FT230X, FT231X, etc) */ 28 #define FTDI_FT2233HP_PID 0x6040 /* Dual channel hi-speed device with PD */ 29 #define FTDI_FT4233HP_PID 0x6041 /* Quad channel hi-speed device with PD */ 30 #define FTDI_FT2232HP_PID 0x6042 /* Dual channel hi-speed device with PD */ 31 #define FTDI_FT4232HP_PID 0x6043 /* Quad channel hi-speed device with PD */ 32 #define FTDI_FT233HP_PID 0x6044 /* Dual channel hi-speed device with PD */ [all …]
|
/linux-6.14.4/drivers/net/dsa/b53/ |
D | b53_common.c | 4 * Copyright (C) 2011-2013 Jonas Gorski <[email protected]> 44 { 8, 0x00, "TxOctets" }, 56 { 8, 0x44, "RxOctets" }, 69 { 8, 0x7c, "RxGoodOctets" }, 82 { 8, 0x00, "TxOctets" }, 95 { 8, 0x3c, "TxQoSOctets" }, 96 { 8, 0x44, "RxOctets" }, 109 { 8, 0x7c, "RxGoodOctets" }, 118 { 8, 0xa8, "RxQoSOctets" }, 130 { 8, 0x00, "TxOctets" }, [all …]
|
/linux-6.14.4/drivers/pinctrl/ |
D | pinctrl-tb10x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include "pinctrl-utils.h" 36 #define PCFG_PORT_MASK(PORT) \ argument 37 (((1 << PCFG_PORT_BITWIDTH) - 1) << (PCFG_PORT_BITWIDTH * (PORT))) 40 /* Port 1 */ 49 PINCTRL_PIN(TB10X_PORT1 + 8, "MIVAL_S1"), 52 /* Port 2 */ 61 PINCTRL_PIN(TB10X_PORT2 + 8, "MIVAL_S3"), 64 /* Port 3 */ 73 PINCTRL_PIN(TB10X_PORT3 + 8, "MIVAL_S5"), [all …]
|
/linux-6.14.4/drivers/media/pci/solo6x10/ |
D | solo6x10-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2010-2013 Bluecherry, LLC <https://www.bluecherrydvr.com> 22 int port; in solo_gpio_mode() local 28 for (port = 0; port < 16; port++) { in solo_gpio_mode() 29 if (!((1 << port) & port_mask)) in solo_gpio_mode() 32 ret &= (~(3 << (port << 1))); in solo_gpio_mode() 33 ret |= ((mode & 3) << (port << 1)); in solo_gpio_mode() 38 /* To set extended gpio - sensor */ in solo_gpio_mode() 41 for (port = 0; port < 16; port++) { in solo_gpio_mode() 42 if (!((1UL << (port + 16)) & port_mask)) in solo_gpio_mode() [all …]
|
/linux-6.14.4/drivers/tty/serial/8250/ |
D | 8250_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type PCI serial ports. 98 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */ 104 * > 0 - number of ports 105 * = 0 - use board->num_ports 106 * < 0 - error 156 "Please send the output of lspci -vv, this\n" in moan_device() 159 "modem board to <linux-[email protected]>.\n", in moan_device() 160 str, dev->vendor, dev->device, in moan_device() 161 dev->subsystem_vendor, dev->subsystem_device); in moan_device() [all …]
|
/linux-6.14.4/drivers/scsi/bfa/ |
D | bfa_fc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 51 u32 cs_ctl:8; /* class specific control */ 54 u32 type:8; /* data structure type */ 71 FC_RTG_FC4_DEV_DATA = 0x0, /* FC-4 Device Data */ 73 FC_RTG_FC4_LINK_DATA = 0x3, /* FC-4 Link Data */ 81 * information category for extended link data and FC-4 Link Data 94 FC_CAT_IFR_HDR = 0x1, /* Inter-Fabric routing header */ [all …]
|
/linux-6.14.4/drivers/ata/pata_parport/ |
D | bpck6.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * backpack.c is a low-level protocol driver for the Micro Solutions 6 * "BACKPACK" parallel port IDE adapter (works on Series 6 drives). 8 * Written by: Ken Hahn (linux-dev@micro-solutions.com) 9 * Clive Turvey (linux-dev@micro-solutions.com) 29 #define PREFIX_IO16 0x01 // perform 16-bit wide I/O 30 #define PREFIX_FASTWR 0x04 // enable PPC mode fast-write 51 /* DONT CHANGE THESE LEST YOU BREAK EVERYTHING - BIT FIELD DEPENDENCIES */ 65 switch (mode_map[pi->mode]) { in bpck6_send_cmd() 70 parport_write_data(pi->pardev->port, cmd); in bpck6_send_cmd() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/soundwire/ |
D | qcom,soundwire.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Srinivas Kandagatla <[email protected]> 11 - Srinivasa Rao Mandadapu <[email protected]> 19 - qcom,soundwire-v1.3.0 20 - qcom,soundwire-v1.5.0 21 - qcom,soundwire-v1.5.1 22 - qcom,soundwire-v1.6.0 23 - qcom,soundwire-v1.7.0 [all …]
|