| /linux/drivers/usb/typec/ucsi/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 tristate "USB Type-C Connector System Software Interface driver" 9 USB Type-C Connector System Software Interface (UCSI) is a 10 specification for an interface that allows the operating system to 11 control the USB Type-C ports. On UCSI system the USB Type-C ports 15 that are equipped with Embedded Controller and USB Type-C ports. 17 UCSI specification does not define the interface method, so depending 20 for every supported interface method. 23 https://www.intel.com/content/www/us/en/io/universal-serial-bus/usb-type-c-ucsi-spec.html 31 tristate "UCSI Interface Driver for Cypress CCGx" [all …]
|
| /linux/Documentation/networking/ |
| H A D | net_failover.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 original paravirtual interface is registered as 'standby' slave netdev and 19 'pci' device. The user accesses the network interface via 'failover' netdev. 28 virtio-net accelerated datapath: STANDBY mode 31 net_failover enables hypervisor controlled accelerated datapath to virtio-net 35 feature on the virtio-net interface and assign the same MAC address to both 36 virtio-net and VF interfaces. 41 <interface type='network'> 45 <model type='virtio'/> 48 <teaming type='persistent'/> [all …]
|
| /linux/Documentation/networking/dsa/ |
| H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 33 interface. The CPU port is the switch port connected to an Ethernet MAC chip. 34 The corresponding linux Ethernet interface is called the conduit interface. 37 The user interfaces depend on the conduit interface being up in order for them 39 interface had to be managed explicitly by the user. Starting with kernel v5.12, 42 - when a DSA user interface is brought up, the conduit interface is 44 - when the conduit interface is brought down, all DSA user interfaces are 50 the conduit interface [all …]
|
| H A D | b53.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 The switch is, if possible, configured to enable a Broadcom specific 4-bytes 22 CPU interface, conversely, the CPU network interface should insert a similar 29 The interface names and example network configuration are used according the 30 configuration described in the :ref:`dsa-config-showcases`. 33 ---------------------------------- 38 See :ref:`dsa-tagged-configuration`. 41 ------------------------------------- 48 The configuration slightly differ from the :ref:`dsa-vlan-configuration`. 54 In difference to the configuration described in :ref:`dsa-vlan-configuration` [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | ca_high_level.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 Why the need for another CI interface? 29 Strictly speaking this is not a new interface. 31 The CI interface is defined in the DVB API in ca.h as: 33 .. code-block:: c 38 int type; /* CA interface this slot supports */ 39 #define CA_CI 1 /* CI high level interface */ 40 #define CA_CI_LINK 2 /* CI link layer level interface */ 41 #define CA_CI_PHYS 4 /* CI physical layer level interface */ 42 #define CA_DESCR 8 /* built-in descrambler */ [all …]
|
| /linux/drivers/greybus/ |
| H A D | interface.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Greybus interface code 20 /* Time required for interface to enter standby before disabling REFCLK */ 23 /* Don't-care selector index */ 51 return gb_svc_dme_peer_get(intf->hd->svc, intf->interface_id, in gb_interface_dme_attr_get() 64 if (intf->ddbl1_manufacturer_id != TOSHIBA_DMID) { in gb_interface_read_ara_dme() 65 dev_err(&intf->dev, "unknown manufacturer %08x\n", in gb_interface_read_ara_dme() 66 intf->ddbl1_manufacturer_id); in gb_interface_read_ara_dme() 67 return -ENODEV; in gb_interface_read_ara_dme() 71 &intf->vendor_id); in gb_interface_read_ara_dme() [all …]
|
| H A D | manifest.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright 2014-2015 Google Inc. 6 * Copyright 2014-2015 Linaro Ltd. 11 static const char *get_descriptor_type_string(u8 type) in get_descriptor_type_string() argument 13 switch (type) { in get_descriptor_type_string() 19 return "interface"; in get_descriptor_type_string() 34 * the interface descriptor). As each is processed we remove it from 42 enum greybus_descriptor_type type; member 47 list_del(&descriptor->links); in release_manifest_descriptor() 56 list_for_each_entry_safe(descriptor, next, &intf->manifest_descs, links) in release_manifest_descriptors() [all …]
|
| /linux/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-mipi-dbi-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-mipi-dbi-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Noralf Trønnes <noralf@tronnes.org> 16 The MIPI Alliance Standard for Display Bus Interface defines the electrical 19 for type 1 which has full frame memory. There are 3 interface types in the 20 standard and type C is the serial interface. 22 The standard defines the following interface signals for type C: 23 - Power: [all …]
|
| /linux/rust/kernel/ |
| H A D | usb.rs | 1 // SPDX-License-Identifier: GPL-2.0 2 // SPDX-FileCopyrightText: Copyright (C) 2025 Collabora Ltd. 38 // - `bindings::usb_driver` is a C type declared as `repr(C)`. 39 // - `T` is the type of the driver's device private data. 40 // - `struct usb_driver` embeds a `struct device_driver`. 41 // - `DEVICE_DRIVER_OFFSE 341 pub struct Interface<Ctx: device::DeviceContext = device::Normal>( global() struct 346 impl<Ctx: device::DeviceContext> Interface<Ctx> { global() implementation 354 unsafe impl<Ctx: device::DeviceContext> device::AsBusDevice<Ctx> for Interface<Ctx> { global() implementation 363 impl<Ctx: device::DeviceContext> AsRef<device::Device<Ctx>> for Interface<Ctx> { global() implementation 374 impl<Ctx: device::DeviceContext> AsRef<Device> for Interface<Ctx> { global() implementation 386 unsafe impl AlwaysRefCounted for Interface { global() implementation 401 unsafe impl Send for Interface {} global() implementation 405 unsafe impl Sync for Interface {} global() implementation [all...] |
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | arm,cci-400.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/arm,cci-400.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 13 ARM multi-cluster systems maintain intra-cluster coherency through a cache 18 clusters, through memory mapped interface, with a global control register 19 space and multiple sets of interface control registers, one per slave 20 interface. 24 pattern: "^cci(@[0-9a-f]+)?$" [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-hv_gpci | 3 Contact: Linux on PowerPC Developer List <linuxppc-dev@lists.ozlabs.org> 4 Description: Read-only. Attribute group to describe the magic bits 6 (See ABI/testing/sysfs-bus-event_source-devices-format). 12 counter_info_version = "config:16-23" 13 length = "config:24-31" 14 partition_id = "config:32-63" 15 request = "config:0-31" 16 sibling_part_id = "config:32-63" 17 hw_chip_id = "config:32-63" 18 offset = "config:32-63" [all …]
|
| /linux/drivers/usb/serial/ |
| H A D | usb-serial.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2009 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2012 Greg Kroah-Hartman (greg@kroah.com) 13 * See Documentation/usb/usb-serial.rst for more information on using this 39 #define DRIVER_AUTHOR "Greg Kroah-Hartman <gregkh@linuxfoundation.org>" 71 serial = port->serial; in usb_serial_port_get_by_minor() 72 mutex_lock(&serial->disc_mutex); in usb_serial_port_get_by_minor() 73 if (serial->disconnected) { in usb_serial_port_get_by_minor() 74 mutex_unlock(&serial->disc_mutex); in usb_serial_port_get_by_minor() 77 kref_get(&serial->kref); in usb_serial_port_get_by_minor() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_cpp.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 6 * Interface for low-level NFP CPP access. 22 dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 24 dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 26 dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 28 dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 30 dev_printk(level, nfp_cpp_device(cpp)->parent, \ 69 * NFP_CPP_ID() - pack target, token, and action into a CPP ID. 74 * Create a 32-bit CPP identifier representing the access to be made. [all …]
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_si_hardcode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 34 module_param_string(type, si_type_str, MAX_SI_TYPE_STR, 0); 35 MODULE_PARM_DESC(type, 36 …type of each interface, each interface separated by commas. The types are 'kcs', 'smic', and 'bt'… 39 …"Sets the memory address of each interface, the addresses separated by commas. Only use if an int… 42 …"Sets the port address of each interface, the addresses separated by commas. Only use if an inter… 45 …"Sets the interrupt of each interface, the addresses separated by commas. Only use if an interfac… 48 …ytes between the start address and each successive register used by the interface. For instance, … 51 …s should generally be 1, 2, 4, or 8 for an 8-bit, 16-bit, 32-bit, or 64-bit register. Use this if… 54 …r, in bits. For instance, if the data is read from a 32-bit word and the IPMI data is in bit 8-15… [all …]
|
| /linux/include/uapi/linux/dvb/ |
| H A D | ca.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 14 * struct ca_slot_info - CA slot interface types and info. 17 * @type: slot type. 22 * @type can be: 24 * - %CA_CI - CI high level interface; 25 * - %CA_CI_LINK - CI link layer level interface; 26 * - %CA_CI_PHYS - CI physical layer level interface; 27 * - %CA_DESCR - built-in descrambler; 28 * - %CA_SC -simple smart card interface. 32 * - %CA_CI_MODULE_PRESENT - module (or card) inserted; [all …]
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | microchip,csi2dc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Eugen Hristev <eugen.hristev@microchip.com> 13 CSI2DC - Camera Serial Interface 2 Demux Controller 16 IDI interface or from a parallel bus interface. 17 It filters IDI packets based on their data type and virtual channel 19 clock domain towards a parallel interface that can be read by a sensor 21 IDI interface is Synopsys proprietary. 23 a parallel interface. [all …]
|
| /linux/net/batman-adv/ |
| H A D | tvlv.c | 1 // SPDX-License-Identifier: GPL-2.0 36 * batadv_tvlv_handler_release() - release tvlv handler from lists and queue for 49 * batadv_tvlv_handler_put() - decrement the tvlv container refcounter and 58 kref_put(&tvlv_handler->refcount, batadv_tvlv_handler_release); in batadv_tvlv_handler_put() 62 * batadv_tvlv_handler_get() - retrieve tvlv handler from the tvlv handler list 63 * based on the provided type and version (both need to match) 64 * @bat_priv: the bat priv with all the mesh interface information 65 * @type: tvlv handler type to look for 71 batadv_tvlv_handler_get(struct batadv_priv *bat_priv, u8 type, u8 version) in batadv_tvlv_handler_get() argument 77 &bat_priv->tvlv.handler_list, list) { in batadv_tvlv_handler_get() [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | vidioc-querycap.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_QUERYCAP - Query device capabilities 29 Pointer to struct :c:type:`v4l2_capability`. 37 pointer to a struct :c:type:`v4l2_capability` which is 41 .. c:type:: v4l2_capability 47 .. flat-table:: struct v4l2_capability 48 :header-rows: 0 49 :stub-columns: 0 52 * - __u8 53 - ``driver``\ [16] [all …]
|
| H A D | dev-osd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 7 Video Output Overlay Interface 10 **Also known as On-Screen Display (OSD)** 14 this interface, which borrows structures and ioctls of the 15 :ref:`Video Overlay <overlay>` interface. 30 Devices supporting the *Video Output Overlay* interface set the 32 struct :c:type:`v4l2_capability` returned by the 39 Contrary to the *Video Overlay* interface the framebuffer is normally 45 ``base`` field of struct :c:type:`v4l2_framebuffer`. 48 :c:type:`fb_fix_screeninfo`. The ``FBIOGET_FSCREENINFO`` [all …]
|
| H A D | dev-meta.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 7 Metadata Interface 10 Metadata refers to any non-image data that supplements video frames with 13 parameters for specifying how the device processes images. This interface is 17 The metadata interface is implemented on video device nodes. The device can be 24 Device nodes supporting the metadata capture interface set the 26 :c:type:`v4l2_capability` structure returned by the :c:func:`VIDIOC_QUERYCAP` 28 device nodes supporting metadata output interface set the 30 :c:type:`v4l2_capability` structure. That flag means the device can read 44 To use the :ref:`format` ioctls applications set the ``type`` field of the [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpsw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2014-2016 Freescale Semiconductor Inc. 4 * Copyright 2017-2021 NXP 11 /* Data Path L2-Switch API 30 * DPSW_OPT_FLOODING_DIS - Flooding was disabled at device create 34 * DPSW_OPT_MULTICAST_DIS - Multicast was disabled at device create 38 * DPSW_OPT_CTRL_IF_DIS - Control interface support is disabled 43 * enum dpsw_component_type - component type of a bridge 44 * @DPSW_COMPONENT_TYPE_C_VLAN: A C-VLAN component of an 46 * to process C-tagged frames [all …]
|
| /linux/include/linux/ |
| H A D | most.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * most.h - API for component and adapter drivers 5 * Copyright (C) 2013-2015, Microchip Technology Germany II GmbH & Co. KG 18 * Interface type 41 * Channel data type. 60 * struct most_channel_capability - Channel capability 62 * The value is bitwise OR-combination of the values from the 66 * The value is bitwise OR-combination of the values from the 86 * -available_directions 87 * -available_datatypes [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | vfio-mediated-device.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 17 The number of use cases for virtualizing DMA devices that do not have built-in 22 interface for such devices. 25 an IOMMU/device-agnostic framework for exposing direct device access to user 26 space in a secure, IOMMU-protected environment. This framework is used for 31 The mediated core driver provides a common interface for mediated device 33 provides a generic interface to perform these operations: 39 The mediated core driver also provides an interface to register a bus driver. 44 The following high-level block diagram shows the main components and interfaces 48 +---------------+ [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper-board.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 31 * network ports from the rest of the cvmx-helper files. 36 #include <asm/octeon/cvmx-bootinfo.h> 38 #include <asm/octeon/cvmx-config.h> 40 #include <asm/octeon/cvmx-helper.h> 41 #include <asm/octeon/cvmx-helper-util.h> 42 #include <asm/octeon/cvmx-helper-board.h> 44 #include <asm/octeon/cvmx-gmxx-defs.h> [all …]
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 2 # SPDX-License-Identifier: GPL-2.0 12 # of them are bonded to serve as the netconsole's transmit interface. The 14 # network namespace, which acts as the receive interface, where socat monitors 28 set -euo pipefail 30 SCRIPTDIR=$(dirname "$(readlink -e "${BASH_SOURCE[0]}")") 64 if ! ip -n "${TXNS}" link add "${BOND_TX_MAIN_IF}" type bond mode balance-rr 66 echo "Failed to create bond TX interface. Is CONFIG_BONDING set?" >&2 70 trap - EXIT 74 # create_netdevsim() got the interface up, but it needs to be down 76 ip -n "${TXNS}" \ [all …]
|