Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A 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 - Manu Gautam <mgautam@codeaurora.org>
19 - items:
20 - enum:
21 - qcom,ipq8074-qusb2-phy
22 - qcom,msm8996-qusb2-phy
23 - qcom,msm8998-qusb2-phy
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dswap_cgroup.c1 // SPDX-License-Identifier: GPL-2.0
24 * In typical usage, this swap_cgroup is accessed via memcg's charge/uncharge
28 * - we have no race in "exchange" when we're accessed via SwapCache because
30 * - When called via swap_free(), there is no user of this entry and no race.
42 struct swap_cgroup_ctrl *ctrl; in swap_cgroup_prepare() local
45 ctrl = &swap_cgroup_ctrl[type]; in swap_cgroup_prepare()
47 for (idx = 0; idx < ctrl->length; idx++) { in swap_cgroup_prepare()
51 ctrl->map[idx] = page; in swap_cgroup_prepare()
60 __free_page(ctrl->map[idx]); in swap_cgroup_prepare()
62 return -ENOMEM; in swap_cgroup_prepare()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A 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 …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/doc/
H A DRegistry197 option names. All names listed here are in their preferred user-visible
200 Types are: B = boolean, O = set/unset (no value), I = integer, S = string,
209 ----------------------------------------------------------------------------
211 AllowNonLocalModInDev B F allow non-local mod of input devs
212 AllowNonLocalXvidtune B F allow non-local VidMode connections
216 DontVTSwitch B F disable Ctrl-Alt-Fn
217 DontZap B F disable Ctrl-Alt-BS sequence
218 DontZoom B F disable Ctrl-Alt-+/-
271 EarlyRasPrecharge O V Early RAS pre-charge
289 LateRasPrecharge O V Late RAS pre-charge
[all …]
/OK3568_Linux_fs/u-boot/board/gdsys/common/
H A Dch7301.c5 * SPDX-License-Identifier: GPL-2.0+
26 CH7301_TPCP = 0x33, /* DVI PLL Charge Pump Ctrl Register */
42 u8 value; in ch7301_probe() local
46 return -1; in ch7301_probe()
48 value = i2c_reg_read(CH7301_I2C_ADDR, CH7301_DID); in ch7301_probe()
49 if (value != 0x17) in ch7301_probe()
50 return -1; in ch7301_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dvlv_dsi_pll.c4 * Permission is hereby granted, free of charge, to any person obtaining a
36 426, 469, 234, 373, 442, 221, 110, 311, 411, /* 62 - 70 */
37 461, 486, 243, 377, 188, 350, 175, 343, 427, 213, /* 71 - 80 */
38 106, 53, 282, 397, 454, 227, 113, 56, 284, 142, /* 81 - 90 */
39 71, 35, 273, 136, 324, 418, 465, 488, 500, 506 /* 91 - 100 */
67 drm_err(&dev_priv->drm, "DSI CLK Out of Range\n"); in dsi_calc_mnp()
68 return -ECHRNG; in dsi_calc_mnp()
85 delta = abs(target_dsi_clk - (m_min * ref_clk) / (p_min * n)); in dsi_calc_mnp()
91 * +/- the required clock in dsi_calc_mnp()
94 int d = abs(target_dsi_clk - calc_dsi_clk); in dsi_calc_mnp()
[all …]
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Dti_am335x_tscadc.c4 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
41 spin_lock_irqsave(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
42 tscadc->reg_se_cache |= val; in am335x_tsc_se_set_cache()
43 if (tscadc->adc_waiting) in am335x_tsc_se_set_cache()
44 wake_up(&tscadc->reg_se_wait); in am335x_tsc_se_set_cache()
45 else if (!tscadc->adc_in_use) in am335x_tsc_se_set_cache()
46 regmap_write(tscadc->regmap, REG_SE, tscadc->reg_se_cache); in am335x_tsc_se_set_cache()
48 spin_unlock_irqrestore(&tscadc->reg_lock, flags); in am335x_tsc_se_set_cache()
57 regmap_read(tscadc->regmap, REG_ADCFSM, &reg); in am335x_tscadc_need_adc()
59 tscadc->adc_waiting = true; in am335x_tscadc_need_adc()
[all …]
H A 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.
37 #include <linux/mfd/twl4030-audio.h>
39 #include "twl-core.h"
42 * The TWL4030 "Triton 2" is one of a family of a multi-function "Power
60 /* subchip/slave 0 - USB ID */
63 /* subchip/slave 1 - AUD ID */
70 /* subchip/slave 2 - AUX ID */
79 #define TWL5031_BASEADD_ACCESSORY 0x0074 /* Replaces Main Charge */
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/xilinx/
H A Dxlnx_vcu.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016 - 2017 Xilinx, Inc.
97 * struct xvcu_device - Xilinx VCU init device structure
115 * struct xvcu_pll_cfg - Helper data
117 * @cp: PLL charge pump control
237 * xvcu_read - Read from the VCU register space
241 * Return: Returns 32bit value from VCU register specified
250 * xvcu_write - Write to the VCU register space
253 * @value: Value to write
255 static inline void xvcu_write(void __iomem *iomem, u32 offset, u32 value) in xvcu_write() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/rtc/
H A 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 …]
/OK3568_Linux_fs/u-boot/drivers/power/
H A Dcharge_animation.c4 * SPDX-License-Identifier: GPL-2.0+
29 #include <irq-generic.h>
37 #define IMAGE_RECALC_IDX -1
38 #define IMAGE_SOC_100_IDX(n) ((n) - 2)
39 #define IMAGE_LOWPOWER_IDX(n) ((n) - 1)
70 * IF you want to use your own charge images, please:
73 * 2. You must set the failed image as last one and soc = -1 !!!
82 { .name = "battery_fail.bmp", .soc = -1, .period = 1000 },
96 list1 = dev_read_prop(dev, "regulator-on-in-mem", &size1); in regulators_parse_assigned_mem_state()
97 list2 = dev_read_prop(dev, "regulator-off-in-mem", &size2); in regulators_parse_assigned_mem_state()
[all …]
H A Dpower_core.c8 * (C) Copyright 2008-2009 Freescale Semiconductor, Inc.
10 * SPDX-License-Identifier: GPL-2.0+
23 if (reg >= p->number_of_regs) { in check_reg()
25 reg, p->number_of_regs); in check_reg()
26 return -EINVAL; in check_reg()
37 return -ENOTSUPP; in pmic_set_output()
45 return -ENOTSUPP; in pmic_set_output()
52 printf("PMIC: %s\n", p->name); in pmic_show_info()
62 return -ENODEV; in pmic_dump()
66 for (i = 0; i < p->number_of_regs; i++) { in pmic_dump()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/qualcomm/
H A Dphy-qcom-qusb2.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/nvmem-consumer.h>
23 #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 */
243 /* true if TUNE1 register must be updated by fused value, else TUNE2 */
287 "vdda-pll", "vdda-phy-dpdm",
292 /* struct override_param - structure holding qusb2 v2 phy overriding param
294 * to value
298 u8 value; member
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gvt/
H A Dedid.c2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved.
4 * Permission is hereby granted, free of charge, to any person obtaining a
51 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte()
54 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) { in edid_get_byte()
58 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte()
63 if (!edid->edid_available) { in edid_get_byte()
68 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte()
70 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte()
72 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte()
73 edid->current_edid_read++; in edid_get_byte()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dv4l2-ctrls.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #define pr_fmt(fmt) "v4l2-ctrls: " fmt
15 #include <media/v4l2-ctrls.h>
16 #include <media/v4l2-dev.h>
17 #include <media/v4l2-device.h>
18 #include <media/v4l2-event.h>
19 #include <media/v4l2-fwnode.h>
20 #include <media/v4l2-ioctl.h>
23 if (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \
29 (master->ops && master->ops->op)
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Dusb-keyboard.c40 * Permission is hereby granted, free of charge, to any person obtaining
55 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
70 * This code implements a low-level device driver for a USB keyboard
75 #include <dmx-config.h>
79 #include "usb-private.h"
87 #include "usb-keyboard.h"
91 = ((DMXLocalInputInfoPtr)(pDev->devicePrivate))->private
111 #define MAX_KEYCODE (NUM_KEYCODES + MIN_KEYCODE - 1)
253 return priv->kbdState[byte] & bit; in kbdUSBKeyDown()
265 priv->kbdState[byte] |= bit; in kbdUSBKeyState()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci-tegra.c3 * Copyright (c) 2009-2015 NVIDIA Corporation
6 * SPDX-License-Identifier: GPL-2.0+
13 #include <asm-generic/gpio.h>
15 #include <asm/arch-tegra/usb.h>
16 #include <asm/arch-tegra/clk_rst.h>
42 PARAM_CPCON, /* BASE PLLC CHARGE Pump setup ctrl */
43 PARAM_LFCON, /* BASE PLLC LOOP FILter setup ctrl */
44 PARAM_ENABLE_DELAY_COUNT, /* PLL-U Enable Delay Count */
45 PARAM_STABLE_COUNT, /* PLL-U STABLE count */
46 PARAM_ACTIVE_DELAY_COUNT, /* PLL-U Active delay count */
[all …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/qcom/
H A 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>
18 compatible = "qcom,sc7180-idp", "qcom,sc7180";
28 stdout-path = "serial0:115200n8";
40 /delete-node/ &hyp_mem;
41 /delete-node/ &xbl_mem;
42 /delete-node/ &aop_mem;
43 /delete-node/ &sec_apps_mem;
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dstm32f429-disco.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
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 …]
/OK3568_Linux_fs/external/xserver/hw/dmx/config/
H A Dxdmxconfig.c6 * Permission is hereby granted, free of charge, to any person obtaining
21 * NON-INFRINGEMENT. IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
149 dmxConfigWallWidth = dmxConfigCurrent->width; in dmxConfigGetDims()
150 dmxConfigWallHeight = dmxConfigCurrent->height; in dmxConfigGetDims()
152 for (pt = dmxConfigCurrent->subentry; pt; pt = pt->next) { in dmxConfigGetDims()
153 if (pt->type == dmxConfigDisplay) { in dmxConfigGetDims()
154 int x = pt->display->scrnWidth + pt->display->rootXOrigin; in dmxConfigGetDims()
155 int y = pt->display->scrnHeight + pt->display->rootYOrigin; in dmxConfigGetDims()
166 for (e = dmxConfigEntry; e; e = e->next) { in dmxConfigGetDims()
167 if (e->type != dmxConfigVirtual) in dmxConfigGetDims()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Xinput.c2 * Copyright 1995-1999 by Frederic Lepied, France. <Lepied@XFree86.org>
24 * Copyright (c) 2000-2002 by The XFree86 Project, Inc.
26 * Permission is hereby granted, free of charge, to any person obtaining a
50 #include <xorg-config.h>
66 #include "systemd-logind.h"
97 #include <xserver-properties.h>
163 s->statistics.profile_number); in ProcessVelocityConfiguration()
185 tempf = xf86SetRealOption(list, "VelocityScale", s->corr_mul); in ProcessVelocityConfiguration()
190 tempi = xf86SetIntOption(list, "VelocityTrackerCount", -1); in ProcessVelocityConfiguration()
194 s->initial_range = xf86SetIntOption(list, "VelocityInitialRange", in ProcessVelocityConfiguration()
[all …]
/OK3568_Linux_fs/u-boot/drivers/usb/gadget/
H A Datmel_usba_udc.c5 * Copyright (C) 2005-2013 Atmel Corporation
8 * SPDX-License-Identifier: GPL-2.0+
33 transaction_len = req->req.length - req->req.actual; in next_fifo_transaction()
34 req->last_transaction = 1; in next_fifo_transaction()
35 if (transaction_len > ep->ep.maxpacket) { in next_fifo_transaction()
36 transaction_len = ep->ep.maxpacket; in next_fifo_transaction()
37 req->last_transaction = 0; in next_fifo_transaction()
38 } else if (transaction_len == ep->ep.maxpacket && req->req.zero) { in next_fifo_transaction()
39 req->last_transaction = 0; in next_fifo_transaction()
43 ep->ep.name, req, transaction_len, in next_fifo_transaction()
[all …]
/OK3568_Linux_fs/kernel/include/uapi/rdma/hfi/
H A 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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/rdma/hfi/
H A Dhfi1_user.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
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*/
133 * These are the status bits readable (in ASCII form, 64bit value)
177 * Device status and notifications from driver to user-space.
199 * bits 0-3 - version (currently unused)
200 * bits 4-7 - opcode (enum sdma_req_opcode)
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/rdma/hfi/
H A Dhfi1_user.h1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
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*/
133 * These are the status bits readable (in ASCII form, 64bit value)
177 * Device status and notifications from driver to user-space.
199 * bits 0-3 - version (currently unused)
200 * bits 4-7 - opcode (enum sdma_req_opcode)
[all …]

1234