Home
last modified time | relevance | path

Searched +full:sw +full:- +full:rst (Results 1 – 25 of 63) sorted by relevance

123

/linux/Documentation/devicetree/bindings/phy/
H A Dphy-miphy28lp.txt8 - compatible : Should be "st,miphy28lp-phy".
9 - st,syscfg : Should be a phandle of the system configuration register group
12 Required nodes : A sub-node is required for each channel the controller
14 'reg' and 'reg-names' properties are used inside these
19 - #phy-cells : Should be 1 (See second example)
21 - PHY_TYPE_SATA
22 - PHY_TYPE_PCI
23 - PHY_TYPE_USB3
24 - reg : Address and length of the register set for the device.
25 - reg-names : The names of the register addresses corresponding to the registers
[all …]
/linux/drivers/watchdog/
H A Dasm9260_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2014 Oleksij Rempel <linux@rempel-privat.de>
25 /* This bit set if timeout reached. Cleared by SW. */
59 struct reset_control *rst; member
71 iowrite32(0xaa, priv->iobase + HW_WDFEED); in asm9260_wdt_feed()
72 iowrite32(0x55, priv->iobase + HW_WDFEED); in asm9260_wdt_feed()
82 counter = ioread32(priv->iobase + HW_WDTV); in asm9260_wdt_gettimeleft()
84 return counter / priv->wdt_freq; in asm9260_wdt_gettimeleft()
92 counter = wdd->timeout * priv->wdt_freq; in asm9260_wdt_updatetimeout()
94 iowrite32(counter, priv->iobase + HW_WDTC); in asm9260_wdt_updatetimeout()
[all …]
/linux/drivers/ata/
H A Dahci_st.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/dma-mapping.h>
56 struct st_ahci_drv_data *drv_data = hpriv->plat_data; in st_ahci_deassert_resets()
59 if (drv_data->pwr) { in st_ahci_deassert_resets()
60 err = reset_control_deassert(drv_data->pwr); in st_ahci_deassert_resets()
67 if (drv_data->sw_rst) { in st_ahci_deassert_resets()
68 err = reset_control_deassert(drv_data->sw_rst); in st_ahci_deassert_resets()
70 dev_err(dev, "unable to bring out of sw-rst\n"); in st_ahci_deassert_resets()
75 if (drv_data->pwr_rst) { in st_ahci_deassert_resets()
76 err = reset_control_deassert(drv_data->pwr_rst); in st_ahci_deassert_resets()
[all …]
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_devlink.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
2 /* Copyright (c) 2019-2020 Marvell International Ltd. All rights reserved */
9 /* All driver-specific traps must be documented in
10 * Documentation/networking/devlink/prestera.rst
127 struct prestera_switch *sw; member
356 struct prestera_switch *sw = devlink_priv(dl); in prestera_dl_info_get() local
360 sw->dev->fw_rev.maj, in prestera_dl_info_get()
361 sw->dev->fw_rev.min, in prestera_dl_info_get()
362 sw->dev->fw_rev.sub); in prestera_dl_info_get()
389 dev->dev); in prestera_devlink_alloc()
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dnvidia,tegra30-tsensor.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra30-tsensor.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Osipenko <digetx@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
12 - Thierry Reding <thierry.reding@gmail.com>
19 Generates an interrupt to SW to lower temperature via DVFS on reaching
30 $ref: thermal-sensor.yaml#
34 const: nvidia,tegra30-tsensor
[all …]
/linux/drivers/dma/
H A Dmmp_pdma.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include <linux/dma-mapping.h>
37 #define DCSR_NODESC BIT(30) /* No-Descriptor Fetch (read / write) */
39 #define DCSR_REQPEND BIT(8) /* Request Pending (read-only) */
40 #define DCSR_STOPSTATE BIT(3) /* Stop State (read-only) */
67 #define DCMD_ENDIAN BIT(18) /* Device Endian-ness. */
74 #define DCMD_LENGTH 0x01fff /* length mask (max = 8K - 1) */
84 * The following 32-bit words are only used in the 64-bit, ie.
89 u32 ddadrh; /* High 32-bit of DDADR */
90 u32 dsadrh; /* High 32-bit of DSADR */
[all …]
/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved.
6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
56 /* hw-ids */
152 * ->L0s not L1 */
171 #define PM_CTRL_CLK_SWH_L1 BIT(13) /* en pcie clk sw in L1 */
200 * serdes, not sw to 25M */
212 #define MASTER_CTRL_SOFT_RST BIT(0) /* RST MAC & DMA */
232 #define GPHY_CTRL_PHY_PLL_ON BIT(13) /* 1:pll always on, 0:can sw */
237 #define GPHY_CTRL_PHY_IDDQ_DIS BIT(8) /* pw on RST */
[all …]
/linux/drivers/dma/stm32/
H A Dstm32-mdma.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Pierre-Yves Mordret <pierre-yves.mordret@st.com>
10 * Inspired by stm32-dma.c and dma-jz4780.c
17 #include <linux/dma-mapping.h>
33 #include "../virt-dma.h"
265 return container_of(chan->vchan.chan.device, struct stm32_mdma_device, in stm32_mdma_get_dev()
281 return &chan->vchan.chan.dev->device; in chan2dev()
286 return mdma_dev->ddev.dev; in mdma2dev()
291 return readl_relaxed(dmadev->base + reg); in stm32_mdma_read()
296 writel_relaxed(val, dmadev->base + reg); in stm32_mdma_write()
[all …]
/linux/Documentation/translations/zh_TW/process/
H A Dcoding-style.rst1 .. SPDX-License-Identifier: GPL-2.0
3 .. include:: ../disclaimer-zh_TW.rst
5 :Original: Documentation/process/coding-style.rst
10 - 張樂 Zhang Le <r0bertz@gentoo.org>
11 - Andy Deng <theandy.deng@gmail.com>
12 - 吳想成 <bobwxc@email.cn>
15 - 王聰 Wang Cong <xiyou.wangcong@gmail.com>
16 - wheelz <kernel.zeng@gmail.com>
17 - 管旭東 Xudong Guan <xudong.guan@gmail.com>
18 - Li Zefan <lizf@cn.fujitsu.com>
[all …]
/linux/drivers/i2c/busses/
H A Di2c-designware-core.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
192 * struct dw_i2c_dev - private i2c-designware data
201 * @rst: optional reset for the controller
216 * @sw_mask: SW mask of DW_IC_INTR_MASK used in polling mode
225 * @rx_outstanding: current master-rx elements in tx fifo
239 * -1 if there is no semaphore.
243 * @mode: operation mode - DW_IC_MASTER or DW_IC_SLAVE
263 struct reset_control *rst; member
355 dev->status |= STATUS_ACTIVE; in __i2c_dw_enable()
356 regmap_write(dev->map, DW_IC_ENABLE, 1); in __i2c_dw_enable()
[all …]
/linux/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
H A Ddpio-driver.rst7 :Copyright: |copy| 2016-2018 NXP
24 Documentation/networking/device_drivers/ethernet/freescale/dpaa2/overview.rst
29 ---------------
31 The DPIO driver is bound to DPIO objects discovered on the fsl-mc bus and
40 The Linux DPIO driver consists of 3 primary components--
41 DPIO object driver-- fsl-mc driver that manages the DPIO object
43 DPIO service-- provides APIs to other Linux drivers for services
45 QBman portal interface-- sends portal commands, gets responses::
47 fsl-mc other
50 +---+----+ +------+-----+
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-wqe.h7 * Copyright (c) 2003-2008 Cavium Networks
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
43 #include <asm/octeon/cvmx-packet.h>
102 * - 1 = Malformed L4
103 * - 2 = L4 Checksum Error: the L4 checksum value is
104 * - 3 = UDP Length Error: The UDP length field would
108 * - 4 = Bad L4 Port: either the source or destination
110 * - 8 = TCP FIN Only: the packet is TCP and only the
112 * - 9 = TCP No Flags: the packet is TCP and no flags
[all …]
/linux/Documentation/networking/device_drivers/can/ctu/
H A Dctucanfd-driver.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
10 ------------------------
19 `Vivado integration <https://gitlab.fel.cvut.cz/canbus/zynq/zynq-can-sja1000-top>`_
20 and Intel Cyclone V 5CSEMA4U23C6 based DE0-Nano-SoC Terasic board
21 `QSys integration <https://gitlab.fel.cvut.cz/canbus/intel-soc-ctucanfd>`_
23 `PCIe integration <https://gitlab.fel.cvut.cz/canbus/pcie-ctucanfd>`_ of the core.
33 version of emulation support can be cloned from ctu-canfd branch of QEMU local
34 development `repository <https://gitlab.fel.cvut.cz/canbus/qemu-canbus>`_.
38 ---------------
59 it allows for device hot-plug.
[all …]
/linux/drivers/phy/tegra/
H A Dxusb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2014-2022, NVIDIA CORPORATION. All rights reserved.
31 if (args->args_count != 0) in tegra_xusb_pad_of_xlate()
32 return ERR_PTR(-EINVAL); in tegra_xusb_pad_of_xlate()
34 for (i = 0; i < pad->soc->num_lanes; i++) { in tegra_xusb_pad_of_xlate()
35 if (!pad->lanes[i]) in tegra_xusb_pad_of_xlate()
38 if (pad->lanes[i]->dev.of_node == args->np) { in tegra_xusb_pad_of_xlate()
39 phy = pad->lanes[i]; in tegra_xusb_pad_of_xlate()
45 phy = ERR_PTR(-ENODEV); in tegra_xusb_pad_of_xlate()
53 .compatible = "nvidia,tegra124-xusb-padctl",
[all …]
/linux/sound/soc/codecs/
H A Dcs35l35.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * cs35l35.h -- CS35L35 ALSA SoC audio driver
35 #define CS35L35_PROTECT_CTL 0x18 /* Amp Gain - Prot Ctl Param */
46 #define CS35L35_BST_CONV_SW_FREQ 0x24 /* Boost Conv L BST SW Freq */
287 /* GPIO for /RST */
/linux/drivers/net/wireless/ath/ath12k/
H A Drx_desc.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2025 Qualcomm Innovation Center, Inc. All rights reserved.
257 * field in address search failure cache-only entry should
261 * If set, intra-BSS routing detection is enabled
277 * This is set by SW for peers which are being handled by a
278 * host SW/accelerator subsystem that also handles packet
279 * buffer management for WiFi-to-PPE routing.
281 * This is cleared by SW for peers which are being handled
282 * by a different subsystem, completely disabling WiFi-to-PPE
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H A Drx_desc.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
151 * SW processes frames based on certain classifications. Values
161 * A-MPDU frame but a stand alone MPDU. Interior MPDU in an
162 * A-MPDU shall have both first_mpdu and last_mpdu bits set to
185 * Set if packet is not a non-QoS data frame. Only set when
209 * Set if number of MSDUs in A-MSDU is above a threshold or if the
277 * Indicates that the MPDU was pre-maturely terminated
298 * A-MSDU could not be properly de-agregated.
588 * SW processes frames based on certain classifications. Values
[all …]
/linux/drivers/iio/imu/
H A Dadis.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
27 * __adis_write_reg() - write N bytes to register (unlocked version)
41 .tx_buf = adis->tx, in __adis_write_reg()
44 .delay.value = adis->data->write_delay, in __adis_write_reg()
47 .tx_buf = adis->tx + 2, in __adis_write_reg()
50 .delay.value = adis->data->write_delay, in __adis_write_reg()
53 .tx_buf = adis->tx + 4, in __adis_write_reg()
56 .delay.value = adis->data->write_delay, in __adis_write_reg()
59 .tx_buf = adis->tx + 6, in __adis_write_reg()
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dtc_conntrack.c1 // SPDX-License-Identifier: GPL-2.0-only
33 struct efx_nic *efx = zone->efx; in efx_tc_ct_zone_free()
35 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_zone_free()
37 zone->zone); in efx_tc_ct_zone_free()
39 nf_flow_table_offload_del_cb(zone->nf_ft, efx_tc_flow_block, zone); in efx_tc_ct_zone_free()
48 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_free()
50 conn->cookie); in efx_tc_ct_free()
55 efx_tc_flower_release_counter(efx, conn->cnt); in efx_tc_ct_free()
63 rc = rhashtable_init(&efx->tc->ct_zone_ht, &efx_tc_ct_zone_ht_params); in efx_tc_init_conntrack()
66 rc = rhashtable_init(&efx->tc->ct_ht, &efx_tc_ct_ht_params); in efx_tc_init_conntrack()
[all …]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
35 See also Documentation/power/runtime_pm.rst, pci=noacpi
[all …]
/linux/arch/arm/mach-omap2/
H A Domap_hwmod.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2011 Nokia Corporation
6 * Copyright (C) 2011-2012 Texas Instruments, Inc.
13 * These headers and macros are used to define OMAP on-chip module
16 * omap_hwmod code, in arch/arm/mach-omap2/omap_hwmod.c (as of this
20 * - add interconnect error log structures
21 * - init_conn_id_bit (CONNID_BIT_VECTOR)
22 * - implement default hwmod SMS/SDRC flags?
23 * - move Linux-specific data ("non-ROM data") out
95 /* modulemode control type (SW or HW) */
[all …]
/linux/drivers/net/ethernet/atheros/alx/
H A Dreg.h115 /* bit12: 1:alwys select pclk from serdes, not sw to 25M */
145 /* bit0: out of dsp RST state */
374 /* Size = tx-packet(1522) + IPG(12) + SOF(8) + 64(Pause) + IPG(12) + SOF(8) +
375 * rx-packet(1522) + delay-of-link(64)
490 /* re-send assert msg if SW no response */
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-colibri.dtsi1 // SPDX-License-Identifier: GPL-2.0
15 nvidia,ddc-i2c-bus = <&hdmi_ddc>;
16 nvidia,hpd-gpio =
18 pll-supply = <&reg_1v8_avdd_hdmi_pll>;
19 vdd-supply = <&reg_3v3_avdd_hdmi>;
24 lan-reset-n-hog {
25 gpio-hog;
27 output-high;
28 line-name = "LAN_RESET#";
33 pinctrl-names = "default";
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Ddevlink_trap_control.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap control trap functionality over mlxsw. Each registered
8 # +---------------------------------+
16 # +----|----------------------------+
18 # +----|----------------------------------------------------------------------+
19 # | SW | |
28 # +----|----------------------------------------------------------------------+
30 # +----|----------------------------+
38 # +---------------------------------+
97 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
[all …]
/linux/
H A DMAINTAINERS5 ---------------------------------------------------
21 W: *Web-page* with status/info
23 B: URI for where to file *bugs*. A web-page with detailed bug
28 patches to the given subsystem. This is either an in-tree file,
29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst
46 N: [^a-z]tegra all files whose path contains tegra
64 ----------------
74 F: Documentation/networking/device_drivers/ethernet/3com/vortex.rst
83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS)
85 L: linux-scsi@vger.kernel.org
[all …]

123