/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/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 | ccs-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs-pll.c 8 * Copyright (C) 2011--2012 Nokia Corporation 17 #include "ccs-pll.h" 55 dev_dbg(dev, "%s_%s out of bounds: %d (%d--%d)\n", prefix, in bounds_check() 58 return -EINVAL; in bounds_check() 70 return "vt"; in pll_string() 85 { &pll->vt_fr, &pll->vt_bk, PLL_VT }, in print_pll() 86 { &pll->op_fr, &pll->op_bk, PLL_OP } in print_pll() 90 dev_dbg(dev, "ext_clk_freq_hz\t\t%u\n", pll->ext_clk_freq_hz); in print_pll() [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 …]
|
H A D | tvaudio.c | 14 * Copyright(c) 2005-2008 Mauro Carvalho Chehab 15 * - Some cleanups, code fixes, etc 16 * - Convert it to V4L2 API 21 * debug - set to 1 if you'd like to see debug messages 40 #include <media/v4l2-device.h> 41 #include <media/v4l2-ctrls.h> 43 /* ---------------------------------------------------------------------- */ 53 #define UNSET (-1U) 55 /* ---------------------------------------------------------------------- */ 97 /* functions to convert the values (v4l -> chip) */ [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/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 …]
|
/linux/drivers/media/v4l2-core/ |
H A D | tuner-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 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 31 #include <media/tuner-types.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-ioctl.h> 39 #include "tuner-simple.h" 45 #define UNSET (-1U) 64 static char pal[] = "--"; [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/md/persistent-data/ |
H A D | dm-btree.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "dm-btree-internal.h" 9 #include "dm-space-map.h" 10 #include "dm-transaction-manager.h" 13 #include <linux/device-mapper.h> 18 *-------------------------------------------------------------- 20 *-------------------------------------------------------------- 36 (nr_elts - index) * elt_size); in array_insert() 41 /*----------------------------------------------------------------*/ 46 int lo = -1, hi = le32_to_cpu(n->header.nr_entries); in bsearch() [all …]
|
/linux/drivers/gpu/drm/i2c/ |
H A D | ch7006_mode.c | 31 [TV_NORM_PAL_M] = "PAL-M", 32 [TV_NORM_PAL_N] = "PAL-N", 33 [TV_NORM_PAL_NC] = "PAL-Nc", 34 [TV_NORM_PAL_60] = "PAL-60", 35 [TV_NORM_NTSC_M] = "NTSC-M", 36 [TV_NORM_NTSC_J] = "NTSC-J", 105 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument 120 .vtotal = vt, \ 134 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ argument 136 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \ [all …]
|
/linux/tools/perf/util/ |
H A D | dwarf-aux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dwarf-aux.c : libdw auxiliary interfaces 11 #include "dwarf-aux.h" 12 #include "dwarf-regs.h" 17 * cu_find_realpath - Find the realpath of the target file 48 * cu_get_comp_dir - Ge 1585 struct die_var_type *vt; __die_collect_vars_cb() local 1648 struct die_var_type *vt; __die_collect_global_vars_cb() local [all...] |
/linux/include/uapi/linux/ |
H A D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 24 /* 0x4607-0x460B are defined below */ 52 #define FB_AUX_TEXT_SVGA_GROUP 8 /* 8-15: SVGA tileblit compatible modes */ 81 #define FB_ACCEL_ATI_MACH64VT 9 /* ATI Mach 64CT family VT class */ 140 #define FB_ACCEL_SAVAGE3D_MV 0x82 /* S3 Savage3D-MV */ 142 #define FB_ACCEL_SAVAGE_MX_MV 0x84 /* S3 Savage/MX-MV */ 144 #define FB_ACCEL_SAVAGE_IX_MV 0x86 /* S3 Savage/IX-MV */ 152 #define FB_ACCEL_PROSAVAGE_DDRK 0x8e /* S3 ProSavage DDR-K */ 154 #define FB_ACCEL_PUV3_UNIGFX 0xa0 /* PKUnity-v3 Unigfx */ 156 #define FB_CAP_FOURCC 1 /* Device supports FOURCC-based formats */ [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/drivers/video/fbdev/ |
H A D | tdfxfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * I2C part copied from the i2c-voodoo3.c driver by: 17 * Ralph Metzler <rjkm@thp.uni-koeln.de>, and 45 * - multihead support (basically need to support an array of fb_infos) 46 * - support other architectures (PPC, Alpha); does the fact that the VGA 52 * 0.1.4 (released 2002-05-28) ported over to new fbdev api by James Simmons 54 * 0.1.3 (released 1999-11-02) added Attila's panning support, code 60 * 0.1.2 (released 1999-10-19) added Attila Kesmarki's bug fixes and 62 * 0.1.1 (released 1999-10-07) added Voodoo3 support by Harold Oga. 63 * 0.1.0 (released 1999-10-06) initial version [all …]
|
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 143 CURSXHI = 0x32, /* () Cursor X position, high 8 bits */ 145 CURSYHI = 0x34, /* () Cursor Y position, high 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/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 62 * @MODE_CLOCK_HIGH: clock required is too high 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/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/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/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 19 can support surprisingly high resolutions with good performance for 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 [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc9194.h | 1 /*------------------------------------------------------------------------ 17 . Erik Stahlman ( erik@vt.edu ) 24 ---------------------------------------------------------------------------*/ 40 /*--------------------------------------------------------------- 51 -----------------------------------------------------------------------*/ 110 #define CTL_EPROM_ACCESS 0x0003 /* high if Eprom is being read */ 197 /*------------------------------------------------------------------------- 200 --------------------------------------------------------------------------*/ 230 /*---------------------------------------------------------------------- 237 --------------------------------------------------------------------------*/
|
/linux/Documentation/admin-guide/ |
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/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 …]
|