Home
last modified time | relevance | path

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

123456

/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dusb251xb.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Microchip USB 2.0 Hi-Speed Hub Controller
10 - Richard Leitner <richard.leitner@skidata.com>
15 - microchip,usb2422
16 - microchip,usb2512b
17 - microchip,usb2512bi
18 - microchip,usb2513b
19 - microchip,usb2513bi
[all …]
Dmaxim,max33359.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Maxim TCPCI Type-C PD controller
10 - Badhri Jagan Sridharan <badhri@google.com>
12 description: Maxim TCPCI Type-C PD controller
17 - maxim,max33359
27 $ref: ../connector/usb-connector.yaml#
32 - compatible
33 - reg
[all …]
Dqcom,pmic-typec.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/qcom,pmic-typec.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PMIC based USB Type-C block
10 - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
13 Qualcomm PMIC Type-C block
18 - enum:
19 - qcom,pmi632-typec
20 - qcom,pm8150b-typec
[all …]
/linux-6.12.1/drivers/usb/core/
Dgeneric.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/usb/core/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-6.12.1/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-6.12.1/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");
60 static int cw1200_sdio_memcpy_fromio(struct hwbus_priv *self, in cw1200_sdio_memcpy_fromio() argument
64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
67 static int cw1200_sdio_memcpy_toio(struct hwbus_priv *self, in cw1200_sdio_memcpy_toio() argument
71 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
74 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");
54 Hardware expects 32-bit data to be written as 16-bit BE words:
59 static int cw1200_spi_memcpy_fromio(struct hwbus_priv *self, in cw1200_spi_memcpy_fromio() argument
91 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
98 ret = spi_sync(self->func, &m); in cw1200_spi_memcpy_fromio()
114 if (self->func->bits_per_word == 8) in cw1200_spi_memcpy_fromio()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/arm/
Darm,coresight-cpu-debug.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/arm/arm,coresight-cpu-debug.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mathieu Poirier <mathieu.poirier@linaro.org>
11 - Mike Leach <mike.leach@linaro.org>
12 - Leo Yan <leo.yan@linaro.org>
13 - Suzuki K Poulose <suzuki.poulose@arm.com>
18 external debug module is mainly used for two modes: self-hosted debug and
21 module provides sample-based profiling extension, which can be used to sample
[all …]
/linux-6.12.1/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>
55 return dev_get_platdata(hcd->self.controller); in to_s3c2410_info()
60 struct s3c2410_hcd_info *info = dev_get_platdata(&dev->dev); in s3c2410_start_hc()
62 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); in s3c2410_start_hc()
70 info->hcd = hcd; in s3c2410_start_hc()
71 info->report_oc = s3c2410_hcd_oc; in s3c2410_start_hc()
[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>
28 #include <linux/platform_data/usb-omap1.h>
29 #include <linux/soc/ti/omap1-usb.h>
30 #include <linux/soc/ti/omap1-mux.h>
31 #include <linux/soc/ti/omap1-soc.h>
32 #include <linux/soc/ti/omap1-io.h>
[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-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>
30 #include <linux/platform_data/usb-ohci-pxa27x.h>
45 * UHC: USB Host Controller (OHCI-like) register definitions
110 #define UHCHIE_RWIE (1 << 7) /* Remote Wake-up IntEn */
[all …]
/linux-6.12.1/drivers/usb/misc/
Dusb3503.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2012-2013 Dongjin Kim (tobetter@gmail.com)
58 struct device *dev = hub->dev; in usb3503_connect()
61 if (hub->regmap) { in usb3503_connect()
63 err = regmap_write(hub->regmap, USB3503_SP_ILOCK, in usb3503_connect()
71 /* PDS : Set the ports which are disabled in self-powered mode. */ in usb3503_connect()
72 if (hub->port_off_mask) { in usb3503_connect()
73 err = regmap_update_bits(hub->regmap, USB3503_PDS, in usb3503_connect()
74 hub->port_off_mask, in usb3503_connect()
75 hub->port_off_mask); 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-6.12.1/drivers/gpu/drm/msm/dp/
Ddp_drm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
17 * dp_bridge_detect - callback to determine if connector is connected
25 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_detect()
27 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in dp_bridge_detect()
28 (dp->link_ready) ? "true" : "false"); in dp_bridge_detect()
30 return (dp->link_ready) ? connector_status_connected : in dp_bridge_detect()
41 dp = to_dp_bridge(bridge)->dp_display; in dp_bridge_atomic_check()
43 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in dp_bridge_atomic_check()
44 (dp->link_ready) ? "true" : "false"); in dp_bridge_atomic_check()
[all …]
/linux-6.12.1/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-6.12.1/drivers/hwtracing/coresight/
Dcoresight-cpu-debug.c1 // SPDX-License-Identifier: GPL-2.0
29 #include "coresight-priv.h"
69 * 0b0000 - Sample offset applies based on the instruction state, we
71 * 0b0001 - No offset applies.
72 * 0b0010 - No offset applies, but do not use in AArch32 mode
118 writel_relaxed(0x0, drvdata->base + EDOSLAR); in debug_os_unlock()
130 * - CPU power domain is powered off;
131 * - The OS Double Lock is locked;
137 /* CPU is powered off */ in debug_access_permitted()
138 if (!(drvdata->edprsr & EDPRSR_PU)) in debug_access_permitted()
[all …]
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dadf_gen4_hw_data.c1 // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
12 u32 adf_gen4_get_accel_mask(struct adf_hw_device_data *self) in adf_gen4_get_accel_mask() argument
18 u32 adf_gen4_get_num_accels(struct adf_hw_device_data *self) in adf_gen4_get_num_accels() argument
24 u32 adf_gen4_get_num_aes(struct adf_hw_device_data *self) in adf_gen4_get_num_aes() argument
26 if (!self || !self->ae_mask) in adf_gen4_get_num_aes()
29 return hweight32(self->ae_mask); in adf_gen4_get_num_aes()
33 u32 adf_gen4_get_misc_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_misc_bar_id() argument
39 u32 adf_gen4_get_etr_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_etr_bar_id() argument
45 u32 adf_gen4_get_sram_bar_id(struct adf_hw_device_data *self) in adf_gen4_get_sram_bar_id() argument
51 enum dev_sku_info adf_gen4_get_sku(struct adf_hw_device_data *self) in adf_gen4_get_sku() argument
[all …]
/linux-6.12.1/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-6.12.1/arch/arm64/boot/dts/qcom/
Dsdm632-fairphone-fp3.dts1 // SPDX-License-Identifier: BSD-3-Clause
5 /dts-v1/;
7 #include <dt-bindings/leds/common.h>
15 chassis-type = "handset";
16 qcom,msm-id = <349 0>;
17 qcom,board-id = <8 0x10000>;
26 stdout-path = "serial0:115200n8";
29 gpio-keys {
30 compatible = "gpio-keys";
32 key-volume-up {
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx93-11x11-evk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/usb/pd.h>
13 compatible = "fsl,imx93-11x11-evk", "fsl,imx93";
16 stdout-path = &lpuart1;
19 reserved-memory {
20 #address-cells = <2>;
21 #size-cells = <2>;
25 compatible = "shared-dma-pool";
27 alloc-ranges = <0 0x80000000 0 0x40000000>;
[all …]
/linux-6.12.1/drivers/usb/common/
Ddebug.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
38 return "Self Powered"; in usb_decode_device_feature()
280 * usb_decode_ctrl - Returns human readable representation of control request.
281 * @str: buffer to return a human-readable representation of control request.
290 * Function returns decoded, formatted and human-readable description of
/linux-6.12.1/drivers/gpu/drm/bridge/
Dite-it6505.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
34 #include <sound/hdmi-codec.h>
52 #define BIT_OFFSET(x) (((x) - INT_STATUS_01) * BITS_PER_BYTE)
291 #define DEBUGFS_DIR_NAME "it6505-debugfs"
437 bool powered; member
530 struct device *dev = it6505->dev; in it6505_read()
532 if (!it6505->powered) in it6505_read()
533 return -ENODEV; in it6505_read()
535 err = regmap_read(it6505->regmap, reg_addr, &value); in it6505_read()
548 struct device *dev = it6505->dev; in it6505_write()
[all …]
/linux-6.12.1/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 …]

123456