Home
last modified time | relevance | path

Searched +full:charge +full:- +full:ctrl +full:- +full:value (Results 1 – 25 of 62) sorted by relevance

123

/linux-6.14.4/Documentation/devicetree/bindings/phy/
Dqcom,qusb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Wesley Cheng <[email protected]>
19 - items:
20 - enum:
21 - qcom,ipq5424-qusb2-phy
22 - qcom,ipq6018-qusb2-phy
23 - qcom,ipq8074-qusb2-phy
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/
Dnouveau_debugfs.c4 * Permission is hereby granted, free of charge, to any person obtaining
40 struct drm_info_node *node = (struct drm_info_node *) m->private; in nouveau_debugfs_vbios_image()
41 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_vbios_image()
44 for (i = 0; i < drm->vbios.length; i++) in nouveau_debugfs_vbios_image()
45 seq_printf(m, "%c", drm->vbios.data[i]); in nouveau_debugfs_vbios_image()
52 struct drm_info_node *node = m->private; in nouveau_debugfs_strap_peek()
53 struct nouveau_drm *drm = nouveau_drm(node->minor->dev); in nouveau_debugfs_strap_peek()
56 ret = pm_runtime_get_sync(drm->dev->dev); in nouveau_debugfs_strap_peek()
57 if (ret < 0 && ret != -EACCES) { in nouveau_debugfs_strap_peek()
58 pm_runtime_put_autosuspend(drm->dev->dev); in nouveau_debugfs_strap_peek()
[all …]
/linux-6.14.4/drivers/leds/
Dleds-cht-wcove.c1 // SPDX-License-Identifier: GPL-2.0
53 u16 ctrl; member
63 unsigned int ctrl; member
84 .ctrl = CHT_WC_LED1_CTRL,
92 .ctrl = CHT_WC_LED2_CTRL,
107 enum led_brightness value) in cht_wc_leds_brightness_set() argument
112 mutex_lock(&led->mutex); in cht_wc_leds_brightness_set()
114 if (!value) { in cht_wc_leds_brightness_set()
115 ret = regmap_update_bits(led->regmap, led->regs->ctrl, in cht_wc_leds_brightness_set()
116 led->regs->on_off_mask, led->regs->off_val); in cht_wc_leds_brightness_set()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/display/
Dvlv_dsi_pll.c4 * Permission is hereby granted, free of charge, to any person obtaining a
40 426, 469, 234, 373, 442, 221, 110, 311, 411, /* 62 - 70 */
41 461, 486, 243, 377, 188, 350, 175, 343, 427, 213, /* 71 - 80 */
42 106, 53, 282, 397, 454, 227, 113, 56, 284, 142, /* 81 - 90 */
43 71, 35, 273, 136, 324, 418, 465, 488, 500, 506 /* 91 - 100 */
71 drm_err(&dev_priv->drm, "DSI CLK Out of Range\n"); in dsi_calc_mnp()
72 return -ECHRNG; in dsi_calc_mnp()
89 delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); in dsi_calc_mnp()
95 * +/- the required clock in dsi_calc_mnp()
98 int d = abs(target_dsi_clk - calc_dsi_clk); in dsi_calc_mnp()
[all …]
/linux-6.14.4/drivers/rtc/
Drtc-ds1305.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rtc-ds1305.c -- driver for DS1305 and DS1306 SPI RTC chips
21 * otherwise you're reading it. All non-bitmask values are BCD.
27 * - Need fancy "hours" encoding in 12hour mode
28 * - Don't rely on the "day-of-week" field (or tm_wday)
29 * - Are a 21st-century clock (2000 <= year < 2100)
50 * NOTE ALSO that while we could generate once-a-second IRQs (UIE), we
94 u8 ctrl[DS1305_CONTROL_LEN]; member
98 /*----------------------------------------------------------------------*/
101 * Utilities ... tolerate 12-hour AM/PM notation in case of non-Linux
[all …]
/linux-6.14.4/drivers/mfd/
Dtwl-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * twl_core.c - driver for TWL4030/TWL5030/TWL60X0/TPS659x0 PM
6 * Copyright (C) 2005-2006 Texas Instruments, Inc.
39 #include <linux/mfd/twl4030-audio.h>
41 #include "twl-core.h"
44 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
62 /* subchip/slave 0 - USB ID */
65 /* subchip/slave 1 - AUD ID */
72 /* subchip/slave 2 - AUX ID */
81 #define TWL5031_BASEADD_ACCESSORY 0x0074 /* Replaces Main Charge */
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gvt/
Dedid.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
4 * Permission is hereby granted, free of charge, to any person obtaining a
56 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte()
59 if (edid->state == I2C_NOT_SPECIFIED || !edid->target_selected) { in edid_get_byte()
63 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte()
68 if (!edid->edid_available) { in edid_get_byte()
73 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte()
75 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte()
77 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte()
78 edid->current_edid_read++; in edid_get_byte()
[all …]
/linux-6.14.4/drivers/phy/qualcomm/
Dphy-qcom-qusb2.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/nvmem-consumer.h>
22 #include <dt-bindings/phy/phy-qcom-qusb2.h>
105 * if yes, then offset gives index in the reg-layout
123 /* set of registers with offsets different per-PHY */
316 /* true if TUNE1 register must be updated by fused value, else TUNE2 */
322 /* true if PHY default clk scheme is single-ended */
422 "vdd", "vdda-pll", "vdda-phy-dpdm",
427 /* struct override_param - structure holding qusb2 v2 phy overriding param
429 * to value
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dr535.c4 * Permission is hereby granted, free of charge, to any person obtaining a
41 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h>
42 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h>
43 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h>
44 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h>
45 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
56 switch (chan->object.oclass & 0xff) { in r535_chan_user()
58 case 0x7e: *psize = 0x01000; return 0x690000 + (chan->head * *psize); in r535_chan_user()
59 case 0x7b: *psize = 0x01000; return 0x6b0000 + (chan->head * *psize); in r535_chan_user()
60 case 0x7a: *psize = 0x01000; return 0x6d8000 + (chan->head * *psize); in r535_chan_user()
[all …]
/linux-6.14.4/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
Dr535.c4 * Permission is hereby granted, free of charge, to any person obtaining a
38 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h>
39 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
40 #include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
50 #include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h>
84 return -EBUSY; in r535_rpc_status_to_errno()
86 return -ENOMEM; in r535_rpc_status_to_errno()
88 return -EINVAL; in r535_rpc_status_to_errno()
96 u32 size, rptr = *gsp->msgq.rptr; in r535_gsp_msgq_wait()
102 if (WARN_ON(!size || size >= gsp->msgq.cnt)) in r535_gsp_msgq_wait()
[all …]
/linux-6.14.4/arch/arm/boot/dts/st/
Dstm32f429-disco.dts2 * Copyright 2015 - Maxime Coquelin <[email protected]>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
26 * b) Permission is hereby granted, free of charge, to any person
48 /dts-v1/;
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/interrupt-controller/irq.h>
53 #include <dt-bindings/gpio/gpio.h>
56 model = "STMicroelectronics STM32F429i-DISCO board";
[all …]
/linux-6.14.4/include/uapi/rdma/hfi/
Dhfi1_user.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
9 * Copyright(c) 2015 - 2020 Intel Corporation.
28 * - Redistributions of source code must retain the above copyright
30 * - Redistributions in binary form must reproduce the above copyright
34 * - Neither the name of Intel Corporation nor the names of its
93 #define HFI1_CAP_DMA_RTAIL (1UL << 0) /* Use DMA'ed RTail value */
100 #define HFI1_CAP_MULTI_PKT_EGR (1UL << 7) /* Enable multi-packet Egr buffs*/
134 * These are the status bits readable (in ASCII form, 64bit value)
178 * Device status and notifications from driver to user-space.
200 * bits 0-3 - version (currently unused)
[all …]
/linux-6.14.4/arch/arm64/boot/dts/qcom/
Dsc7180-idp.dts1 // SPDX-License-Identifier: BSD-3-Clause
8 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
14 #include "sc7180-firmware-tfa.dtsi"
20 compatible = "qcom,sc7180-idp", "qcom,sc7180";
30 stdout-path = "serial0:115200n8";
42 /delete-node/ &hyp_mem;
43 /delete-node/ &xbl_mem;
[all …]
Dsc7180-acer-aspire1.dts1 // SPDX-License-Identifier: BSD-3-Clause
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/sound/qcom,q6asm.h>
7 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
14 /delete-node/ &tz_mem;
15 /delete-node/ &ipa_fw_mem;
20 chassis-type = "laptop";
30 stdout-path = "serial0:115200n8";
33 reserved-memory {
[all …]
/linux-6.14.4/drivers/gpu/drm/kmb/
Dkmb_dsi.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright © 2019-2020 Intel Corporation
178 clk_disable_unprepare(kmb_dsi->clk_mipi); in kmb_dsi_clk_disable()
179 clk_disable_unprepare(kmb_dsi->clk_mipi_ecfg); in kmb_dsi_clk_disable()
180 clk_disable_unprepare(kmb_dsi->clk_mipi_cfg); in kmb_dsi_clk_disable()
186 mipi_dsi_host_unregister(kmb_dsi->host); in kmb_dsi_host_unregister()
225 return -ENOMEM; in kmb_dsi_host_bridge_init()
227 dsi_host->ops = &kmb_dsi_host_ops; in kmb_dsi_host_bridge_init()
233 return -ENOMEM; in kmb_dsi_host_bridge_init()
237 dsi_host->dev = dev; in kmb_dsi_host_bridge_init()
[all …]
/linux-6.14.4/drivers/media/i2c/
Dov2640.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved.
20 #include <linux/v4l2-mediabus.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-subdev.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-image-sizes.h>
161 #define GAIN 0x00 /* AGC - Gain control gain setting */
176 #define REG08 0x08 /* Frame Exposure One-pin Control Pre-charge Row Num */
[all …]
/linux-6.14.4/drivers/net/xen-netback/
Dcommon.h8 * Permission is hereby granted, free of charge, to any person obtaining a copy
59 * skb_shinfo(skb)->destructor_arg points to the first mapped slot's
81 /* Discriminate from any valid pending_idx value. */
91 #define NETBACK_INVALID_HANDLE -1
94 * the maximum slots a valid packet can use. Now this value is defined
100 /* Queue name is interface name with "-qNNN" appended */
103 /* IRQ name is queue name with "-tx" or "-rx" appended */
109 /* Stats fields to be updated per-queue.
135 struct xenvif_queue { /* Per-queue data for xenvif */
136 unsigned int id; /* Queue ID, 0-based */
[all …]
Dnetback.c2 * Back-end of the driver for virtual network devices. This portion of the
3 * driver exports a 'unified' network-device interface that can be accessed
5 * reference front-end implementation can be found in:
6 * drivers/net/xen-netfront.c
8 * Copyright (c) 2002-2005, K A Fraser
16 * Permission is hereby granted, free of charge, to any person obtaining a copy
101 * for xen-netfront with the XDP_PACKET_HEADROOM offset
122 return page_to_pfn(queue->mmap_pages[idx]); in idx_to_pfn()
132 (vif->pending_tx_info[pending_idx].callback_struct)
138 u16 pending_idx = ubuf->desc; in ubuf_to_queue()
[all …]
/linux-6.14.4/drivers/char/agp/
Dgeneric.c4 * Copyright (C) 2002-2005 Dave Jones.
9 * Permission is hereby granted, free of charge, to any person obtaining a
28 * - Allocate more than order 0 pages to avoid too much linear map splitting.
37 #include <linux/dma-mapping.h>
57 * Generic routines for handling agp_memory structures -
67 clear_bit(key, agp_bridge->key_list); in agp_free_key()
76 bit = find_first_zero_bit(agp_bridge->key_list, MAXKEY); in agp_get_key()
78 set_bit(bit, agp_bridge->key_list); in agp_get_key()
81 return -1; in agp_get_key()
92 mem->pages = kvmalloc(size, GFP_KERNEL); in agp_alloc_page_array()
[all …]
/linux-6.14.4/Documentation/admin-guide/
Dcgroup-v2.rst1 .. _cgroup-v2:
11 conventions of cgroup v2. It describes all userland-visible aspects
14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`.
19 1-1. Terminology
20 1-2. What is cgroup?
22 2-1. Mounting
23 2-2. Organizing Processes and Threads
24 2-2-1. Processes
25 2-2-2. Threads
26 2-3. [Un]populated Notification
[all …]
/linux-6.14.4/drivers/platform/x86/x86-android-tablets/
Dlenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * Copyright (C) 2021-2023 Hans de Goede <[email protected]>
27 #include "shared-psy-info.h"
28 #include "x86-android-tablets.h"
33 * The Android kernels have a hack in the i915 driver to write a non-standard
34 * panel specific DSI register to set the duty-cycle of the LCD's PWM output.
46 * But on some models the panel's PWM output defaults to a duty-cycle of
65 PROPERTY_ENTRY_U32("hid-descr-addr", 0x0001),
66 PROPERTY_ENTRY_U32("post-reset-deassert-delay-ms", 150),
75 * The HiDeep IST940E touchscreen comes up in I2C-HID mode. The native protocol
[all …]
/linux-6.14.4/drivers/leds/rgb/
Dleds-qcom-lpg.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2022 Linaro Ltd
4 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved.
5 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved.
9 #include <linux/led-class-multicolor.h>
11 #include <linux/nvmem-consumer.h>
17 #include <linux/soc/qcom/qcom-pbs.h>
42 #define PWM_DTEST_REG(x) (0xe2 + (x) - 1)
86 * struct lpg - LPG device context
90 * @pwm: PWM-chip object, if operating in PWM mode
[all …]
/linux-6.14.4/drivers/video/fbdev/
Dimsttfb.c2 * drivers/video/imsttfb.c -- frame buffer device for IMS TwinTurbo
40 #define eieio() /* Enforce In-order Execution of I/O */
135 * c is charge pump bias which depends on the VCO frequency
172 TVPPMASK = 0x08, /* 2 Pixel Read-Mask */
182 TVPCXPOL = 0x30, /* 12 Cursor-Position X LSB */
183 TVPCXPOH = 0x34, /* 13 Cursor-Position X MSB */
184 TVPCYPOL = 0x38, /* 14 Cursor-Position Y LSB */
185 TVPCYPOH = 0x3c, /* 15 Cursor-Position Y MSB */
204 TVPIRCKL = 0x30, /* Color-Key Overlay Low */
205 TVPIRCKH = 0x31, /* Color-Key Overlay High */
[all …]
/linux-6.14.4/drivers/gpu/drm/bridge/imx/
Dimx93-mipi-dsi.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/media-bus-format.h>
17 #include <linux/phy/phy-mipi-dphy.h>
42 #define M(x) FIELD_PREP(M_MASK, ((x) - 2))
44 #define N(x) FIELD_PREP(N_MASK, ((x) - 1))
121 /* DPHY Databook Table 3-13 Charge-pump Programmability */
136 /* DPHY Databook Table 5-7 Frequency Ranges and Defaults */
203 static void dphy_pll_write(struct imx93_dsi *dsi, unsigned int reg, u32 value) in dphy_pll_write() argument
207 ret = regmap_write(dsi->regmap, reg, value); in dphy_pll_write()
209 dev_err(dsi->dev, "failed to write 0x%08x to pll reg 0x%x: %d\n", in dphy_pll_write()
[all …]
/linux-6.14.4/drivers/gpu/drm/amd/amdgpu/
Dpsp_gfx_if.h4 * Permission is hereby granted, free of charge, to any person obtaining a
46 GFX_CTRL_CMD_ID_ENABLE_INT = 0x00050000, /* enable PSP-to-Gfx interrupt */
47 GFX_CTRL_CMD_ID_DISABLE_INT = 0x00060000, /* disable PSP-to-Gfx interrupt */
57 /*-----------------------------------------------------------------------------
64 * SRBM-to-PSP mailbox registers (total 8 registers).
112 /* PSP boot config sub-commands */
194 uint32_t sriov_enabled:1; /* whether the device runs under SR-IOV*/
208 GFX_FW_TYPE_CP_ME = 1, /* CP-ME VG + RV */
209 GFX_FW_TYPE_CP_PFP = 2, /* CP-PFP VG + RV */
210 GFX_FW_TYPE_CP_CE = 3, /* CP-CE VG + RV */
[all …]

123