/Linux-v6.1/drivers/soc/bcm/brcmstb/pm/ |
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-v6.1/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
D | base.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 40 if (device->handle == handle) in nvkm_device_find_locked() 64 name[nr - 1] = device->handle; in nvkm_device_list() 94 .sw = { 0x00000001, nv04_sw_new }, 115 .sw = { 0x00000001, nv04_sw_new }, 157 .sw = { 0x00000001, nv10_sw_new }, 179 .sw = { 0x00000001, nv10_sw_new }, 201 .sw = { 0x00000001, nv10_sw_new }, 223 .sw = { 0x00000001, nv10_sw_new }, [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/watchdog/ |
D | da9062-wdt.txt | 5 - compatible: should be one of the following valid compatible string lines: 6 "dlg,da9061-watchdog", "dlg,da9062-watchdog" 7 "dlg,da9062-watchdog" 10 - dlg,use-sw-pm: Add this property to disable the watchdog during suspend. 11 Only use this option if you can't use the watchdog automatic suspend 13 - dlg,wdt-sd: Set what happens on watchdog timeout. If this bit is set the 15 POWERDOWN. Can be 0 or 1. Only use this option if you want to change the 24 compatible = "dlg,da9062-watchdog"; 28 Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver 32 compatible = "dlg,da9061-watchdog", "dlg,da9062-watchdog";
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | sun9i-a80-cubieboard4.dts | 5 * Chen-Yu Tsai <wens@csie.org> 7 * This file is dual-licensed: you can use it either under the terms 27 * restriction, including without limitation the rights to use, 42 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 46 /dts-v1/; 47 #include "sun9i-a80.dtsi" 49 #include <dt-bindings/gpio/gpio.h> 53 compatible = "cubietech,a80-cubieboard4", "allwinner,sun9i-a80"; 60 stdout-path = "serial0:115200n8"; 64 compatible = "gpio-leds"; [all …]
|
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-v6.1/Documentation/devicetree/bindings/mfd/ |
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. 19 - dlg,da9063 20 - dlg,da9063l 28 interrupt-controller: true 30 "#interrupt-cells": [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
D | jpeg_v4_0.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 43 * jpeg_v4_0_early_init - set function pointers 54 adev->jpeg.num_jpeg_inst = 1; in jpeg_v4_0_early_init() 63 * jpeg_v4_0_sw_init - sw init for JPEG block 67 * Load firmware and sw initialization 77 VCN_4_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v4_0_sw_init() 89 ring = &adev->jpeg.inst->ring_dec; in jpeg_v4_0_sw_init() 90 ring->use_doorbell = true; in jpeg_v4_0_sw_init() 91 ring->doorbell_index = (adev->doorbell_index.vcn.vcn_ring0_1 << 1) + 1; in jpeg_v4_0_sw_init() [all …]
|
D | jpeg_v3_0.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 43 * jpeg_v3_0_early_init - set function pointers 55 switch (adev->ip_versions[UVD_HWIP][0]) { in jpeg_v3_0_early_init() 61 return -ENOENT; in jpeg_v3_0_early_init() 65 adev->jpeg.num_jpeg_inst = 1; in jpeg_v3_0_early_init() 74 * jpeg_v3_0_sw_init - sw init for JPEG block 78 * Load firmware and sw initialization 88 VCN_2_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v3_0_sw_init() 100 ring = &adev->jpeg.inst->ring_dec; in jpeg_v3_0_sw_init() [all …]
|
D | jpeg_v2_0.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 41 * jpeg_v2_0_early_init - set function pointers 51 adev->jpeg.num_jpeg_inst = 1; in jpeg_v2_0_early_init() 60 * jpeg_v2_0_sw_init - sw init for JPEG block 64 * Load firmware and sw initialization 74 VCN_2_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v2_0_sw_init() 86 ring = &adev->jpeg.inst->ring_dec; in jpeg_v2_0_sw_init() 87 ring->use_doorbell = true; in jpeg_v2_0_sw_init() 88 ring->doorbell_index = (adev->doorbell_index.vcn.vcn_ring0_1 << 1) + 1; in jpeg_v2_0_sw_init() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.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 50 * DO NOT use these for err/warn/info/debug messages. 51 * Use dev_err, dev_warn, dev_info and dev_dbg instead. 84 struct amdgpu_device *adev = smu->adev; in smu_v11_0_init_microcode() 93 ((adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 9)) || in smu_v11_0_init_microcode() 94 (adev->ip_versions[MP1_HWIP][0] == IP_VERSION(11, 0, 7)))) in smu_v11_0_init_microcode() 97 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v11_0_init_microcode() 123 dev_err(adev->dev, "Unsupported IP version 0x%x\n", in smu_v11_0_init_microcode() 124 adev->ip_versions[MP1_HWIP][0]); in smu_v11_0_init_microcode() [all …]
|
/Linux-v6.1/drivers/thunderbolt/ |
D | tb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - bus logic (NHI independent) 22 * struct tb_cm - Simple Thunderbolt connection manager 41 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 62 ev->tb = tb; in tb_queue_hotplug() 63 ev->route = route; in tb_queue_hotplug() 64 ev->port = port; in tb_queue_hotplug() 65 ev->unplug = unplug; in tb_queue_hotplug() 66 INIT_WORK(&ev->work, tb_handle_hotplug); in tb_queue_hotplug() 67 queue_work(tb->wq, &ev->work); in tb_queue_hotplug() [all …]
|
D | switch.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - switch/port utility functions 11 #include <linux/nvmem-provider.h> 30 MODULE_PARM_DESC(clx, "allow low power states on the high-speed lanes (default: true)"); 40 static struct nvm_auth_status *__nvm_get_auth_status(const struct tb_switch *sw) in __nvm_get_auth_status() argument 45 if (uuid_equal(&st->uuid, sw->uuid)) in __nvm_get_auth_status() 52 static void nvm_get_auth_status(const struct tb_switch *sw, u32 *status) in nvm_get_auth_status() argument 57 st = __nvm_get_auth_status(sw); in nvm_get_auth_status() 60 *status = st ? st->status : 0; in nvm_get_auth_status() 63 static void nvm_set_auth_status(const struct tb_switch *sw, u32 status) in nvm_set_auth_status() argument [all …]
|
/Linux-v6.1/drivers/platform/x86/intel/ |
D | vbtn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input/sparse-keymap.h> 42 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */ 43 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */ 44 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */ 45 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */ 46 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */ 47 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */ 54 * intel-vbtn code, always seem to use this for 2-in-1s / convertibles and set 55 * SW_DOCK=1 when in laptop-mode (in tandem with setting SW_TABLET_MODE=0). [all …]
|
/Linux-v6.1/drivers/watchdog/ |
D | da9063_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 * others: timeout = 2048 ms * 2^(TWDSCALE-1). 34 #define DA9063_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1) 60 regmap_read(da9063->regmap, DA9063_REG_CONTROL_D, &val); in da9063_wdt_read_timeout() 67 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_disable_timer() 93 return regmap_update_bits(da9063->regmap, DA9063_REG_CONTROL_D, in da9063_wdt_update_timeout() 102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout); in da9063_wdt_start() 104 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start() 117 dev_alert(da9063->dev, "Watchdog failed to stop (err = %d)\n", in da9063_wdt_stop() 135 ret = regmap_write(da9063->regmap, DA9063_REG_CONTROL_F, in da9063_wdt_ping() [all …]
|
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-v6.1/drivers/tty/serial/8250/ |
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-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 13 #include "sw.h" 25 rtlpci->const_amdpci_aspm = 0; in rtl92d_init_aspm_vars() 29 * 0 - Disable ASPM, in rtl92d_init_aspm_vars() 30 * 1 - Enable ASPM without Clock Req, in rtl92d_init_aspm_vars() 31 * 2 - Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 32 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92d_init_aspm_vars() 33 * 4 - Always Enable ASPM without Clock Req. in rtl92d_init_aspm_vars() 36 rtlpci->const_pci_aspm = 3; in rtl92d_init_aspm_vars() [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
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-v6.1/drivers/iio/adc/ |
D | ab8500-gpadc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 52 /* 0 = use rising edge, 1 = use falling edge */ 54 /* 0 = use VTVOUT, 1 = use VRTC as pull-up supply for battery temp NTC */ 63 * the bit layout is the same for SW and HW conversion set-up 163 #define AB8500_ADC_CH_IBAT_MIN (-6000) /* mA range measured by ADC for ibat */ 165 #define AB8500_ADC_CH_IBAT_MIN_V (-60) /* mV range measured by ADC for ibat */ 167 #define AB8500_GPADC_IBAT_VDROP_L (-56) /* mV */ 192 * struct ab8500_adc_cal_data - Table for storing gain and offset for the 207 * struct ab8500_gpadc_chan_info - per-channel GPADC info [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/dma/ |
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-v6.1/drivers/gpu/drm/amd/pm/swsmu/smu13/ |
D | smu_v13_0.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 50 * DO NOT use these for err/warn/info/debug messages. 51 * Use dev_err, dev_warn, dev_info and dev_dbg instead. 90 struct amdgpu_device *adev = smu->adev; in smu_v13_0_init_microcode() 103 switch (adev->ip_versions[MP1_HWIP][0]) { in smu_v13_0_init_microcode() 114 err = request_firmware(&adev->pm.fw, fw_name, adev->dev); in smu_v13_0_init_microcode() 117 err = amdgpu_ucode_validate(adev->pm.fw); in smu_v13_0_init_microcode() 121 hdr = (const struct smc_firmware_header_v1_0 *) adev->pm.fw->data; in smu_v13_0_init_microcode() 122 amdgpu_ucode_print_smc_hdr(&hdr->header); in smu_v13_0_init_microcode() [all …]
|
/Linux-v6.1/include/linux/ |
D | console.h | 11 * 10-Mar-94: Arno Griffioen: Conversion for vt100 emulator port from PC LINUX 35 * struct consw - callbacks for consoles 90 * Restore the console to its pre-debug state as closely as possible. 103 int do_take_over_console(const struct consw *sw, int first, int last, int deflt); 104 void give_up_console(const struct consw *sw); 128 * If a console driver is marked CON_BOOT then it will be auto-unregistered 129 * when the first real console is registered. This is for early-printk drivers. 138 #define CON_EXTENDED (64) /* Use the extended output format a la /dev/kmsg */ 164 for (con = console_drivers; con != NULL; con = con->next) 199 /* Suspend and resume console messages over PM events */
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2014 Realtek Corporation.*/ 28 rtlpci->const_amdpci_aspm = 0; in rtl92ee_init_aspm_vars() 32 * 0 - Disable ASPM, in rtl92ee_init_aspm_vars() 33 * 1 - Enable ASPM without Clock Req, in rtl92ee_init_aspm_vars() 34 * 2 - Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 35 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92ee_init_aspm_vars() 36 * 4 - Always Enable ASPM without Clock Req. in rtl92ee_init_aspm_vars() 39 rtlpci->const_pci_aspm = 3; in rtl92ee_init_aspm_vars() 41 /*Setting for PCI-E device */ in rtl92ee_init_aspm_vars() [all …]
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 30 rtlpci->const_amdpci_aspm = 0; in rtl8723e_init_aspm_vars() 34 * 0 - Disable ASPM, in rtl8723e_init_aspm_vars() 35 * 1 - Enable ASPM without Clock Req, in rtl8723e_init_aspm_vars() 36 * 2 - Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 37 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars() 38 * 4 - Always Enable ASPM without Clock Req. in rtl8723e_init_aspm_vars() 41 rtlpci->const_pci_aspm = 3; in rtl8723e_init_aspm_vars() 43 /*Setting for PCI-E device */ in rtl8723e_init_aspm_vars() [all …]
|
/Linux-v6.1/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | sw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 28 rtlpci->const_amdpci_aspm = 0; in rtl92c_init_aspm_vars() 32 * 0 - Disable ASPM, in rtl92c_init_aspm_vars() 33 * 1 - Enable ASPM without Clock Req, in rtl92c_init_aspm_vars() 34 * 2 - Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 35 * 3 - Alwyas Enable ASPM with Clock Req, in rtl92c_init_aspm_vars() 36 * 4 - Always Enable ASPM without Clock Req. in rtl92c_init_aspm_vars() 39 rtlpci->const_pci_aspm = 3; in rtl92c_init_aspm_vars() 41 /*Setting for PCI-E device */ in rtl92c_init_aspm_vars() [all …]
|