Home
last modified time | relevance | path

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

12345

/linux/drivers/block/rnull/
H A Dconfigfs.rs1 // SPDX-License-Identifier: GPL-2.0
7 configfs::{self, AttributeOperations},
9 fmt::{self, Write as _},
18 pub(crate) fn subsystem() -> impl PinInit<kernel::configfs::Subsystem<Config>, Error> { in subsystem()
38 fn show(_this: &Config, page: &mut [u8; PAGE_SIZE]) -> Result<usize> { in show()
50 &self, in make_group() argument
52 ) -> Result<impl PinInit<configfs::Group<DeviceConfig>, Error>> { in make_group()
71 data <- new_mutex!(DeviceConfigInner { in make_group()
72 powered: false, in make_group()
94 fn try_from(value: u8) -> Result<Self> { in try_from() argument
[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.
19 * msm_dp_bridge_detect - callback to determine if connector is connected
28 dp = to_dp_bridge(bridge)->msm_dp_display; in msm_dp_bridge_detect()
30 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in msm_dp_bridge_detect()
31 str_true_false(dp->link_ready)); in msm_dp_bridge_detect()
33 return (dp->link_ready) ? connector_status_connected : in msm_dp_bridge_detect()
44 dp = to_dp_bridge(bridge)->msm_dp_display; in msm_dp_bridge_atomic_check()
46 drm_dbg_dp(dp->drm_dev, "link_ready = %s\n", in msm_dp_bridge_atomic_check()
47 str_true_false(dp->link_ready)); in msm_dp_bridge_atomic_check()
[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/usb/core/
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/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/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/arm64/boot/dts/ti/
H A Dk3-am69-aquila-clover.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 * https://www.toradex.com/computer-on-modules/aquila-arm-family/ti-am69
6 * https://www.toradex.com/products/carrier-board/clover
9 /dts-v1/;
11 #include <dt-bindings/pwm/pwm.h>
12 #include "k3-am69-aquila.dtsi"
16 compatible = "toradex,aquila-am69-clover",
17 "toradex,aquila-am69",
24 reg_3v3_dp: regulator-3v3-dp {
25 compatible = "regulator-fixed";
[all …]
H A Dk3-am62l3-evm.dts1 // SPDX-License-Identifier: GPL-2.0-only or MIT
4 * Copyright (C) 2025 Texas Instruments Incorporated - https://www.ti.com/
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/net/ti-dp83867.h>
16 #include <dt-bindings/thermal/thermal.h>
17 #include "k3-am62l3.dtsi"
18 #include "k3-pinctrl.h"
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi_v2.c1 // SPDX-License-Identifier: GPL-2.0
57 [MTK_HDMI_V2_CLK_VPP_SPLIT_HDMI] = "hdmi-split",
62 regmap_write(hdmi->regs, TOP_INT_ENABLE00, 0); in mtk_hdmi_v2_hwirq_disable()
63 regmap_write(hdmi->regs, TOP_INT_ENABLE01, 0); in mtk_hdmi_v2_hwirq_disable()
69 regmap_set_bits(hdmi->regs, TOP_INT_ENABLE00, HPD_PORD_HWIRQS); in mtk_hdmi_v2_enable_hpd_pord_irq()
71 regmap_clear_bits(hdmi->regs, TOP_INT_ENABLE00, HPD_PORD_HWIRQS); in mtk_hdmi_v2_enable_hpd_pord_irq()
77 regmap_set_bits(hdmi->regs, hdmi->conf->reg_hdmi_tx_cfg, HDMITX_SW_HPD); in mtk_hdmi_v2_set_sw_hpd()
78 regmap_set_bits(hdmi->regs, HDCP2X_CTRL_0, HDCP2X_HPD_OVR); in mtk_hdmi_v2_set_sw_hpd()
79 regmap_set_bits(hdmi->regs, HDCP2X_CTRL_0, HDCP2X_HPD_SW); in mtk_hdmi_v2_set_sw_hpd()
81 regmap_clear_bits(hdmi->regs, HDCP2X_CTRL_0, HDCP2X_HPD_OVR); in mtk_hdmi_v2_set_sw_hpd()
[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/arch/arm64/boot/dts/exynos/google/
H A Dgs101-pixel-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree nodes common for all GS101-based Pixel
5 * Copyright 2021-2023 Google LLC
6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org>
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/usb/pd.h>
14 #include "gs101-pinctrl.h"
25 stdout-path = &serial_0;
[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/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/arm64/boot/dts/rockchip/
H A Drk3588-jaguar.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/soc/rockchip,vop2.h>
12 #include <dt-bindings/usb/pd.h>
17 model = "Theobroma Systems RK3588-SBC Jaguar";
18 compatible = "tsd,rk3588-jaguar", "rockchip,rk3588";
[all …]
/linux/arch/arm/kernel/
H A Dhw_breakpoint.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * HW_breakpoint: a unified kernel/user-space hardware breakpoint facility,
13 #define pr_fmt(fmt) "hw-breakpoint: " fmt
151 /* We don't support the memory-mapped interface. */ in debug_arch_supported()
216 return core_has_mismatch_brps() ? brps - 1 : brps; in get_num_brps()
257 return -ENODEV; in enable_monitor_mode()
265 return -EPERM; in enable_monitor_mode()
293 * Check if 8-bit byte-address select is available.
333 addr = info->address; in arch_install_hw_breakpoint()
334 ctrl = encode_ctrl_reg(info->ctrl) | 0x1; in arch_install_hw_breakpoint()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-evk.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/phy/phy-imx8-pcie.h>
9 #include <dt-bindings/usb/pd.h>
14 stdout-path = &uart2;
22 hdmi-connector {
23 compatible = "hdmi-connector";
29 remote-endpoint = <&adv7535_out>;
35 compatible = "gpio-leds";
36 pinctrl-names = "default";
[all …]
/linux/drivers/usb/host/
H A Dxhci-hub.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "xhci-trace.h"
54 bos->bLength = USB_DT_BOS_SIZE; in xhci_create_usb3x_bos_desc()
55 bos->bDescriptorType = USB_DT_BOS; in xhci_create_usb3x_bos_desc()
56 bos->wTotalLength = cpu_to_le16(USB_DT_BOS_SIZE + in xhci_create_usb3x_bos_desc()
58 bos->bNumDeviceCaps = 1; in xhci_create_usb3x_bos_desc()
61 for (i = 0; i < xhci->num_port_caps; i++) { in xhci_create_usb3x_bos_desc()
62 u8 major = xhci->port_caps[i].maj_rev; in xhci_create_usb3x_bos_desc()
63 u8 minor = xhci->port_caps[i].min_rev; in xhci_create_usb3x_bos_desc()
68 port_cap = &xhci->port_caps[i]; in xhci_create_usb3x_bos_desc()
[all …]
H A Dehci-hub.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2001-2004 by David Brownell
6 /* this file is part of ehci-hcd.c */
8 /*-------------------------------------------------------------------------*/
16 /*-------------------------------------------------------------------------*/
26 return !udev->maxchild && udev->persist_enabled && in persist_enabled_on_companion()
27 udev->bus->root_hub->speed < USB_SPEED_HIGH; in persist_enabled_on_companion()
41 if (!ehci->owned_ports) in ehci_handover_companion_ports()
54 /* Make sure the ports are powered */ in ehci_handover_companion_ports()
55 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-core.c1 // SPDX-License-Identifier: GPL-2.0
27 #include <linux/coresight-pmu.h>
35 #include <linux/clk/clk-conf.h>
43 #include "coresight-etm4x.h"
44 #include "coresight-etm-perf.h"
45 #include "coresight-etm4x-cfg.h"
46 #include "coresight-self-hosted-trace.h"
47 #include "coresight-syscfg.h"
48 #include "coresight-trace-id.h"
54 #define PARAM_PM_SAVE_FIRMWARE 0 /* save self-hosted state as per firmware */
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dsm6115-fxtec-pro1x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (c) 2023 - 2024, Dang Huynh <danct12@riseup.net>
6 /dts-v1/;
11 #include <dt-bindings/arm/qcom,ids.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/usb/pd.h>
18 chassis-type = "handset";
20 qcom,msm-id = <QCOM_ID_SM6115 0x10000>;
23 #address-cells = <2>;
24 #size-cells = <2>;
[all …]

12345