Home
last modified time | relevance | path

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

12345678910>>...37

/Linux-v5.10/Documentation/devicetree/bindings/mfd/
Daxp20x.txt4 axp152 (X-Powers)
5 axp202 (X-Powers)
6 axp209 (X-Powers)
7 axp221 (X-Powers)
8 axp223 (X-Powers)
9 axp803 (X-Powers)
10 axp806 (X-Powers)
11 axp809 (X-Powers)
12 axp813 (X-Powers)
20 - compatible: should be one of:
[all …]
/Linux-v5.10/block/
Dioctl.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/backing-dev.h>
22 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
23 return -EACCES; in blkpg_do_ioctl()
25 return -EFAULT; in blkpg_do_ioctl()
27 return -EINVAL; in blkpg_do_ioctl()
30 return -EINVAL; in blkpg_do_ioctl()
44 return -EINVAL; in blkpg_do_ioctl()
50 if (p.start & (bdev_logical_block_size(bdev) - 1)) in blkpg_do_ioctl()
51 return -EINVAL; in blkpg_do_ioctl()
[all …]
/Linux-v5.10/Documentation/userspace-api/ioctl/
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-v5.10/drivers/net/wireless/broadcom/b43legacy/
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 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show()
93 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show()
105 int mode; in b43legacy_attr_interfmode_store() local
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/usb/
Dmediatek,mtk-xhci.txt6 the second one supports dual-role mode, and the host is based on xHCI
11 ------------------------------------------------------------------------
14 - compatible : should be "mediatek,<soc-model>-xhci", "mediatek,mtk-xhci",
15 soc-model is the name of SoC, such as mt8173, mt2712 etc, when using
16 "mediatek,mtk-xhci" compatible string, you need SoC specific ones in
18 - "mediatek,mt8173-xhci"
19 - reg : specifies physical base address and size of the registers
20 - reg-names: should be "mac" for xHCI MAC and "ippc" for IP port control
21 - interrupts : interrupt used by the controller
22 - power-domains : a phandle to USB power domain node to control USB's
[all …]
Dgeneric.txt4 - maximum-speed: tells USB controllers we want to work up to a certain
5 speed. Valid arguments are "super-speed-plus",
6 "super-speed", "high-speed", "full-speed" and
7 "low-speed". In case this isn't passed via DT, USB
10 - dr_mode: tells Dual-Role USB controllers that we want to work on a
11 particular mode. Valid arguments are "host",
15 - phy_type: tells USB controllers that we want to configure the core to support
16 a UTMI+ PHY with an 8- or 16-bit interface if UTMI+ is
20 - otg-rev: tells usb driver the release number of the OTG and EH supplement
22 in binary-coded decimal (i.e. 2.0 is 0200H). This
[all …]
/Linux-v5.10/Documentation/driver-api/usb/
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-v5.10/drivers/net/ethernet/atheros/atlx/
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-v5.10/Documentation/driver-api/serial/
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: */
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
40 Any driver for devices capable of working both as RS232 and RS485 should
46 4. Usage from user-level
[all …]
/Linux-v5.10/fs/gfs2/
Dsys.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
41 return a->show ? a->show(sdp, buf) : 0; in gfs2_attr_show()
49 return a->store ? a->store(sdp, buf, len) : len; in gfs2_attr_store()
63 MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); in id_show()
68 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); in fsname_show()
73 struct super_block *s = sdp->sd_vfs; in uuid_show()
76 if (uuid_is_null(&s->s_uuid)) in uuid_show()
78 return snprintf(buf, PAGE_SIZE, "%pUB\n", &s->s_uuid); in uuid_show()
[all …]
/Linux-v5.10/drivers/net/wireless/broadcom/b43/
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()
63 "1 (Non-WLAN Interference Mitigation)\n"); in b43_attr_interfmode_show()
[all …]
/Linux-v5.10/arch/x86/kernel/
Ditmt.c1 // SPDX-License-Identifier: GPL-2.0-only
33 * Boolean to control whether we want to move processes to cpu capable
51 return -EINVAL; in sched_itmt_update_handler()
72 .mode = 0644,
83 .mode = 0555,
92 * sched_set_itmt_support() - Indicate platform supports ITMT
95 * is capable of supporting the ITMT feature.
98 * is ITMT capable and call sched_set_itmt_support.
120 return -ENOMEM; in sched_set_itmt_support()
136 * sched_clear_itmt_support() - Revoke platform's support of ITMT
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/serial/
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-v5.10/drivers/usb/isp1760/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
8 or an ISP1761 USB dual-role controller.
11 This USB controller is usually attached to a non-DMA-Master
12 capable bus. NXP's eval kit brings this chip on PCI card
28 bool "ISP1760 Mode Selection"
34 bool "Host only mode"
38 Select this if you want to use the ISP1760 in host mode only. The
42 bool "Gadget only mode"
46 Select this if you want to use the ISP1760 in peripheral mode only.
50 bool "Dual Role mode"
/Linux-v5.10/Documentation/networking/device_drivers/ethernet/3com/
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-v5.10/include/uapi/linux/
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 */
87 #define PCI_BIST_CAPABLE 0x80 /* 1 if BIST capable */
123 /* 0x35-0x3b are reserved */
129 /* Header type 1 (PCI-to-PCI bridges) */
157 /* 0x35-0x3b is reserved */
[all …]
Dmdio.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * Copyright 2006-2009 Solarflare Communications Inc.
25 #define MDIO_MMD_AN 7 /* Auto-Negotiation */
57 /* Media-dependent registers. */
58 #define MDIO_PMA_10GBT_SWAPPOL 130 /* 10GBASE-T pair swap & polarity */
59 #define MDIO_PMA_10GBT_TXPWR 131 /* 10GBASE-T TX power control */
60 #define MDIO_PMA_10GBT_SNR 133 /* 10GBASE-T SNR margin, lane A.
61 * Lanes B-D are numbered 134-136. */
62 #define MDIO_PMA_10GBR_FECABLE 170 /* 10GBASE-R FEC ability */
63 #define MDIO_PCS_10GBX_STAT1 24 /* 10GBASE-X PCS status 1 */
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-devices-power31 For the devices that are not capable of generating system wakeup
40 space to control the run-time power management of the device.
61 with the main suspend/resume thread) during system-wide power
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
110 state in progress. This attribute is read-only. If the device
111 is not capable to wake up the system from sleep states, this
122 read-only. If the device is not capable to wake up the system
133 the device is being processed (1). This attribute is read-only.
134 If the device is not capable to wake up the system from sleep
[all …]
/Linux-v5.10/drivers/vfio/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
23 tristate "VFIO Non-Privileged userspace driver framework"
28 See Documentation/driver-api/vfio.rst for more details.
33 bool "VFIO No-IOMMU support"
37 Only with an IOMMU can userspace access to DMA capable devices be
38 considered secure. VFIO No-IOMMU mode enables IOMMU groups for
39 devices without IOMMU backing for the purpose of re-using the VFIO
40 infrastructure in a non-secure mode. Use of this mode will result
43 this mode since there is no IOMMU to provide DMA translation.
50 source "drivers/vfio/fsl-mc/Kconfig"
/Linux-v5.10/drivers/ata/
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-v5.10/include/linux/
Dsmscphy.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #define MII_LAN83C185_CTRL_STATUS 17 /* Mode/Status Register */
10 #define MII_LAN83C185_ISF_INT1 (1<<1) /* Auto-Negotiation Page Received */
12 #define MII_LAN83C185_ISF_INT3 (1<<3) /* Auto-Negotiation LP Ack */
15 #define MII_LAN83C185_ISF_INT6 (1<<6) /* Auto-Negotiation complete */
28 #define MII_LAN83C185_MODE_POWERDOWN 0xC0 /* Power Down mode */
29 #define MII_LAN83C185_MODE_ALL 0xE0 /* All capable mode */
/Linux-v5.10/net/core/
Dsysctl_net_core.c1 // SPDX-License-Identifier: GPL-2.0
2 /* -*- linux-c -*-
38 /* 0 - Keep current behavior:
41 * 1 - Both inherit all current settings from init_net
42 * 2 - Both reset all settings to default
43 * 3 - Both inherit all settings from current netns
57 .mode = table->mode in rps_sock_flow_sysctl()
66 size = orig_size = orig_sock_table ? orig_sock_table->mask + 1 : 0; in rps_sock_flow_sysctl()
75 return -EINVAL; in rps_sock_flow_sysctl()
83 return -ENOMEM; in rps_sock_flow_sysctl()
[all …]
/Linux-v5.10/drivers/staging/wfx/
Dhif_tx_mib.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Implementation of host-to-chip MIBs of WFxxx Split Mac (WSM) API.
5 * Copyright (c) 2017-2020, Silicon Laboratories, Inc.
6 * Copyright (c) 2010, ST-Ericsson
7 * Copyright (C) 2010, ST-Ericsson SA
23 return hif_write_mib(wvif->wdev, wvif->id, in hif_set_output_power()
39 return -EINVAL; in hif_set_beacon_wakeup_period()
40 return hif_write_mib(wvif->wdev, wvif->id, in hif_set_beacon_wakeup_period()
63 return hif_write_mib(wvif->wdev, wvif->id, in hif_set_rcpi_rssi_threshold()
88 return hif_write_mib(wvif->wdev, wvif->id, HIF_MIB_ID_DOT11_MAC_ADDRESS, in hif_set_macaddr()
[all …]
/Linux-v5.10/drivers/gpu/drm/imx/
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>
23 #include "imx-drm.h"
103 struct device_node *np = hdmi->dev->of_node; in dw_hdmi_imx_parse_dt()
105 hdmi->regmap = syscon_regmap_lookup_by_phandle(np, "gpr"); in dw_hdmi_imx_parse_dt()
106 if (IS_ERR(hdmi->regmap)) { in dw_hdmi_imx_parse_dt()
107 dev_err(hdmi->dev, "Unable to get gpr\n"); in dw_hdmi_imx_parse_dt()
[all …]

12345678910>>...37