/Linux-v5.10/Documentation/devicetree/bindings/phy/ |
D | qcom,qusb2-phy.yaml | 1 # 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 …]
|
/Linux-v5.10/mm/ |
D | swap_cgroup.c | 1 // 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 …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_debugfs.c | 4 * 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-v5.10/drivers/mfd/ |
D | ti_am335x_tscadc.c | 4 * 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, ®); in am335x_tscadc_need_adc() 59 tscadc->adc_waiting = true; in am335x_tscadc_need_adc() [all …]
|
D | twl-core.c | 1 // 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 …]
|
/Linux-v5.10/drivers/gpu/drm/i915/display/ |
D | vlv_dsi_pll.c | 4 * 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 …]
|
/Linux-v5.10/drivers/soc/xilinx/ |
D | xlnx_vcu.c | 1 // 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 …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-ds1305.c | 1 // 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-v5.10/drivers/phy/qualcomm/ |
D | phy-qcom-qusb2.c | 1 // 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 …]
|
/Linux-v5.10/drivers/media/v4l2-core/ |
D | v4l2-ctrls.c | 1 // 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 …]
|
/Linux-v5.10/drivers/gpu/drm/i915/gvt/ |
D | edid.c | 2 * 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 …]
|
/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | sc7180-idp.dts | 1 // 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 …]
|
D | sc7180-trogdor.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 /delete-node/ &hyp_mem; 24 /delete-node/ &xbl_mem; 25 /delete-node/ &aop_mem; 26 /delete-node/ &sec_apps_mem; 27 /delete-node/ &tz_mem; 35 reserved-memory { [all …]
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | stm32f429-disco.dts | 2 * 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 …]
|
/Linux-v5.10/include/uapi/rdma/hfi/ |
D | hfi1_user.h | 1 /* 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-v5.10/drivers/net/xen-netback/ |
D | common.h | 8 * Permission is hereby granted, free of charge, to any person obtaining a copy 60 * skb_shinfo(skb)->destructor_arg points to the first mapped slot's 82 /* Discriminate from any valid pending_idx value. */ 94 #define NETBACK_INVALID_HANDLE -1 97 * the maximum slots a valid packet can use. Now this value is defined 103 /* Queue name is interface name with "-qNNN" appended */ 106 /* IRQ name is queue name with "-tx" or "-rx" appended */ 112 /* Stats fields to be updated per-queue. 138 struct xenvif_queue { /* Per-queue data for xenvif */ 139 unsigned int id; /* Queue ID, 0-based */ [all …]
|
D | netback.c | 2 * 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 100 * for xen-netfront with the XDP_PACKET_HEADROOM offset 120 return page_to_pfn(queue->mmap_pages[idx]); in idx_to_pfn() 130 (vif->pending_tx_info[pending_idx].callback_struct) 136 u16 pending_idx = ubuf->desc; in ubuf_to_queue() [all …]
|
/Linux-v5.10/drivers/char/agp/ |
D | generic.c | 4 * 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-v5.10/drivers/media/i2c/ |
D | ov2640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright 2005-2009 Freescale Semiconductor, Inc. All Rights Reserved. 22 #include <linux/v4l2-mediabus.h> 25 #include <media/v4l2-device.h> 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-subdev.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-image-sizes.h> 163 #define GAIN 0x00 /* AGC - Gain control gain setting */ 178 #define REG08 0x08 /* Frame Exposure One-pin Control Pre-charge Row Num */ [all …]
|
/Linux-v5.10/include/xen/interface/io/ |
D | netif.h | 4 * Unified network-device I/O interface for Xen guest OSes. 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 24 * Copyright (c) 2003-2004, Keir Fraser 40 * negotiate this value. However we cannot fix all possible 41 * frontends, so we need to define a value which states the minimum 44 * The minimum value derives from older Linux kernel's MAX_SKB_FRAGS 47 * send a valid packet using slots up to this value. 55 * feature 'feature-rx-notify' via xenbus. Otherwise the backend will assume 60 * "feature-split-event-channels" is introduced to separate guest TX 66 * "event-channel-tx" and "event-channel-rx" respectively. If frontend [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | psp_gfx_if.h | 4 * 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). 179 GFX_FW_TYPE_CP_ME = 1, /* CP-ME VG + RV */ 180 GFX_FW_TYPE_CP_PFP = 2, /* CP-PFP VG + RV */ 181 GFX_FW_TYPE_CP_CE = 3, /* CP-CE VG + RV */ 182 GFX_FW_TYPE_CP_MEC = 4, /* CP-MEC FW VG + RV */ 183 GFX_FW_TYPE_CP_MEC_ME1 = 5, /* CP-MEC Jump Table 1 VG + RV */ [all …]
|
/Linux-v5.10/drivers/video/fbdev/ |
D | imsttfb.c | 2 * drivers/video/imsttfb.c -- frame buffer device for IMS TwinTurbo 39 #define eieio() /* Enforce In-order Execution of I/O */ 134 * c is charge pump bias which depends on the VCO frequency 171 TVPPMASK = 0x08, /* 2 Pixel Read-Mask */ 181 TVPCXPOL = 0x30, /* 12 Cursor-Position X LSB */ 182 TVPCXPOH = 0x34, /* 13 Cursor-Position X MSB */ 183 TVPCYPOL = 0x38, /* 14 Cursor-Position Y LSB */ 184 TVPCYPOH = 0x3c, /* 15 Cursor-Position Y MSB */ 203 TVPIRCKL = 0x30, /* Color-Key Overlay Low */ 204 TVPIRCKH = 0x31, /* Color-Key Overlay High */ [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/ |
D | hub.fuc | 5 * Permission is hereby granted, free of charge, to any person obtaining a 91 mov $r2 0x2003 // { HUB_CHSW_PULSE, ZERO } -> intr 8 98 mov $r2 0x2004 // { 0x04, ZERO } -> intr 9 100 mov $r2 0x200b // { HUB_FIRMWARE_MTHD, ZERO } -> intr 10 102 mov $r2 0x200c // { 0x0c, ZERO } -> intr 15 189 call(nv_wr32) // CTRL 411 // In: $r15 value to set 0x404170 to 426 // Disables various things, waits a bit, and re-enables them.. 447 // Not a clue what this is for, except that unless the value is 0x10, the 450 // In: $r15 value to set to (0x00/0x10 are used) [all …]
|
/Linux-v5.10/drivers/soc/qcom/ |
D | rpmh-rsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 24 #include <soc/qcom/cmd-db.h> 26 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 28 #include "rpmh-internal.h" 31 #include "trace-rpmh.h" 91 * - The main rpmh-rsc address is the base of a register space that can 93 * (DRV_PRNT_CHLD_CONFIG). Also found within the rpmh-rsc register 95 * specified in the device tree by "qcom,tcs-offset" and used to 97 * - TCS blocks come one after another. Type, count, and order are [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgt215.c | 4 * Permission is hereby granted, free of charge, to any person obtaining a 120 hi--; in gt215_link_train_calc() 125 median[i] = ((hi - lo) >> 1) + lo; in gt215_link_train_calc() 130 /* Find the best value for 0x1111e0 */ in gt215_link_train_calc() 138 train->r_100720 = 0; in gt215_link_train_calc() 143 train->r_100720 |= ((median[i] & 0x0f) << (i << 2)); in gt215_link_train_calc() 146 train->r_1111e0 = 0x02000000 | (bin * 0x101); in gt215_link_train_calc() 147 train->r_111400 = 0x0; in gt215_link_train_calc() 156 struct gt215_ltrain *train = &ram->ltrain; in gt215_link_train() 157 struct gt215_ramfuc *fuc = &ram->fuc; in gt215_link_train() [all …]
|