/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-radio-rx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vivid-radio-rx.c - radio receiver support functions. 12 #include <linux/v4l2-dv-timings.h> 15 #include <media/v4l2-common.h> 16 #include <media/v4l2-event.h> 17 #include <media/v4l2-dv-timings.h> 19 #include "vivid-core.h" 20 #include "vivid-ctrls.h" 21 #include "vivid-radio-common.h" 22 #include "vivid-rds-gen.h" [all …]
|
/linux/Documentation/hwmon/ |
H A D | bt1-pvt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 12 Addresses scanned: - 21 ----------- 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 29 compile-time configurable due to the hardware interface implementation 40 in alarm-less configuration the data conversion is performed by the driver 41 on demand when read operation is requested via corresponding _input-file. [all …]
|
/linux/include/linux/ |
H A D | console_struct.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * used by vt.c. 8 * Fields marked with [#] must be set by the low-level driver. 9 * Fields marked with [!] can be changed by the low-level driver 17 #include <linux/vt.h> 33 * struct vc_state -- state of a VC 34 * @x: cursor's x-position 35 * @y: cursor's y-position 65 * vc_screenbuf ---------> +----------------------+-. 68 * | initializing Y | > scroll-back area [all …]
|
H A D | notifier.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 41 * They use SRCU (Sleepable Read-Copy Update) instead of rw-semaphores for 42 * protection of the chain links. This means there is _very_ low overhead 82 spin_lock_init(&(name)->lock); \ 83 (name)->head = NULL; \ 86 init_rwsem(&(name)->rwsem); \ 87 (name)->head = NULL; \ 90 (name)->head = NULL; \ 96 cleanup_srcu_struct(&(name)->srcu); 199 return NOTIFY_STOP_MASK | (NOTIFY_OK - err); in notifier_from_errno() [all …]
|
/linux/Documentation/admin-guide/ |
H A D | unicode.rst | 4 Last update: 2005-01-17, version 1.4 12 ------------ 15 characters to fonts. By downloading a single Unicode-to-font table, 16 both the eight-bit character sets and UTF-8 mode are changed to use 19 This changes the semantics of the eight-bit character tables subtly. 25 LAT1_MAP Latin-1 (ISO 8859-1) ESC ( B 33 permits for example the use of block graphics even with a Latin-1 font 37 codes nor their uses match ISO 2022; Linux has two 8-bit codes (G0 and 38 G1), whereas ISO 2022 has four 7-bit codes (G0-G3). 41 U+F8FF has been reserved for OS-wide allocation (the Unicode Standard [all …]
|
H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | baikal,bt1-pvt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/hwmon/baikal,bt1-pvt.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Baikal-T1 PVT Sensor 11 - Serge Semin <fancer.lancer@gmail.com> 14 Baikal-T1 SoC provides an embedded process, voltage and temperature 17 which may cause the system instability and even damages. The IP-block 19 control wrapper, which provides a MMIO registers-based access to the 20 sensor core functionality (APB3-bus based) and exposes an additional [all …]
|
/linux/drivers/media/i2c/ |
H A D | sony-btf-mpx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2005-2006 Micronas USA Inc. 11 #include <media/v4l2-common.h> 12 #include <media/v4l2-ioctl.h> 13 #include <media/v4l2-device.h> 16 MODULE_DESCRIPTION("sony-btf-mpx driver"); 28 * AS(IF/MPX) pin: LOW HIGH/OPEN 33 static int force_mpx_mode = -1; 57 msg.addr = client->addr; in mpx_write() 61 i2c_transfer(client->adapter, &msg, 1); in mpx_write() [all …]
|
H A D | saa717x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * saa717x - Philips SAA717xHL video decoder driver 8 * - Apply to SAA717x,NEC uPD64031,uPD64083. (1/31/2004) 10 * Changes by T.Adachi (tadachi@tadachi-net.com) 11 * - support audio, video scaler etc, and checked the initialize sequence. 27 #include <media/v4l2-device.h> 28 #include <media/v4l2-ctrls.h> 36 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 70 return &container_of(ctrl->handler, struct saa717x_state, hdl)->sd; in to_sd() 73 /* ----------------------------------------------------------------------- */ [all …]
|
H A D | max2175.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 30 #define mxm_dbg(ctx, fmt, arg...) dev_dbg(&ctx->client->dev, fmt, ## arg) 31 #define mxm_err(ctx, fmt, arg...) dev_err(&ctx->client->dev, fmt, ## arg) 264 struct v4l2_subdev sd; /* Sub-device */ 273 struct v4l2_ctrl *hsls; /* High-side/Low-side polarity */ 288 bool am_hiz; /* AM Hi-Z filter */ 321 ret = regmap_read(ctx->regmap, idx, ®val); in max2175_read() 334 ret = regmap_write(ctx->regmap, idx, val); in max2175_write() [all …]
|
/linux/drivers/iommu/intel/ |
H A D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * cache.c - Intel VT-d cache invalidation 27 if (tag->type != type) in cache_tage_match() 30 if (tag->domain_id != domain_id || tag->pasid != pasid) in cache_tage_match() 34 return tag->iommu == iommu; in cache_tage_match() 37 return tag->dev == dev; in cache_tage_match() 48 struct intel_iommu *iommu = info->iommu; in cache_tag_assign() 54 return -ENOMEM; in cache_tag_assign() 56 tag->type = type; in cache_tag_assign() 57 tag->iommu = iommu; in cache_tag_assign() [all …]
|
/linux/drivers/tty/vt/ |
H A D | keyboard.c | 1 // SPDX-License-Identifier: GPL-2.0 15 * 11-11-96: SAK should now work in the raw mode (Martin Mares) 18 * Merge with the m68k keyboard driver and split-off of the PC low-level 21 * 27-05-97: Added support for the Magic SysRq Key (Martin Mares) 22 * 30-07-98: Dead keys redone, aeb@cwi.nl. 23 * 21-08-02: Converted to input API, major cleanup. (Vojtech Pavlik) 116 [ KT_FN ] = ARRAY_SIZE(func_table) - 1, 117 [ KT_SPEC ] = ARRAY_SIZE(fn_handler) - 1, 118 [ KT_PAD ] = NR_PAD - 1, 119 [ KT_DEAD ] = NR_DEAD - 1, [all …]
|
/linux/drivers/md/ |
H A D | dm-era-target.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "persistent-data/dm-transaction-manager.h" 4 #include "persistent-data/dm-bitset.h" 5 #include "persistent-data/dm-space-map.h" 7 #include <linux/dm-io.h> 8 #include <linux/dm-kcopyd.h> 26 *-------------------------------------------------------------- 28 *-------------------------------------------------------------- 51 vfree(ws->bits); in writeset_free() 52 ws->bits = NULL; in writeset_free() [all …]
|
/linux/include/drm/ |
H A D | drm_modes.h | 3 * Copyright © 2007-2008 Dave Airlie 4 * Copyright © 2007-2008 Intel Corporation 46 * enum drm_mode_status - hardware support status of a mode 63 * @MODE_CLOCK_LOW: clock required is too low 129 MODE_STALE = -3, 130 MODE_BAD = -2, 131 MODE_ERROR = -1 134 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ argument 138 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \ 142 * DRM_MODE_RES_MM - Calculates the display size from resolution and DPI [all …]
|
/linux/drivers/video/fbdev/ |
H A D | asiliantfb.c | 4 * Copyright (C) 2001-2003 Saito.K & Jeanne 8 * drivers/video/asiliantfb.c -- frame buffer device for 17 * chip, and to the twin-display mode of the 69030. 18 * Contains code from Thomas Hhenleitner <th@visuelle-maschinen.de> (thanks) 24 * And from the frame buffer device for Open Firmware-initialized devices: 49 #define mmio_base (p->screen_base + 0x400000) 142 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n)); in asiliant_calc_dclk2() 151 /* remember there are still only 8-bits of precision in m, so in asiliant_calc_dclk2() 152 * avoid over-optimistic error calculations */ in asiliant_calc_dclk2() 154 ((Ftarget * n) - (Fref * (m & ~3))) : ((Fref * (m & ~3)) - (Ftarget * n)); in asiliant_calc_dclk2() [all …]
|
H A D | imsttfb.c | 2 * drivers/video/imsttfb.c -- frame buffer device for IMS TwinTurbo 40 #define eieio() /* Enforce In-order Execution of I/O */ 64 VT = 19, /* 0x4C */ enumerator 142 CURSXLO = 0x31, /* () Cursor X position, low 8 bits */ 144 CURSYLO = 0x33, /* () Cursor Y position, low 8 bits */ 172 TVPPMASK = 0x08, /* 2 Pixel Read-Mask */ 182 TVPCXPOL = 0x30, /* 12 Cursor-Position X LSB */ 183 TVPCXPOH = 0x34, /* 13 Cursor-Position X MSB */ 184 TVPCYPOL = 0x38, /* 14 Cursor-Position Y LSB */ 185 TVPCYPOH = 0x3c, /* 15 Cursor-Position Y MSB */ [all …]
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeonfb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 #include <linux/i2c-algo-bit.h> 36 * Chip families. Must fit in the low 16 bits of a long word 62 #define IS_RV100_VARIANT(rinfo) (((rinfo)->family == CHIP_FAMILY_RV100) || \ 63 ((rinfo)->family == CHIP_FAMILY_RV200) || \ 64 ((rinfo)->family == CHIP_FAMILY_RS100) || \ 65 ((rinfo)->family == CHIP_FAMILY_RS200) || \ 66 ((rinfo)->family == CHIP_FAMILY_RV250) || \ 67 ((rinfo)->family == CHIP_FAMILY_RV280) || \ 68 ((rinfo)->family == CHIP_FAMILY_RS300)) [all …]
|
/linux/Documentation/fb/ |
H A D | udlfb.rst | 15 pixels line-by-line via USB bulk transfers. 18 does not require any acks - the effect is very low latency that 20 non-gaming and non-video applications. 23 setting is very flexible - able to set nearly arbitrary modes from any timing. 35 one-to-one with the fbdev interface, making the driver quite small and 66 At that point, a /dev/fb? interface will be present for user-mode applications 71 defio support enabled, to support a page-fault based detection mechanism 74 The most common client of udlfb is xf86-video-displaylink or a modified 75 xf86-video-fbdev X server. These servers have no real DisplayLink specific 122 (e.g. X with --shared-vt) are in conflict. [all …]
|
/linux/drivers/media/pci/cx18/ |
H A D | cx18-av-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Derived from cx25840-core.c 11 #include "cx18-driver.h" 12 #include "cx18-io.h" 13 #include "cx18-cards.h" 106 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz pre post-div*/ in cx18_av_init() 127 /* enable sleep mode - register appears to be read only... */ in cx18_av_initialize() 167 * Disable Video Auto-config of the Analog Front End and Video PLL. in cx18_av_initialize() 171 * 0x102 (CXADEC_CHIP_CTRL), 0x104-0x106 (CXADEC_AFE_CTRL), in cx18_av_initialize() 172 * 0x108-0x109 (CXADEC_PLL_CTRL1), and 0x10c-0x10f (CXADEC_VID_PLL_FRAC) in cx18_av_initialize() [all …]
|
/linux/arch/x86/kernel/cpu/ |
H A D | vmware.c | 20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 48 #define STEALCLOCK_NOT_AVAILABLE (-1) 56 /* only for little-endian */ 154 early_param("no-vmw-sched-clock", setup_vmw_sched_clock); 161 early_param("no-steal-acc", parse_no_stealacc); 169 ns -= vmware_cyc2ns.cyc2ns_offset; in vmware_sched_clock() 178 clocks_calc_mult_shift(&d->cyc2ns_mul, &d->cyc2ns_shift, in vmware_cyc2ns_setup() 180 d->cyc2ns_offset = mul_u64_u32_shr(tsc_now, d->cyc2ns_mul, in vmware_cyc2ns_setup() 181 d->cyc2ns_shift); in vmware_cyc2ns_setup() 183 pr_info("using clock offset of %llu ns\n", d->cyc2ns_offset); in vmware_cyc2ns_setup() [all …]
|
/linux/drivers/fpga/ |
H A D | dfl-fme-perf.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "dfl-fme.h" 88 * Performance Counter Registers for IOMMU / VT-D. 90 * VT-D Events are listed below as VTD_EVNT_* and VTD_SIP_EVNT_* 134 * struct fme_perf_priv - priv data structure for fme perf driver 163 * struct fme_perf_event_ops - callbacks for fme perf events 186 return cpumap_print_to_pagebuf(true, buf, cpumask_of(priv->cpu)); in cpumask_show() 217 PMU_FORMAT_ATTR(event, "config:0-11"); 218 PMU_FORMAT_ATTR(evtype, "config:12-15"); 219 PMU_FORMAT_ATTR(portid, "config:16-23"); [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.h | 1 /*------------------------------------------------------------------------ 17 . Erik Stahlman ( erik@vt.edu ) 24 ---------------------------------------------------------------------------*/ 40 /*--------------------------------------------------------------- 51 -----------------------------------------------------------------------*/ 154 #define REVISION 10 /* ( hi: chip id low: rev # ) */ 197 /*------------------------------------------------------------------------- 200 --------------------------------------------------------------------------*/ 230 /*---------------------------------------------------------------------- 237 --------------------------------------------------------------------------*/
|
/linux/drivers/net/ethernet/intel/igb/ |
H A D | e1000_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 7 #define E1000_CTRL 0x00000 /* Device Control - RW */ 8 #define E1000_STATUS 0x00008 /* Device Status - RO */ 9 #define E1000_EECD 0x00010 /* EEPROM/Flash Control - RW */ 10 #define E1000_EERD 0x00014 /* EEPROM Read - RW */ 11 #define E1000_CTRL_EXT 0x00018 /* Extended Device Control - RW */ 12 #define E1000_MDIC 0x00020 /* MDI Control - RW */ 13 #define E1000_MDICNFG 0x00E04 /* MDI Config - RW */ 14 #define E1000_SCTL 0x00024 /* SerDes Control - RW */ [all …]
|
/linux/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2015 - 2022 Beijing WangXun Technology Co., Ltd. */ 17 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi() 28 if (wx->mac.type == wx_mac_em) in wx_phy_read_reg_mdi() 46 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi() 57 if (wx->mac.type == wx_mac_em) in wx_phy_write_reg_mdi() 72 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c22() 81 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c22() 90 struct wx *wx = bus->priv; in wx_phy_read_reg_mdi_c45() 100 struct wx *wx = bus->priv; in wx_phy_write_reg_mdi_c45() [all …]
|
/linux/drivers/hwmon/ |
H A D | bt1-pvt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Baikal-T1 Process, Voltage, Temperature sensor driver 18 #include <linux/hwmon-sysfs.h> 34 #include "bt1-pvt.h" 44 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES), 45 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES), 46 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES), 51 * to PVT data and vice-versa are following: 52 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) + 54 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) + [all …]
|