| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/ |
| 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 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 23 property is used if any real OTG features(HNP/SRP/ADP) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/ |
| D | usb-drd.yaml | 1 # 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 32 hnp-disable: [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/ |
| D | sg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Copyright (C) 1998 - 2014 Douglas Gilbert 19 * - scsi logging is available via SCSI_LOG_TIMEOUT macros. First 89 readable via /proc/sys/kernel/sg-big-buff if the sg driver is built into 91 static int def_reserved_size = -1; /* picks up init parameter */ 112 unsigned short k_use_sg; /* Count of kernel scatter-gather pieces */ 113 unsigned sglist_len; /* size of malloc'd scatter-gather list ++ */ 117 char dio_in_use; /* 0->indirect IO (or mmap), 1->dio */ 126 struct sg_fd *parentfp; /* NULL -> not in use */ 130 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */ [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 29 If you want to use a SCSI hard disk, SCSI tape drive, SCSI CD-ROM or 70 comment "SCSI support type (disk, tape, CD-ROM)" 81 the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO, 82 the Disk-HOWTO and the Multi-Disk-HOWTO, available from 84 CD-ROMs. 100 SCSI-HOWTO, available from 103 for SCSI CD-ROMs. 114 by SCSI, FireWire, USB or ATAPI, say Y and read the SCSI-HOWTO 115 and the CDROM-HOWTO at <http://www.tldp.org/docs.html#howto>. [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/ |
| D | sg.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 * Copyright (C) 1998 - 2014 Douglas Gilbert 19 * - scsi logging is available via SCSI_LOG_TIMEOUT macros. First 84 readable via /proc/sys/kernel/sg-big-buff if the sg driver is built into 86 static int def_reserved_size = -1; /* picks up init parameter */ 107 unsigned short k_use_sg; /* Count of kernel scatter-gather pieces */ 108 unsigned sglist_len; /* size of malloc'd scatter-gather list ++ */ 112 char dio_in_use; /* 0->indirect IO (or mmap), 1->dio */ 121 struct sg_fd *parentfp; /* NULL -> not in use */ 125 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */ [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 If you want to use a SCSI hard disk, SCSI tape drive, SCSI CD-ROM or 65 comment "SCSI support type (disk, tape, CD-ROM)" 76 the IOMEGA ZIP drive, say Y and read the SCSI-HOWTO, 77 the Disk-HOWTO and the Multi-Disk-HOWTO, available from 79 CD-ROMs. 95 SCSI-HOWTO, available from 98 for SCSI CD-ROMs. 109 by SCSI, FireWire, USB or ATAPI, say Y and read the SCSI-HOWTO 110 and the CDROM-HOWTO at <http://www.tldp.org/docs.html#howto>. [all …]
|
| /kernel/linux/linux-6.6/include/linux/usb/ |
| D | otg-fsm.h | 1 // SPDX-License-Identifier: GPL-2.0+ 18 * Table:6-4 23 * Table:6-5 49 * struct otg_fsm - OTG state machine according to the OTG spec 54 * @id: TRUE for B-device, FALSE for A-device. 56 * ADP measurement taken at n-2, differs by more than CADP_THR 58 * ADP measurement taken if ADP capable 60 * A-Device state inputs 61 * @a_srp_det: TRUE if the A-device detects SRP 63 * @b_conn: TRUE if the A-device detects connection from the B-device [all …]
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| D | otg-fsm.h | 1 // SPDX-License-Identifier: GPL-2.0+ 31 * Table:6-4 36 * Table:6-5 62 * struct otg_fsm - OTG state machine according to the OTG spec 67 * @id: TRUE for B-device, FALSE for A-device. 69 * ADP measurement taken at n-2, differs by more than CADP_THR 71 * ADP measurement taken if ADP capable 73 * A-Device state inputs 74 * @a_srp_det: TRUE if the A-device detects SRP 76 * @b_conn: TRUE if the A-device detects connection from the B-device [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/dwc2/ |
| D | core.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * core.h - DesignWare HS OTG Controller common declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 21 * - no_printk: Disable tracing 22 * - pr_info: Print this info to the console 23 * - trace_printk: Print this info to trace buffer (good for verbose logging) 32 dev_name(hsotg->dev), ##__VA_ARGS__) 37 dev_name(hsotg->dev), ##__VA_ARGS__) 42 /* dwc2-hsotg declarations */ 74 * struct dwc2_hsotg_ep - driver endpoint definition. [all …]
|
| D | params.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2004-2016 Synopsys, Inc. 20 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_bcm_params() 22 p->host_rx_fifo_size = 774; in dwc2_set_bcm_params() 23 p->max_transfer_size = 65535; in dwc2_set_bcm_params() 24 p->max_packet_count = 511; in dwc2_set_bcm_params() 25 p->ahbcfg = 0x10; in dwc2_set_bcm_params() 30 struct dwc2_core_params *p = &hsotg->params; in dwc2_set_his_params() 32 p->otg_caps.hnp_support = false; in dwc2_set_his_params() 33 p->otg_caps.srp_support = false; in dwc2_set_his_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/dwc2/ |
| D | core.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * core.h - DesignWare HS OTG Controller common declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 16 * 3. The names of the above-listed copyright holders may not be used 50 * - no_printk: Disable tracing 51 * - pr_info: Print this info to the console 52 * - trace_printk: Print this info to trace buffer (good for verbose logging) 61 dev_name(hsotg->dev), ##__VA_ARGS__) 66 dev_name(hsotg->dev), ##__VA_ARGS__) 71 /* dwc2-hsotg declarations */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wan/ |
| D | cosa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1995-1997 Jan "Yenya" Kasprzak <kas@fi.muni.cz> 10 * The driver for the SRP and COSA synchronous serial cards. 20 * For Linux-specific utilities, see below in the "Software info" section. 23 * The SRP (serial port?, the Czech word "srp" means "sickle") card 24 * is a 2-port intelligent (with its own 8-bit CPU) synchronous serial card 28 * "scythe") is a next-generation sync/async board with two interfaces 29 * - currently any of V.24, X.21, V.35 and V.36 can be selected. 30 * It has a 16-bit SAB80166 CPU and can do up to 10 Mb/s per channel. 31 * The 8-channels version is in development. [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 26 # There is no way to detect a comtrol sv11 - force it modular for now. 28 tristate "Comtrol Hostess SV-11 support" 31 Driver for Comtrol Hostess SV-11 network card which 38 # The COSA/SRP driver has not been tested as non-modular yet. 40 tristate "COSA/SRP sync serial boards support" 43 Driver for COSA and SRP synchronous serial boards. 46 base-band modems, or any other device with the X.21, V.24, V.35 or 51 You will need user-space utilities COSA or SRP boards for downloading 69 - LMC 1000 board allows you to connect synchronous serial devices [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/usb/ |
| D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric 36 - Minimalist, so it's easier to support new device controller hardware. [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/usb/ |
| D | gadget.rst | 11 This document presents a Linux-USB "Gadget" kernel mode API, for use 17 - Supports USB 2.0, for high speed devices which can stream data at 20 - Handles devices with dozens of endpoints just as well as ones with 21 just two fixed-function ones. Gadget drivers can be written so 24 - Flexible enough to expose more complex USB device capabilities such 28 - USB "On-The-Go" (OTG) support, in conjunction with updates to the 29 Linux-USB host side. 31 - Sharing data structures and API models with the Linux-USB host side 32 API. This helps the OTG support, and looks forward to more-symmetric 36 - Minimalist, so it's easier to support new device controller hardware. [all …]
|
| /kernel/linux/linux-6.6/security/smack/ |
| D | smackfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> 6 * Casey Schaufler <casey@schaufler-ca.com> 38 SMK_CIPSO = 4, /* load label -> CIPSO mapping */ 43 SMK_ONLYCAP = 9, /* the only "capable" label */ 51 SMK_CIPSO2 = 17, /* load long label -> CIPSO mapping */ 52 SMK_REVOKE_SUBJ = 18, /* set rules with subject label to '-' */ 99 * debugging and application bring-up purposes only. 162 #define SMK_OACCESSLEN (sizeof(SMK_OACCESS) - 1) 163 #define SMK_ACCESSLEN (sizeof(SMK_ACCESS) - 1) [all …]
|
| /kernel/linux/linux-5.10/security/smack/ |
| D | smackfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2007 Casey Schaufler <casey@schaufler-ca.com> 6 * Casey Schaufler <casey@schaufler-ca.com> 37 SMK_CIPSO = 4, /* load label -> CIPSO mapping */ 42 SMK_ONLYCAP = 9, /* the only "capable" label */ 50 SMK_CIPSO2 = 17, /* load long label -> CIPSO mapping */ 51 SMK_REVOKE_SUBJ = 18, /* set rules with subject label to '-' */ 98 * debugging and application bring-up purposes only. 161 #define SMK_OACCESSLEN (sizeof(SMK_OACCESS) - 1) 162 #define SMK_ACCESSLEN (sizeof(SMK_ACCESS) - 1) [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/common/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * compiled-in as well. Otherwise, if either of the two stacks is 30 * usb_ep_type_string() - Returns human readable-name of the endpoint type. 31 * @ep_type: The endpoint type to return human-readable name for. If it's not 71 [USB_SPEED_LOW] = "low-speed", 72 [USB_SPEED_FULL] = "full-speed", 73 [USB_SPEED_HIGH] = "high-speed", 75 [USB_SPEED_SUPER] = "super-speed", 76 [USB_SPEED_SUPER_PLUS] = "super-speed-plus", 81 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1", [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/common/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * compiled-in as well. Otherwise, if either of the two stacks is 29 * usb_ep_type_string() - Returns human readable-name of the endpoint type. 30 * @ep_type: The endpoint type to return human-readable name for. If it's not 70 [USB_SPEED_LOW] = "low-speed", 71 [USB_SPEED_FULL] = "full-speed", 72 [USB_SPEED_HIGH] = "high-speed", 74 [USB_SPEED_SUPER] = "super-speed", 75 [USB_SPEED_SUPER_PLUS] = "super-speed-plus", 80 [USB_SSP_GEN_2x1] = "super-speed-plus-gen2x1", [all …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/ |
| D | scsi.rst | 12 --------------- 23 The `SCSI protocol <http://www.t10.org/scsi-3.htm>`__ is a big-endian 24 peer-to-peer packet based protocol. SCSI commands are 6, 10, 12, or 16 36 ---------------------------------- 47 In between is the SCSI mid-layer, analogous to a network routing layer 48 such as the IPv4 stack. The SCSI mid-layer routes a packet based data 57 The upper layer supports the user-kernel interface by providing device 61 -------------- 65 sr (SCSI CD-ROM) 66 ---------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/ |
| D | scsi.rst | 12 --------------- 23 The `SCSI protocol <http://www.t10.org/scsi-3.htm>`__ is a big-endian 24 peer-to-peer packet based protocol. SCSI commands are 6, 10, 12, or 16 36 ---------------------------------- 47 In between is the SCSI mid-layer, analogous to a network routing layer 48 such as the IPv4 stack. The SCSI mid-layer routes a packet based data 57 The upper layer supports the user-kernel interface by providing device 61 -------------- 65 sr (SCSI CD-ROM) 66 ---------------- [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2020 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 89 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 90 struct sta_info *sta = file->private_data; in sta_flags_read() 97 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/chipidea/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * core.c - ChipIdea USB IP core family device controller 5 * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. 12 * - Four transfers are supported, usbtest is passed 13 * - USB Certification for gadget: CH9 and Mass Storage are passed 14 * - Low power mode 15 * - USB wakeup 19 #include <linux/dma-mapping.h> 105 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 106 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/chipidea/ |
| D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * core.c - ChipIdea USB IP core family device controller 5 * Copyright (C) 2008 Chipidea - MIPS Technologies, Inc. All rights reserved. 12 * - Four transfers are supported, usbtest is passed 13 * - USB Certification for gadget: CH9 and Mass Storage are passed 14 * - Low power mode 15 * - USB wakeup 19 #include <linux/dma-mapping.h> 103 ci->hw_bank.regmap[i] = in hw_alloc_regmap() 104 (i <= CAP_LAST ? ci->hw_bank.cap : ci->hw_bank.op) + in hw_alloc_regmap() [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/usb/ |
| D | ch9.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 9 * - the master/host side Linux-USB kernel driver API; 10 * - the "usbfs" user space API; and 11 * - the Linux "gadget" slave/device/peripheral side driver API. 25 * [b] so that accessing bigger-than-a-bytes fields will never 30 * someone that the two other points are non-issues for that 40 /*-------------------------------------------------------------------------*/ 139 * See USB 2.0 spec Table 9-7 153 * See USB 3.0 spec Table 9-7 162 * Suspend Options, Table 9-8 USB 3.0 spec [all …]
|