Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/usb/
H A 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 …]
/linux/drivers/usb/core/
H A 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
30 return desc->bInterfaceClas in plural()
[all...]
H A 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/Documentation/trace/coresight/
H A 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/drivers/net/wireless/st/cw1200/
H A 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 …]
H A 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/Documentation/devicetree/bindings/arm/
H A 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/drivers/gpu/drm/msm/dp/
H A Ddp_drm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
17 * msm_dp_bridge_detect - callback to determine if connector is connected
25 dp = to_dp_bridge(bridge)->msm_dp_display; in msm_dp_bridge_detect()
27 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in msm_dp_bridge_detect()
28 (dp->link_ready) ? "true" : "false"); in msm_dp_bridge_detect()
30 return (dp->link_ready) ? connector_status_connected : in msm_dp_bridge_detect()
41 dp = to_dp_bridge(bridge)->msm_dp_display; in msm_dp_bridge_atomic_check()
43 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in msm_dp_bridge_atomic_check()
44 (dp->link_ready) ? "true" : "false"); in msm_dp_bridge_atomic_check()
[all …]
/linux/drivers/usb/misc/
H A 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/drivers/hwtracing/coresight/
H A 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/drivers/usb/gadget/legacy/
H A 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/drivers/crypto/intel/qat/qat_common/
H A 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/arch/arm64/boot/dts/qcom/
H A 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/drivers/usb/common/
H A 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/drivers/gpu/drm/bridge/
H A Dite-it6505.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
35 #include <sound/hdmi-codec.h>
53 #define BIT_OFFSET(x) (((x) - INT_STATUS_01) * BITS_PER_BYTE)
305 #define DEBUGFS_DIR_NAME "it6505-debugfs"
461 bool powered; member
554 struct device *dev = it6505->dev; in it6505_read()
556 if (!it6505->powered) in it6505_read()
557 return -ENODEV; in it6505_read()
559 err = regmap_read(it6505->regmap, reg_addr, &value); in it6505_read()
572 struct device *dev = it6505->dev; in it6505_write()
[all …]
/linux/drivers/pci/hotplug/
H A 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/drivers/usb/serial/
H A 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/arch/powerpc/platforms/powermac/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2003-2005 Benjamin Herrenschmuidt (benh@kernel.crashing.org)
21 #include <asm/pci-bridge.h>
25 #include <asm/ppc-pci.h>
37 /* XXX Could be per-controller, but I don't think we risk anything by
62 for (; node; node = node->sibling) { in fixup_one_level_bus_range()
67 /* For PCI<->PCI bridges or CardBus bridges, we go down */ in fixup_one_level_bus_range()
68 class_code = of_get_property(node, "class-code", NULL); in fixup_one_level_bus_range()
72 bus_range = of_get_property(node, "bus-range", &len); in fixup_one_level_bus_range()
77 higher = fixup_one_level_bus_range(node->child, higher); in fixup_one_level_bus_range()
[all …]
/linux/arch/mips/kernel/
H A Dpm-cps.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <asm/asm-offsets.h>
17 #include <asm/mips-cps.h>
20 #include <asm/pm-cps.h>
22 #include <asm/smp-cps.h>
26 * cps_nc_entry_fn - type of a generated non-coherent state entry function
28 * @nc_ready_count: pointer to a non-coherent mapping of the core ready_count
30 * The code entering & exiting non-coherent states is generated at runtime
33 * core-specific code particularly for cache routines. If coupled_coherence
34 * is non-zero and this is the entry function for the CPS_PM_NC_WAIT state,
[all …]
/linux/drivers/iio/pressure/
H A Dzpa2326.c1 // SPDX-License-Identifier: GPL-2.0-only
34 * - get device out of low power mode,
35 * - setup hardware sampling period,
36 * - at end of period, upon data ready interrupt: pop pressure samples out of
38 * - when no longer needed, stop sampling process by putting device into
70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency()
106 * struct zpa2326_private - Per-device internal private state
116 * @waken: Flag indicating whether or not device has just been powered on.
[all …]
/linux/drivers/usb/gadget/udc/
H A Dmax3420_udc.c1 // SPDX-License-Identifier: GPL-2.0+
6 * (C) Copyright 2019-2020 Linaro Ltd
189 #define DRIVER_DESC "MAX3420 USB Device-Mode Driver"
190 static const char driver_name[] = "max3420-udc";
201 struct spi_device *spi = udc->spi; in spi_ack_ctrl()
220 struct spi_device *spi = udc->spi; in spi_rd8_ack()
247 struct spi_device *spi = udc->spi; in spi_wr8_ack()
273 struct spi_device *spi = udc->spi; in spi_rd_buf()
295 struct spi_device *spi = udc->spi; in spi_wr_buf()
316 struct max3420_udc *udc = ep->udc; in spi_max3420_enable()
[all …]
/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c1 // SPDX-License-Identifier: GPL-2.0+
3 * bdc_udc.c - BRCM BDC USB3.0 device controller gagdet ops
13 #include <linux/dma-mapping.h>
64 srr = &bdc->srr; in srr_dqp_index_advc()
65 dev_dbg_ratelimited(bdc->dev, "srr->dqp_index:%d\n", srr->dqp_index); in srr_dqp_index_advc()
66 srr->dqp_index++; in srr_dqp_index_advc()
68 if (srr->dqp_index == NUM_SR_ENTRIES) in srr_dqp_index_advc()
69 srr->dqp_index = 0; in srr_dqp_index_advc()
79 temp = bdc_readl(bdc->regs, BDC_USPC); in bdc_uspc_connected()
81 dev_dbg(bdc->dev, "%s speed=%x\n", __func__, speed); in bdc_uspc_connected()
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp135f-dhcor-dhsbc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 * DHCR-STM32MP135F-C100-R051-EE-F0409-SPI4-RTC-WBT-I-01LG
7 * DHCOR PCB number: 718-100 or newer
8 * DHSBC PCB number: 719-100 or newer
11 /dts-v1/;
13 #include <dt-bindings/regulator/st,stm32mp13-regulator.h>
16 #include "stm32mp13xx-dhcor-som.dtsi"
20 compatible = "dh,stm32mp135f-dhcor-dhsbc",
21 "dh,stm32mp135f-dhcor-som",
32 stdout-path = "serial0:115200n8";
[all …]
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
30 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
39 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
40 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
42 atomic_add(count, &gt->wakeref.count); in user_forcewake()
50 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
51 gt->stats.start = ktime_get(); in runtime_begin()
52 gt->stats.active = true; in runtime_begin()
53 write_seqcount_end(&gt->stats.lock); in runtime_begin()
60 write_seqcount_begin(&gt->stats.lock); in runtime_end()
[all …]
/linux/drivers/iio/accel/
H A Dkxsd9.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2008-2009 Jonathan Cameron <jic23@kernel.org>
61 #define KXSD9_CTRL_B_ST BIT(5) /* Self-test */
66 * struct kxsd9_state - device related storage
89 #define KXSD9_ZERO_G_OFFSET -2048
109 return -EINVAL; in kxsd9_write_scale()
111 ret = regmap_update_bits(st->map, in kxsd9_write_scale()
118 /* Cached scale when the sensor is powered down */ in kxsd9_write_scale()
119 st->scale = i; in kxsd9_write_scale()
142 int ret = -EINVAL; in kxsd9_write_raw()
[all …]

1234