| /linux/Documentation/devicetree/bindings/mfd/ |
| H A 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/sound/soc/meson/ |
| H A 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 ch = ts->channels; in axg_tdm_formatter_set_channel_masks() 53 if ((BIT(i + k) & ts->mask[j]) && ch) { in axg_tdm_formatter_set_channel_masks() 55 ch -= 1; in axg_tdm_formatter_set_channel_masks() 68 return -EINVAL; in axg_tdm_formatter_set_channel_masks() 82 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable() local 87 if (formatter->enabled) in axg_tdm_formatter_enable() 104 ret = reset_control_reset(formatter->reset); in axg_tdm_formatter_enable() [all …]
|
| /linux/drivers/pps/generators/ |
| H A 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() 93 port = dev->pardev->port; in hrtimer_event() 94 port->ops->write_control(port, SIGNAL); in hrtimer_event() 97 lim = NSEC_PER_SEC - dev->port_write_time; in hrtimer_event() 103 port->ops->write_control(port, NO_SIGNAL); in hrtimer_event() 111 dev->port_write_time = in hrtimer_event() 112 (dev->port_write_time + timespec64_to_ns(&dts)) >> 1; in hrtimer_event() [all …]
|
| /linux/arch/arm/mach-orion5x/ |
| H A D | ts409-setup.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * QNAP TS-409 Board Setup 24 #include <asm/mach-types.h> 30 #include "tsx09-common.h" 33 * QNAP TS-409 Info 37 * QNAP TS-409 hardware : 38 * - Marvell 88F5281-D0 39 * - Marvell 88SX7042 SATA controller (PCIe) 40 * - Marvell 88E1118 Gigabit Ethernet PHY 41 * - RTC S35390A (@0x30) on I2C bus [all …]
|
| H A 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 …]
|
| H A 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/drivers/gpu/drm/msm/disp/dpu1/ |
| H A 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/kernel/time/ |
| H A 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_context *pccontext = fp->private_data; in get_posix_clock() 23 struct posix_clock *clk = pccontext->clk; in get_posix_clock() 25 down_read(&clk->rwsem); in get_posix_clock() 27 if (!clk->zombie) in get_posix_clock() 30 up_read(&clk->rwsem); in get_posix_clock() 37 up_read(&clk->rwsem); in put_posix_clock() [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A 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/Documentation/networking/ |
| H A D | timestamping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 43 ------------------------------------------------------------- 59 ------------------------------------------------------------------- 72 ---------------------------------------------------------------------- 138 over-report measurement, because the timestamp is generated when all 189 is derived from a per-socket u32 counter (that wraps). For datagram 212 cmsg->cmsg_level = SOL_SOCKET; 213 cmsg->cmsg_type = SCM_TS_OPT_ID; 214 cmsg->cmsg_len = CMSG_LEN(sizeof(__u32)); 230 a timestamp with counter N-1. SOF_TIMESTAMPING_OPT_ID_TCP [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A 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/drivers/net/can/sja1000/ |
| H A 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/Documentation/driver-api/media/drivers/ |
| H A 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 responsible 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/drivers/mtd/maps/ |
| H A 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/drivers/video/fbdev/ |
| H A 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/tools/thermal/tmon/ |
| H A 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
|
| /linux/drivers/scsi/libsas/ |
| H A 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/drivers/net/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 25 # All the following symbols are dependent on NETDEVICES - do not repeat 63 This is essentially a bit-bucket device (i.e. traffic you send to 133 section 6.2 of the NET-3-HOWTO, available from 169 tristate "MAC-VLAN support" 175 iproute2 package starting with the iproute2-2.6.23 release: 183 tristate "MAC-VLAN based tap driver" 189 on the MAC-VLAN network interface, called macvtap. A macvtap device 203 tristate "IP-VLAN support" 213 iproute2 package starting with the iproute2-3.19 release: [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | signal_64.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 8 * 1997-11-28 Modified for POSIX.1b signals by Richard Henderson 35 #include <asm/asm-prototypes.h> 65 /* New 64 bit little-endian ABI allows redzone of 512 bytes below sp */ 83 return (elf_vrreg_t __user *) (((unsigned long)sc->vmx_reserve + 15) & ~0xful); in sigcontext_vmx_regs() 91 if (tsk->thread.used_vr) in prepare_setup_sigcontext() 94 tsk->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_setup_sigcontext() 100 if (tsk->thread.used_vsr) in prepare_setup_sigcontext() 129 struct pt_regs *regs = tsk->thread.regs; in __unsafe_setup_sigcontext() [all …]
|
| /linux/drivers/bus/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 37 Driver for the Broadcom Set Top Box System-on-a-chip internal bus 42 bool "Baikal-T1 APB-bus driver" 46 Baikal-T1 AXI-APB bridge is used to access the SoC subsystem CSRs. 53 errors counter. The counter and the APB-bus operations timeout can be 57 bool "Baikal-T1 AXI-bus driver" 61 AXI3-bus is the main communication bus connecting all high-speed 62 peripheral IP-cores with RAM controller and with MIPS P5600 cores on 63 Baikal-T1 SoC. Traffic arbitration is done by means of DW AMBA 3 AXI 87 Driver to enable I/O access to devices attached to the Low Pin [all …]
|
| /linux/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas_v1_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 414 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_read32() 422 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_write32() 430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() 438 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32() 471 memcpy(&identify_frame._un4_11[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 472 memcpy(&identify_frame.sas_addr[0], hisi_hba->sas_addr, SAS_ADDR_SIZE); in config_id_frame_v1_hw() 493 struct domain_device *device = sas_dev->sas_device; in setup_itct_v1_hw() 494 struct device *dev = hisi_hba->dev; in setup_itct_v1_hw() 495 u64 qw0, device_id = sas_dev->device_id; in setup_itct_v1_hw() [all …]
|
| /linux/drivers/usb/gadget/function/ |
| H A D | uvc_video.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * uvc_video.c -- USB Video Class Gadget driver 5 * Copyright (C) 2009-2010 17 #include <media/v4l2-dev.h> 24 /* -------------------------------------------------------------------------- 33 struct usb_composite_dev *cdev = uvc->func.config->cdev; in uvc_video_encode_header() 34 struct timespec64 ts = ns_to_timespec64(buf->buf.vb2_buf.timestamp); in uvc_video_encode_header() local 37 data[1] = UVC_STREAM_EOH | video->fid; in uvc_video_encode_header() 39 if (video->queue.flags & UVC_QUEUE_DROP_INCOMPLETE) in uvc_video_encode_header() 42 if (video->queue.buf_used == 0 && ts.tv_sec) { in uvc_video_encode_header() [all …]
|
| /linux/fs/jbd2/ |
| H A 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() 83 transaction->t_journal = journal; in jbd2_get_transaction() 84 transaction->t_state = T_RUNNING; in jbd2_get_transaction() 85 transaction->t_start_time = ktime_get(); in jbd2_get_transaction() 86 transaction->t_tid = journal->j_transaction_sequence++; in jbd2_get_transaction() 87 transaction->t_expires = jiffies + journal->j_commit_interval; in jbd2_get_transaction() 88 atomic_set(&transaction->t_updates, 0); in jbd2_get_transaction() [all …]
|
| /linux/drivers/infiniband/hw/mthca/ |
| H A D | mthca_cmd.c | 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 151 * commands. So we can't use strict timeouts described in PRM -- we 194 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit() 206 void __iomem *ptr = dev->cmd.dbell_map; in mthca_cmd_post_dbell() 207 u16 *offs = dev->cmd.dbell_offsets; in mthca_cmd_post_dbell() 249 return -EAGAIN; in mthca_cmd_post_hcr() 257 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() 258 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr() 259 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr() [all …]
|
| /linux/net/ipv6/ |
| H A D | ioam6.c | 1 // SPDX-License-Identifier: GPL-2.0+ 53 return (ns->id != *(__be16 *)arg->key); in ioam6_ns_cmpfn() 60 return (sc->id != *(u32 *)arg->key); in ioam6_sc_cmpfn() 116 if (!info->attrs[IOAM6_ATTR_NS_ID]) in ioam6_genl_addns() 117 return -EINVAL; in ioam6_genl_addns() 119 id = cpu_to_be16(nla_get_u16(info->attrs[IOAM6_ATTR_NS_ID])); in ioam6_genl_addns() 122 mutex_lock(&nsdata->lock); in ioam6_genl_addns() 124 ns = rhashtable_lookup_fast(&nsdata->namespaces, &id, rht_ns_params); in ioam6_genl_addns() 126 err = -EEXIST; in ioam6_genl_addns() 132 err = -ENOMEM; in ioam6_genl_addns() [all …]
|