Home
last modified time | relevance | path

Searched +full:mode +full:- +full:capable (Results 1 – 25 of 746) sorted by relevance

12345678910>>...30

/linux/Documentation/userspace-api/ioctl/
H A Dcdrom.rst5 - Edward A. Falk <efalk@google.com>
10 the CDROM layer. These are by-and-large implemented (as of Linux 2.6)
28 CDROMREADMODE2 Read CDROM mode 2 data (2336 Bytes)
30 CDROMREADMODE1 Read CDROM mode 1 data (2048 Bytes)
33 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting
34 CDROMMULTISESSION Obtain the start-of-last-session
40 CDROMRESET hard-reset the drive
43 CDROMREADRAW read data in raw mode (2352 Bytes)
45 CDROMREADCOOKED read data in cooked mode
47 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk)
[all …]
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 int ret = -EINVAL, res; in get_integer()
61 return -EINVAL; in get_boolean()
71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show()
72 return -EPERM; in b43legacy_attr_interfmode_show()
74 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
76 switch (wldev->phy.interfmode) { in b43legacy_attr_interfmode_show()
82 "1 (Non-WLAN Interference Mitigation)\n"); in b43legacy_attr_interfmode_show()
91 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
103 int mode; in b43legacy_attr_interfmode_store() local
[all …]
/linux/Documentation/driver-api/usb/
H A Dtypec.rst3 USB Type-C connector class
7 ------------
9 The typec class is meant for describing the USB Type-C ports in a system to the
14 The platforms are expected to register every USB Type-C port they have with the
15 class. In a normal case the registration will be done by a USB Type-C or PD PHY
18 considers the component registering the USB Type-C ports with the class as "port
23 driver is capable of supporting those features.
26 attributes are described in Documentation/ABI/testing/sysfs-class-typec.
29 --------------------
36 "port0-partner". Full path to the device would be
[all …]
/linux/Documentation/driver-api/serial/
H A Dserial-rs485.rst8 EIA-485, also known as TIA/EIA-485 or RS-485, is a standard defining the
15 2. Hardware-related Considerations
18 Some CPUs/UARTs (e.g., Atmel AT91 or 16C950 UART) contain a built-in
19 half-duplex mode capable of automatically controlling line direction by
21 half-duplex hardware like an RS485 transceiver or any RS232-connected
22 half-duplex devices like some modems.
24 For these microcontrollers, the Linux driver should be made capable of
26 available at user-level to allow switching from one mode to the other, and
37 [#DT-bindings]_. The serial core fills the struct serial_rs485 from the
41 Any driver for devices capable of working both as RS232 and RS485 should
[all …]
H A Dserial-iso7816.rst11 2. Hardware-related considerations
14 Some CPUs/UARTs (e.g., Microchip AT91) contain a built-in mode capable of
17 For these microcontrollers, the Linux driver should be made capable of
19 available at user-level to allow switching from one mode to the other, and
29 Any driver for devices capable of working both as RS232 and ISO7816 should
35 4. Usage from user-level
38 From user-level, ISO7816 configuration can be get/set using the previous
57 /* Enable ISO7816 mode: */
/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* atlx_hw.h -- common hardware definitions for Attansic network drivers
4 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
5 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
6 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com>
10 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
149 /* IRQ Anti-Lost Timer Initial Value Register */
228 /* MAC Half-Duplex Control Register */
246 /* Wake-On-Lan control register */
322 #define MII_SR_AUTONEG_CAPS 0x0008 /* Auto Neg Capable */
[all …]
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi-raw7 in little-endian binary format to have it sent to the configured
22 in little-endian binary format to have it sent to the configured
38 Description: SCMI Raw message injection/snooping facility using polling mode;
40 little-endian binary format to have it sent to the configured
41 backend SCMI server for instance <n>, using polling mode on
42 the reception path. (if transport is polling capable)
55 polling-mode; write a complete SCMI asynchronous command message
56 (header included) in little-endian binary format to have it sent
58 polling-mode on the reception path of the immediate part of the
59 asynchronous command. (if transport is polling capable)
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 int ret = -EINVAL; in get_integer()
44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
45 return -EPERM; in b43_attr_interfmode_show()
47 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_show()
49 if (wldev->phy.type != B43_PHYTYPE_G) { in b43_attr_interfmode_show()
50 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show()
51 return -ENOSYS; in b43_attr_interfmode_show()
54 switch (wldev->phy.g->interfmode) { in b43_attr_interfmode_show()
60 "1 (Non-WLAN Interference Mitigation)\n"); in b43_attr_interfmode_show()
[all …]
/linux/include/uapi/linux/
H A Dpci_regs.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright 1997--1999 Martin Mares <mj@ucw.cz>
25 * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of
26 * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of
50 #define PCI_COMMAND_FAST_BACK 0x200 /* Enable back-to-back writes */
59 #define PCI_STATUS_FAST_BACK 0x80 /* Accept fast-back to back */
83 #define PCI_HEADER_TYPE_MFD 0x80 /* Multi-Function Device (possible) */
88 #define PCI_BIST_CAPABLE 0x80 /* 1 if BIST capable */
124 /* 0x35-0x3b are reserved */
130 /* Header type 1 (PCI-to-PCI bridges) */
[all …]
H A Dnetdev.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
4 /* YNL-GEN uapi header */
20 * in zero copy mode.
23 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear
26 * non-linear XDP buffer support in ndo_xdp_xmit callback.
43 * @NETDEV_XDP_RX_METADATA_TIMESTAMP: Device is capable of exposing receive HW
45 * @NETDEV_XDP_RX_METADATA_HASH: Device is capable of exposing receive packet
47 * @NETDEV_XDP_RX_METADATA_VLAN_TAG: Device is capable of exposing receive
94 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1)
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dusb-drd.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/usb/usb-drd.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org>
13 otg-rev:
16 which the device and its descriptors are compliant, in binary-coded
18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be
25 Tells Dual-Role USB controllers that we want to work on a particular
26 mode. In case this attribute isn't passed via DT, USB DRD controllers
[all …]
/linux/drivers/tty/serial/8250/
H A D8250_ni.c1 // SPDX-License-Identifier: GPL-2.0+
7 * for RS-485 transceiver control. This driver implements support for the
10 * Copyright 2012-2023 National Instruments Corporation
31 /* TFS - TX FIFO Size */
33 /* RFS - RX FIFO Size */
36 /* PMR - Port Mode Register */
38 /* PMR[1:0] - Port Capabilities */
41 #define NI16550_PMR_CAP_RS232 FIELD_PREP(NI16550_PMR_CAP_MASK, 1) /* RS-232 capable */
42 #define NI16550_PMR_CAP_RS485 FIELD_PREP(NI16550_PMR_CAP_MASK, 2) /* RS-485 capable */
43 #define NI16550_PMR_CAP_DUAL FIELD_PREP(NI16550_PMR_CAP_MASK, 3) /* dual-port */
[all …]
/linux/Documentation/devicetree/bindings/leds/
H A Dti,tps61310.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matthias Fend <matthias.fend@emfend.at>
14 Its power stage is capable of supplying a maximum total current of roughly 1500mA.
15 The TPS6131x provides three constant-current sinks, capable of sinking
16 up to 2 x 400mA (LED1 and LED3) and 800mA (LED2) in flash mode.
17 In torch mode, each sink (LED1, LED2, LED3) supports currents up to 175mA.
19 flash timer, control logic, safety timer and the operating mode, they cannot
29 - items:
[all …]
/linux/include/linux/
H A Dbrcmphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 /* All Broadcom Ethernet switches have a pseudo-PHY at address 30 which is used
94 #define MII_BCM54XX_EXP_SEL_WOL 0x0e00 /* Wake-on-LAN expansion select register */
104 #define MII_BCM54XX_INT_DUPLEX 0x0008 /* Duplex mode changed */
111 #define MII_BCM54XX_INT_ANPR 0x0400 /* Auto-negotiation page received */
212 /* 01010: Auto Power-Down */
226 #define BCM54XX_SHD_RGMII_MODE 0x0b /* 01011: RGMII Mode Selector */
228 #define BCM5482_SHD_SSD_LEDM 0x0008 /* SSD LED Mode enable */
231 /* 10011: SerDes 100-FX Control Register */
233 #define BCM54616S_100FX_MODE BIT(0) /* 100-FX SerDes Enable */
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_device_sysfs.c1 // SPDX-License-Identifier: MIT
25 * vram_d3cold_threshold - Report/change vram used threshold(in MB) below
28 * lb_fan_control_version - Fan control version provisioned by late binding.
31 * lb_voltage_regulator_version - Voltage regulator version provisioned by late
44 ret = sysfs_emit(buf, "%d\n", xe->d3cold.vram_threshold); in vram_d3cold_threshold_show()
63 drm_dbg(&xe->drm, "vram_d3cold_threshold: %u\n", vram_d3cold_threshold); in vram_d3cold_threshold_store()
186 return attr->mode; in late_bind_attr_is_visible()
189 return attr->mode; in late_bind_attr_is_visible()
206 * to host or motherboard limitations and may have to auto-downgrade their link
209 * the device is capable of auto-downgrading its link to PCIe Gen4 speed before
[all …]
/linux/tools/include/uapi/linux/
H A Dnetdev.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
4 /* YNL-GEN uapi header */
20 * in zero copy mode.
23 * @NETDEV_XDP_ACT_RX_SG: This feature informs if netdev implements non-linear
26 * non-linear XDP buffer support in ndo_xdp_xmit callback.
43 * @NETDEV_XDP_RX_METADATA_TIMESTAMP: Device is capable of exposing receive HW
45 * @NETDEV_XDP_RX_METADATA_HASH: Device is capable of exposing receive packet
47 * @NETDEV_XDP_RX_METADATA_VLAN_TAG: Device is capable of exposing receive
94 NETDEV_A_DEV_MAX = (__NETDEV_A_DEV_MAX - 1)
[all …]
/linux/Documentation/networking/device_drivers/ethernet/3com/
H A D3c509.rst1 .. SPDX-License-Identifier: GPL-2.0
21 ethercards in Linux. These cards are commonly known by the most widely-used
22 card's 3Com model number, 3c509. They are all 10mb/s ISA-bus cards and shouldn't
23 be (but sometimes are) confused with the similarly-numbered PCI-bus "3c905"
28 - 3c509 (original ISA card)
29 - 3c509B (later revision of the ISA card; supports full-duplex)
30 - 3c589 (PCMCIA)
31 - 3c589B (later revision of the 3c589; supports full-duplex)
32 - 3c579 (EISA)
45 The driver allows boot- or load-time overriding of the card's detected IOADDR,
[all …]
/linux/drivers/ata/
H A Dpata_ali.c2 * pata_ali.c - ALI 15x3 PATA for new ATA layer
8 * Copyright (C) 1998-2000 Michel Aubry, Maintainer
9 * Copyright (C) 1998-2000 Andrzej Krzysztofowicz, Maintainer
10 * Copyright (C) 1999-2000 CJ, cjtsai@ali.com.tw, Maintainer
12 * Copyright (C) 1998-2000 Andre Hedrick (andre@linux-ide.org)
54 DMI_MATCH(DMI_BOARD_VENDOR, "Hewlett-Packard"),
55 DMI_MATCH(DMI_BOARD_VERSION, "OmniBook N32N-736"),
59 .ident = "Toshiba Satellite S1800-814",
62 DMI_MATCH(DMI_PRODUCT_NAME, "S1800-814"),
71 if (pdev->subsystem_vendor == 0x10CF && pdev->subsystem_device == 0x10AF) in ali_cable_override()
[all …]
/linux/drivers/usb/isp1760/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
9 or an ISP1761 USB dual-role controller.
12 This USB controller is usually attached to a non-DMA-Master
13 capable bus. NXP's eval kit brings this chip on PCI card
29 prompt "ISP1760 Mode Selection"
35 bool "Host only mode"
39 Select this if you want to use the ISP1760 in host mode only. The
43 bool "Gadget only mode"
47 Select this if you want to use the ISP1760 in peripheral mode only.
51 bool "Dual Role mode"
/linux/Documentation/devicetree/bindings/serial/
H A Drs485.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 description: The RTS signal is capable of automatically controlling line
10 direction for the built-in half-duplex mode. The properties described
11 hereafter shall be given to a half-duplex capable UART node.
14 - Rob Herring <robh@kernel.org>
17 rs485-rts-delay:
18 description: prop-encoded-array <a b>
19 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/linux/drivers/net/wireless/silabs/wfx/
H A Dhif_tx_mib.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Implementation of the host-to-chip MIBs of the hardware API.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
7 * Copyright (C) 2010, ST-Ericsson SA
23 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_CURRENT_TX_POWER_LEVEL, in wfx_hif_set_output_power()
37 return -EINVAL; in wfx_hif_set_beacon_wakeup_period()
38 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_BEACON_WAKEUP_PERIOD, in wfx_hif_set_beacon_wakeup_period()
59 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_RCPI_RSSI_THRESHOLD, in wfx_hif_set_rcpi_rssi_threshold()
83 return wfx_hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_DOT11_MAC_ADDRESS, in wfx_hif_set_macaddr()
[all …]
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support
5 * Copyright (c) 2014-2025 Broadcom
37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet
43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol()
46 if (dev->phydev) { in bcmgenet_get_wol()
47 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol()
48 phy_wolopts = wol->wolopts; in bcmgenet_get_wol()
51 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol()
56 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
422 /* MAC decode size is 128K - This is the size of BAR0 */
443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE)
486 * E1000_RAR_ENTRIES - 1 multicast addresses.
503 /* Receive Descriptor - Extended */
529 /* Receive Descriptor - Packet Split */
553 __le16 length[3]; /* length of buffers 1-3 */
567 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */
770 * RW - register is both readable and writable
[all …]
/linux/drivers/pci/pcie/
H A Dptm.c1 // SPDX-License-Identifier: GPL-2.0
31 if (ups && ups->ptm_cap) in pci_upstream_ptm()
54 dev->ptm_cap = ptm; in pci_ptm_init()
58 dev->ptm_granularity = FIELD_GET(PCI_PTM_GRANULARITY_MASK, cap); in pci_ptm_init()
68 if (ups->ptm_granularity == 0) in pci_ptm_init()
69 dev->ptm_granularity = 0; in pci_ptm_init()
70 else if (ups->ptm_granularity > dev->ptm_granularity) in pci_ptm_init()
71 dev->ptm_granularity = ups->ptm_granularity; in pci_ptm_init()
73 dev->ptm_root = 1; in pci_ptm_init()
81 dev->ptm_granularity = 0; in pci_ptm_init()
[all …]
/linux/drivers/gpu/drm/imx/ipuv3/
H A Ddw_hdmi-imx.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2011-2013 Freescale Semiconductor, Inc.
4 * derived from imx-hdmi.c(renamed to bridge/dw_hdmi.c now)
9 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h>
14 #include <video/imx-ipu-v3.h>
25 #include "imx-drm.h"
43 return container_of(e, struct imx_hdmi_encoder, encoder)->hdmi; in enc_to_imx_hdmi()
113 int mux = drm_of_encoder_active_port_id(hdmi->dev->of_node, encoder); in dw_hdmi_imx_encoder_enable()
115 regmap_update_bits(hdmi->regmap, IOMUXC_GPR3, in dw_hdmi_imx_encoder_enable()
126 imx_crtc_state->bus_format = MEDIA_BUS_FMT_RGB888_1X24; in dw_hdmi_imx_atomic_check()
[all …]

12345678910>>...30