| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-helper-util.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 69 * Setup the common GMX settings that determine the number of 74 * @num_ports: Number of ports on the interface 81 * Returns the IPD/PKO port number for a port on the given 85 * @port: Port on the interface 87 * Returns IPD/PKO port number 89 extern int cvmx_helper_get_ipd_port(int interface, int port); 92 * Returns the IPD/PKO port number for the first port on the given [all …]
|
| H A D | cvmx-pko.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 44 * - PKO indexes are no longer stored in the FAU. A large 48 * - The PKO <b>use_locking</b> parameter can now have a global 52 * - PKO 3 word commands are now supported. Use 60 #include <asm/octeon/cvmx-fpa.h> 61 #include <asm/octeon/cvmx-pow.h> 62 #include <asm/octeon/cvmx-cmd-queue.h> 63 #include <asm/octeon/cvmx-pko-defs.h> [all …]
|
| /linux/Documentation/firmware-guide/acpi/dsd/ |
| H A D | graph.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 _DSD (Device Specific Data) [dsd-guide] is a predefined ACPI device 14 for graphs: property [dsd-guide] and hierarchical data extensions. The 15 property extension provides generic key-value pairs whereas the 19 a tree-like structure with zero or more properties (key-value pairs) 38 The port and endpoint concepts are very similar to those in Devicetree 39 [devicetree, graph-bindings]. A port represents an interface in a device, and 40 an endpoint represents a connection to that interface. Also see [data-node-ref] 43 All port nodes are located under the device's "_DSD" node in the hierarchical 44 data extension tree. The data extension related to each port node must begin [all …]
|
| /linux/drivers/pci/controller/ |
| H A D | pci-mvebu.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Author: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 27 #include "../pci-bridge-emul.h" 40 #define PCIE_BAR_CTRL_OFF(n) (0x1804 + (((n) - 1) * 4)) 103 u32 port; member 128 static inline void mvebu_writel(struct mvebu_pcie_port *port, u32 val, u32 reg) in mvebu_writel() argument 130 writel(val, port->base + reg); in mvebu_writel() 133 static inline u32 mvebu_readl(struct mvebu_pcie_port *port, u32 reg) in mvebu_readl() argument 135 return readl(port->base + reg); in mvebu_readl() 138 static inline bool mvebu_has_ioport(struct mvebu_pcie_port *port) in mvebu_has_ioport() argument [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | whiteheat.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * Greg Kroah-Hartman (greg@kroah.com) 11 * See Documentation/usb/usb-serial.rst for more information on using this 21 #define WHITEHEAT_OPEN 1 /* open the port */ 22 #define WHITEHEAT_CLOSE 2 /* close the port */ 23 #define WHITEHEAT_SETUP_PORT 3 /* change port settings */ 31 for a port */ 56 __u8 port; /* port number (1 to N) */ member 89 __u8 port; /* port number (1 to N) */ member 90 __le32 baud; /* any value 7 - 460800, firmware calculates [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-util.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 35 #include <asm/octeon/cvmx-config.h> 37 #include <asm/octeon/cvmx-fpa.h> 38 #include <asm/octeon/cvmx-pip.h> 39 #include <asm/octeon/cvmx-pko.h> 40 #include <asm/octeon/cvmx-ipd.h> 41 #include <asm/octeon/cvmx-spi.h> 43 #include <asm/octeon/cvmx-helper.h> [all …]
|
| /linux/include/linux/usb/ |
| H A D | serial.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 1999 - 2012 6 * Greg Kroah-Hartman (greg@kroah.com) 17 /* The maximum number of ports one device can grab at once */ 26 * @serial: pointer back to the struct usb_serial owner of this port. 27 * @port: pointer to the corresponding tty_port for this port. 29 * @minor: the minor number of the port 30 * @port_number: the struct usb_serial port number of this port (starts at 0) 31 * @interrupt_in_buffer: pointer to the interrupt in buffer for this port. 32 * @interrupt_in_urb: pointer to the interrupt in struct urb for this port. [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_ports.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 NOTE: the current implementation of the port structure as a linked list is 26 subscribers of a port we first need to find the address of the port 36 dynamicly kmalloced. When a port is added or deleted we can simply allocate 43 /* return pointer to port structur 47 struct snd_seq_client_port *port; snd_seq_port_use_ptr() local 69 struct snd_seq_client_port *port, *found; snd_seq_port_query_nearest() local 114 snd_seq_create_port(struct snd_seq_client * client,int port,struct snd_seq_client_port ** port_ret) snd_seq_create_port() argument 213 clear_subscriber_list(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_port_subs_info * grp,int is_src) clear_subscriber_list() argument 251 port_delete(struct snd_seq_client * client,struct snd_seq_client_port * port) port_delete() argument 273 snd_seq_delete_port(struct snd_seq_client * client,int port) snd_seq_delete_port() argument 299 struct snd_seq_client_port *port, *tmp; snd_seq_delete_all_ports() local 325 snd_seq_set_port_info(struct snd_seq_client_port * port,struct snd_seq_port_info * info) snd_seq_set_port_info() argument 371 snd_seq_get_port_info(struct snd_seq_client_port * port,struct snd_seq_port_info * info) snd_seq_get_port_info() argument 427 subscribe_port(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_port_subs_info * grp,struct snd_seq_port_subscribe * info,int send_ack) subscribe_port() argument 452 unsubscribe_port(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_port_subs_info * grp,struct snd_seq_port_subscribe * info,int send_ack) unsubscribe_port() argument 495 check_and_subscribe_port(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_subscribers * subs,bool is_src,bool exclusive,bool ack) check_and_subscribe_port() argument 540 __delete_and_unsubscribe_port(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_subscribers * subs,bool is_src,bool ack) __delete_and_unsubscribe_port() argument 562 delete_and_unsubscribe_port(struct snd_seq_client * client,struct snd_seq_client_port * port,struct snd_seq_subscribers * subs,bool is_src,bool ack) delete_and_unsubscribe_port() argument 716 snd_seq_event_port_detach(int client,int port) snd_seq_event_port_detach() argument [all...] |
| H A D | seq_clientmgr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1998-2001 by Frank van de Pol <fvdpol@coil.demon.nl> 44 /* number of kernel non-card clients */ 83 switch (file->f_mode & (FMODE_READ | FMODE_WRITE)) { in snd_seq_file_flags() 95 return snd_seq_total_cells(client->poo in snd_seq_write_pool_allocated() 533 check_port_perm(struct snd_seq_client_port * port,unsigned int flags) check_port_perm() argument 735 __deliver_to_subscribers(struct snd_seq_client * client,struct snd_seq_event * event,int port,int atomic,int hop) __deliver_to_subscribers() argument 1346 struct snd_seq_client_port *port; snd_seq_ioctl_create_port() local 1424 struct snd_seq_client_port *port; snd_seq_ioctl_get_port_info() local 1451 struct snd_seq_client_port *port; snd_seq_ioctl_set_port_info() local 1507 snd_seq_client_notify_subscription(int client,int port,struct snd_seq_port_subscribe * info,int evtype) snd_seq_client_notify_subscription() argument 2031 struct snd_seq_client_port *port = NULL; snd_seq_ioctl_query_subs() local 2124 struct snd_seq_client_port *port = NULL; snd_seq_ioctl_query_next_port() local [all...] |
| /linux/include/linux/ |
| H A D | ntb.h | 8 * Copyright (C) 2016 T-Platforms. All Rights Reserved. 22 * Copyright (C) 2016 T-Platforms. All Rights Reserved. 69 * enum ntb_topo - NTB connection topology 79 NTB_TOPO_NONE = -1, 113 * enum ntb_speed - NTB link training speed 122 NTB_SPEED_AUTO = -1, 131 * enum ntb_width - NTB link training width 143 NTB_WIDTH_AUTO = -1, 155 * enum ntb_default_port - NTB default port number 156 * @NTB_PORT_PRI_USD: Default port of the NTB_TOPO_PRI/NTB_TOPO_B2B_USD [all …]
|
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-ib_srp | 1 What: /sys/class/infiniband_srp/srp-<hca>-<port_number>/add_target 4 Contact: linux-rdma@vger.kernel.org 7 a comma-separated list of login parameters to this sysfs 10 * id_ext, a 16-digit hexadecimal number specifying the eight 11 byte identifier extension in the 16-byte SRP target port 12 identifier. The target port identifier is sent by ib_srp 14 * ioc_guid, a 16-digit hexadecimal number specifying the eight 15 byte I/O controller GUID portion of the 16-byte target port 17 * dgid, a 32-digit hexadecimal number specifying the 19 * pkey, a four-digit hexadecimal number specifying the [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | fw_qos.h | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 57 * mlx4_SET_PORT_PRIO2TC - This routine maps user priorities to traffic 58 * classes of a given port and device. 61 * @port: Physical port number. 66 int mlx4_SET_PORT_PRIO2TC(struct mlx4_dev *dev, u8 port, u8 *prio2tc); 69 * mlx4_SET_PORT_SCHEDULER - This routine configures the arbitration between 75 * @port: Physical port number. 84 int mlx4_SET_PORT_SCHEDULER(struct mlx4_dev *dev, u8 port, u8 *tc_tx_bw, 87 * mlx4_ALLOCATE_VPP_get - Query port VPP available resources and allocation. [all …]
|
| /linux/include/linux/soundwire/ |
| H A D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 29 /* SDW Broadcast Device Number */ 32 /* SDW Enumeration Device Number */ 39 /* SDW Master Device Number, not supported yet */ 75 * flow modes for SDW port 530 u8 port[15]; global() member [all...] |
| /linux/include/scsi/ |
| H A D | libfc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Maintained at www.Open-FCoE.org 43 * enum fc_lport_state - Local port states 46 * @LPORT_ST_DNS: Waiting for name server remote port to become ready 47 * @LPORT_ST_RNN_ID: Register port name by ID (RNN_ID) sent 49 * @LPORT_ST_RSPN_ID: Waiting for host symbolic port name 51 * @LPORT_ST_RFF_ID: Register FC-4 Features by ID (RFF_ID) sent 54 * @LPORT_ST_RPA: Register Port Attributes 56 * @LPORT_ST_DPRT: Deregister Port 59 * @LPORT_ST_LOGO: Local port logout (LOGO) sent [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/sound/drivers/ |
| H A D | mtpav.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * ----- 65 static long port = MTPAV_IOBASE; /* 0x378, 0x278 */ global() variable 115 u8 number; global() member 125 unsigned long port; global() member [all...] |
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_dcb.c | 1 // SPDX-License-Identifier: GPL-2.0 13 /* Port X Control 0 register. 14 * The datasheet specifies: Port 1 - 0x10, Port 2 - 0x20, Port 3 - 0x30. 15 * However, the driver uses get_port_addr(), which maps Port 1 to offset 0. 61 /* ksz_supported_apptrust[] - Supported apptrust selectors and Priority Order 65 * the index within the array indicates the priority of the selector - lower 72 * non-configurable precedence where certain types of priority information 75 * 1. Tail Tag - Highest priority, overrides ACL, VLAN PCP, and DSCP priorities. 76 * 2. ACL - Overrides VLAN PCP and DSCP priorities. 77 * 3. VLAN PCP - Overrides DSCP priority. [all …]
|
| H A D | ksz9477_acl.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * - Matching Rules: These registers define the criteria for matching incoming 13 * - Action Rules: These registers define how the ACL should modify the packet's 18 * - Processing Rules: These registers control the overall behavior of the ACL, 23 * +----------------------+ 24 * +----------------------+ | (optional) | 27 * +----------------------+ +----------------------+ 31 * +----------------------+ 35 * +----------------------+ 38 * +----------------------+ [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-firmware-sgi_uv | 8 Under that directory are a number of read-only attributes:: 18 is used to select arch-dependent addresses and features. 40 The uv_type entry contains the hub revision number. 55 The hubs directory contains a number of hub objects, each representing 59 Each hub object directory contains a number of read-only attributes:: 68 The cnode entry contains the cnode number of the corresponding hub. 69 If a cnode value is not applicable, the value returned will be -1. 85 The nasid entry contains the nasid number of the corresponding hub. 86 If a nasid value is not applicable, the value returned will be -1. 94 Each hub object directory also contains a number of port objects, [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 2 0 = reserved as null device number 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 9 4 = /dev/port I/O port access 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 13 8 = /dev/random Nondeterministic random number gen. 14 9 = /dev/urandom Faster, less secure random number gen. 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 * re-use of an index for multiple packets. 21 * that an index is not re-used for multiple transmitted packets. The 26 * the blocks are split up so that indexes are assigned to each port based on 27 * hardware logical port number. 29 * The timestamp blocks are handled differently for E810- and E822-based 30 * devices. In E810 devices, each port has its own block of timestamps, while in 32 * chunks based on the port number to avoid collisions. 34 * Example for port 5 in E810: 35 * +--------+--------+--------+--------+--------+--------+--------+--------+ [all …]
|
| /linux/include/uapi/linux/ |
| H A D | if_link.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 43 * struct rtnl_link_stats64 - The main device statistics structure. 45 * @rx_packets: Number of good packets received by the interface. 50 * @tx_packets: Number of packets successfully transmitted. 56 * @rx_bytes: Number of good received bytes, corresponding to @rx_packets. 61 * @tx_bytes: Number o 275 __u8 port; global() member [all...] |
| /linux/include/linux/hsi/ |
| H A D | hsi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 36 HSI_ARB_RR, /* Round-robin arbitration */ 51 /* HSI port event codes */ 58 * struct hsi_channel - channel resource used by the hsi clients 59 * @id: Channel number 68 * struct hsi_config - Configuration for RX/TX HSI modules 71 * @num_channels: Number of channel resources 72 * @num_hw_channels: Number of channels the transceiver is configured for [1..16] 90 * struct hsi_board_info - HSI client board info 93 * @port: Port number in the controller where the client sits [all …]
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 34 #define MVPP2_RX_DATA_FIFO_SIZE_REG(port) (0x00 + 4 * (port)) argument 35 #define MVPP2_RX_ATTR_FIFO_SIZE_REG(port) (0x20 + 4 * (port)) argument 38 #define MVPP22_TX_FIFO_THRESH_REG(port) (0x8840 + 4 * (port)) argument 39 #define MVPP22_TX_FIFO_SIZE_REG(port) (0x8860 + 4 * (port)) argument 42 #define MVPP2_RX_CTRL_REG(port) (0x140 + 4 * (port)) argument 61 #define MVPP2_MH_REG(port) (0x5040 + 4 * (port)) argument 70 #define MVPP2_PRS_PORT_LU_MASK(port) (0xff << ((port) * 4)) argument 71 #define MVPP2_PRS_PORT_LU_VAL(port, val) ((val) << ((port) * 4)) argument 72 #define MVPP2_PRS_INIT_OFFS_REG(port) (0x1004 + ((port) & 4)) argument [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/broadwell/ |
| H A D | pipeline.json | 7 "PublicDescription": "This event counts the number of the divide operations executed. Uses edge-detect and a cmask value of 1 on ARITH.FPU_DIV_ACTIVE to get the number of the divide operations executed.", 21 "BriefDescription": "Speculative and retired macro-conditional branches", 25 "PublicDescription": "This event counts both taken and not taken speculative and retired macro-conditional branch instructions.", 30 "BriefDescription": "Speculative and retired macro-unconditional branches excluding calls and indirects", 34 "PublicDescription": "This event counts both taken and not taken speculative and retired macro-unconditional branch instructions, excluding calls and indirects.", 66 "BriefDescription": "Not taken macro-conditional branches", 70 "PublicDescription": "This event counts not taken macro-conditional branch instructions.", 75 "BriefDescription": "Taken speculative and retired macro-conditiona [all...] |