Home
last modified time | relevance | path

Searched +full:needs +full:- +full:reset +full:- +full:on +full:- +full:resume (Results 1 – 25 of 720) sorted by relevance

12345678910>>...29

/openbmc/linux/include/linux/usb/
H A Dehci_pdriver.h1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2012 Hauke Mehrtens <hauke@hauke-m.de>
13 * struct usb_ehci_pdata - platform_data for generic ehci driver
18 * @port_power_on: set to 1 if the controller needs a power up after
20 * @port_power_off: set to 1 if the controller needs to be powered down
24 * @reset_on_resume: set to 1 if the controller needs to be reset after
25 * a suspend / resume cycle (but can't detect that itself).
41 /* Turn on all power and clocks */
45 /* Turn on only VBUS suspend power and hotplug detection,
/openbmc/u-boot/drivers/usb/gadget/
H A Dat91_udc.h1 /* 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 …]
/openbmc/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _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 …]
/openbmc/u-boot/arch/x86/
H A DKconfig2 depends on X86
8 prompt "Run U-Boot in 32/64-bit mode"
11 U-Boot can be built as a 32-bit binary which runs in 32-bit mode
12 even on 64-bit machines. In this case SPL is not used, and U-Boot
13 runs directly from the reset vector (via 16-bit start-up).
15 Alternatively it can be run as a 64-bit binary, thus requiring a
16 64-bit machine. In this case SPL runs in 32-bit mode (via 16-bit
17 start-up) then jumps to U-Boot in 64-bit mode.
19 For now, 32-bit mode is recommended, as 64-bit is still
23 bool "32-bit"
[all …]
/openbmc/linux/drivers/remoteproc/
H A Domap_remoteproc.c1 // 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>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
35 #include <linux/reset.h>
36 #include <clocksource/timer-ti-dm.h>
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Ddev-encoder.rst1 .. 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 …]
H A Ddev-decoder.rst1 .. 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:
79 Good at sub-partitioning the picture into variable sized structures.
103 Instantaneous Decoder Refresh; a type of a keyframe in an H.264/HEVC-encoded
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Dat91_udc.h1 // 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 …]
/openbmc/linux/Documentation/PCI/
H A Dpci-error-recovery.rst1 .. 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 …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Daldebaran.c36 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_is_mode2_default()
38 if ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(13, 0, 2) && in aldebaran_is_mode2_default()
39 adev->gmc.xgmi.connected_to_cpu)) in aldebaran_is_mode2_default()
50 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle; in aldebaran_get_reset_handler()
52 if (reset_context->method != AMD_RESET_METHOD_NONE) { in aldebaran_get_reset_handler()
53 dev_dbg(adev->dev, "Getting reset handler for method %d\n", in aldebaran_get_reset_handler()
54 reset_context->method); in aldebaran_get_reset_handler()
55 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
57 if (handler->reset_method == reset_context->method) in aldebaran_get_reset_handler()
63 list_for_each_entry(handler, &reset_ctl->reset_handlers, in aldebaran_get_reset_handler()
[all …]
/openbmc/linux/drivers/staging/media/meson/vdec/
H A Dvdec.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 #include <media/videobuf2-v4l2.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-device.h>
16 #include <linux/soc/amlogic/meson-canvas.h>
20 /* 32 buffers in 3-plane YUV420 */
29 * struct amvdec_timestamp - stores a src timestamp along with a VIFIFO offset
50 * struct amvdec_core - device parameters, singleton
57 * @platform: platform-specific data
64 * @esparser_reset: RESET for the PARSER
[all …]
/openbmc/linux/Documentation/devicetree/bindings/iio/proximity/
H A Ddevantech-srf04.yaml1 # 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 …]
/openbmc/linux/arch/powerpc/kernel/
H A Deeh_driver.c1 // 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>
55 return "need reset"; in pci_ers_result_name()
78 return !edev || (edev->mode & EEH_DEV_REMOVED); in eeh_dev_removed()
83 if (!edev->pdev) in eeh_edev_actionable()
85 if (edev->pdev->error_state == pci_channel_io_perm_failure) in eeh_edev_actionable()
89 if (eeh_pe_passed(edev->pe)) in eeh_edev_actionable()
96 * eeh_pcid_get - Get the PCI device driver
[all …]
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Dgeneric-ehci.yaml1 # 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 - items:
29 - enum:
[all …]
/openbmc/linux/kernel/power/
H A DKconfig1 # 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 …]
/openbmc/linux/arch/arm/mach-omap2/
H A Domap-mpuss-lowpower.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * OMAP4430 MPUSS mainly consists of dual Cortex-A9 with per-CPU
16 * mode. While waking up from the dormant mode, a reset signal
17 * to the Cortex-A9 processor must be asserted by the external
24 * ----------------------------------------------
25 * ON ON ON
26 * ON(Inactive) OFF ON(Inactive)
30 * ----------------------------------------------
33 * and first to wake-up when MPUSS low power states are excercised
48 #include <asm/hardware/cache-l2x0.h>
[all …]
/openbmc/linux/arch/x86/kernel/
H A Dtsc_sync.c1 // 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.
37 * TSC's on different sockets may be reset asynchronously.
38 * This may cause the TSC ADJUST value on socket 0 to be NOT 0.
50 void tsc_verify_tsc_adjust(bool resume) in tsc_verify_tsc_adjust() argument
63 if (!resume && time_before(jiffies, adj->nextcheck)) in tsc_verify_tsc_adjust()
66 adj->nextcheck = jiffies + HZ; in tsc_verify_tsc_adjust()
69 if (adj->adjusted == curval) in tsc_verify_tsc_adjust()
[all …]
/openbmc/linux/include/ufs/
H A Dufshcd.h1 /* 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.
16 #include <linux/blk-crypto-profile.h>
17 #include <linux/blk-mq.h>
21 #include <linux/dma-direction.h>
65 * struct uic_command - UIC command structure
89 /* Host <-> Device UniPro Link state */
97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
98 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
[all …]
/openbmc/linux/drivers/usb/host/
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()
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 …]
H A Duhci-pci.c1 // 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 …]
/openbmc/linux/Documentation/arch/x86/
H A Dintel_txt.rst6 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 …]
/openbmc/linux/Documentation/core-api/
H A Ddma-isa-lpc.rst12 ------------------------
16 #include <linux/dma-mapping.h>
20 bus addresses (see Documentation/core-api/dma-api.rst 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 …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-fsl-usb.c1 // 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 …]
/openbmc/linux/drivers/ata/
H A Dlibata-zpodd.c1 // 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 …]
/openbmc/linux/drivers/ufs/host/
H A Dufshcd-pci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2011-2013 Samsung India Software Operations
48 return fn < 32 && fn >= 0 && (host->dsm_fns & (1u << fn)); in __intel_dsm_supported()
63 return -EOPNOTSUPP; in __intel_dsm()
65 if (obj->type != ACPI_TYPE_BUFFER || obj->buffer.length < 1) { in __intel_dsm()
66 err = -EINVAL; in __intel_dsm()
70 len = min_t(size_t, obj->buffer.length, 4); in __intel_dsm()
73 memcpy(result, obj->buffer.pointer, len); in __intel_dsm()
84 return -EOPNOTSUPP; in intel_dsm()
93 err = __intel_dsm(intel_host, dev, INTEL_DSM_FNS, &intel_host->dsm_fns); in intel_dsm_init()
[all …]

12345678910>>...29