/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | allwinner,sun4i-a10-ts.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/allwinner,sun4i-a10-ts.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#thermal-sensor-cells": 19 - allwinner,sun4i-a10-ts 20 - allwinner,sun5i-a13-ts 21 - allwinner,sun6i-a31-ts [all …]
|
/Linux-v6.1/sound/soc/meson/ |
D | axg-tdm-formatter.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 13 #include "axg-tdm-formatter.h" 30 struct axg_tdm_stream *ts, in axg_tdm_formatter_set_channel_masks() argument 33 unsigned int val, ch = ts->channels; in axg_tdm_formatter_set_channel_masks() 43 mask = ts->mask[i]; in axg_tdm_formatter_set_channel_masks() 49 ch -= 1; in axg_tdm_formatter_set_channel_masks() 63 return -EINVAL; in axg_tdm_formatter_set_channel_masks() 72 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable() local 77 if (formatter->enabled) in axg_tdm_formatter_enable() 94 ret = reset_control_reset(formatter->reset); in axg_tdm_formatter_enable() [all …]
|
D | axg-tdm-interface.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 11 #include <sound/soc-dai.h> 13 #include "axg-tdm.h" 41 dai->playback_dma_data; in axg_tdm_set_tdm_slots() 43 dai->capture_dma_data; in axg_tdm_set_tdm_slots() 52 dev_err(dai->dev, "interface has no slot\n"); in axg_tdm_set_tdm_slots() 53 return -EINVAL; in axg_tdm_set_tdm_slots() 56 iface->slots = slots; in axg_tdm_set_tdm_slots() 76 dev_err(dai->dev, "unsupported slot width: %d\n", slot_width); in axg_tdm_set_tdm_slots() 77 return -EINVAL; in axg_tdm_set_tdm_slots() [all …]
|
/Linux-v6.1/drivers/pps/generators/ |
D | pps_gen_parport.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pps_gen_parport.c -- kernel parallel port PPS signal generator 49 static int attached; variable 78 lim = NSEC_PER_SEC - send_delay - dev->port_write_time; in hrtimer_event() 94 port = dev->pardev->port; in hrtimer_event() 95 port->ops->write_control(port, SIGNAL); in hrtimer_event() 98 lim = NSEC_PER_SEC - dev->port_write_time; in hrtimer_event() 104 port->ops->write_control(port, NO_SIGNAL); in hrtimer_event() 112 dev->port_write_time = in hrtimer_event() 113 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event() [all …]
|
/Linux-v6.1/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 2 * PMC-Sierra PM8001/8081/8088/8089 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 18 * 3. Neither the names of the above-listed copyright holders nor the names 46 * pm8001_find_tag - from sas task to find out tag that belongs to this task 52 if (task->lldd_task) { in pm8001_find_tag() 54 ccb = task->lldd_task; in pm8001_find_tag() 55 *tag = ccb->ccb_tag; in pm8001_find_tag() 62 * pm8001_tag_free - free the no more needed tag 68 void *bitmap = pm8001_ha->tags; in pm8001_tag_free() 71 spin_lock_irqsave(&pm8001_ha->bitmap_lock, flags); in pm8001_tag_free() [all …]
|
/Linux-v6.1/arch/arm/mach-orion5x/ |
D | ts409-setup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * QNAP TS-409 Board Setup 23 #include <asm/mach-types.h> 29 #include "tsx09-common.h" 32 * QNAP TS-409 Info 36 * QNAP TS-409 hardware : 37 * - Marvell 88F5281-D0 38 * - Marvell 88SX7042 SATA controller (PCIe) 39 * - Marvell 88E1118 Gigabit Ethernet PHY 40 * - RTC S35390A (@0x30) on I2C bus [all …]
|
D | ts209-setup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * QNAP TS-109/TS-209 Board Setup 21 #include <asm/mach-types.h> 27 #include "tsx09-common.h" 38 * [2] 0x00000000-0x00200000 : "Kernel" 39 * [3] 0x00200000-0x00600000 : "RootFS1" 40 * [4] 0x00600000-0x00700000 : "RootFS2" 41 * [6] 0x00700000-0x00760000 : "NAS Config" (read-only) 42 * [5] 0x00760000-0x00780000 : "U-Boot Config" 43 * [1] 0x00780000-0x00800000 : "U-Boot" (read-only) [all …]
|
D | tsx09-common.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * QNAP TS-x09 Boards common functions 15 #include "tsx09-common.h" 19 * QNAP TS-x09 specific power off method via UART1-attached PIC 29 pr_info("%s: triggering power-off...\n", __func__); in qnap_tsx09_power_off() 40 /* send the power-off command 'A' to PIC */ in qnap_tsx09_power_off() 55 return n - '0'; in qnap_tsx09_parse_hex_nibble() 58 return n - 'A' + 10; in qnap_tsx09_parse_hex_nibble() 61 return n - 'a' + 10; in qnap_tsx09_parse_hex_nibble() 63 return -1; in qnap_tsx09_parse_hex_nibble() [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | timestamping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 43 ------------------------------------------------------------- 59 ------------------------------------------------------------------- 72 ---------------------------------------------------------------------- 138 over-report measurement, because the timestamp is generated when all 180 is derived from a per-socket u32 counter (that wraps). For datagram 227 received the packet and its length at layer 2. A valid (non-zero) 262 cmsg->cmsg_level = SOL_SOCKET; 263 cmsg->cmsg_type = SO_TIMESTAMPING; 264 cmsg->cmsg_len = CMSG_LEN(sizeof(__u32)); [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_crtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (c) 2015-2021 The Linux Foundation. All rights reserved. 19 /* define the maximum number of in-flight frame events */ 26 * @NRT_CLIENT: Non-RealTime client like WB display 36 * @ATTACHED: all the context banks are attached. 42 ATTACHED = 0, enumerator 84 DPU_CRTC_CRC_SOURCE_INVALID = -1 107 * @ts: timestamp at queue entry 114 ktime_t ts; member 124 * struct dpu_crtc - virtualized CRTC data structure [all …]
|
/Linux-v6.1/kernel/time/ |
D | posix-clock.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <linux/posix-clock.h> 15 #include "posix-timers.h" 18 * Returns NULL if the posix_clock instance attached to 'fp' is old and stale. 22 struct posix_clock *clk = fp->private_data; in get_posix_clock() 24 down_read(&clk->rwsem); in get_posix_clock() 26 if (!clk->zombie) in get_posix_clock() 29 up_read(&clk->rwsem); in get_posix_clock() 36 up_read(&clk->rwsem); in put_posix_clock() 43 int err = -EINVAL; in posix_clock_read() [all …]
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | s3c2410_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2004 Arnaud Patard <arnaud.patard@rtp-net.org> 6 * Copyright 2008 Ben Dooks <ben-linux@fluff.org> 23 #include <linux/soc/samsung/s3c-adc.h> 24 #include <linux/platform_data/touchscreen-s3c2410.h> 78 /* Per-touchscreen data. */ 81 * struct s3c2410ts - driver touchscreen state. 108 static struct s3c2410ts ts; variable 111 * get_down - return the down state of the pen 115 * Return non-zero if both readings show that the pen is down. [all …]
|
D | sun4i-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2013 - 2014 Hans de Goede <hdegoede@redhat.com> 12 * The sun4i-ts controller is capable of detecting a second touch, but when a 18 * open / close movement, and then reports emulated multi-touch events around 19 * the last touch coordinate (as the dual-touch coordinates are worthless). 117 static void sun4i_ts_irq_handle_input(struct sun4i_ts_data *ts, u32 reg_val) in sun4i_ts_irq_handle_input() argument 122 x = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 123 y = readl(ts->base + TP_DATA); in sun4i_ts_irq_handle_input() 125 if (!ts->ignore_fifo_data) { in sun4i_ts_irq_handle_input() 126 input_report_abs(ts->input, ABS_X, x); in sun4i_ts_irq_handle_input() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/ |
D | fsl-mx25-tcq.txt | 1 Freescale mx25 TS conversion queue module 4 mx25 for attached touchscreens. 7 - compatible: Should be "fsl,imx25-tcq". 8 - reg: Memory range of the device. 9 - interrupts: Should be the interrupt number associated with this module within 11 - fsl,wires: Should be '<4>' or '<5>' 14 - fsl,pen-debounce-ns: Pen debounce time in nanoseconds. 15 - fsl,pen-threshold: Pen-down threshold for the touchscreen. This is a value 20 - fsl,settling-time-ns: Settling time in nanoseconds. The settling time is before 29 compatible = "fsl,imx25-tcq"; [all …]
|
/Linux-v6.1/drivers/net/can/sja1000/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "EMS CPC-PCI, CPC-PCIe and CPC-104P Card" 13 This driver is for the one, two or four channel CPC-PCI, 14 CPC-PCIe and CPC-104P cards from EMS Dr. Thomas Wuensche 15 (http://www.ems-wuensche.de). 18 tristate "EMS CPC-CARD Card" 21 This driver is for the one or two channel CPC-CARD cards from 22 EMS Dr. Thomas Wuensche (http://www.ems-wuensche.de). 42 tristate "PEAK PCAN-PCI/PCIe/miniPCI Cards" 45 This driver is for the PCAN-PCI/PCIe/miniPCI cards [all …]
|
/Linux-v6.1/Documentation/driver-api/media/drivers/ |
D | vidtv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 ---------- 18 - A fake tuner driver, which will report a bad signal quality if the chosen 22 - A fake demod driver, which will constantly poll the fake signal quality 26 - A fake bridge driver, which is the module responsible for modprobing the 31 - Code reponsible for encoding a valid MPEG Transport Stream, which is then 33 For now, we have a single, audio-only channel containing a single MPEG 34 Elementary Stream, which in turn contains a SMPTE 302m encoded sine-wave. 39 -------------- 45 - Enable **DVB_TEST_DRIVERS**, then [all …]
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fence.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2011-2014 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 56 * struct vmw_event_fence_action - fence action that delivers a drm event. 63 * @tv_sec: If non-null, the variable pointed to will be assigned 82 return container_of(fence->base.lock, struct vmw_fence_manager, lock); in fman_from_fence() 87 if ((vmw->capabilities2 & SVGA_CAP2_EXTRA_REGS) != 0) in vmw_fence_goal_read() 95 if ((vmw->capabilities2 & SVGA_CAP2_EXTRA_REGS) != 0) in vmw_fence_goal_write() 106 * b) On-demand when we have waiters. Sleeping waiters will switch on the 114 * actions attached to a fence. The fencing subsystem then makes use of the [all …]
|
/Linux-v6.1/drivers/mtd/maps/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 bool "Support non-linear mappings of flash chips" 21 with config options or at run-time. 79 bool "Baikal-T1 Boot ROMs OF-based physical memory map handling" 86 This provides some extra DT physmap parsing for the Baikal-T1 87 platforms, some detection and setting up ROMs-specific accessors. 90 bool "ARM Versatile OF-based physical memory map handling" 100 bool "Cortina Gemini OF-based physical memory map handling" 111 bool "Intel IXP4xx OF-based physical memory map handling" 122 bool "GPIO-assisted Flash Chip Support" [all …]
|
/Linux-v6.1/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2003-2010 PEAK System-Technik GmbH 7 * Copyright (C) 2010-2012 Stephane Grosjean <s.grosjean@peak-system.com> 25 MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>"); 26 MODULE_DESCRIPTION("CAN driver for PEAK-System USB adapters"); 76 time_ref->adapter = adapter; in peak_usb_init_time_ref() 85 time_ref->ts_dev_2 = ts_now; in peak_usb_update_ts_now() 88 if (ktime_to_ns(time_ref->tv_host) > 0) { in peak_usb_update_ts_now() 89 u32 delta_ts = time_ref->ts_dev_2 - time_ref->ts_dev_1; in peak_usb_update_ts_now() 91 if (time_ref->ts_dev_2 < time_ref->ts_dev_1) in peak_usb_update_ts_now() [all …]
|
/Linux-v6.1/drivers/net/phy/ |
D | dp83640.c | 1 // SPDX-License-Identifier: GPL-2.0+ 145 /* list of the other attached phyters, not chosen */ 165 static int chosen_phy = -1; 194 index = gpio_tab[CALIBRATE_GPIO] - 1; in dp83640_gpio_defaults() 198 index = gpio_tab[PEROUT_GPIO] - 1; in dp83640_gpio_defaults() 203 index = gpio_tab[i] - 1; in dp83640_gpio_defaults() 205 pd[index].chan = i - EXTTS0_GPIO; in dp83640_gpio_defaults() 222 return mdiobus_write(phydev->mdio.bus, BROADCAST_ADDR, regnum, val); in broadcast_write() 228 struct dp83640_private *dp83640 = phydev->priv; in ext_read() 231 if (dp83640->clock->page != page) { in ext_read() [all …]
|
/Linux-v6.1/drivers/media/platform/ti/omap/ |
D | omap_vout.c | 4 * Copyright (C) 2005-2010 Texas Instruments. 11 * Video-for-Linux (Version 2) camera capture driver for 20 * 20-APR-2006 Khasim Modified VRFB based Rotation, 24 * 4-DEC-2006 Jian Changed to support better memory management 26 * 17-Nov-2008 Hardik Changed driver to use video_ioctl2 28 * 23-Feb-2010 Vaibhav H Modified to use new DSS2 interface 40 #include <linux/dma-mapping.h> 43 #include <media/v4l2-device.h> 44 #include <media/v4l2-ioctl.h> 45 #include <media/v4l2-event.h> [all …]
|
/Linux-v6.1/drivers/gpu/drm/panel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 Y030XX067A 320x480 3.0" panel as found in the YLM RG-280M, RG-300 18 and RG-99 handheld gaming consoles. 41 tristate "Boe BF060Y8M-AJ0 panel" 46 Say Y here if you want to enable support for Boe BF060Y8M-AJ0 58 TFT-LCD modules. The panel has a 1200x1920 resolution and uses 60 the host and has a built-in LED backlight. 86 This driver supports LVDS panels that don't require device-specific 88 backlight handling if the panel is attached to a backlight controller. 97 DRM panel driver for dumb non-eDP panels that need at most a regulator [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
D | pxa3xx-gcu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers 14 * WARNING: This controller is attached to System Bus 2 of the PXA which 22 #include <linux/dma-mapping.h> 36 #include "pxa3xx-gcu.h" 38 #define DRV_NAME "pxa3xx-gcu" 106 return __raw_readl(priv->mmio_base + off); in gc_readl() 112 __raw_writel(val, priv->mmio_base + off); in gc_writel() 117 struct timespec64 ts; \ 118 struct pxa3xx_gcu_shared *shared = priv->shared; \ [all …]
|
/Linux-v6.1/drivers/scsi/libsas/ |
D | sas_ata.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for SATA devices on Serial Attached SCSI (SAS) controllers 27 static enum ata_completion_errors sas_to_ata_err(struct task_status_struct *ts) in sas_to_ata_err() argument 32 if (ts->resp == SAS_TASK_UNDELIVERED) in sas_to_ata_err() 35 /* ts->resp == SAS_TASK_COMPLETE */ in sas_to_ata_err() 37 switch (ts->stat) { in sas_to_ata_err() 58 __func__, ts->stat); in sas_to_ata_err() 75 struct ata_queued_cmd *qc = task->uldd_task; in sas_ata_task_done() 76 struct domain_device *dev = task->dev; in sas_ata_task_done() 77 struct task_status_struct *stat = &task->task_status; in sas_ata_task_done() [all …]
|
/Linux-v6.1/tools/thermal/tmon/ |
D | tmon.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 83 unsigned long cdev_binding; /* bitmap for attached cdevs */ 127 double ki; /* Time-constant for I action from Dialog Box */ 128 double kd; /* Time-constant for D action from Dialog Box */ 129 double ts; member
|