/linux-6.14.4/drivers/gpio/ |
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. 19 #include "gpio-i8255.h" 29 MODULE_PARM_DESC(base, "Diamond Systems GPIO-MM base addresses"); 42 .reg_stride = 1, 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 …]
|
D | gpio-mxc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 // Copyright (C) 2004-2010 Freescale Semiconductor, Inc. All Rights Reserved. 86 .edge_sel_reg = -EINVAL, 101 .edge_sel_reg = -EINVAL, 123 #define GPIO_DR (port->hwdata->dr_reg) 124 #define GPIO_GDIR (port->hwdata->gdir_reg) 125 #define GPIO_PSR (port->hwdata->psr_reg) 126 #define GPIO_ICR1 (port->hwdata->icr1_reg) 127 #define GPIO_ICR2 (port->hwdata->icr2_reg) 128 #define GPIO_IMR (port->hwdata->imr_reg) [all …]
|
/linux-6.14.4/drivers/media/pci/smipcie/ |
D | smipcie-main.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* set port mux.*/ in smi_hw_init() 32 /* Port A */ in smi_hw_init() 40 /* Port B */ in smi_hw_init() 109 udelay(1); in smi_i2c_getsda() 110 return (smi_read(sw_ctl) & SW_I2C_MSK_DAT_IN) ? 1 : 0; in smi_i2c_getsda() 118 udelay(1); in smi_i2c_getscl() 119 return (smi_read(sw_ctl) & SW_I2C_MSK_CLK_IN) ? 1 : 0; in smi_i2c_getscl() 149 /* i2c 1.*/ 184 i2c_set_adapdata(&dev->i2c_bus[0], dev); in smi_i2c_init() [all …]
|
/linux-6.14.4/drivers/net/wan/ |
D | hd64572.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Hitachi (now Renesas) SCA-II HD64572 driver for Linux 5 * Copyright (C) 1998-2008 Krzysztof Halasa <[email protected]> 7 * Source of information: HD64572 SCA-II User's Manual 11 * Packet buffer descriptor rings - starting from card->rambase: 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 17 * Packet data buffers - starting from card->rambase + buff_offset: 44 #define get_msci(port) ((port)->chan ? MSCI1_OFFSET : MSCI0_OFFSET) argument 45 #define get_dmac_rx(port) ((port)->chan ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) argument [all …]
|
D | hd64570.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1998-2003 Krzysztof Halasa <[email protected]> 11 * Packet buffer descriptor rings - starting from winbase or win0base: 14 * rx_ring_buffers * sizeof(pkt_desc) = logical channel #1 RX ring (if used) 15 * tx_ring_buffers * sizeof(pkt_desc) = logical channel #1 TX ring (if used) 17 * Packet data buffers - starting from winbase + buff_offset: 42 #define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) argument 43 #define get_dmac_rx(port) (phy_node(port) ? DMAC1RX_OFFSET : DMAC0RX_OFFSET) argument 44 #define get_dmac_tx(port) (phy_node(port) ? DMAC1TX_OFFSET : DMAC0TX_OFFSET) argument 50 static inline struct net_device *port_to_dev(port_t *port) in port_to_dev() argument [all …]
|
D | ixp4xx_hss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel IXP4xx HSS (synchronous serial port) driver for Linux 5 * Copyright (C) 2007-2008 Krzysztof Hałasa <[email protected]> 13 #include <linux/dma-mapping.h> 43 #define PKT_EXTRA_FLAGS 0 /* orig 1 */ 44 #define PKT_NUM_PIPES 1 /* 1, 2 or 4 */ 77 #define HSS1_PKT_RXFREE0_QUEUE 1 84 #define NPE_PKT_MODE_RAW 1 90 #define PKT_HDLC_CRC_32 0x2 /* default = CRC-16 */ 142 /* 56k data endiannes - which bit unused: high (default) or low */ [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/display/ |
D | renesas,du.yaml | 1 # 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 <[email protected]> 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 …]
|
/linux-6.14.4/drivers/tty/serial/ |
D | lpc32xx_hs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 28 #include <linux/soc/nxp/lpc32xx-misc.h> 39 #define LPC32XX_HSU_BREAK_DATA (1 << 10) 40 #define LPC32XX_HSU_ERROR_DATA (1 << 9) 41 #define LPC32XX_HSU_RX_EMPTY (1 << 8) 46 #define LPC32XX_HSU_TX_INT_SET (1 << 6) 47 #define LPC32XX_HSU_RX_OE_INT (1 << 5) 48 #define LPC32XX_HSU_BRK_INT (1 << 4) 49 #define LPC32XX_HSU_FE_INT (1 << 3) 50 #define LPC32XX_HSU_RX_TIMEOUT_INT (1 << 2) [all …]
|
D | sunhv.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #define CON_BREAK ((long)-1) 32 #define CON_HUP ((long)-2) 42 static void transmit_chars_putchar(struct uart_port *port, in transmit_chars_putchar() argument 47 while (kfifo_peek(&tport->xmit_fifo, &ch)) { in transmit_chars_putchar() 53 uart_xmit_advance(port, 1); in transmit_chars_putchar() 57 static void transmit_chars_write(struct uart_port *port, struct tty_port *tport) in transmit_chars_write() argument 59 while (!kfifo_is_empty(&tport->xmit_fifo)) { in transmit_chars_write() 63 len = kfifo_out_linear_ptr(&tport->xmit_fifo, &tail, in transmit_chars_write() 70 uart_xmit_advance(port, sent); in transmit_chars_write() [all …]
|
D | vt8500_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 50 #define TXDE (1 << 0) /* Tx Data empty */ 51 #define RXDF (1 << 1) /* Rx Data full */ 52 #define TXFAE (1 << 2) /* Tx FIFO almost empty */ 53 #define TXFE (1 << 3) /* Tx FIFO empty */ 54 #define RXFAF (1 << 4) /* Rx FIFO almost full */ 55 #define RXFF (1 << 5) /* Rx FIFO full */ 56 #define TXUDR (1 << 6) /* Tx underrun */ 57 #define RXOVER (1 << 7) /* Rx overrun */ 58 #define PER (1 << 8) /* Parity error */ [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 value = (MULTIPLIER_BIT - 1); in lan966x_wm_enc() 25 static void lan966x_port_link_down(struct lan966x_port *port) in lan966x_port_link_down() argument 27 struct lan966x *lan966x = port->lan966x; in lan966x_port_link_down() 31 lan_rmw(AFI_PORT_CFG_FC_SKIP_TTI_INJ_SET(1) | in lan966x_port_link_down() 35 lan966x, AFI_PORT_CFG(port->chip_port)); in lan966x_port_link_down() 37 /* wait for reg afi_port_frm_out to become 0 for the port */ in lan966x_port_link_down() 39 val = lan_rd(lan966x, AFI_PORT_FRM_OUT(port->chip_port)); in lan966x_port_link_down() 46 pr_err("AFI timeout chip port %u", port->chip_port); in lan966x_port_link_down() 53 /* 1: Reset the PCS Rx clock domain */ in lan966x_port_link_down() [all …]
|
/linux-6.14.4/drivers/tty/serial/8250/ |
D | 8250_pci1xxxx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type MCHP PCI serial ports. 82 #define UART_MODEM_CTL_RTS_SET BIT(1) 96 #define ADCL_CFG_PIN_SEL BIT(1) 108 #define UART_WAKE_NCTS BIT(1) 130 #define UART_BYTE_SIZE 1 145 #define GET_RTS_PIN_STATUS(val) (((val) & TIOCM_RTS) >> 1) 160 .delay_rts_after_send = 1, 164 static int pci1xxxx_set_sys_lock(struct pci1xxxx_8250 *port) in pci1xxxx_set_sys_lock() argument 166 writel(UART_SYSLOCK, port->membase + UART_SYSLOCK_REG); in pci1xxxx_set_sys_lock() [all …]
|
/linux-6.14.4/drivers/net/dsa/mv88e6xxx/ |
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 …]
|
/linux-6.14.4/arch/arm64/boot/dts/nvidia/ |
D | tegra210-p2371-2180.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include "tegra210-p2180.dtsi" 5 #include "tegra210-p2597.dtsi" 9 compatible = "nvidia,p2371-2180", "nvidia,tegra210"; 14 hvddio-pex-supply = <&vdd_1v8>; 15 dvddio-pex-supply = <&vdd_pex_1v05>; 16 vddio-pex-ctl-supply = <&vdd_1v8>; 18 pci@1,0 { 19 phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>, [all …]
|
D | tegra194-p3509-0000.dtsi | 1 // 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 { 31 reg = <1>; [all …]
|
D | tegra186-p2771-0000.dts | 1 // 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 "tegra186-p3310.dtsi" 11 compatible = "nvidia,p2771-0000", "nvidia,tegra186"; 23 #address-cells = <1>; 24 #size-cells = <0>; 26 port@0 { 30 remote-endpoint = <&xbar_i2s1_ep>; [all …]
|
D | tegra194-p2972-0000.dts | 1 // 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 …]
|
/linux-6.14.4/drivers/thunderbolt/ |
D | usb4.c | 1 // SPDX-License-Identifier: GPL-2.0 62 ret = tb_sw_write(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op() 74 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op() 82 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op() 87 return -EOPNOTSUPP; in usb4_native_switch_op() 94 ret = tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op() 112 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in __usb4_switch_op() 115 return -EINVAL; in __usb4_switch_op() 122 if (cm_ops->usb4_switch_op) { in __usb4_switch_op() 125 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op() [all …]
|
/linux-6.14.4/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved. 5 #include <dt-bindings/sound/qcom,q6afe.h> 20 #include <sound/soc-dai.h> 23 #include "q6dsp-errno.h" 61 #define AFE_PORT_I2S_SD0_1_MASK GENMASK(1, 0) 76 /* Port IDs */ 83 #define AFE_API_VERSION_CLOCK_SET 1 88 /* SLIMbus Rx port on channel 0. */ 90 /* SLIMbus Tx port on channel 0. */ [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/display/ |
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 33 #define STAP_SELECT (1 << 0) 36 #define HS_IO_CTRL_SELECT (1 << 0) 40 #define VLV_MIPI_PORT_CTRL(port) _MMIO_MIPI(VLV_MIPI_BASE, port, _MIPIA_PORT_CTRL, _MIPIC_PORT_CTR… argument 42 /* BXT port control */ 47 #define DPI_ENABLE (1 << 31) /* A + C */ 51 #define DUAL_LINK_MODE_MASK (1 << 26) [all …]
|
/linux-6.14.4/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
D | extron-da-hd-4k-plus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2021-2024 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 7 * Currently this driver does not fully support the serial port of the 8 * Extron, only the USB port is fully supported. 10 * Issues specific to using the serial port instead of the USB since the 11 * serial port doesn't detect if the device is powered off: 13 * - Some periodic ping mechanism is needed to detect when the Extron is 15 * - What to do when it is powered off and the driver is modprobed? Keep 29 #include "extron-da-hd-4k-plus.h" 37 MODULE_PARM_DESC(debug, "debug level (0-1)"); [all …]
|
/linux-6.14.4/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_port.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 status->an_complete = true; in decode_sgmii_word() 33 status->link = false; in decode_sgmii_word() 39 status->speed = SPEED_10; in decode_sgmii_word() 42 status->speed = SPEED_100; in decode_sgmii_word() 45 status->speed = SPEED_1000; in decode_sgmii_word() 48 status->link = false; in decode_sgmii_word() 52 status->duplex = DUPLEX_FULL; in decode_sgmii_word() 54 status->duplex = DUPLEX_HALF; in decode_sgmii_word() 59 status->link = !(lp_abil & ADVERTISE_RFAULT) && status->link; in decode_cl37_word() [all …]
|
/linux-6.14.4/arch/um/drivers/ |
D | port_kern.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{linux.intel,addtoit}.com) 16 #include "port.h" 23 int port; member 31 struct port_list *port; member 42 struct port_list *port; member 48 int n_fds = 1, fd = -1; in pipe_interrupt() 51 ret = os_rcv_fd_msg(conn->socket[0], &fd, n_fds, &conn->helper_pid, in pipe_interrupt() 52 sizeof(conn->helper_pid)); in pipe_interrupt() 53 if (ret != sizeof(conn->helper_pid)) { in pipe_interrupt() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/media/ |
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/ethernet/cortina/ |
D | gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * Michał Mirosław <mirq-[email protected]> 22 #include <linux/dma-mapping.h> 46 #define DRV_NAME "gmac-gemini" 49 static int debug = -1; 63 #define HPROT_PRIVILIGED BIT(1) 72 #define TX_QUEUE_NUM 1 /* max: 6 */ 86 * struct gmac_queue_page - page buffer per-page info 105 u8 id; /* 0 or 1 */ 156 spinlock_t irq_lock; /* Locks IRQ-related registers */ [all …]
|