Home
last modified time | relevance | path

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

12345678910>>...46

/openbmc/linux/drivers/gpio/
H A 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");
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 …]
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dsrio.c1 // SPDX-License-Identifier: GPL-2.0+
20 #define SRIO_RW_WIN_SIZE 0x100000 /* 1M */
44 (&((immap_t *)CONFIG_SYS_IMMR)->im_gur)
51 * Erratum A-004034
53 * Description: During port initialization, the SRIO port performs
58 * the configured port width.
59 * An SRIO port configured as a 4x port may see one of these scenarios:
60 * 1. One or more lanes fails to achieve lane synchronization. Depending
61 * on which lanes fail, this may result in downtraining from 4x to 1x
62 * on lane 0, 4x to 1x on lane R (redundant lane).
[all …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A 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 {
29 reg = <1>;
32 dai-format = "i2s";
43 #address-cells = <1>;
44 #size-cells = <0>;
[all …]
H A Dtegra210-p2371-2180.dts1 // 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 …]
H A 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 {
31 reg = <1>;
[all …]
H A Dtegra186-p2771-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 "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 …]
H A 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 …]
/openbmc/linux/drivers/media/pci/smipcie/
H A Dsmipcie-main.c1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A 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 …]
/openbmc/linux/drivers/net/wan/
H A Dhd64572.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Hitachi (now Renesas) SCA-II HD64572 driver for Linux
5 * Copyright (C) 1998-2008 Krzysztof Halasa <khc@pm.waw.pl>
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 …]
H A Dhd64570.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 1998-2003 Krzysztof Halasa <khc@pm.waw.pl>
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 …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_port.c1 // 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 …]
/openbmc/linux/drivers/tty/serial/
H A Dlpc32xx_hs.c1 // 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 …]
H A Dsc16is7xx.c1 // SPDX-License-Identifier: GPL-2.0+
3 * SC16IS7xx tty serial driver - Copyright (C) 2014 GridPoint
47 * - only on 75x/76x
50 * - only on 75x/76x
53 * - only on 75x/76x
56 * - only on 75x/76x
60 /* TCR/TLR Register set: Only if ((MCR[2] == 1) && (EFR[4] == 1)) */
64 /* Special Register set: Only if ((LCR[7] == 1) && (LCR != 0xBF)) */
76 #define SC16IS7XX_IER_RDI_BIT (1 << 0) /* Enable RX data interrupt */
77 #define SC16IS7XX_IER_THRI_BIT (1 << 1) /* Enable TX holding register
[all …]
H A Dvt8500_serial.c1 // 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 …]
H A Dsunhv.c1 // 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, struct circ_buf *xmit) in transmit_chars_putchar() argument
45 long status = sun4v_con_putchar(xmit->buf[xmit->tail]); in transmit_chars_putchar()
50 uart_xmit_advance(port, 1); in transmit_chars_putchar()
54 static void transmit_chars_write(struct uart_port *port, struct circ_buf *xmit) in transmit_chars_write() argument
57 unsigned long ra = __pa(xmit->buf + xmit->tail); in transmit_chars_write()
60 len = CIRC_CNT_TO_END(xmit->head, xmit->tail, in transmit_chars_write()
65 uart_xmit_advance(port, sent); in transmit_chars_write()
[all …]
H A D21285.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for the serial port on the 21285 StrongArm-110 core logic chip.
19 #include <asm/mach-types.h>
31 #define RXSTAT_FRAME (1 << 0)
32 #define RXSTAT_PARITY (1 << 1)
33 #define RXSTAT_OVERRUN (1 << 2)
36 #define H_UBRLCR_BREAK (1 << 0)
37 #define H_UBRLCR_PARENB (1 << 1)
38 #define H_UBRLCR_PAREVN (1 << 2)
39 #define H_UBRLCR_STOPB (1 << 3)
[all …]
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
19 #include <sound/soc-dai.h>
22 #include "q6dsp-errno.h"
60 #define AFE_PORT_I2S_SD0_1_MASK GENMASK(1, 0)
75 /* Port IDs */
82 #define AFE_API_VERSION_CLOCK_SET 1
87 /* SLIMbus Rx port on channel 0. */
89 /* SLIMbus Tx port on channel 0. */
91 /* SLIMbus Rx port on channel 1. */
[all …]
/openbmc/linux/drivers/thunderbolt/
H A Dusb4.c1 // SPDX-License-Identifier: GPL-2.0
64 ret = tb_sw_write(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
76 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op()
84 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op()
89 return -EOPNOTSUPP; in usb4_native_switch_op()
96 ret = tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
114 const struct tb_cm_ops *cm_ops = sw->tb->cm_ops; in __usb4_switch_op()
117 return -EINVAL; in __usb4_switch_op()
124 if (cm_ops->usb4_switch_op) { in __usb4_switch_op()
127 ret = cm_ops->usb4_switch_op(sw, opcode, metadata, status, in __usb4_switch_op()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A 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 …]
/openbmc/linux/drivers/usb/typec/mux/
H A Dintel_pmc_mux.c1 // SPDX-License-Identifier: GPL-2.0
27 #define PMC_USB_RESP_STATUS_FATAL BIT(1)
64 #define PMC_USB_ALTMODE_ORI_SHIFT 1
77 #define PMC_USB_ALTMODE_CABLE_USB31 1
80 #define PMC_USB_ALTMODE_TBT_GEN(_g_) (((_g_) & GENMASK(1, 0)) << 28)
87 * Input Output Manager (IOM) PORT STATUS
94 /* activity type: Display Port */
96 /* activity type: Display Port Multi Function Device */
102 /* Upstream Facing Port Information */
104 /* Display Port Hot Plug Detect status */
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c1 // 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 …]
/openbmc/linux/arch/um/drivers/
H A Dport_kern.c1 // 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
50 fd = os_rcv_fd(conn->socket[0], &conn->helper_pid); in pipe_interrupt()
52 if (fd == -EAGAIN) in pipe_interrupt()
56 -fd); in pipe_interrupt()
57 os_close_file(conn->fd); in pipe_interrupt()
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pci1xxxx.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type MCHP PCI serial ports.
64 #define ADCL_CFG_PIN_SEL BIT(1)
75 #define UART_WAKE_NCTS BIT(1)
89 {0, 1, 2, 3}, /* PCI12000, PCI11010, PCI11101, PCI11400, PCI11414 */
90 {0, 1, 2, 3}, /* PCI4p */
91 {0, 1, 2, -1}, /* PCI3p012 */
92 {0, 1, 3, -1}, /* PCI3p013 */
93 {0, 2, 3, -1}, /* PCI3p023 */
94 {1, 2, 3, -1}, /* PCI3p123 */
[all …]
/openbmc/linux/drivers/net/ethernet/cortina/
H A Dgemini.c1 // 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;
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 …]

12345678910>>...46