/Linux-v6.6/drivers/gpu/drm/sun4i/ |
D | sun4i_tv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 55 #define SUN4I_TVE_NOTCH_DAC0_TO_DAC_DLY(dac, x) ((4 - (x)) << (dac * 3)) 256 if (tv_mode->tv_mode == mode) in sun4i_tv_find_tv_by_mode() 266 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_disable() local 267 struct sun4i_crtc *crtc = drm_crtc_to_sun4i_crtc(encoder->crtc); in sun4i_tv_disable() 269 DRM_DEBUG_DRIVER("Disabling the TV Output\n"); in sun4i_tv_disable() 271 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_disable() 275 sunxi_engine_disable_color_correction(crtc->engine); in sun4i_tv_disable() 281 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_enable() local [all …]
|
/Linux-v6.6/drivers/usb/misc/ |
D | trancevibrator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 27 /* Driver-local specific stuff */ 37 struct trancevibrator *tv = usb_get_intfdata(intf); in speed_show() local 39 return sprintf(buf, "%d\n", tv->speed); in speed_show() 46 struct trancevibrator *tv = usb_get_intfdata(intf); in speed_store() local 56 old = tv->speed; in speed_store() 57 tv->speed = temp; in speed_store() 59 dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed); in speed_store() 61 /* Set speed */ in speed_store() 62 retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0), in speed_store() [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/dvb/ |
D | intro.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 16 area of digital video broadcasting (Digital TV) and should be familiar with 17 part I of the MPEG2 specification ISO/IEC 13818 (aka ITU-T H.222), i.e 19 meant by a packetized elementary stream (PES) or an I-frame. 21 Various Digital TV standards documents are available for download at: 23 - European standards (DVB): http://www.dvb.org and/or http://www.etsi.org. 24 - American standards (ATSC): https://www.atsc.org/standards/ 25 - Japanese standards (ISDB): http://www.dibeg.org/ 36 The first API for Digital TV cards we used at Convergence in late 1999 was an 39 TV cards and their new features like recording MPEG streams and filtering [all …]
|
D | dvbproperty.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _frontend-properties: 9 Tuning into a Digital TV physical channel and starting decoding it 10 requires changing a set of parameters, in order to control the tuner, 11 the demodulator, the Linear Low-noise Amplifier (LNA) and to set the 12 antenna subsystem via Satellite Equipment Control - SEC (on satellite 14 TV standards, and may change as the digital TV specs evolves. 16 In the past (up to DVB API version 3 - DVBv3), the strategy used was to have a 17 union with the parameters needed to tune for DVB-S, DVB-C, DVB-T and 24 of a properties set approach. On such approach, [all …]
|
D | dvbapi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 7 Part II - Digital TV API 14 It it was originally written to support the European digital TV 15 standard (DVB), and later extended to support all digital TV standards. 18 it, and to associated hardware as **Digital TV**. 22 - the Digital TV API version 24 - digital TV data types (enums, structs, defines, etc); 25 - digital TV device nodes (``/dev/dvb/...``); 26 - the European DVB standard. 32 .. class:: toc-title [all …]
|
/Linux-v6.6/drivers/media/v4l2-core/ |
D | tuner-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * i2c tv tuner chip device driver 8 * Copyright(c) 2005-2011 by Mauro Carvalho Chehab 9 * - Added support for a separate Radio tuner 10 * - Major rework and cleanups at the code 15 * handle both radio and analog TV tuning. 31 #include <media/tuner-types.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-ioctl.h> 39 #include "tuner-simple.h" [all …]
|
/Linux-v6.6/kernel/time/ |
D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * 1993-09-02 Philip Gladstone 12 * 1993-10-08 Torsten Duwe 14 * 1995-08-13 Torsten Duwe 15 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 16 * 1999-01-16 Ulrich Windl 22 * 2004-07-14 Christoph Lameter 57 * sys_time() can be implemented in user-level using 68 return -EFAULT; in SYSCALL_DEFINE1() 75 * sys_stime() can be implemented in user-level using [all …]
|
/Linux-v6.6/include/media/ |
D | tuner-types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * enum param_type - type of the tuner pameters 13 * @TUNER_PARAM_TYPE_PAL: Tuner params are for PAL color TV standard 14 * @TUNER_PARAM_TYPE_SECAM: Tuner params are for SECAM color TV standard 15 * @TUNER_PARAM_TYPE_NTSC: Tuner params are for NTSC color TV standard 16 * @TUNER_PARAM_TYPE_DIGITAL: Tuner params are for digital TV 27 * struct tuner_range - define the frequencies supported by the tuner 30 * (TV) or 62.5 Hz (Radio), as defined by 38 * tuners. On those devices, the tuner set is done via 4 bytes: 54 * struct tuner_params - Parameters to be used to setup the tuner. Those [all …]
|
D | tuner.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * tuner.h - definition for different tuners 5 * Copyright (C) 1997 Markus Schroeder (schroedm@uni-duesseldorf.de) 6 * minor modifications by Ralph Metzler (rjkm@thp.uni-koeln.de) 14 #include <media/v4l2-mc.h> 73 #define TUNER_PHILIPS_4IN1 44 /* ATI TV Wonder Pro - Conexant */ 83 #define TUNER_MICROTUNE_4042FI5 49 /* DViCO FusionHDTV 3 Gold-Q - 4042 FI5 (3X 8147) */ 90 #define TUNER_TCL_2002MB 55 /* Hauppauge PVR-150 PAL */ 92 #define TUNER_PHILIPS_FQ1216AME_MK4 56 /* Hauppauge PVR-150 PAL */ 93 #define TUNER_PHILIPS_FQ1236A_MK4 57 /* Hauppauge PVR-500MCE NTSC */ [all …]
|
D | dvb_frontend.h | 4 * The Digital TV Frontend kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 28 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 61 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning 78 * struct dvb_tuner_info - Frontend name and min/max ranges/bandwidths 101 * struct analog_parameters - Parameters to tune into an analog/radio channel 103 * @frequency: Frequency used by analog TV tuner (either in 62.5 kHz step, 104 * for TV, or 62.5 Hz for radio) 108 * @std: TV standard bitmap as defined at videodev2.h, e. g. V4L2_STD_* 122 * enum dvbfe_algo - defines the algorithm used to tune into a channel [all …]
|
/Linux-v6.6/Documentation/driver-api/media/ |
D | dtv-demux.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Digital TV Demux kABI 4 --------------------- 6 Digital TV Demux 9 The Kernel Digital TV Demux kABI defines a driver-internal interface for 10 registering low-level, hardware specific driver to a hardware independent 11 demux layer. It is only of interest for Digital TV device driver writers. 20 Each demux receives its TS input from a DVB front-end or from memory, as 21 set via this demux kABI. In a system with more than one front-end, the kABI 22 can be used to select one of the DVB front-ends as a TS source for a demux, [all …]
|
/Linux-v6.6/Documentation/admin-guide/media/ |
D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range 28 - All possible control types are present 29 - Support for various pixel aspect ratios and video aspect ratios [all …]
|
D | bttv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ---------------------- 12 ./scripts/config -e PCI 13 ./scripts/config -m I2C 14 ./scripts/config -m INPUT 15 ./scripts/config -m MEDIA_SUPPORT 16 ./scripts/config -e MEDIA_PCI_SUPPORT 17 ./scripts/config -e MEDIA_ANALOG_TV_SUPPORT 18 ./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT 19 ./scripts/config -e MEDIA_RADIO_SUPPORT [all …]
|
D | building.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 distribution-specific source file or via the Kernel's main git tree\ [1]_. 12 - you're a braveheart and want to experiment with new stuff; 13 - if you want to report a bug; 14 - if you're developing new patches 23 https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers 42 # CONFIG_RC_CORE is not set 43 # CONFIG_CEC_CORE is not set 50 Device Drivers ---> 51 <M> Remote Controller support ---> [all …]
|
D | dvb_intro.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Using the Digital TV Framework 10 One significant difference between Digital TV and Analogue TV that the 12 structure of DVB-T cards are substantially similar to Analogue TV cards, 15 The purpose of an Analogue TV is to receive and display an Analogue 16 Television signal. An Analogue TV signal (otherwise known as composite 20 Analogue TV card for a PC has the following purpose: 30 embedded within the modulated composite analogue signal - 36 The digital datastream from an Analogue TV card is generated by 37 circuitry on the card and is often presented uncompressed. For a PAL TV [all …]
|
D | cafe_ccic.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 ------------ 12 controller. This is the controller found in first-generation OLPC systems, 23 .. code-block:: none 25 $ mplayer tv:// -tv driver=v4l2:width=640:height=480 -nosound 26 $ mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr16 -nosound 31 ----------------- 33 There are a few load-time options, most of which can be changed after 36 - alloc_bufs_at_load: Normally, the driver will not allocate any DMA 37 buffers until the time comes to transfer data. If this option is set, [all …]
|
/Linux-v6.6/drivers/gpu/drm/ |
D | drm_atomic_uapi.c | 38 #include <linux/dma-fence.h> 56 * drm_atomic_set_mode_for_crtc - set mode for CRTC 58 * @mode: kernel-internal mode to use for the CRTC, or NULL to disable 60 * Set a mode (originating from the kernel) on the desired CRTC state and update 64 * Zero on success, error code on failure. Cannot return -EDEADLK. 69 struct drm_crtc *crtc = state->crtc; in drm_atomic_set_mode_for_crtc() 73 if (mode && memcmp(&state->mode, mode, sizeof(*mode)) == 0) in drm_atomic_set_mode_for_crtc() 76 drm_property_blob_put(state->mode_blob); in drm_atomic_set_mode_for_crtc() 77 state->mode_blob = NULL; in drm_atomic_set_mode_for_crtc() 83 blob = drm_property_create_blob(crtc->dev, in drm_atomic_set_mode_for_crtc() [all …]
|
D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 64 * driver must also set the &drm_connector.encoder field to point to the 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 105 { DRM_MODE_CONNECTOR_TV, "TV" }, [all …]
|
/Linux-v6.6/include/drm/ |
D | drm_mode_config.h | 42 * struct drm_mode_config_funcs - basic driver provided mode setting functions 44 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that 59 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0. 70 * driver-specific information (like the internal native buffer object 135 * - Checking that the modes, framebuffers, scaling and placement 138 * - Checking that any hidden shared resources are not oversubscribed. 143 * - Checking that virtualized resources exported to userspace are not 146 * example is dual-pipe operations (which generally should be hidden 153 * - Check that any transitional state is possible and that if 157 * - Check any other constraints the driver or hardware might have. [all …]
|
/Linux-v6.6/include/uapi/linux/dvb/ |
D | frontend.h | 1 /* SPDX-License-Identifier: LGPL-2.1+ WITH Linux-syscall-note */ 18 * enum fe_caps - Frontend capabilities 23 * @FE_CAN_INVERSION_AUTO: Can auto-detect frequency spectral 33 * @FE_CAN_FEC_AUTO: Can auto-detect FEC 35 * @FE_CAN_QAM_16: Supports 16-QAM modulation 36 * @FE_CAN_QAM_32: Supports 32-QAM modulation 37 * @FE_CAN_QAM_64: Supports 64-QAM modulation 38 * @FE_CAN_QAM_128: Supports 128-QAM modulation 39 * @FE_CAN_QAM_256: Supports 256-QAM modulation 40 * @FE_CAN_QAM_AUTO: Can auto-detect QAM modulation [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/mediactl/ |
D | media-types.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _media-controller-types: 10 .. _media-entity-functions: 11 .. _MEDIA-ENT-F-UNKNOWN: 12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN: 13 .. _MEDIA-ENT-F-IO-V4L: 14 .. _MEDIA-ENT-F-IO-VBI: 15 .. _MEDIA-ENT-F-IO-SWRADIO: 16 .. _MEDIA-ENT-F-IO-DTV: 17 .. _MEDIA-ENT-F-DTV-DEMOD: [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/cec/ |
D | cec-ioc-adap-g-log-addrs.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 15 CEC_ADAP_G_LOG_ADDRS, CEC_ADAP_S_LOG_ADDRS - Get or set the logical addresses 44 To set new logical addresses, applications fill in 47 is only available if ``CEC_CAP_LOG_ADDRS`` is set (the ``ENOTTY`` error code is 52 To clear existing logical addresses set ``num_log_addrs`` to 0. All other fields 59 addresses have been claimed. If the file descriptor is in non-blocking mode then it will 62 A :ref:`CEC_EVENT_STATE_CHANGE <CEC-EVENT-STATE-CHANGE>` event is sent when the 74 .. flat-table:: struct cec_log_addrs 75 :header-rows: 0 76 :stub-columns: 0 [all …]
|
/Linux-v6.6/drivers/gpu/drm/i915/display/ |
D | intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 63 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 64 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 65 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 66 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 67 #define IS_DIGITAL(c) (c->output_flag & (SDVO_TMDS_MASK | SDVO_LVDS_MASK)) 124 * the sdvo flag gets lost in round trip: dtd->adjusted_mode->dtd 135 /* This contains all current supported TV format */ 140 /* add the property for the SDVO-TV */ 158 /* add the property for the SDVO-TV/LVDS */ [all …]
|
/Linux-v6.6/tools/testing/selftests/timers/ |
D | leapcrash.c | 13 * $ gcc leapcrash.c -o leapcrash -lrt 36 * -stable), had an issue with the state machine in clear_time_state() 50 /* Make sure we cleanup on ctrl-c */ 69 printf("This runs for a few minutes. Press ctrl-c to stop\n"); in main() 79 next_leap += 86400 - (next_leap % 86400); in main() 82 struct timeval tv; in main() local 85 /* set the time to 2 seconds before the leap */ in main() 86 tv.tv_sec = next_leap - 2; in main() 87 tv.tv_usec = 0; in main() 88 if (settimeofday(&tv, NULL)) { in main() [all …]
|
/Linux-v6.6/fs/ |
D | utimes.c | 1 // SPDX-License-Identifier: GPL-2.0 24 struct inode *inode = path->dentry->d_inode; in vfs_utimes() 30 return -EINVAL; in vfs_utimes() 36 error = mnt_want_write(path->mnt); in vfs_utimes() 66 error = notify_change(mnt_idmap(path->mnt), path->dentry, &newattrs, in vfs_utimes() 75 mnt_drop_write(path->mnt); in vfs_utimes() 87 return -EINVAL; in do_utimes_path() 115 return -EINVAL; in do_utimes_fd() 119 return -EBADF; in do_utimes_fd() 120 error = vfs_utimes(&f.file->f_path, times); in do_utimes_fd() [all …]
|