/linux/Documentation/devicetree/bindings/watchdog/ |
H A D | dlg,da9062-watchdog.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steve Twiss <stwiss.opensource@diasemi.com> 13 - $ref: watchdog.yaml# 18 - enum: 19 - dlg,da9062-watchdog 20 - dlg,da9063-watchdog 21 - items: [all …]
|
/linux/drivers/soc/bcm/brcmstb/pm/ |
H A D | s2-mips.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include "pm.h" 23 sw ra, 0(sp) 24 sw s0, 4(sp) 25 sw s1, 8(sp) 26 sw s2, 12(sp) 27 sw s3, 16(sp) 28 sw s4, 20(sp) 29 sw s5, 24(sp) 30 sw s6, 28(sp) [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_uncore_frequency_scaling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 :Copyright: |copy| 2022-2023 Intel Corporation 13 ------------ 26 use both cpufreq and the uncore scaling interface to distribute power and 30 --------------- 45 This is a read-only attribute. If users adjust max_freq_khz, 50 This is a read-only attribute. If users adjust min_freq_khz, 62 SoCs with TPMI (Topology Aware Register and PM Capsule Interface) 63 ----------------------------------------------------------------- 76 SoCs with the support of TPMI (Topology Aware Register and PM Capsule [all …]
|
/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun9i-a80-optimus.dts | 2 * Copyright 2014 Chen-Yu Tsai 4 * Chen-Yu Tsai <wens@csie.org> 6 * This file is dual-licensed: you can use it either under the terms 26 * restriction, including without limitation the rights to use, 41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 45 /dts-v1/; 46 #include "sun9i-a80.dtsi" 48 #include <dt-bindings/gpio/gpio.h> 52 compatible = "merrii,a80-optimus", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; [all …]
|
/linux/drivers/thunderbolt/ |
H A D | tb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - bus logic (NHI independent) 24 * direction. This is 40G - 10% guard band bandwidth. 47 * struct tb_cm - Simple Thunderbolt connection manager 68 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 89 ev->tb = tb; in tb_queue_hotplug() 90 ev->route = route; in tb_queue_hotplug() 91 ev->port = port; in tb_queue_hotplug() 92 ev->unplug = unplug; in tb_queue_hotplug() 93 INIT_WORK(&ev->work, tb_handle_hotplug); in tb_queue_hotplug() [all …]
|
H A D | switch.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - switch/port utility functions 12 #include <linux/nvmem-provider.h> 37 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() argument 42 if (uuid_equal(&st->uuid, sw->uuid)) in __nvm_get_auth_status() 49 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() argument 54 st = __nvm_get_auth_status(sw); in nvm_get_auth_status() 57 *status = st ? st->status : 0; in nvm_get_auth_status() 60 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() argument 64 if (WARN_ON(!sw->uuid)) in nvm_set_auth_status() [all …]
|
H A D | path.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - path/tunnel functionality 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 21 hop->in_hop_index, regs->out_port, regs->next_hop); in tb_dump_hop() 22 tb_port_dbg(port, " Weight: %d Priority: %d Credits: %d Drop: %d PM: %d\n", in tb_dump_hop() 23 regs->weight, regs->priority, regs->initial_credits, in tb_dump_hop() 24 regs->drop_packages, regs->pmps); in tb_dump_hop() 26 regs->counter_enable, regs->counter); in tb_dump_hop() 28 regs->ingress_fc, regs->egress_fc, in tb_dump_hop() 29 regs->ingress_shared_buffer, regs->egress_shared_buffer); in tb_dump_hop() [all …]
|
/linux/drivers/platform/x86/intel/ |
H A D | vbtn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/input/sparse-keymap.h> 45 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */ 46 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */ 47 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */ 48 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */ 49 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */ 50 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */ 57 * intel-vbtn code, always seem to use this for 2-in-1s / convertibles and set 58 * SW_DOCK=1 when in laptop-mode (in tandem with setting SW_TABLET_MODE=0). [all …]
|
/linux/drivers/tty/serial/8250/ |
H A D | 8250_mtk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 #include <linux/dma-mapping.h> 44 #define MTK_UART_EFR_NO_SW_FC 0x0 /* no sw flow control */ 45 #define MTK_UART_EFR_XON1_XOFF1 0xa /* XON1/XOFF1 as sw flow control */ 46 #define MTK_UART_EFR_XON2_XOFF2 0x5 /* XON2/XOFF2 as sw flow control */ 52 #define MTK_UART_ESCAPE_CHAR 0x77 /* Escape char added under sw fc */ 94 struct uart_8250_dma *dma = up->dma; in mtk8250_dma_rx_complete() 95 struct mtk8250_data *data = up->port.private_data; in mtk8250_dma_rx_complete() 96 struct tty_port *tty_port = &up->port.state->port; in mtk8250_dma_rx_complete() 102 if (data->rx_status == DMA_RX_SHUTDOWN) in mtk8250_dma_rx_complete() [all …]
|
/linux/drivers/watchdog/ |
H A D | da9063_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 33 #define DA9063_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1) 59 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout() 66 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer() 92 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout() 101 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() 103 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start() 116 dev_alert(da9063->dev, "Watchdog failed to stop (err = %d)\n", in da9063_wdt_stop() 134 ret = regmap_write(da9063->regmap, DA9063_REG_CONTROL_F, in da9063_wdt_ping() [all …]
|
H A D | da9062_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 #define DA9062_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1) 29 #define DA9062_WDG_DEFAULT_TIMEOUT wdt_timeout[DA9062_TWDSCALE_MAX-1] 42 regmap_read(wdt->hw->regmap, DA9062AA_CONTROL_D, &val); in da9062_wdt_read_timeout() 61 return regmap_update_bits(wdt->hw->regmap, DA9062AA_CONTROL_F, in da9062_reset_watchdog_timer() 69 struct da9062 *chip = wdt->hw; in da9062_wdt_update_timeout_register() 71 regmap_update_bits(chip->regmap, in da9062_wdt_update_timeout_register() 78 return regmap_update_bits(chip->regmap, in da9062_wdt_update_timeout_register() 90 selector = da9062_wdt_timeout_to_sel(wdt->wdtdev.timeout); in da9062_wdt_start() 93 dev_err(wdt->hw->dev, "Watchdog failed to start (err = %d)\n", in da9062_wdt_start() [all …]
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 2 /* Copyright (c) 2019-2021 Marvell International Ltd. All rights reserved */ 100 key->addr.v = PRESTERA_IPV4; in prestera_util_fen_info2fib_cache_key() 101 key->addr.u.ipv4 = cpu_to_be32(fen_info->dst); in prestera_util_fen_info2fib_cache_key() 102 key->prefix_len = fen_info->dst_len; in prestera_util_fen_info2fib_cache_key() 103 key->kern_tb_id = fen_info->tb_id; in prestera_util_fen_info2fib_cache_key() 106 static int prestera_util_nhc2nc_key(struct prestera_switch *sw, in prestera_util_nhc2nc_key() argument 111 if (nhc->nhc_gw_family == AF_INET) { in prestera_util_nhc2nc_key() 112 nk->addr.v = PRESTERA_IPV4; in prestera_util_nhc2nc_key() 113 nk->addr.u.ipv4 = nhc->nhc_gw.ipv4; in prestera_util_nhc2nc_key() [all …]
|
/linux/Documentation/devicetree/bindings/dma/ |
H A D | ti-edma.txt | 8 ------------------------------------------------------------------------------ 12 -------------------- 13 - compatible: Should be: 14 - "ti,edma3-tpcc" for the channel controller(s) on OMAP, 16 - "ti,k2g-edma3-tpcc", "ti,edma3-tpcc" for the 18 - #dma-cells: Should be set to <2>. The first number is the DMA request 20 - reg: Memory map of eDMA CC 21 - reg-names: "edma3_cc" 22 - interrupts: Interrupt lines for CCINT, MPERR and CCERRINT. 23 - interrupt-names: "edma3_ccint", "edma3_mperr" and "edma3_ccerrint" [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 17 #include "sw.h" 30 * 0 - Disable ASPM, in rtl92d_init_aspm_vars() 31 * 1 - Enable ASPM without Clock Req, in rtl92d_init_aspm_vars() 32 * 2 - Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 33 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 34 * 4 - Always Enable ASPM without Clock Req. in rtl92d_init_aspm_vars() 37 rtlpci->const_pci_aspm = 3; in rtl92d_init_aspm_vars() 39 /*Setting for PCI-E device */ in rtl92d_init_aspm_vars() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 29 * 0 - Disable ASPM, in rtl92ee_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92ee_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92ee_init_aspm_vars() 36 rtlpci->const_pci_aspm = 3; in rtl92ee_init_aspm_vars() 38 /*Setting for PCI-E device */ in rtl92ee_init_aspm_vars() 39 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl92ee_init_aspm_vars() [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | dlg,da9063.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Steve Twiss <stwiss.opensource@diasemi.com> 13 For device-tree bindings of other sub-modules refer to the binding documents 14 under the respective sub-system directories. 15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special 21 - https://www.dialog-semiconductor.com/products/da9063l 22 - https://www.dialog-semiconductor.com/products/da9063 23 - https://www.dialog-semiconductor.com/products/da9062 [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 29 * 0 - Disable ASPM, in rtl92c_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92c_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92c_init_aspm_vars() 36 rtlpci->const_pci_aspm = 3; in rtl92c_init_aspm_vars() 38 /*Setting for PCI-E device */ in rtl92c_init_aspm_vars() 39 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl92c_init_aspm_vars() [all …]
|
/linux/drivers/gpu/drm/amd/pm/swsmu/ |
H A D | amdgpu_smu.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 52 * DO NOT use these for err/warn/info/debug messages. 53 * Use dev_err, dev_warn, dev_info and dev_dbg instead. 85 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_get_pp_feature_mask() 86 return -EOPNOTSUPP; in smu_sys_get_pp_feature_mask() 96 if (!smu->pm_enabled || !smu->adev->pm.dpm_enabled) in smu_sys_set_pp_feature_mask() 97 return -EOPNOTSUPP; in smu_sys_set_pp_feature_mask() 104 if (!smu->ppt_funcs->set_gfx_off_residency) in smu_set_residency_gfxoff() 105 return -EINVAL; in smu_set_residency_gfxoff() [all …]
|
/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-qmp-usbc.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 26 #include "phy-qcom-qmp-common.h" 28 #include "phy-qcom-qmp.h" 29 #include "phy-qcom-qmp-pcs-misc-v3.h" 33 /* set of registers with offsets different per-PHY */ 298 /* struct qmp_phy_cfg - per-PHY initialization config */ 302 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */ 352 struct typec_switch_dev *sw; member 396 "vdda-phy", "vdda-pll", [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2013 Realtek Corporation.*/ 25 * 0 - Disable ASPM, in rtl88e_init_aspm_vars() 26 * 1 - Enable ASPM without Clock Req, in rtl88e_init_aspm_vars() 27 * 2 - Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 28 * 3 - Alwyas Enable ASPM with Clock Req, in rtl88e_init_aspm_vars() 29 * 4 - Always Enable ASPM without Clock Req. in rtl88e_init_aspm_vars() 32 rtlpci->const_pci_aspm = 3; in rtl88e_init_aspm_vars() 34 /*Setting for PCI-E device */ in rtl88e_init_aspm_vars() 35 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl88e_init_aspm_vars() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 30 * 0 - Disable ASPM, in rtl8723be_init_aspm_vars() 31 * 1 - Enable ASPM without Clock Req, in rtl8723be_init_aspm_vars() 32 * 2 - Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 33 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723be_init_aspm_vars() 34 * 4 - Always Enable ASPM without Clock Req. in rtl8723be_init_aspm_vars() 37 rtlpci->const_pci_aspm = 3; in rtl8723be_init_aspm_vars() 39 /*Setting for PCI-E device */ in rtl8723be_init_aspm_vars() 40 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl8723be_init_aspm_vars() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 25 * 0 - Disable ASPM, in rtl92s_init_aspm_vars() 26 * 1 - Enable ASPM without Clock Req, in rtl92s_init_aspm_vars() 27 * 2 - Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 28 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92s_init_aspm_vars() 29 * 4 - Always Enable ASPM without Clock Req. in rtl92s_init_aspm_vars() 32 rtlpci->const_pci_aspm = 2; in rtl92s_init_aspm_vars() 34 /*Setting for PCI-E device */ in rtl92s_init_aspm_vars() 35 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl92s_init_aspm_vars() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod.h | 1 /* 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/include/scsi/ |
H A D | libsas.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 63 /* ---------- Expander Devices ---------- */ 129 /* ---------- SATA device ---------- */ 134 u8 port_no; /* port number, if this is a PM (Port) */ 206 static inline void INIT_SAS_WORK(struct sas_work *sw, void (*fn)(struct work_struct *)) in INIT_SAS_WORK() argument 208 INIT_WORK(&sw->work, fn); in INIT_SAS_WORK() 209 INIT_LIST_HEAD(&sw->drain_node); in INIT_SAS_WORK() 287 INIT_SAS_WORK(&ev->work, fn); in INIT_SAS_EVENT() 288 ev->phy = phy; in INIT_SAS_EVENT() 289 ev->event = event; in INIT_SAS_EVENT() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-phytec-phycore-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/regulator/dlg,da9063-regulator.h> 26 compatible = "gpio-leds"; 27 pinctrl-names = "default"; 28 pinctrl-0 = <&pinctrl_gpioleds_som>; 30 som-led-green { 33 linux,default-trigger = "heartbeat"; 39 pinctrl-names = "default"; 40 pinctrl-0 = <&pinctrl_ecspi1>; [all …]
|