Home
last modified time | relevance | path

Searched +full:self +full:- +full:powered (Results 1 – 25 of 103) sorted by relevance

12345

/Linux-v5.10/Documentation/devicetree/bindings/usb/
Dusb251xb.txt1 Microchip USB 2.0 Hi-Speed Hub Controller
4 Hi-Speed Controller.
7 - compatible : Should be "microchip,usb251xb" or one of the specific types:
11 - reg : I2C address on the selected bus (default is <0x2C>)
14 - reset-gpios : Should specify the gpio for hub reset
15 - vdd-supply : Should specify the phandle to the regulator supplying vdd
16 - skip-config : Skip Hub configuration, but only send the USB-Attach command
17 - vendor-id : Set USB Vendor ID of the hub (16 bit, default is 0x0424)
18 - product-id : Set USB Product ID of the hub (16 bit, default depends on type)
19 - device-id : Set USB Device ID of the hub (16 bit, default is 0x0bb3)
[all …]
/Linux-v5.10/drivers/usb/core/
Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/usb/generic.c - generic driver for USB devices (not interfaces)
5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de>
9 * (C) Copyright Johannes Erdfelt 1999-2001
14 * (C) Copyright David Brownell 2000-2004
17 * (C) Copyright Greg Kroah-Hartman 2002-2003
34 return desc->bInterfaceClass == USB_CLASS_COMM in is_rndis()
35 && desc->bInterfaceSubClass == 2 in is_rndis()
36 && desc->bInterfaceProtocol == 0xff; in is_rndis()
41 return desc->bInterfaceClass == USB_CLASS_MISC in is_activesync()
[all …]
Dhcd.c1 // SPDX-License-Identifier: GPL-2.0+
4 * (C) Copyright Johannes Erdfelt 1999-2001
9 * (C) Copyright David Brownell 2000-2002
23 #include <linux/dma-mapping.h>
45 /*-------------------------------------------------------------------------*/
51 * HCD-specific behaviors/bugs.
70 * Roman Weissgaerber, Rory Bolt, Greg Kroah-Hartman, ...
73 * 2002-02-21 Pull in most of the usb_bus support from usb.c; some
75 * 2001-12-12 Initial patch version for Linux 2.5.1 kernel.
78 /*-------------------------------------------------------------------------*/
[all …]
/Linux-v5.10/Documentation/trace/coresight/
Dcoresight-cpu-debug.rst9 ------------
11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
13 debug module and it is mainly used for two modes: self-hosted debug and
16 explore debugging method which rely on self-hosted debug mode, this document
19 The debug module provides sample-based profiling extension, which can be used
21 every CPU has one dedicated debug module to be connected. Based on self-hosted
29 --------------
31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID
32 registers to decide if sample-based profiling is implemented or not. On some
36 - At the time this documentation was written, the debug driver mainly relies on
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Dste-u300.txt1 ST-Ericsson U300 Device Tree Bindings
4 that pertain to this particular board, such as board-specific GPIOs
13 - compatible: must be "stericsson,u300-syscon".
14 - reg: the base address and size of the system controller.
21 This contains the board-specific information.
22 - compatible: must be "stericsson,s365".
23 - vana15-supply: the regulator supplying the 1.5V to drive the
25 - syscon: a pointer to the syscon node so we can access the
26 syscon registers to set the board as self-powered.
31 model = "ST-Ericsson U300";
[all …]
/Linux-v5.10/drivers/net/wireless/st/cw1200/
Dcw1200_sdio.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 SDIO driver for ST-Ericsson CW1200 device
5 * Copyright (c) 2010, ST-Ericsson
22 #include <linux/platform_data/net-cw1200.h>
26 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SDIO driver");
59 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument
63 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
66 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio() argument
70 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
73 static void cw1200_sdio_lock(struct hwbus_priv *self) in cw1200_sdio_lock() argument
[all …]
Dcw1200_spi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Mac80211 SPI driver for ST-Ericsson CW1200 device
9 * Copyright (c) 2010, ST-Ericsson
25 #include <linux/platform_data/net-cw1200.h>
29 MODULE_DESCRIPTION("mac80211 ST-Ericsson CW1200 SPI driver");
52 Hardware expects 32-bit data to be written as 16-bit BE words:
57 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument
89 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
96 ret = spi_sync(self->func, &m); in cw1200_spi_memcpy_fromio()
112 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
[all …]
/Linux-v5.10/Documentation/arm/samsung-s3c24xx/
Dsuspend.rst7 ------------
9 The S3C24XX supports a low-power suspend mode, where the SDRAM is kept
10 in Self-Refresh mode, and all but the essential peripheral blocks are
11 powered down. For more information on how this works, please look
16 ------------
24 4) Any peripherals that are going to be powered down at the same
29 --------
42 ---------------
53 There is currently no support for over-riding the default method of
74 "button-irq-eint0", NULL);
[all …]
/Linux-v5.10/drivers/usb/misc/
Dusb3503.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com)
57 if (!state && hub->connect) in usb3503_reset()
58 gpiod_set_value_cansleep(hub->connect, 0); in usb3503_reset()
60 if (hub->reset) in usb3503_reset()
61 gpiod_set_value_cansleep(hub->reset, !state); in usb3503_reset()
72 struct device *dev = hub->dev; in usb3503_connect()
77 if (hub->regmap) { in usb3503_connect()
79 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect()
87 /* PDS : Set the ports which are disabled in self-powered mode. */ in usb3503_connect()
[all …]
Dusb251xb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Microchip USB251xB USB 2.0 Hi-Speed Hub Controller
9 * a not-accepted patch by Fabien Lahoudere, see:
110 #define DRIVER_DESC "Microchip USB 2.0 Hi-Speed Hub Controller"
234 if (dev->type == &i2c_adapter_type) { in usb251xb_check_dev_children()
244 struct gpio_chip *gc = gpiod_to_chip(hub->gpio_reset); in usb251x_check_gpio_chip()
245 struct i2c_adapter *adap = hub->i2c->adapter; in usb251x_check_gpio_chip()
248 if (!hub->gpio_reset) in usb251x_check_gpio_chip()
252 return -EINVAL; in usb251x_check_gpio_chip()
254 ret = usb251xb_check_dev_children(&adap->dev, gc->parent); in usb251x_check_gpio_chip()
[all …]
/Linux-v5.10/drivers/usb/host/
Dohci-s3c2410.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
7 * (C) Copyright 2002 Hewlett-Packard Company
14 * Modified for S3C2410 from ohci-sa1111.c, ohci-omap.c and ohci-lh7a40.c
28 #include <linux/platform_data/usb-ohci-s3c2410.h>
42 static const char hcd_name[] = "ohci-s3c2410";
57 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
62 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_start_hc()
64 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); in s3c2410_start_hc()
72 info->hcd = hcd; in s3c2410_start_hc()
[all …]
Dohci-pxa27x.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
7 * (C) Copyright 2002 Hewlett-Packard Company
14 * Modified for LH7A404 from ohci-sa1111.c
17 * Modified for pxa27x from ohci-lh7a404.c
18 * by Nick Bane <nick@cecomputing.co.uk> 26-8-2004
25 #include <linux/dma-mapping.h>
31 #include <linux/platform_data/usb-ohci-pxa27x.h>
32 #include <linux/platform_data/usb-pxa3xx-ulpi.h>
47 * UHC: USB Host Controller (OHCI-like) register definitions
[all …]
Dsl811-hcd.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2004-2005 David Brownell
23 * and usb-storage.
26 * - usb suspend/resume triggered by sl811
27 * - various issues noted in the code
28 * - performance work; use both register banks; ...
29 * - use urb->iso_frame_desc[] with ISO transfers
64 MODULE_ALIAS("platform:sl811-hcd");
74 static const char hcd_name[] = "sl811-hcd";
76 /*-------------------------------------------------------------------------*/
[all …]
Dohci-omap.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2005 David Brownell
7 * (C) Copyright 2002 Hewlett-Packard Company
13 * and on ohci-sa1111.c by Christopher Hoover <ch@hpl.hp.com>
19 #include <linux/dma-mapping.h>
35 #include <asm/mach-types.h>
43 /* OMAP-1510 OHCI has its own MMU for DMA */
63 static const char hcd_name[] = "ohci-omap";
67 ((struct ohci_omap_priv *)hcd_to_ohci(h)->priv)
72 clk_enable(priv->usb_dc_ck); in omap_ohci_clock_power()
[all …]
/Linux-v5.10/drivers/hwtracing/coresight/
Dcoresight-cpu-debug.c1 // SPDX-License-Identifier: GPL-2.0
26 #include "coresight-priv.h"
66 * 0b0000 - Sample offset applies based on the instruction state, we
68 * 0b0001 - No offset applies.
69 * 0b0010 - No offset applies, but do not use in AArch32 mode
114 writel_relaxed(0x0, drvdata->base + EDOSLAR); in debug_os_unlock()
126 * - CPU power domain is powered off;
127 * - The OS Double Lock is locked;
133 /* CPU is powered off */ in debug_access_permitted()
134 if (!(drvdata->edprsr & EDPRSR_PU)) in debug_access_permitted()
[all …]
/Linux-v5.10/drivers/usb/gadget/udc/
Dtrace.h1 // SPDX-License-Identifier: GPL-2.0
3 * udc.c - Core UDC Framework
45 __entry->speed = g->speed;
46 __entry->max_speed = g->max_speed;
47 __entry->state = g->state;
48 __entry->mA = g->mA;
49 __entry->sg_supported = g->sg_supported;
50 __entry->is_otg = g->is_otg;
51 __entry->is_a_peripheral = g->is_a_peripheral;
52 __entry->b_hnp_enable = g->b_hnp_enable;
[all …]
/Linux-v5.10/arch/arm64/boot/dts/freescale/
Dimx8mm-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 stdout-path = &uart2;
22 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&pinctrl_gpio_led>;
29 default-state = "on";
33 reg_usdhc2_vmmc: regulator-usdhc2 {
34 compatible = "regulator-fixed";
[all …]
Dimx8mn-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include <dt-bindings/usb/pd.h>
11 stdout-path = &uart2;
14 gpio-leds {
15 compatible = "gpio-leds";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_led>;
22 default-state = "on";
31 reg_usdhc2_vmmc: regulator-usdhc2 {
32 compatible = "regulator-fixed";
[all …]
/Linux-v5.10/drivers/usb/gadget/legacy/
Dnokia.c1 // SPDX-License-Identifier: GPL-2.0
3 * nokia.c -- Nokia Composite Gadget Driver
5 * Copyright (C) 2008-2010 Nokia Corporation
28 #define NOKIA_LONG_NAME "N900 (PC-Suite Mode)"
65 static const char description_nokia[] = "PC-Suite Configuration";
76 .language = 0x0409, /* en-us */
98 /*-------------------------------------------------------------------------*/
105 /*-------------------------------------------------------------------------*/
121 .label = "Bus Powered",
129 .label = "Self Powered",
[all …]
/Linux-v5.10/drivers/usb/common/
Ddebug.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
37 return "Self Powered"; in usb_decode_device_feature()
211 * usb_decode_ctrl - returns a string representation of ctrl request
/Linux-v5.10/Documentation/devicetree/bindings/connector/
Dusb-connector.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/connector/usb-connector.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
20 - enum:
21 - usb-a-connector
22 - usb-b-connector
23 - usb-c-connector
25 - items:
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c2 * SPDX-License-Identifier: MIT
26 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
34 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
35 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
37 atomic_add(count, &gt->wakeref.count); in user_forcewake()
45 struct drm_i915_private *i915 = gt->i915; in __gt_unpark()
62 gt->awake = intel_display_power_get(i915, POWER_DOMAIN_GT_IRQ); in __gt_unpark()
63 GEM_BUG_ON(!gt->awake); in __gt_unpark()
65 intel_rc6_unpark(&gt->rc6); in __gt_unpark()
66 intel_rps_unpark(&gt->rps); in __gt_unpark()
[all …]
/Linux-v5.10/drivers/pci/hotplug/
Dacpiphp_glue.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2002,2003 Takayoshi Kochi (t-kochi@bq.jp.nec.com)
6 * Copyright (C) 2002 Hiroshi Aono (h-aono@ap.jp.nec.com)
8 * Copyright (C) 2003-2005 Matthew Wilcox (willy@infradead.org)
9 * Copyright (C) 2003-2005 Hewlett Packard
21 * - The one in acpiphp_bridge has its refcount elevated by pci_get_slot()
24 * - When a P2P bridge is present, we elevate the refcount on the subordinate
35 #include <linux/pci-acpi.h>
54 * acpiphp_init_context - Create hotplug context and grab a reference to it.
67 context->refcount = 1; in acpiphp_init_context()
[all …]
/Linux-v5.10/drivers/usb/serial/
Dio_usbvend.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * USBVEND.H Vendor-specific USB definitions
7 * must be kept backward-compatible with older firmware.
34 // We break the USB-defined PID into an OEM Id field (upper 6 bits)
40 // ION-device OEM IDs
50 // ION-device Device IDs
51 // Product IDs - assigned to match middle digit of serial number (No longer true)
77 // ION_DEVICE_ID_EDGEPORT_8_HANDBUILT 0x009 // Hand-built Edgeport/8 (Placeholder, used in middle d…
83 #define ION_DEVICE_ID_EDGEPORT_8 0x00F // Edgeport/8 (single-CPU)
88 #define ION_DEVICE_ID_EDGEPORT_8I 0x014 // Edgeport/8 RS422 (single-CPU)
[all …]
/Linux-v5.10/arch/powerpc/platforms/powermac/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2003-2005 Benjamin Herrenschmuidt (benh@kernel.crashing.org)
20 #include <asm/pci-bridge.h>
24 #include <asm/ppc-pci.h>
36 /* XXX Could be per-controller, but I don't think we risk anything by
61 for (; node; node = node->sibling) { in fixup_one_level_bus_range()
66 /* For PCI<->PCI bridges or CardBus bridges, we go down */ in fixup_one_level_bus_range()
67 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range()
71 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
76 higher = fixup_one_level_bus_range(node->child, higher); in fixup_one_level_bus_range()
[all …]

12345