| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/mfd/ |
| D | axp20x.txt | 4 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | axp20x.txt | 4 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 …]
|
| /kernel/linux/linux-4.19/Documentation/ioctl/ |
| D | cdrom.txt | 9 the CDROM layer. These are by-and-large implemented (as of Linux 2.6) 26 CDROMREADMODE2 Read CDROM mode 2 data (2336 Bytes) 28 CDROMREADMODE1 Read CDROM mode 1 data (2048 Bytes) 31 CDROMEJECT_SW enable(1)/disable(0) auto-ejecting 32 CDROMMULTISESSION Obtain the start-of-last-session 38 CDROMRESET hard-reset the drive 41 CDROMREADRAW read data in raw mode (2352 Bytes) 43 CDROMREADCOOKED read data in cooked mode 45 CDROMPLAYBLK scsi-cd only, (struct cdrom_blk) 47 CDROMGETSPINDOWN return 4-bit spindown value [all …]
|
| /kernel/linux/linux-4.19/block/ |
| D | ioctl.c | 7 #include <linux/backing-dev.h> 24 if (!capable(CAP_SYS_ADMIN)) in blkpg_ioctl() 25 return -EACCES; in blkpg_ioctl() 27 return -EFAULT; in blkpg_ioctl() 29 return -EFAULT; in blkpg_ioctl() 30 disk = bdev->bd_disk; in blkpg_ioctl() 31 if (bdev != bdev->bd_contains) in blkpg_ioctl() 32 return -EINVAL; in blkpg_ioctl() 35 return -EINVAL; in blkpg_ioctl() 46 return -EINVAL; in blkpg_ioctl() [all …]
|
| /kernel/linux/linux-5.10/block/ |
| D | ioctl.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/ioctl/ |
| D | cdrom.rst | 5 - 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
| D | sysfs.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/b43legacy/ |
| D | sysfs.c | 22 Boston, MA 02110-1301, USA. 41 int ret = -EINVAL; in get_integer() 72 return -EINVAL; in get_boolean() 82 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show() 83 return -EPERM; in b43legacy_attr_interfmode_show() 85 mutex_lock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show() 87 switch (wldev->phy.interfmode) { in b43legacy_attr_interfmode_show() 93 count = snprintf(buf, PAGE_SIZE, "1 (Non-WLAN Interference" in b43legacy_attr_interfmode_show() 104 mutex_unlock(&wldev->wl->mutex); in b43legacy_attr_interfmode_show() 116 int mode; in b43legacy_attr_interfmode_store() local [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/usb/ |
| D | mediatek,mtk-xhci.txt | 6 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| D | mediatek,mtk-xhci.txt | 6 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 …]
|
| D | generic.txt | 4 - 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 …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
| D | typec.rst | 3 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 …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/usb/ |
| D | typec.rst | 2 USB Type-C connector class 6 ------------ 8 The typec class is meant for describing the USB Type-C ports in a system to the 13 The platforms are expected to register every USB Type-C port they have with the 14 class. In a normal case the registration will be done by a USB Type-C or PD PHY 17 considers the component registering the USB Type-C ports with the class as "port 22 driver is capable of supporting those features. 25 attributes are described in Documentation/ABI/testing/sysfs-class-typec. 28 -------------------- 35 "port0-partner". Full path to the device would be [all …]
|
| /kernel/linux/linux-4.19/Documentation/serial/ |
| D | serial-rs485.txt | 5 EIA-485, also known as TIA/EIA-485 or RS-485, is a standard defining the 12 2. HARDWARE-RELATED CONSIDERATIONS 14 Some CPUs/UARTs (e.g., Atmel AT91 or 16C950 UART) contain a built-in 15 half-duplex mode capable of automatically controlling line direction by 17 half-duplex hardware like an RS485 transceiver or any RS232-connected 18 half-duplex devices like some modems. 20 For these microcontrollers, the Linux driver should be made capable of 22 available at user-level to allow switching from one mode to the other, and 35 Any driver for devices capable of working both as RS232 and RS485 should 41 4. USAGE FROM USER-LEVEL [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/serial/ |
| D | serial-iso7816.rst | 11 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: */
|
| D | serial-rs485.rst | 8 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/ |
| D | atlx.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/fs/gfs2/ |
| D | sys.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/fs/gfs2/ |
| D | sys.c | 2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved. 44 return a->show ? a->show(sdp, buf) : 0; in gfs2_attr_show() 52 return a->store ? a->store(sdp, buf, len) : len; in gfs2_attr_store() 66 MAJOR(sdp->sd_vfs->s_dev), MINOR(sdp->sd_vfs->s_dev)); in id_show() 71 return snprintf(buf, PAGE_SIZE, "%s\n", sdp->sd_fsname); in fsname_show() 76 struct super_block *s = sdp->sd_vfs; in uuid_show() 79 if (uuid_is_null(&s->s_uuid)) in uuid_show() 81 return snprintf(buf, PAGE_SIZE, "%pUB\n", &s->s_uuid); in uuid_show() 86 struct super_block *sb = sdp->sd_vfs; in freeze_show() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
| D | sysfs.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/atheros/atlx/ |
| D | atlx.h | 1 /* atlx_hw.h -- common hardware definitions for Attansic network drivers 3 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved. 4 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com> 5 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com> 9 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 23 * Temple Place - Suite 330, Boston, MA 02111-1307, USA. 162 /* IRQ Anti-Lost Timer Initial Value Register */ 241 /* MAC Half-Duplex Control Register */ 259 /* Wake-On-Lan control register */ 335 #define MII_SR_AUTONEG_CAPS 0x0008 /* Auto Neg Capable */ [all …]
|
| /kernel/linux/linux-5.10/arch/x86/kernel/ |
| D | itmt.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/b43/ |
| D | sysfs.c | 22 Boston, MA 02110-1301, USA. 39 int ret = -EINVAL; in get_integer() 57 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show() 58 return -EPERM; in b43_attr_interfmode_show() 60 mutex_lock(&wldev->wl->mutex); in b43_attr_interfmode_show() 62 if (wldev->phy.type != B43_PHYTYPE_G) { in b43_attr_interfmode_show() 63 mutex_unlock(&wldev->wl->mutex); in b43_attr_interfmode_show() 64 return -ENOSYS; in b43_attr_interfmode_show() 67 switch (wldev->phy.g->interfmode) { in b43_attr_interfmode_show() 76 "1 (Non-WLAN Interference Mitigation)\n"); in b43_attr_interfmode_show() [all …]
|
| /kernel/linux/linux-4.19/arch/x86/kernel/ |
| D | itmt.c | 37 * Boolean to control whether we want to move processes to cpu capable 56 return -EINVAL; in sched_itmt_update_handler() 79 .mode = 0644, 90 .mode = 0555, 99 * sched_set_itmt_support() - Indicate platform supports ITMT 102 * is capable of supporting the ITMT feature. 105 * is ITMT capable and call sched_set_itmt_support. 127 return -ENOMEM; in sched_set_itmt_support() 143 * sched_clear_itmt_support() - Revoke platform's support of ITMT 168 /* disable sched_itmt if we are no longer ITMT capable */ in sched_clear_itmt_support() [all …]
|
| /kernel/linux/linux-4.19/Documentation/networking/ |
| D | 3c509.txt | 2 ---------------------------------------------------------------------------- 12 ---------------------------------------------------------------------------- 17 ethercards in Linux. These cards are commonly known by the most widely-used 18 card's 3Com model number, 3c509. They are all 10mb/s ISA-bus cards and shouldn't 19 be (but sometimes are) confused with the similarly-numbered PCI-bus "3c905" 25 3c509B (later revision of the ISA card; supports full-duplex) 27 3c589B (later revision of the 3c589; supports full-duplex) 40 The driver allows boot- or load-time overriding of the card's detected IOADDR, 42 needed except to enable full-duplex mode (see below). An example of the syntax 57 (2) Full-duplex mode [all …]
|