| /kernel/linux/linux-5.10/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 41 if (device->handle == handle) in nvkm_device_find_locked() 65 name[nr - 1] = device->handle; in nvkm_device_list() 95 .sw = nv04_sw_new, 116 .sw = nv04_sw_new, 158 .sw = nv10_sw_new, 180 .sw = nv10_sw_new, 202 .sw = nv10_sw_new, 224 .sw = nv10_sw_new, [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 18 compatible = "dlg,da9062-watchdog"; 22 Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver 26 compatible = "dlg,da9061-watchdog", "dlg,da9062-watchdog";
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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";
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
| 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() 62 return -ENOENT; in jpeg_v3_0_early_init() 66 adev->jpeg.num_jpeg_inst = 1; in jpeg_v3_0_early_init() 67 adev->jpeg.num_jpeg_rings = 1; in jpeg_v3_0_early_init() 76 * jpeg_v3_0_sw_init - sw init for JPEG block 80 * Load firmware and sw initialization 90 VCN_2_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v3_0_sw_init() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| 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 return -ENOENT; in jpeg_v3_0_early_init() 57 adev->jpeg.num_jpeg_inst = 1; in jpeg_v3_0_early_init() 66 * jpeg_v3_0_sw_init - sw init for JPEG block 70 * Load firmware and sw initialization 80 VCN_2_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v3_0_sw_init() 92 ring = &adev->jpeg.inst->ring_dec; in jpeg_v3_0_sw_init() 93 ring->use_doorbell = true; in jpeg_v3_0_sw_init() [all …]
|
| /kernel/linux/linux-6.6/drivers/thunderbolt/ |
| D | tb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - bus logic (NHI independent) 23 * direction. This is 40G - 10% guard band bandwidth. 46 * struct tb_cm - Simple Thunderbolt connection manager 67 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 82 for (i = 0; i < ARRAY_SIZE(tcm->groups); i++) { in tb_init_bandwidth_groups() 83 struct tb_bandwidth_group *group = &tcm->groups[i]; in tb_init_bandwidth_groups() 85 group->tb = tcm_to_tb(tcm); in tb_init_bandwidth_groups() 86 group->index = i + 1; in tb_init_bandwidth_groups() 87 INIT_LIST_HEAD(&group->ports); in tb_init_bandwidth_groups() [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | tb.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - bus logic (NHI independent) 19 * struct tb_cm - Simple Thunderbolt connection manager 38 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb() 59 ev->tb = tb; in tb_queue_hotplug() 60 ev->route = route; in tb_queue_hotplug() 61 ev->port = port; in tb_queue_hotplug() 62 ev->unplug = unplug; in tb_queue_hotplug() 63 INIT_WORK(&ev->work, tb_handle_hotplug); in tb_queue_hotplug() 64 queue_work(tb->wq, &ev->work); in tb_queue_hotplug() [all …]
|
| /kernel/linux/linux-5.10/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. 85 struct amdgpu_device *adev = smu->adev; in smu_v11_0_init_microcode() 93 switch (adev->asic_type) { in smu_v11_0_init_microcode() 113 dev_err(adev->dev, "Unsupported ASIC type %d\n", adev->asic_type); in smu_v11_0_init_microcode() 114 return -EINVAL; in smu_v11_0_init_microcode() 119 err = request_firmware(&adev->pm.fw, fw_name, adev->dev); in smu_v11_0_init_microcode() 122 err = amdgpu_ucode_validate(adev->pm.fw); in smu_v11_0_init_microcode() [all …]
|
| /kernel/linux/linux-6.6/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. 15 Using regulator-{uv,ov}-{warn,error,protection}-microvolt requires special 24 - dlg,da9063 25 - dlg,da9063l 33 interrupt-controller: true [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | intel-vbtn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input/sparse-keymap.h> 41 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */ 42 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */ 43 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */ 44 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */ 45 { KE_KEY, 0xC8, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key press */ 46 { KE_KEY, 0xC9, { KEY_ROTATE_LOCK_TOGGLE } }, /* rotate-lock key release */ 52 * intel-vbtn code, always seem to use this for 2-in-1s / convertibles and set 53 * SW_DOCK=1 when in laptop-mode (in tandem with setting SW_TABLET_MODE=0). [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/ |
| D | amd_powerplay.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 45 return -EINVAL; in amd_powerplay_create() 49 return -ENOMEM; in amd_powerplay_create() 51 hwmgr->adev = adev; in amd_powerplay_create() 52 hwmgr->not_vf = !amdgpu_sriov_vf(adev); in amd_powerplay_create() 53 hwmgr->device = amdgpu_cgs_create_device(adev); in amd_powerplay_create() 54 if (!hwmgr->device) { in amd_powerplay_create() 56 return -ENOMEM; in amd_powerplay_create() 59 mutex_init(&hwmgr->msg_lock); in amd_powerplay_create() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|