Home
last modified time | relevance | path

Searched +full:probe +full:- +full:reset (Results 1 – 25 of 1102) sorted by relevance

12345678910>>...45

/openbmc/linux/Documentation/driver-api/usb/
H A Dcallbacks.rst11 completion callback can be found in :ref:`usb-urb`.
17 - @probe:
21 - @disconnect:
28 - @ioctl:
36 - @suspend:
39 - @resume:
42 - @reset_resume:
43 Called when the suspended device has been reset instead
48 - @pre_reset:
49 Called when the device is about to be reset.
[all …]
/openbmc/linux/Documentation/networking/devlink/
H A Ddevlink-params.rst1 .. SPDX-License-Identifier: GPL-2.0
8 level device functionality. Since devlink can operate at the device-wide
22 .. list-table:: Possible configuration modes
25 * - Name
26 - Description
27 * - ``runtime``
28 - set while the driver is running, and takes effect immediately. No
29 reset is required.
30 * - ``driverinit``
31 - applied while the driver initializes. Requires the user to restart
[all …]
/openbmc/linux/drivers/net/phy/
H A Dmdio_device.c1 // SPDX-License-Identifier: GPL-2.0+
20 #include <linux/reset.h>
28 put_device(&mdiodev->dev); in mdio_device_free()
34 fwnode_handle_put(dev->fwnode); in mdio_device_release()
43 if (mdiodrv->mdiodrv.flags & MDIO_DEVICE_IS_PHY) in mdio_device_bus_match()
46 return strcmp(mdiodev->modalias, drv->name) == 0; in mdio_device_bus_match()
56 return ERR_PTR(-ENOMEM); in mdio_device_create()
58 mdiodev->dev.release = mdio_device_release; in mdio_device_create()
59 mdiodev->dev.parent = &bus->dev; in mdio_device_create()
60 mdiodev->dev.bus = &mdio_bus_type; in mdio_device_create()
[all …]
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-dwc-qos-eth.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Synopsys DWC Ethernet Quality-of-Service v4.10a linux driver
9 #include <linux/clk-provider.h>
21 #include <linux/reset.h>
37 struct gpio_desc *reset; member
43 struct device *dev = &pdev->dev; in dwc_eth_dwmac_config_dt()
48 if (!plat_dat->axi) { in dwc_eth_dwmac_config_dt()
49 plat_dat->axi = kzalloc(sizeof(struct stmmac_axi), GFP_KERNEL); in dwc_eth_dwmac_config_dt()
51 if (!plat_dat->axi) in dwc_eth_dwmac_config_dt()
52 return -ENOMEM; in dwc_eth_dwmac_config_dt()
[all …]
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx18-cards.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Derived from ivtv-cards.c
73 u32 active_lo_mask; /* GPIO outputs that reset i2c chips when low */
74 u32 active_hi_mask; /* GPIO outputs that reset i2c chips when high */
75 int msecs_asserted; /* time period reset must remain asserted */
77 u32 ir_reset_mask; /* GPIO to reset the Zilog Z8F0811 IR controller */
93 unsigned short radio[2];/* radio tuner i2c address to probe */
94 unsigned short demod[3];/* demodulator i2c address to probe */
95 unsigned short tv[4]; /* tv tuner i2c addresses to probe */
121 /* GPIO card-specific settings */
[all …]
/openbmc/linux/drivers/reset/
H A Dreset-socfpga.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copied from reset-sunxi.c
13 #include <linux/reset-controller.h>
14 #include <linux/reset/reset-simple.h>
15 #include <linux/reset/socfpga.h>
32 return -ENOMEM; in a10_reset_init()
39 if (!request_mem_region(res.start, size, np->name)) { in a10_reset_init()
40 ret = -EBUSY; in a10_reset_init()
44 data->membase = ioremap(res.start, size); in a10_reset_init()
45 if (!data->membase) { in a10_reset_init()
[all …]
/openbmc/linux/Documentation/admin-guide/blockdev/
H A Dparide.rst5 PARIDE v1.03 (c) 1997-8 Grant Guenther <grant@torque.net>
12 to personal computers, many external devices such as portable hard-disk,
13 CD-ROM, LS-120 and tape drives use the parallel port to connect to their
14 host computer. While some devices (notably scanners) use ad-hoc methods
17 a parallel-port adapter chip added in. Some of the original parallel port
19 (The Iomega PPA-3 adapter used in the ZIP drives is an example of this
27 which is then connected to a floppy-tape mechanism. The vast majority
30 were to open up a parallel port CD-ROM drive, for instance, one would
31 find a standard ATAPI CD-ROM drive, a power supply, and a single adapter
33 IDE cable. It is usually possible to exchange the CD-ROM device with
[all …]
/openbmc/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dbus.c1 // 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 …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsemtech,sx1501q.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Neil Armstrong <neil.armstrong@linaro.org>
16 - semtech,sx1501q
17 - semtech,sx1502q
18 - semtech,sx1503q
19 - semtech,sx1504q
20 - semtech,sx1505q
21 - semtech,sx1506q
[all …]
/openbmc/u-boot/doc/
H A DREADME.malta3 How to flash using a MIPS Navigator Probe:
5 - Ensure that your Malta has jumper JP1 fitted. Without this jumper you will
6 be unable to flash your Malta using a Navigator Probe.
8 - Connect Navigator Console to your probe and Malta as usual.
10 - Within Navigator Console run the following commands:
12 source /path/to/u-boot/board/imgtec/malta/flash-malta-boot.tcl
13 reset
14 flash-boot /path/to/u-boot/u-boot.bin
16 - You should now be able to reboot your Malta to a U-Boot shell.
/openbmc/u-boot/include/configs/
H A Ddisplay5.h1 /* SPDX-License-Identifier: GPL-2.0+ */
17 /* Falcon Mode - MMC support */
24 * display5 SPI-NOR memory layout
29 * 0x000000 - 0x020000 : SPI.SPL (128KiB)
30 * 0x020000 - 0x120000 : SPI.u-boot (1MiB)
31 * 0x120000 - 0x130000 : SPI.u-boot-env1 (64KiB)
32 * 0x130000 - 0x140000 : SPI.u-boot-env2 (64KiB)
33 * 0x140000 - 0x540000 : SPI.swupdate-kernel-FIT (4MiB)
34 * 0x540000 - 0x1540000 : SPI.swupdate-initramfs (16MiB)
35 * 0x1540000 - 0x1640000 : SPI.factory (1MiB)
[all …]
/openbmc/linux/drivers/devfreq/event/
H A Dexynos-nocp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * exynos-nocp.c - Exynos NoC (Network On Chip) Probe support
11 #include <linux/devfreq-event.h>
17 #include "exynos-nocp.h"
30 * The devfreq-event ops structure for nocp probe.
37 /* Disable NoC probe */ in exynos_nocp_set_event()
38 ret = regmap_update_bits(nocp->regmap, NOCP_MAIN_CTL, in exynos_nocp_set_event()
41 dev_err(nocp->dev, "failed to disable the NoC probe device\n"); in exynos_nocp_set_event()
46 ret = regmap_write(nocp->regmap, NOCP_STAT_PERIOD, 0x0); in exynos_nocp_set_event()
51 ret = regmap_update_bits(nocp->regmap, NOCP_COUNTERS_0_SRC, in exynos_nocp_set_event()
[all …]
/openbmc/linux/drivers/reset/sti/
H A Dreset-syscfg.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 #include <linux/reset-controller.h>
14 * Reset channel description for a system configuration register based
15 * reset controller.
19 * @reset: Regmap field description of the channel's reset bit.
24 struct reg_field reset; member
30 .reset = REG_FIELD(_rr, _rb, _rb), \
35 .reset = REG_FIELD(_rr, _rb, _rb), }
38 * Description of a system configuration register based reset controller.
40 * @wait_for_ack: The controller will wait for reset assert and de-assert to
[all …]
/openbmc/linux/drivers/net/ethernet/8390/
H A Dne.c1 // SPDX-License-Identifier: GPL-1.0+
2 /* ne.c: A general non-shared-memory NS8390 ethernet driver for linux. */
4 Written 1992-94 by Donald Becker.
12 This driver should work with many programmed-I/O 8390-based ethernet
20 Paul Gortmaker : new reset code, reset card after probe at boot.
23 Paul Gortmaker : Allow users with bad cards to avoid full probe.
24 Paul Gortmaker : PCI probe changes, more PCI cards supported.
26 occur after memory is allocated for dev->priv. Deallocated memory
29 Paul Gortmaker : Discontinued PCI support - use ne2k-pci.c instead.
34 /* Routines for the NatSemi-based designs (NE[12]000). */
[all …]
/openbmc/u-boot/board/boundary/nitrogen6x/
H A D6x_upgrade.txt2 echo "check U-Boot" ;
4 if ${fs}load ${dtype} ${disk}:1 12000000 u-boot.imx || ${fs}load ${dtype} ${disk}:1 12000000 u-boot…
6 if sf probe || sf probe || \
7 sf probe 1 27000000 || sf probe 1 27000000 ; then
11 echo "------- U-Boot versions match" ;
13 echo "Need U-Boot upgrade" ;
27 while echo "---- U-Boot upgraded. reset" ; do
34 echo "Error re-reading EEPROM" ;
44 echo "No U-Boot image found on SD card" ;
/openbmc/linux/drivers/gpu/drm/i915/
H A DKconfig.profile35 that complements the runtime-pm autosuspend and provides a lower
46 check the health of the GPU and undertake regular house-keeping of
62 HW will be reset to allow the more important context to execute.
69 The compiled in default may get overridden at driver probe time on
80 before the timer expires, the HW will be reset to allow the more
88 The compiled in default may get overridden at driver probe time on
98 take a non-negligible time to setup, we do a short spin first to
110 int "How long to wait for an engine to quiesce gracefully before reset (ms)"
116 damage as the system is reset in order to recover. The corollary is
117 that the reset itself may take longer and so be more disruptive to
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmicrel-ks8995.txt3 Required properties (according to spi-bus.txt):
4 - compatible: either "micrel,ks8995", "micrel,ksz8864" or "micrel,ksz8795"
7 - reset-gpios : phandle of gpio that will be used to reset chip during probe
11 spi-master {
17 spi-max-frequency = <50000000>;
18 reset-gpios = <&gpio0 46 GPIO_ACTIVE_LOW>;
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dccu.h1 // SPDX-License-Identifier: GPL-2.0+
11 * enum ccu_flags - ccu clock/reset flags
14 * @CCU_RST_F_IS_VALID: is given reset control is valid?
22 * struct ccu_clk_gate - ccu clock gate
40 * struct ccu_reset - ccu reset
41 * @off: reset offset
42 * @bit: reset bit
43 * @flags: ccu reset control flags
51 #define RESET(_off, _bit) { \ macro
58 * struct ccu_desc - clock control unit descriptor
[all …]
/openbmc/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");
64 return sdio_memcpy_fromio(self->func, dst, addr, count); in cw1200_sdio_memcpy_fromio()
71 return sdio_memcpy_toio(self->func, addr, (void *)src, count); in cw1200_sdio_memcpy_toio()
76 sdio_claim_host(self->func); in cw1200_sdio_lock()
81 sdio_release_host(self->func); in cw1200_sdio_unlock()
89 if (self->core) in cw1200_sdio_irq_handler()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dak5386.txt1 AK5386 Single-ended 24-Bit 192kHz delta-sigma ADC
7 - compatible : "asahi-kasei,ak5386"
11 - reset-gpio : a GPIO spec for the reset/power down pin.
12 If specified, it will be deasserted at probe time.
13 - va-supply : a regulator spec, providing 5.0V
14 - vd-supply : a regulator spec, providing 3.3V
19 compatible = "asahi-kasei,ak5386";
20 reset-gpio = <&gpio0 23>;
21 va-supply = <&vdd_5v0_reg>;
22 vd-supply = <&vdd_3v3_reg>;
H A Dadi,adau1701.txt5 - compatible: Should contain "adi,adau1701"
6 - reg: The i2c address. Value depends on the state of ADDR0
11 - reset-gpio: A GPIO spec to define which pin is connected to the
12 chip's !RESET pin. If specified, the driver will
13 assert a hardware reset at probe time.
14 - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs
19 - adi,pin-config: An array of 12 numerical values selecting one of the
23 - avdd-supply: Power supply for AVDD, providing 3.3V
24 - dvdd-supply: Power supply for DVDD, providing 3.3V
32 reset-gpio = <&gpio 23 0>;
[all …]
/openbmc/u-boot/drivers/watchdog/
H A Dcdns_wdt.c1 // SPDX-License-Identifier: GPL-2.0
3 * Cadence WDT driver - Used by Xilinx Zynq
18 u32 zmr; /* WD Zero mode register, offset - 0x0 */
19 u32 ccr; /* Counter Control Register offset - 0x4 */
20 u32 restart; /* Restart key register, offset - 0x8 */
21 u32 status; /* Status Register, offset - 0xC */
32 /* Supports 1 - 516 sec */
62 * Zero Mode Register - This register controls how the time out is indicated
66 #define CDNS_WDT_ZMR_RSTEN_MASK 0x00000002 /* Enable the reset output */
68 #define CDNS_WDT_ZMR_RSTLEN_16 0x00000030 /* Reset pulse of 16 pclk cycles */
[all …]
/openbmc/linux/drivers/net/ethernet/sfc/falcon/
H A Defx.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2005-2006 Fen Systems Ltd.
5 * Copyright 2005-2013 Solarflare Communications Inc.
83 /* Reset workqueue. If any NIC has a hardware failure then a reset will be
84 * queued onto this work queue. This is not a per-nic work queue, because
89 /* How often and how many times to poll for a reset while waiting for a
107 * This is only used in MSI-X interrupt mode
116 * On Falcon-based NICs, this will:
117 * - Check the on-board hardware monitor;
118 * - Poll the link state and reconfigure the hardware as necessary.
[all …]
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_sandbox.c1 // SPDX-License-Identifier: GPL-2.0+
42 *status = priv->status; in virtio_sandbox_get_status()
54 priv->status = status; in virtio_sandbox_set_status()
63 /* 0 status means a reset */ in virtio_sandbox_reset()
64 priv->status = 0; in virtio_sandbox_reset()
73 *features = priv->device_features; in virtio_sandbox_get_features()
83 priv->driver_features = uc_priv->features; in virtio_sandbox_set_features()
99 err = -ENOMEM; in virtio_sandbox_setup_vq()
104 priv->queue_desc = addr; in virtio_sandbox_setup_vq()
107 priv->queue_available = addr; in virtio_sandbox_setup_vq()
[all …]
/openbmc/linux/include/linux/cdx/
H A Dcdx_bus.h1 /* SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
38 * CDX_DEVICE_DRIVER_OVERRIDE - macro used to describe a CDX device with
51 * struct cdx_ops - Callbacks supported by CDX controller.
53 * @dev_configure: configuration like reset, master_enable,
76 * struct cdx_device - CDX device object
112 * struct cdx_driver - CDX device driver
115 * @probe: Function called when a device is added
118 * @reset_prepare: Function called before is reset to notify driver
119 * @reset_done: Function called after reset is complete to notify driver
[all …]

12345678910>>...45