/Linux-v5.10/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-v5.10/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-v5.10/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 51 static int attached; variable 80 lim = NSEC_PER_SEC - send_delay - dev->port_write_time; in hrtimer_event() 96 port = dev->pardev->port; in hrtimer_event() 97 port->ops->write_control(port, SIGNAL); in hrtimer_event() 100 lim = NSEC_PER_SEC - dev->port_write_time; in hrtimer_event() 106 port->ops->write_control(port, NO_SIGNAL); in hrtimer_event() 114 dev->port_write_time = in hrtimer_event() 115 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event() [all …]
|
/Linux-v5.10/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 45 * pm8001_find_tag - from sas task to find out tag that belongs to this task 51 if (task->lldd_task) { in pm8001_find_tag() 53 ccb = task->lldd_task; in pm8001_find_tag() 54 *tag = ccb->ccb_tag; in pm8001_find_tag() 61 * pm8001_tag_free - free the no more needed tag 67 void *bitmap = pm8001_ha->tags; in pm8001_tag_free() 72 * pm8001_tag_alloc - allocate a empty tag for task used. [all …]
|
/Linux-v5.10/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-v5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_crtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2015-2018 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 93 * @ts: timestamp at queue entry 100 ktime_t ts; member 110 * struct dpu_crtc - virtualized CRTC data structure 114 * pending vblank event, this will be non-null. [all …]
|
/Linux-v5.10/Documentation/networking/ |
D | timestamping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 43 ------------------------------------------------------------- 71 ---------------------------------------------------------------------- 137 over-report measurement, because the timestamp is generated when all 179 is derived from a per-socket u32 counter (that wraps). For datagram 226 received the packet and its length at layer 2. A valid (non-zero) 261 cmsg->cmsg_level = SOL_SOCKET; 262 cmsg->cmsg_type = SO_TIMESTAMPING; 263 cmsg->cmsg_len = CMSG_LEN(sizeof(__u32)); 281 ------------------------- [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/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-v5.10/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> 24 MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>"); 25 MODULE_DESCRIPTION("CAN driver for PEAK-System USB adapters"); 41 /* List of supported PCAN-USB adapters (NULL terminated list) */ 71 time_ref->adapter = adapter; in peak_usb_init_time_ref() 80 time_ref->ts_dev_2 = ts_now; in peak_usb_update_ts_now() 83 if (ktime_to_ns(time_ref->tv_host) > 0) { in peak_usb_update_ts_now() 84 u32 delta_ts = time_ref->ts_dev_2 - time_ref->ts_dev_1; in peak_usb_update_ts_now() [all …]
|
/Linux-v5.10/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 59 * struct vmw_event_fence_action - fence action that delivers a drm event. 68 * @tv_sec: If non-null, the variable pointed to will be assigned 87 return container_of(fence->base.lock, struct vmw_fence_manager, lock); in fman_from_fence() 95 * b) On-demand when we have waiters. Sleeping waiters will switch on the 103 * actions attached to a fence. The fencing subsystem then makes use of the 105 * which has an action attached, and each time vmw_fences_update is called, 109 * objects with actions attached to them. [all …]
|
/Linux-v5.10/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-v5.10/drivers/gpu/drm/panel/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 38 TFT-LCD modules. The panel has a 1200x1920 resolution and uses 40 the host and has a built-in LED backlight. 57 This driver supports LVDS panels that don't require device-specific 59 backlight handling if the panel is attached to a backlight controller. 68 a GPIO to be powered up. Optionally a backlight can be attached so 79 KD35T133 controller for 320x480 LCD panels with MIPI-DSI 89 4-lane 800x1280 MIPI DSI panel. 92 tristate "Feiyang FY07024DI26A30-D MIPI-DSI LCD panel" 98 Feiyang FY07024DI26A30-D MIPI-DSI interface. [all …]
|
/Linux-v5.10/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Serial Attached SCSI (SAS) class SCSI Host glue. 39 struct task_status_struct *ts = &task->task_status; in sas_end_task() local 42 if (ts->resp == SAS_TASK_UNDELIVERED) { in sas_end_task() 45 } else { /* ts->resp == SAS_TASK_COMPLETE */ in sas_end_task() 47 switch (ts->stat) { in sas_end_task() 56 scsi_set_resid(sc, ts->residual); in sas_end_task() 57 if (scsi_bufflen(sc) - scsi_get_resid(sc) < sc->underflow) in sas_end_task() 73 if (ts->open_rej_reason == SAS_OREJ_RSVD_RETRY) in sas_end_task() 80 task->dev->port->ha->sas_ha_name); in sas_end_task() [all …]
|
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() 65 __func__, ts->stat); in sas_to_ata_err() 83 struct ata_queued_cmd *qc = task->uldd_task; in sas_ata_task_done() 84 struct domain_device *dev = task->dev; in sas_ata_task_done() 85 struct task_status_struct *stat = &task->task_status; in sas_ata_task_done() [all …]
|
/Linux-v5.10/drivers/net/phy/ |
D | dp83640.c | 1 // SPDX-License-Identifier: GPL-2.0+ 137 /* list of the other attached phyters, not chosen */ 157 static int chosen_phy = -1; 186 index = gpio_tab[CALIBRATE_GPIO] - 1; in dp83640_gpio_defaults() 190 index = gpio_tab[PEROUT_GPIO] - 1; in dp83640_gpio_defaults() 195 index = gpio_tab[i] - 1; in dp83640_gpio_defaults() 197 pd[index].chan = i - EXTTS0_GPIO; in dp83640_gpio_defaults() 214 return mdiobus_write(phydev->mdio.bus, BROADCAST_ADDR, regnum, val); in broadcast_write() 220 struct dp83640_private *dp83640 = phydev->priv; in ext_read() 223 if (dp83640->clock->page != page) { in ext_read() [all …]
|
/Linux-v5.10/fs/jbd2/ |
D | transaction.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright 1998 Red Hat corp --- All Rights Reserved 26 #include <linux/backing-dev.h> 47 return -ENOMEM; in jbd2_journal_init_transaction_cache() 70 int tag_space = journal->j_blocksize - sizeof(journal_header_t); in jbd2_descriptor_blocks_per_trans() 74 tag_space -= 16; in jbd2_descriptor_blocks_per_trans() 76 tag_space -= sizeof(struct jbd2_journal_block_tail); in jbd2_descriptor_blocks_per_trans() 78 tags_per_block = (tag_space - 16) / journal_tag_bytes(journal); in jbd2_descriptor_blocks_per_trans() 83 return 1 + DIV_ROUND_UP(journal->j_max_transaction_buffers, in jbd2_descriptor_blocks_per_trans() 105 transaction->t_journal = journal; in jbd2_get_transaction() [all …]
|
/Linux-v5.10/drivers/media/platform/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 …]
|