Home
last modified time | relevance | path

Searched +full:ts +full:- +full:attached (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dallwinner,sun4i-a10-ts.yaml1 # 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 …]
/openbmc/linux/sound/soc/meson/
H A Daxg-tdm-formatter.c1 // 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 …]
/openbmc/linux/drivers/pps/generators/
H A Dpps_gen_parport.c1 // 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 …]
/openbmc/qemu/util/
H A Dqemu-timer.c4 * Copyright (c) 2003-2008 Fabrice Bellard
26 #include "qemu/main-loop.h"
29 #include "sysemu/cpu-timers.h"
59 /* A QEMUTimerList is a list of timers attached to a clock. More
60 * than one QEMUTimerList can be attached to each clock, for instance
93 return timer_head && (timer_head->expire_time <= current_time); in timer_expired_ns()
104 qemu_event_init(&timer_list->timers_done_ev, true); in timerlist_new()
105 timer_list->clock = clock; in timerlist_new()
106 timer_list->notify_cb = cb; in timerlist_new()
107 timer_list->notify_opaque = opaque; in timerlist_new()
[all …]
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_sas.c2 * 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->rsvd_tags; in pm8001_tag_free()
74 spin_lock_irqsave(&pm8001_ha->bitmap_lock, flags); in pm8001_tag_free()
[all …]
/openbmc/qemu/include/block/
H A Daio.h10 * the COPYING file in the top-level directory.
20 #include "qemu/coroutine-core.h"
26 #include "block/graph-lock.h"
27 #include "hw/qdev-core.h"
76 * Called with ctx->list_lock acquired.
88 * Called with ctx->list_lock incremented but not locked.
98 * Tell aio_poll() when to stop userspace polling early because ->wait()
106 * Returns: true if ->wait() should be called, false otherwise.
129 /* Used by AioContext users to protect from multi-threaded access. */
140 /* The list of registered AIO handlers. Protected by ctx->list_lock. */
[all …]
/openbmc/qemu/hw/s390x/
H A Dtod.c8 * See the COPYING file in the top-level directory.
14 #include "qemu/error-report.h"
19 #include "migration/qemu-file-types.h"
44 static S390TODState *ts; in s390_get_todstate() local
46 if (!ts) { in s390_get_todstate()
47 ts = S390_TOD(object_resolve_path_type("", TYPE_S390_TOD, NULL)); in s390_get_todstate()
50 return ts; in s390_get_todstate()
63 tdc->get(td, &tod, &err); in s390_tod_save()
93 tdc->set(td, &tod, &err); in s390_tod_load()
96 return -1; in s390_tod_load()
[all …]
/openbmc/linux/arch/arm/mach-orion5x/
H A Dts409-setup.c1 // 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 …]
H A Dts209-setup.c1 // 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 Dtsx09-common.c1 // 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 …]
/openbmc/linux/kernel/time/
H A Dposix-clock.c1 // 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 …]
/openbmc/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_crtc.h1 /* 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 …]
/openbmc/linux/drivers/input/touchscreen/
H A Dsun4i-ts.c1 // 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 …]
/openbmc/qemu/include/qemu/
H A Dtimer.h6 #include "qemu/host-utils.h"
140 * has timers attached
147 * has timers attached
187 * in nanoseconds, or -1 if no timer is set to expire.
189 * Returns: time until expiry in nanoseconds or -1
312 * expires. Return -1 if there are no timers.
315 * timer expires -1 if none
386 * Returns: the deadline in nanoseconds or -1 if no
397 * @ts: the timer to be initialised
413 void timer_init_full(QEMUTimer *ts,
[all …]
/openbmc/linux/Documentation/networking/
H A Dtimestamping.rst1 .. 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
207 a timestamp with counter N-1. SOF_TIMESTAMPING_OPT_ID_TCP
257 received the packet and its length at layer 2. A valid (non-zero)
292 cmsg->cmsg_level = SOL_SOCKET;
293 cmsg->cmsg_type = SO_TIMESTAMPING;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dfsl-mx25-tcq.txt1 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 …]
/openbmc/u-boot/board/theadorable/
H A Dfpga.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <asm/arch-mvebu/spi.h>
71 * Write data to FPGA attached to SPI bus via SPI direct write. in fpga_write_fn()
87 control_reg = readl(&reg->ctrl); in fpga_write_fn()
88 config_reg = readl(&reg->cfg); in fpga_write_fn()
89 writel(0x00000214, &reg->cfg); /* 27MHz clock */ in fpga_write_fn()
90 writel(0x00000000, &reg->dw_cfg); /* don't de-asset CS */ in fpga_write_fn()
91 writel(KWSPI_CSN_ACT, &reg->ctrl); /* activate CS */ in fpga_write_fn()
97 writel(control_reg, &reg->ctrl); in fpga_write_fn()
98 writel(config_reg, &reg->cfg); in fpga_write_fn()
[all …]
/openbmc/linux/drivers/net/can/sja1000/
H A DKconfig1 # 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 …]
/openbmc/linux/Documentation/driver-api/media/drivers/
H A Dvidtv.rst1 .. 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 …]
/openbmc/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_fence.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2011-2023 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
55 * struct vmw_event_fence_action - fence action that delivers a drm event.
62 * @tv_sec: If non-null, the variable pointed to will be assigned
81 return container_of(fence->base.lock, struct vmw_fence_manager, lock); in fman_from_fence()
86 if ((vmw->capabilities2 & SVGA_CAP2_EXTRA_REGS) != 0) in vmw_fence_goal_read()
94 if ((vmw->capabilities2 & SVGA_CAP2_EXTRA_REGS) != 0) in vmw_fence_goal_write()
105 * b) On-demand when we have waiters. Sleeping waiters will switch on the
113 * actions attached to a fence. The fencing subsystem then makes use of the
[all …]
/openbmc/linux/drivers/mtd/maps/
H A DKconfig1 # 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 …]
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_core.c1 // 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>
27 MODULE_AUTHOR("Stephane Grosjean <s.grosjean@peak-system.com>");
28 MODULE_DESCRIPTION("CAN driver for PEAK-System USB adapters");
63 return sysfs_emit(buf, "%08X\n", peak_dev->can_channel_id); in can_channel_id_show()
98 time_ref->adapter = adapter; in peak_usb_init_time_ref()
107 time_ref->ts_dev_2 = ts_now; in peak_usb_update_ts_now()
110 if (ktime_to_ns(time_ref->tv_host) > 0) { in peak_usb_update_ts_now()
111 u32 delta_ts = time_ref->ts_dev_2 - time_ref->ts_dev_1; in peak_usb_update_ts_now()
[all …]
/openbmc/linux/drivers/net/phy/
H A Ddp83640.c1 // 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 …]
/openbmc/linux/drivers/media/platform/ti/omap/
H A Domap_vout.c4 * 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 …]
/openbmc/linux/drivers/video/fbdev/
H A Dpxa3xx-gcu.c1 // 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 …]

123456