Home
last modified time | relevance | path

Searched +full:use +full:- +full:sw +full:- +full:pm (Results 1 – 25 of 263) sorted by relevance

1234567891011

/linux-6.14.4/Documentation/devicetree/bindings/watchdog/
Ddlg,da9062-watchdog.yaml1 # 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 <[email protected]>
13 - $ref: watchdog.yaml#
18 - enum:
19 - dlg,da9062-watchdog
20 - dlg,da9063-watchdog
21 - items:
[all …]
/linux-6.14.4/drivers/soc/bcm/brcmstb/pm/
Ds2-mips.S1 /* 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-6.14.4/Documentation/admin-guide/pm/
Dintel_uncore_frequency_scaling.rst1 .. 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-6.14.4/arch/arm/boot/dts/allwinner/
Dsun9i-a80-cubieboard4.dts5 * Chen-Yu Tsai <[email protected]>
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 …]
Dsun9i-a80-optimus.dts2 * Copyright 2014 Chen-Yu Tsai
4 * Chen-Yu Tsai <[email protected]>
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-6.14.4/drivers/gpu/drm/amd/amdgpu/
Djpeg_v3_0.c7 * 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
51 struct amdgpu_device *adev = ip_block->adev; 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
84 struct amdgpu_device *adev = ip_block->adev; in jpeg_v3_0_sw_init()
[all …]
Djpeg_v5_0_0.c7 * 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_v5_0_0_early_init - set function pointers
51 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_0_early_init()
53 adev->jpeg.num_jpeg_inst = 1; in jpeg_v5_0_0_early_init()
54 adev->jpeg.num_jpeg_rings = 1; in jpeg_v5_0_0_early_init()
63 * jpeg_v5_0_0_sw_init - sw init for JPEG block
67 * Load firmware and sw initialization
71 struct amdgpu_device *adev = ip_block->adev; in jpeg_v5_0_0_sw_init()
77 VCN_5_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v5_0_0_sw_init()
[all …]
Djpeg_v4_0.c7 * 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
49 * jpeg_v4_0_early_init - set function pointers
57 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_early_init()
60 adev->jpeg.num_jpeg_inst = 1; in jpeg_v4_0_early_init()
61 adev->jpeg.num_jpeg_rings = 1; in jpeg_v4_0_early_init()
71 * jpeg_v4_0_sw_init - sw init for JPEG block
75 * Load firmware and sw initialization
79 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_sw_init()
85 VCN_4_0__SRCID__JPEG_DECODE, &adev->jpeg.inst->irq); in jpeg_v4_0_sw_init()
[all …]
Djpeg_v4_0_5.c7 * 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
62 * jpeg_v4_0_5_early_init - set function pointers
70 struct amdgpu_device *adev = ip_block->adev; in jpeg_v4_0_5_early_init()
74 adev->jpeg.num_jpeg_inst = 1; in jpeg_v4_0_5_early_init()
77 adev->jpeg.num_jpeg_inst = 2; in jpeg_v4_0_5_early_init()
80 DRM_DEV_ERROR(adev->dev, in jpeg_v4_0_5_early_init()
83 return -EINVAL; in jpeg_v4_0_5_early_init()
86 adev->jpeg.num_jpeg_rings = 1; in jpeg_v4_0_5_early_init()
95 * jpeg_v4_0_5_sw_init - sw init for JPEG block
[all …]
/linux-6.14.4/drivers/thunderbolt/
Dtb.c1 // SPDX-License-Identifier: GPL-2.0
3 * Thunderbolt driver - bus logic (NHI independent)
30 * direction. This is 40G - 10% guard band bandwidth.
53 * struct tb_cm - Simple Thunderbolt connection manager
74 return ((void *)tcm - sizeof(struct tb)); in tcm_to_tb()
101 ev->tb = tb; in tb_queue_hotplug()
102 ev->route = route; in tb_queue_hotplug()
103 ev->port = port; in tb_queue_hotplug()
104 ev->unplug = unplug; in tb_queue_hotplug()
105 INIT_DELAYED_WORK(&ev->work, tb_handle_hotplug); in tb_queue_hotplug()
[all …]
Dswitch.c1 // 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 …]
Dpath.c1 // 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 …]
Dusb4.c1 // SPDX-License-Identifier: GPL-2.0
53 static int usb4_native_switch_op(struct tb_switch *sw, u16 opcode, in usb4_native_switch_op() argument
62 ret = tb_sw_write(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
67 ret = tb_sw_write(sw, tx_data, TB_CFG_SWITCH, ROUTER_CS_9, in usb4_native_switch_op()
74 ret = tb_sw_write(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op()
78 ret = tb_switch_wait_for_bit(sw, ROUTER_CS_26, ROUTER_CS_26_OV, 0, 500); in usb4_native_switch_op()
82 ret = tb_sw_read(sw, &val, TB_CFG_SWITCH, ROUTER_CS_26, 1); in usb4_native_switch_op()
87 return -EOPNOTSUPP; in usb4_native_switch_op()
94 ret = tb_sw_read(sw, metadata, TB_CFG_SWITCH, ROUTER_CS_25, 1); in usb4_native_switch_op()
99 ret = tb_sw_read(sw, rx_data, TB_CFG_SWITCH, ROUTER_CS_9, in usb4_native_switch_op()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/pm/powerplay/
Damd_powerplay.c7 * 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 …]
/linux-6.14.4/drivers/platform/x86/intel/
Dvbtn.c1 // 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-6.14.4/drivers/tty/serial/8250/
D8250_mtk.c1 // 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-6.14.4/drivers/watchdog/
Dda9063_wdt.c1 // 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 …]
Dda9062_wdt.c1 // 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-6.14.4/drivers/net/ethernet/marvell/prestera/
Dprestera_router.c1 // 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-6.14.4/drivers/iio/adc/
Dab8500-gpadc.c1 // 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-6.14.4/Documentation/devicetree/bindings/dma/
Dti-edma.txt8 ------------------------------------------------------------------------------
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-6.14.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dsw.c1 // 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-6.14.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dsw.c1 // 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-6.14.4/Documentation/devicetree/bindings/mfd/
Ddlg,da9063.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Steve Twiss <[email protected]>
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-6.14.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dsw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
31 * 0 - Disable ASPM, in rtl8723e_init_aspm_vars()
32 * 1 - Enable ASPM without Clock Req, in rtl8723e_init_aspm_vars()
33 * 2 - Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars()
34 * 3 - Alwyas Enable ASPM with Clock Req, in rtl8723e_init_aspm_vars()
35 * 4 - Always Enable ASPM without Clock Req. in rtl8723e_init_aspm_vars()
38 rtlpci->const_pci_aspm = 3; in rtl8723e_init_aspm_vars()
40 /*Setting for PCI-E device */ in rtl8723e_init_aspm_vars()
41 rtlpci->const_devicepci_aspm_setting = 0x03; in rtl8723e_init_aspm_vars()
[all …]

1234567891011