/linux/Documentation/driver-api/usb/ |
H A D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 6 ------------ 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. 10 The communication is SVID (Standard or Vendor ID) specific, i.e. specific for 13 USB Type-C bus allows binding a driver to the discovered partner alternate 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate 17 mode a port supports, and separate device for every alternate mode the partner 19 mode devices, and the port alternate mode devices must be handled by the port 23 alternate mode device of the port that the partner is attached to, that has 24 matching SVID and mode. Communication between the port driver and alternate mode [all …]
|
/linux/Documentation/driver-api/rapidio/ |
H A D | rapidio.rst | 5 The RapidIO standard is a packet-based fabric interconnect standard designed for 8 is publicly available for download from the RTA web-site [1]. 17 into the kernel similarly to other buses by defining RapidIO-specific device and 21 architecture-specific interfaces that provide support for common RapidIO 32 2.1 Master Port 33 --------------- 35 A master port (or mport) is a RapidIO interface controller that is local to the 36 processor executing the Linux code. A master port generates and receives RapidIO 37 packets (transactions). In the RapidIO subsystem each master port is represented 38 by a rio_mport data structure. This structure contains master port specific [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | dsa.rst | 19 they configured/queried a switch port network device or a regular network 22 An Ethernet switch typically comprises multiple front-panel ports and one 24 presence of a management port connected to an Ethernet controller capable of 27 gateways, or even top-of-rack switches. This host Ethernet controller will 32 using upstream and downstream Ethernet links between switches. These specific 36 For each front-panel port, DSA creates specialized network devices which are 37 used as controlling and data-flowing endpoints for use by the Linux networking 42 which is a hardware feature making the switch insert a specific tag for each 43 Ethernet frame it receives to/from specific ports to help the management 46 - what port is this frame coming from [all …]
|
/linux/drivers/rapidio/ |
H A D | rio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright 2009 - 2013 Integrated Device Technology, Inc. 30 * struct rio_pwrite - RIO portwrite event 33 * @context: Handler specific context to pass on event 65 * rio_local_get_device_id - Get the base/extended device id for a port 66 * @port: RIO master port from which to get the deviceid 69 * implementing the master port. Returns the 8/16-bit device 72 u16 rio_local_get_device_id(struct rio_mport *port) in rio_local_get_device_id() argument 76 rio_local_read_config_32(port, RIO_DID_CSR, &result); in rio_local_get_device_id() 78 return (RIO_GET_DID(port->sys_size, result)); in rio_local_get_device_id() [all …]
|
/linux/include/linux/ |
H A D | rio_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset, 21 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset, 23 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset, 25 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset, 27 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset, 29 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset, 32 extern int rio_mport_read_config_32(struct rio_mport *port, u16 destid, 34 extern int rio_mport_write_config_32(struct rio_mport *port, u16 destid, 36 extern int rio_mport_read_config_16(struct rio_mport *port, u16 destid, [all …]
|
H A D | rio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 24 #define RIO_NO_HOPCOUNT -1 34 has multiple (or per port) 57 * 1-15 RapidIO memory regions 89 * struct rio_switch - RIO switch info 92 * @port_ok: Status of each port (one bit per port) - OK=1 or UNINIT=0 93 * @ops: pointer to switch-specific operations 95 * @nextdev: Array of per-port pointers to the next attached device 107 * struct rio_switch_ops - Per-switch operations 109 * @add_entry: Callback for switch-specific route add function [all …]
|
/linux/drivers/rapidio/switches/ |
H A D | idt_gen2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 105 * Program destination port for the specified destID in idtg2_route_add_entry() 219 * This routine performs device-specific initialization only. in idtg2_em_init() 223 pr_debug("RIO: %s [%d:%d]\n", __func__, rdev->destid, rdev->hopcount); in idtg2_em_init() 225 /* Set Port-Write info CSR: PRIO=3 and CRF=1 */ in idtg2_em_init() 237 /* Use Port-Writes for LT layer error reporting. in idtg2_em_init() 238 * Enable per-port reset in idtg2_em_init() 245 * Configure PORT error reporting. in idtg2_em_init() 251 /* Configure reporting of implementation specific errors/events */ in idtg2_em_init() 255 /* Use Port-Writes for port error reporting and enable error logging */ in idtg2_em_init() [all …]
|
/linux/Documentation/devicetree/bindings/display/hisilicon/ |
H A D | dw-dsi.txt | 1 Device-Tree bindings for DesignWare DSI Host Controller v1.20a driver 7 - compatible: value should be "hisilicon,hi6220-dsi". 8 - reg: physical base address and length of dsi controller's registers. 9 - clocks: contains APB clock phandle + clock-specifier pair. 10 - clock-names: should be "pclk". 11 - ports: contains DSI controller input and output sub port. 12 The input port connects to ADE output port with the reg value "0". 13 The output port with the reg value "1", it could connect to panel or 17 A example of HiKey board hi6220 SoC and board specific DT entry: 20 SoC specific: [all …]
|
/linux/Documentation/firmware-guide/acpi/ |
H A D | intel-pmc-mux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Intel North Mux-Agent 10 North Mux-Agent is a function of the Intel PMC firmware that is supported on 13 platforms that allow the mux-agent to be configured from the operating system 16 The North Mux-Agent (aka. Intel PMC Mux Control, or just mux-agent) driver 18 (drivers/platform/x86/intel_scu_ipc.c). The driver registers with the USB Type-C 19 Mux Class which allows the USB Type-C Controller and Interface drivers to 24 Port nodes 28 ------- 30 For every USB Type-C connector under the mux-agent control on the system, there [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A D | i2c-opal.txt | 1 Device-tree bindings for I2C OPAL driver 2 ---------------------------------------- 4 Most of the device node and properties layout is specific to the firmware and 5 used by the firmware itself for configuring the port. From the linux 6 perspective, the properties of use are "ibm,port-name" and "ibm,opal-id". 10 - reg: Port-id within a given master 11 - compatible: must be "ibm,opal-i2c" 12 - ibm,opal-id: Refers to a specific bus and used to identify it when calling 14 - bus-frequency: Operating frequency of the i2c bus (in HZ). Informational for 18 - ibm,port-name: Firmware provides this name that uniquely identifies the i2c [all …]
|
/linux/drivers/s390/scsi/ |
H A D | zfcp_fc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 21 #define ZFCP_FC_CT_SIZE_PAGE (PAGE_SIZE - sizeof(struct fc_ct_hdr)) 27 - sizeof(struct fc_ct_hdr)) 34 * struct zfcp_fc_event - FC HBAAPI event for internal queueing from irq context 46 * struct zfcp_fc_events - Infrastructure for posting FC events from irq context 58 * struct zfcp_fc_gid_pn_req - container for ct header plus gid_pn request 68 * struct zfcp_fc_gid_pn_rsp - container for ct header plus gid_pn response 78 * struct zfcp_fc_gpn_ft - container for ct header plus gpn_ft request 88 * struct zfcp_fc_gspn_req - container for ct header plus GSPN_ID request 98 * struct zfcp_fc_gspn_rsp - container for ct header plus GSPN_ID response [all …]
|
/linux/drivers/misc/mei/hdcp/ |
H A D | mei_hdcp.c | 1 // SPDX-License-Identifier: GPL-2.0 32 * mei_hdcp_initiate_session() - Initiate a Wired HDCP2.2 Tx Session in ME FW 34 * @data: Intel HW specific hdcp data 50 return -EINVAL; in mei_hdcp_initiate_session() 60 session_init_in.port.integrated_port_type = data->port_type; in mei_hdcp_initiate_session() 61 session_init_in.port.physical_port = (u8)data->hdcp_ddi; in mei_hdcp_initiate_session() 62 session_init_in.port.attached_transcoder = (u8)data->hdcp_transcoder; in mei_hdcp_initiate_session() 63 session_init_in.protocol = data->protocol; in mei_hdcp_initiate_session() 83 return -EIO; in mei_hdcp_initiate_session() 86 ake_data->msg_id = HDCP_2_2_AKE_INIT; in mei_hdcp_initiate_session() [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | fsl,fman-port.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/fsl,fman-port.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale Frame Manager Port Device 10 - Frank Li <Frank.Li@nxp.com> 21 - fsl,fman-v2-port-oh 22 - fsl,fman-v2-port-rx 23 - fsl,fman-v2-port-tx 24 - fsl,fman-v3-port-oh [all …]
|
/linux/drivers/thunderbolt/ |
H A D | cap.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - capabilities lookup 18 static int tb_port_enable_tmu(struct tb_port *port, bool enable) in tb_port_enable_tmu() argument 20 struct tb_switch *sw = port->sw; in tb_port_enable_tmu() 25 * Legacy devices need to have TMU access enabled before port in tb_port_enable_tmu() 47 static void tb_port_dummy_read(struct tb_port *port) in tb_port_dummy_read() argument 50 * When reading from next capability pointer location in port in tb_port_dummy_read() 53 * port capabilities are walked. in tb_port_dummy_read() 55 if (tb_switch_is_light_ridge(port->sw)) { in tb_port_dummy_read() 58 tb_port_read(port, &dummy, TB_CFG_PORT, 0, 1); in tb_port_dummy_read() [all …]
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ale.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Texas Instruments N-Port Ethernet Switch Address Lookup Engine APIs 20 /* NU Switch has specific handling as number of bits in ALE entries 21 * are different than other versions of ALE. Also there are specific 22 * registers for unknown vlan specific fields. So use nu_switch_ale 115 /* port controls */ 141 /* ALE unicast entry flags - passed into cpsw_ale_add_ucast() */ 165 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port, 167 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port, 173 int cpsw_ale_add_vlan(struct cpsw_ale *ale, u16 vid, int port, int untag, [all …]
|
/linux/include/linux/usb/ |
H A D | typec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* USB Type-C Specification releases */ 102 * struct enter_usb_data - Enter_USB Message details 106 * @active_link_training is a flag that should be set with uni-directional SBRX 107 * communication, and left 0 with passive cables and with bi-directional SBRX 116 * struct usb_pd_identity - USB Power Delivery identity data 120 * @vdo: Product Type Specific VDOs 124 * REVISIT: This is USB Power Delivery specific informatio [all...] |
/linux/drivers/scsi/mvsas/ |
H A D | mv_64xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Marvell 88SE64xx hardware specific head file 7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com> 24 MVS_PORTS_IMP = 0x9C, /* SOC Port Implemented */ 26 MVS_GBL_PORT_TYPE = 0xa0, /* port type */ 28 MVS_CTL = 0x100, /* SAS/SATA port configuration */ 29 MVS_PCS = 0x104, /* SAS/SATA port control/status */ 53 /* ports 1-3 follow after this */ 56 /* ports 5-7 follow after this */ 60 /* ports 1-3 follow after this */ [all …]
|
/linux/include/uapi/scsi/fc/ |
H A D | fc_els.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 15 * Fibre Channel Switch - Enhanced Link Services definitions. 16 * From T11 FC-LS Rev 1.2 June 7, 2005. 20 * ELS Command codes - byte 0 of the frame payload 28 ELS_ABTX = 0x06, /* Abort exchange - obsolete */ 56 ELS_NACT = 0x33, /* N-port activate alias_id */ 57 ELS_NDACT = 0x34, /* N-port deactivate alias_id */ 66 ELS_RPS = 0x56, /* read port status block */ 67 ELS_RPL = 0x57, /* read port list */ [all …]
|
/linux/arch/x86/include/asm/ |
H A D | iosf_mbi.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 63 * iosf_mbi_read() - MailBox Interface read command 64 * @port: port indicating subunit being accessed 65 * @opcode: port specific read or write opcode 69 * Locking is handled by spinlock - cannot sleep. 72 int iosf_mbi_read(u8 port, u8 opcode, u32 offset, u32 *mdr); 75 * iosf_mbi_write() - MailBox unmasked write command 76 * @port: port indicating subunit being accessed 77 * @opcode: port specific read or write opcode 81 * Locking is handled by spinlock - cannot sleep. [all …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_sock.c |
|
/linux/Documentation/networking/devlink/ |
H A D | prestera.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Driver-specific Traps 13 .. list-table:: List of Driver-specific Traps Registered by ``prestera`` 16 * - Name 17 - Type 18 - Description 19 .. list-table:: List of Driver-specific Traps Registered by ``prestera`` 22 * - Name 23 - Type 24 - Description [all …]
|
/linux/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.h | 26 * - Redistributions of source code must retain the above copyright 28 * - Redistributions in binary form must reproduce the above copyright 32 * - Neither the name of Intel Corporation nor the names of its 34 * from this software without specific prior written permission. 84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR) 86 /* Defines for vendor specific notice(trap) attributes */ 118 * struct opa_vesw_info - OPA vnic switch information 119 * @fabric_id: 10-bit fabric id 120 * @vesw_id: 12-bit virtual ethernet switch id 155 * struct opa_per_veswport_info - OPA vnic per port information [all …]
|
/linux/include/rdma/ |
H A D | rdma_vt.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright(c) 2016 - 2019 Intel Corporation. 40 /* non-zero when timer is set */ 82 /* Hot-path per CPU counters to avoid cacheline trading to update */ 96 * the attach port API call. 117 * Things that are driver specific, module parameters in hfi1 and qib 123 * Anything driver specific that is not covered by props 217 * Driver specific work request setup and checking. 240 * Allocate a private queue pair data structure for driver specific 304 * Get the guid of a port in big endian byte order [all …]
|
/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-helper-board.h | 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 30 * Helper functions to abstract board specific data about 31 * network ports from the rest of the cvmx-helper files. 37 #include <asm/octeon/cvmx-helper.h> 55 * Fake IPD port, the RGMII/MII interface may use different PHY, use 58 #define CVMX_HELPER_BOARD_MGMT_IPD_PORT -10 62 * port. A result of -1 means there isn't a MII capable PHY 63 * connected to this port. On chips supporting multiple MII [all …]
|
/linux/drivers/net/dsa/ocelot/ |
H A D | felix.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 /* Platform-specific information */ 45 * workaround, the few packets that are delivered to the CPU port 47 * port module, but also to the 802.1Q Ethernet CPU port, and polling 57 int (*port_setup_tc)(struct dsa_switch *ds, int port, 59 void (*port_sched_speed_set)(struct ocelot *ocelot, int port, 61 void (*phylink_mac_config)(struct ocelot *ocelot, int port, 64 int (*configure_serdes)(struct ocelot *ocelot, int port, 69 /* Methods for initializing the hardware resources specific to a tagging 70 * protocol (like the NPI port, for "ocelot" or "seville", or the VCAP TCAMs, [all …]
|