Home
last modified time | relevance | path

Searched +full:srp +full:- +full:capable (Results 1 – 21 of 21) sorted by relevance

/openbmc/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
32 hnp-disable:
[all …]
/openbmc/linux/drivers/scsi/
H A Dsg.c1 // 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 …]
H A DKconfig1 # 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 …]
/openbmc/linux/include/linux/usb/
H A Dotg-fsm.h1 // 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 …]
/openbmc/linux/drivers/usb/dwc2/
H A Dcore.h1 /* 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 …]
H A Dparams.c1 // 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 …]
/openbmc/qemu/hw/scsi/
H A Dspapr_vscsi.c28 * - Cleanups :-)
29 * - Sort out better how to assign devices to VSCSI instances
30 * - Fix residual counts
31 * - Add indirect descriptors support
32 * - Maybe do autosense (PAPR seems to mandate it, linux doesn't care)
40 #include "srp.h"
43 #include "hw/qdev-properties.h"
59 #define SRP_MAX_IU_DATA_LEN (SRP_MAX_IU_LEN - sizeof(union srp_iu))
75 uint32_t qtag; /* qemu tag != srp tag */
92 #define TYPE_VIO_SPAPR_VSCSI_DEVICE "spapr-vscsi"
[all …]
/openbmc/linux/Documentation/driver-api/usb/
H A Dgadget.rst11 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 …]
/openbmc/linux/security/smack/
H A Dsmackfs.c1 // 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 …]
/openbmc/linux/drivers/usb/common/
H A Dcommon.c1 // 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 …]
/openbmc/linux/Documentation/driver-api/
H A Dscsi.rst12 ---------------
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 …]
/openbmc/linux/drivers/usb/chipidea/
H A Dcore.c1 // 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 …]
/openbmc/linux/include/uapi/linux/usb/
H A Dch9.h1 /* 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.
22 * [b] so that accessing bigger-than-a-bytes fields will never
27 * someone that the two other points are non-issues for that
37 /*-------------------------------------------------------------------------*/
136 * See USB 2.0 spec Table 9-7
150 * See USB 3.0 spec Table 9-7
159 * Suspend Options, Table 9-8 USB 3.0 spec
[all …]
/openbmc/u-boot/include/linux/usb/
H A Dch9.h8 * - the master/host side Linux-USB kernel driver API;
9 * - the "usbfs" user space API; and
10 * - the Linux "gadget" slave/device/peripheral side driver API.
24 * [b] so that accessing bigger-than-a-bytes fields will never
29 * someone that the two other points are non-issues for that
40 /*-------------------------------------------------------------------------*/
132 * See USB 2.0 spec Table 9-7
142 * See USB 3.0 spec Table 9-6
151 * Suspend Options, Table 9-7 USB 3.0 spec
164 * struct usb_ctrlrequest - SETUP data for a USB device control request
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0
3 * udc.c - Core UDC Framework
17 #include <linux/dma-mapping.h>
32 * struct usb_udc - describes one usb device controller
44 * @connect_lock: protects udc->started, gadget->connect,
45 * gadget->allow_connect and gadget->deactivate. The routines
50 * This represents the internal data structure which is used by the UDC-class
68 /* Protects udc_list, udc->driver, driver->is_bound, and related calls */
71 /* ------------------------------------------------------------------------- */
74 * usb_ep_set_maxpacket_limit - set maximum packet size limit for endpoint
[all …]
/openbmc/linux/drivers/usb/host/
H A Docteon-hcd.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
104 * This register can be used to configure the core after power-on or a change in
105 * mode of operation. This register mainly contains AHB system-related
126 * @nptxfemplvl: Non-Periodic TxFIFO Empty Level (NPTxFEmpLvl)
128 * Indicates when the Non-Periodic TxFIFO Empty Interrupt bit in
131 * * 1'b0: GINTSTS.NPTxFEmp interrupt indicates that the Non-
133 * * 1'b1: GINTSTS.NPTxFEmp interrupt indicates that the Non-
172 * This value is in terms of 32-bit words.
197 * * 1'b0: Not OTG capable
[all …]
/openbmc/linux/drivers/usb/core/
H A Dhub.c1 // SPDX-License-Identifier: GPL-2.0
69 /* Protect struct usb_device->state and ->children members
70 * Note: Both are also protected by ->dev.sem, except that ->state can
78 /* synchronize hub-port add/remove and peering operations */
88 * 10 seconds to send reply for the initial 64-byte descriptor request.
90 /* define initial 64-byt
[all...]
/openbmc/linux/include/uapi/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2023 Intel Corporation
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
95 * Frame registration is done on a per-interface basis and registrations
137 * software, like the AP-VLAN type in mac80211 for example, there's
[all …]
/openbmc/qemu/hw/ppc/
H A Dspapr.c4 * Copyright (c) 2004-2007 Fabrice Bellard
30 #include "qemu/guest-random.h"
32 #include "qapi/qapi-events-machine.h"
33 #include "qapi/qapi-events-qdev.h"
43 #include "hw/fw-path-provider.h"
51 #include "migration/qemu-file-types.h"
55 #include "mmu-hash64.h"
56 #include "mmu-book3s-v3.h"
57 #include "cpu-models.h"
68 #include "hw/qdev-properties.h"
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Dether.c1 // SPDX-License-Identifier: GPL-2.0+
3 * ether.c -- Ethernet gadget driver, with CDC and non-CDC options
5 * Copyright (C) 2003-2005,2008 David Brownell
6 * Copyright (C) 2003-2004 Robert Schwebel, Benedikt Spranger
29 #include <dm/uclass-internal.h>
30 #include <dm/device-internal.h>
41 * Ethernet gadget driver -- with CDC and non-CDC options
47 * this USB-IF standard as its open-systems interoperability solution;
51 * TLA-soup. "CDC ACM" (Abstract Control Model) is for modems, and a new
55 * implement a "minimalist" vendor-agnostic CDC core: same framing, but
[all …]
/openbmc/linux/include/net/
H A Dcfg80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright 2015-2017 Intel Deutschland GmbH
10 * Copyright (C) 2018-2021, 2023 Intel Corporation
72 * enum ieee80211_channel_flags - channel flags
150 * struct ieee80211_channel - channel definition
157 * @hw_value: hardware-specific value for the channel
193 * enum ieee80211_rate_flags - rate flags
226 * enum ieee80211_bss_type - BSS type filter
[all …]