/Linux-v5.10/Documentation/devicetree/bindings/usb/ |
D | generic-ehci.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/generic-ehci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Greg Kroah-Hartman <gregkh@linuxfoundation.org> 13 - $ref: "usb-hcd.yaml" 14 - if: 19 const: ibm,usb-ehci-440epx 28 const: generic-ehci 45 In case the Renesas R-Car Gen3 SoCs: [all …]
|
/Linux-v5.10/include/linux/usb/ |
D | ehci_pdriver.h | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de> 27 * struct usb_ehci_pdata - platform_data for generic ehci driver 32 * @port_power_on: set to 1 if the controller needs a power up after 34 * @port_power_off: set to 1 if the controller needs to be powered down 38 * @reset_on_resume: set to 1 if the controller needs to be reset after 39 * a suspend / resume cycle (but can't detect that itself). 54 /* Turn on all power and clocks */ 58 /* Turn on only VBUS suspend power and hotplug detection,
|
/Linux-v5.10/Documentation/driver-api/usb/ |
D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 38 needs to use it. (There also are forms of PM in which components are 47 "selective suspend"). This document concentrates mostly on how 59 kernel had been built with ``CONFIG_USB_SUSPEND`` enabled (which depended on [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/v4l/ |
D | dev-encoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 6 Memory-to-Memory Stateful Video Encoder Interface 12 further post-processing by the client. 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 36 depending on encoder capabilities and following the general V4L2 guidelines. 41 7. Given an ``OUTPUT`` buffer A, then A' represents a buffer on the ``CAPTURE`` 47 Refer to :ref:`decoder-glossary`. 52 .. kernel-render:: DOT 62 node [shape = circle, label="Reset"] Reset; [all …]
|
D | dev-decoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Memory-to-Memory Stateful Video Decoder Interface 9 A stateful video decoder takes complete chunks of the bytestream (e.g. Annex-B 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 36 depending on decoder capabilities and following the general V4L2 guidelines. 41 7. Given an ``OUTPUT`` buffer A, then A’ represents a buffer on the ``CAPTURE`` 44 .. _decoder-glossary: 97 Instantaneous Decoder Refresh; a type of a keyframe in an H.264/HEVC-encoded 102 can be decoded fully on its own. [all …]
|
/Linux-v5.10/Documentation/PCI/ |
D | pci-error-recovery.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Authors: - Linas Vepstas <linasvepstas@gmail.com> 9 - Richard Lary <rlary@us.ibm.com> 10 - Mike Mason <mmlnx@us.ibm.com> 14 PCI errors on the bus, such as parity errors on the data and address 16 chipsets are able to deal with these errors; these include PCI-E chipsets, 17 and the PCI-host bridges found on IBM Power4, Power5 and Power6-based 22 offered, so that the affected PCI device(s) are reset and put back 23 into working condition. The reset phase requires coordination 32 including multiple instances of a device driver on multi-function [all …]
|
/Linux-v5.10/drivers/remoteproc/ |
D | omap_remoteproc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/ 8 * Ohad Ben-Cohen <ohad@wizery.com> 12 * Suman Anna <s-anna@ti.com> 13 * Hari Kanigeri <h-kanigeri2@ti.com> 26 #include <linux/dma-mapping.h> 30 #include <linux/omap-iommu.h> 31 #include <linux/omap-mailbox.h> 34 #include <linux/reset.h> 35 #include <clocksource/timer-ti-dm.h> [all …]
|
/Linux-v5.10/drivers/usb/host/ |
D | ehci-tegra.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * EHCI-compliant USB host controller driver for NVIDIA Tegra SoCs 6 * Copyright (C) 2009 - 2013 NVIDIA Corporation 10 #include <linux/dma-mapping.h> 21 #include <linux/reset.h> 36 #define DRV_NAME "tegra-ehci" 56 (struct tegra_ehci_hcd *)hcd_to_ehci(hcd)->priv; in tegra_reset_usb_controller() 60 phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0); in tegra_reset_usb_controller() 62 return -ENOENT; in tegra_reset_usb_controller() 66 * global for all the controllers on the chip. Those registers are in tegra_reset_usb_controller() [all …]
|
D | uhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Extracted from uhci-hcd.c: 9 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com 16 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com). 17 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c) 18 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu 21 #include "pci-quirks.h" 29 uhci_reset_hc(to_pci_dev(uhci_dev(uhci)), uhci->io_addr); in uhci_pci_reset_hc() 36 * Returns: 1 if the controller was reset, 0 otherwise. 41 uhci->io_addr); in uhci_pci_check_and_reset_hc() [all …]
|
D | xhci-pci.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <linux/reset.h> 18 #include "xhci-trace.h" 19 #include "xhci-pci.h" 75 .reset = xhci_pci_setup, 78 /* called after powerup, by probe or system-pm "wakeup" */ 87 /* PCI Memory-Write-Invalidate cycle support is optional (uncommon) */ in xhci_pci_reinit() 101 id = pci_match_id(pdev->driver->id_table, pdev); in xhci_pci_quirks() 103 if (id && id->driver_data) { in xhci_pci_quirks() 104 driver_data = (struct xhci_driver_data *)id->driver_data; in xhci_pci_quirks() [all …]
|
D | ehci-hub.c | 1 // 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() 31 * reset so that the companion can still own them. 41 if (!ehci->owned_ports) in ehci_handover_companion_ports() 48 * we can skip this and avoid slowing resume down. Devices without in ehci_handover_companion_ports() [all …]
|
/Linux-v5.10/drivers/usb/gadget/udc/ |
D | at91_udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 13 * Based on AT91RM9200 datasheet revision E. 24 #define AT91_UDP_ESR (1 << 2) /* Enable Send Resume */ 25 #define AT91_UDP_RSMINPR (1 << 3) /* Resume has been sent */ 39 #define AT91_UDP_RXRSM (1 << 9) /* USB Resume Interrupt Status */ 40 #define AT91_UDP_EXTRSM (1 << 10) /* External Resume Interrupt Status [AT91RM9200 only] */ 42 #define AT91_UDP_ENDBUSRES (1 << 12) /* End of Bus Reset Interrupt Status */ 46 #define AT91_UDP_RST_EP 0x28 /* Reset Endpoint Register */ 48 #define AT91_UDP_CSR(n) (0x30+((n)*4)) /* Endpoint Control/Status Registers 0-7 */ 69 #define AT91_UDP_FDR(n) (0x50+((n)*4)) /* Endpoint FIFO Data Registers 0-7 */ [all …]
|
/Linux-v5.10/drivers/scsi/ufs/ |
D | ufshcd.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 35 #include <linux/keyslot-manager.h> 62 * struct uic_command - UIC command structure 90 /* Host <-> Device UniPro Link state */ 98 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) 99 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \ 101 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \ 103 #define ufshcd_is_link_broken(hba) ((hba)->uic_link_state == \ [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/iio/proximity/ |
D | devantech-srf04.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andreas Klinger <ak@it-klinger.de> 13 Bit-banging driver using two GPIOs: 14 - trigger-gpio is raised by the driver to start sending out an ultrasonic 16 - echo-gpio is held high by the sensor after sending ultrasonic burst 20 https://www.robot-electronics.co.uk/htm/srf04tech.htm 22 https://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | eeh_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * PCI Error Recovery Driver for RPA-compliant PPC64 platform. 17 #include <asm/ppc-pci.h> 18 #include <asm/pci-bridge.h> 56 return "need reset"; in pci_ers_result_name() 79 return !edev || (edev->mode & EEH_DEV_REMOVED); in eeh_dev_removed() 84 if (!edev->pdev) in eeh_edev_actionable() 86 if (edev->pdev->error_state == pci_channel_io_perm_failure) in eeh_edev_actionable() 90 if (eeh_pe_passed(edev->pe)) in eeh_edev_actionable() 97 * eeh_pcid_get - Get the PCI device driver [all …]
|
/Linux-v5.10/kernel/power/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 depends on ARCH_SUSPEND_POSSIBLE 9 suspend-to-RAM state (e.g. the ACPI S3 state). 14 depends on SUSPEND 23 bool "Skip kernel's sys_sync() on suspend to RAM/standby" 24 depends on SUSPEND 25 depends on EXPERT 28 Some systems prefer not to pay this cost on every invocation 30 user-space before invoking suspend. There's a run-time switch 32 This setting changes the default for the run-tim switch. Say Y [all …]
|
/Linux-v5.10/arch/x86/kernel/ |
D | tsc_sync.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * print a warning if not and turn off the TSC clock-source. 10 * The warp-check is point-to-point between two CPUs, the CPU 14 * Only two CPUs may participate - they can enter in any order. 35 * TSC's on different sockets may be reset asynchronously. 36 * This may cause the TSC ADJUST value on socket 0 to be NOT 0. 48 void tsc_verify_tsc_adjust(bool resume) in tsc_verify_tsc_adjust() argument 61 if (!resume && time_before(jiffies, adj->nextcheck)) in tsc_verify_tsc_adjust() 64 adj->nextcheck = jiffies + HZ; in tsc_verify_tsc_adjust() 67 if (adj->adjusted == curval) in tsc_verify_tsc_adjust() [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm.c | 2 * SPDX-License-Identifier: MIT 26 int count = atomic_read(>->user_wakeref); in user_forcewake() 28 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake() 34 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake() 35 atomic_sub(count, >->wakeref.count); in user_forcewake() 37 atomic_add(count, >->wakeref.count); in user_forcewake() 45 struct drm_i915_private *i915 = gt->i915; in __gt_unpark() 56 * This activity has negative impact on the performance of the chip with 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() [all …]
|
/Linux-v5.10/drivers/hid/intel-ish-hid/ishtp/ |
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2012-2016, Intel Corporation. 15 #include "ishtp-dev.h" 28 * ishtp_recv() - process ishtp message 42 msg_hdr = dev->ops->ishtp_read_hdr(dev); in ishtp_recv() 46 dev->ops->sync_fw_clock(dev); in ishtp_recv() 49 dev->ishtp_msg_hdr = msg_hdr; in ishtp_recv() 52 if (ishtp_hdr->length > dev->mtu) { in ishtp_recv() 53 dev_err(dev->devc, in ishtp_recv() 54 "ISHTP hdr - bad length: %u; dropped [%08X]\n", in ishtp_recv() [all …]
|
/Linux-v5.10/drivers/usb/chipidea/ |
D | host.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * host.c - ChipIdea USB host controller driver 35 struct ehci_ci_priv *priv = (struct ehci_ci_priv *)ehci->priv; in ehci_ci_portpower() 36 struct device *dev = hcd->self.controller; in ehci_ci_portpower() 39 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower() 41 if (priv->reg_vbus && enable != priv->enabled) { in ehci_ci_portpower() 44 "Not support multi-port regulator control\n"); in ehci_ci_portpower() 48 ret = regulator_enable(priv->reg_vbus); in ehci_ci_portpower() 50 ret = regulator_disable(priv->reg_vbus); in ehci_ci_portpower() 57 priv->enabled = enable; in ehci_ci_portpower() [all …]
|
/Linux-v5.10/Documentation/x86/ |
D | intel_txt.rst | 6 Technology (Intel(R) TXT), defines platform-level enhancements that 13 - Provides dynamic root of trust for measurement (DRTM) 14 - Data protection in case of improper shutdown 15 - Measurement and verification of launched environment 18 non-vPro systems. It is currently available on desktop systems 19 based on the Q35, X38, Q45, and Q43 Express chipsets (e.g. Dell 20 Optiplex 755, HP dc7800, etc.) and mobile systems based on the GM45, 30 - LinuxTAG 2008: 31 http://www.linuxtag.org/2008/en/conf/events/vp-donnerstag.html 33 - TRUST2008: [all …]
|
/Linux-v5.10/drivers/usb/phy/ |
D | phy-fsl-usb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Jerry Huang <Chang-Ming.Huang@freescale.com> 8 * Initialization based on code from Shlomi Gridish. 32 #include "phy-fsl-usb.h" 46 static const char driver_name[] = "fsl-usb2-otg"; 109 fsl_writel(temp, &usb_dr_regs->ulpiview); in write_ulpi() 113 /* -------------------------------------------------------------*/ 117 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus() argument 121 tmp = fsl_readl(&usb_dr_regs->otgsc) & ~OTGSC_INTSTS_MASK; in fsl_otg_chrg_vbus() 123 if (on) in fsl_otg_chrg_vbus() [all …]
|
/Linux-v5.10/Documentation/core-api/ |
D | dma-isa-lpc.rst | 12 ------------------------ 16 #include <linux/dma-mapping.h> 20 bus addresses (see :doc:`/core-api/dma-api` for details). 23 this is not present on all platforms make sure you construct your 24 Kconfig to be dependent on ISA_DMA_API (not ISA) so that nobody tries 25 to build your driver on unsupported platforms. 28 ----------------- 30 The ISA DMA controller has some very strict requirements on which 37 The DMA-able address space is the lowest 16 MB of _physical_ memory. 39 or 128 KiB depending on which channel you use). [all …]
|
/Linux-v5.10/drivers/ata/ |
D | libata-zpodd.c | 1 // SPDX-License-Identifier: GPL-2.0 85 if (be16_to_cpu(desc->feature_code) != 3) { in zpodd_get_mech_type() 90 if (desc->mech_type == 0 && desc->load == 0 && desc->eject == 1) { in zpodd_get_mech_type() 93 } else if (desc->mech_type == 1 && desc->load == 0 && in zpodd_get_mech_type() 94 desc->eject == 1) { in zpodd_get_mech_type() 108 struct zpodd *zpodd = dev->zpodd; in zpready() 115 sense_buf = dev->link->ap->sector_buf; in zpready() 132 if (zpodd->mech_type == ODD_MECH_TYPE_SLOT) in zpready() 141 * Update the zpodd->zp_ready field. This field will only be set 144 * is set, it will be cleared during resume from powered off state. [all …]
|
/Linux-v5.10/include/linux/ |
D | suspend.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 100 * struct platform_suspend_ops - Callbacks for managing platform dependent 124 * 0 on success or a negative error code otherwise, in which case the 132 * 0 on success or a negative error code otherwise, in which case the 138 * This callback is mandatory. It returns 0 on success or a negative 144 * resume callbacks are executed. 149 * @finish: Finish wake-up of the platform. 160 * suspend_again callback is the place assuming that periodic-wakeup or 161 * alarm-wakeup is already setup. This allows to execute some codes while 205 * suspend_set_ops - set platform dependent suspend operations [all …]
|