| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/imu/ |
| H A D | adi,adis16475.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf 19 - adi,adis16475-1 20 - adi,adis16475-2 21 - adi,adis16475-3 22 - adi,adis16477-1 23 - adi,adis16477-2 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/ |
| H A D | adis16475.c | 1 // SPDX-License-Identifier: GPL-2.0 83 const struct adis16475_sync *sync; member 125 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision() 131 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision() 151 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date() 157 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date() 161 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date() 165 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date() 184 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number() 201 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/bridge/adv7511/ |
| H A D | adv7511.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 62 #define ADV7511_REG_GC(x) (0x4b + (x)) /* 0x4b - 0x51 */ 66 #define ADV7511_REG_AVI_INFOFRAME(x) (0x55 + (x)) /* 0x55 - 0x6f */ 70 #define ADV7511_REG_AUDIO_INFOFRAME(x) (0x73 + (x)) /* 0x73 - 0x7c */ 77 #define ADV7511_REG_AN(x) (0xb0 + (x)) /* 0xb0 - 0xb7 */ 80 #define ADV7511_REG_BKSV(x) (0xc0 + (x)) /* 0xc0 - 0xc3 */ 84 #define ADV7511_REG_BSTATUS(x) (0xca + (x)) /* 0xca - 0xcb */ 89 #define ADV7511_REG_SYNC_ADJUSTMENT(x) (0xd7 + (x)) /* 0xd7 - 0xdc */ 244 * enum adv7511_sync_polarity - Polarity for the input sync signals 245 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/ |
| H A D | xorgconf.cpp | 2 # Copyright (c) 1994-1998 by The XFree86 Project, Inc. 45 # as well as specifying multiple comma-separated entries in one FontPath 59 # Module section -- this is an optional section which is used to specify 60 # which run-time loadable modules to load when the X server starts up. 70 # initialisation of the XFree86-DGA extension within that module. 73 Option "omit xfree86-dga" 80 # Server flags section. This contains various server-wide Options. 102 # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching 114 # Uncomment this to enable the use of a non-local xvidtune client. 123 # rather than screen-specific. These settings alone don't enable DPMS. [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/sound/cards/ |
| H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 27 scaled. (Only important for low performance boards). 29 * Single Speed -- 1..64 channels 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/bcm/ |
| H A D | clk-kona.c | 15 #include "clk-kona.h" 20 #include <linux/clk-provider.h> 35 /* Produces a mask of set bits covering a range of a 32-bit value */ 38 return ((1 << width) - 1) << shift; in bitfield_mask() 57 /* Convert a divider into the scaled divisor value it represents. */ 60 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 64 * Build a scaled divider value as close as possible to the 76 combined <<= div->u.s.frac_width; in scaled_div_build() 81 /* The scaled minimum divisor representable by a divider */ 86 return (u64)div->u.fixed; in scaled_div_min() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/doc/ |
| H A D | Registry | 197 option names. All names listed here are in their preferred user-visible 209 ---------------------------------------------------------------------------- 211 AllowNonLocalModInDev B F allow non-local mod of input devs 212 AllowNonLocalXvidtune B F allow non-local VidMode connections 216 DontVTSwitch B F disable Ctrl-Alt-Fn 217 DontZap B F disable Ctrl-Alt-BS sequence 218 DontZoom B F disable Ctrl-Alt-+/- 253 ReportingMode S I may be "raw" or "scaled" 268 CompositeSync B V Composite sync 271 EarlyRasPrecharge O V Early RAS pre-charge [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/ |
| H A D | bttvp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 bttv - Bt848 frame grabber driver 6 bttv's *private* header file -- nobody other than bttv itself 9 (c) 2000-2002 Gerd Knorr <kraxel@bytesex.org> 19 #include <linux/i2c-algo-bit.h> 26 #include <media/v4l2-common.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-fh.h> 29 #include <media/videobuf-dma-sg.h> 31 #include <media/rc-core.h> [all …]
|
| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - Monitor latencies in a defined window of time. 7 * - If the minimum latency in the above window exceeds some target, increment 10 * - For any window where we don't have solid data on what the latencies 12 * - If latencies look good, decrement scaling step. 13 * - If we're only doing writes, allow the scaling step to go negative. This 25 #include <linux/backing-dev.h> 28 #include "blk-wbt.h" 29 #include "blk-rq-qos.h" 36 rq->wbt_flags = 0; in wbt_clear_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | vt1211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * vt1211.c - driver for the VIA VT1211 Super-I/O chip integrated hardware 19 #include <linux/hwmon-sysfs.h> 20 #include <linux/hwmon-vid.h> 27 static int uch_config = -1; 31 static int int_mode = -1; 43 /* --------------------------------------------------------------------- 49 * -------- ------------ --------- -------------------------- 59 * --------------------------------------------------------------------- */ 61 /* Voltages (in) numbered 0-5 (ix) */ [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Mode.c | 2 * Copyright (c) 1997-2003 by The XFree86 Project, Inc. 41 * "as-is" without express or implied warranty. 84 #include <xorg-config.h> 102 if (p->type & M_T_BUILTIN) in printModeRejectMessage() 103 type = "built-in "; in printModeRejectMessage() 104 else if (p->type & M_T_DEFAULT) in printModeRejectMessage() 106 else if (p->type & M_T_DRIVER) in printModeRejectMessage() 111 xf86DrvMsg(index, X_INFO, "Not using %smode \"%s\" (%s)\n", type, p->name, in printModeRejectMessage() 124 int minimumGap = abs(freq - scrp->clock[0]); in xf86GetNearestClock() 132 /* Must set this here in case the best match is scrp->clock[0] */ in xf86GetNearestClock() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/ |
| H A D | intel_sdvo_regs.h | 2 * Copyright © 2006-2007 Intel Corporation 94 * bits 4-5 of vsync offset, and 2 high bits of vsync width. 99 /* bits 6-7 of vsync offset at bits 6-7 */ 115 u8 scaled:1; member 162 * Reports which inputs are trained (managed to sync). 180 * on multi-output devices. 438 scaled for the requested HDTV format */ 550 * The high fields are bits 8:9 of the 10-bit values.
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/gma500/ |
| H A D | psb_intel_sdvo_regs.h | 2 * Copyright ? 2006-2007 Intel Corporation 83 * bits 4-5 of vsync offset, and 2 high bits of vsync width. 88 /** bits 6-7 of vsync offset at bits 6-7 */ 104 u8 scaled:1; member 151 * Reports which inputs are trained (managed to sync). 169 * on multi-output devices. 427 scaled for the requested HDTV format */ 539 * The high fields are bits 8:9 of the 10-bit values.
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | endpoint.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 * expect the payload to carry Q10.14 / Q16.16 formatted sync information 76 if (u->urb && u->buffer_size) in release_urb_ctx() 77 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx() 78 u->urb->transfer_buffer, in release_urb_ctx() 79 u->urb->transfer_dma); in release_urb_ctx() 80 usb_free_urb(u->urb); in release_urb_ctx() 81 u->urb = NULL; in release_urb_ctx() 82 u->buffer_size = 0; in release_urb_ctx() 88 case -ENODEV: in usb_error_string() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | crop.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 6 Image Cropping, Insertion and Scaling -- the CROP API 12 <selection-api>`. The new API should be preferred in most cases, 15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a 62 .. _crop-scale: 64 .. kernel-figure:: crop.svg 80 relative to 0H (the leading edge of the horizontal sync pulse, see 81 :ref:`vbi-hsync`). Vertically ITU-R line numbers of the first field 82 (see ITU R-525 line numbering for :ref:`525 lines <vbi-525>` and for 83 :ref:`625 lines <vbi-625>`), multiplied by two if the driver [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/davinci/ |
| H A D | vpbe_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010 Texas Instruments Incorporated - https://www.ti.com/ 21 #include <media/v4l2-dev.h> 22 #include <media/v4l2-common.h> 23 #include <media/v4l2-ioctl.h> 24 #include <media/v4l2-device.h> 32 #define VPBE_DISPLAY_DRIVER "vpbe-v4l2" 45 struct vpbe_device *vpbe_dev = disp_dev->vpbe_dev; in venc_is_second_field() 48 ret = v4l2_subdev_call(vpbe_dev->venc, in venc_is_second_field() 54 v4l2_err(&vpbe_dev->v4l2_dev, in venc_is_second_field() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 157 return state->fb && !WARN_ON(!state->crtc); in plane_enabled() 164 if (WARN_ON(!plane->state)) in vc4_plane_duplicate_state() 167 vc4_state = kmemdup(plane->state, sizeof(*vc4_state), GFP_KERNEL); in vc4_plane_duplicate_state() 171 memset(&vc4_state->lbm, 0, sizeof(vc4_state->lbm)); in vc4_plane_duplicate_state() 172 vc4_state->dlist_initialized = 0; in vc4_plane_duplicate_state() 174 __drm_atomic_helper_plane_duplicate_state(plane, &vc4_state->base); in vc4_plane_duplicate_state() 176 if (vc4_state->dlist) { in vc4_plane_duplicate_state() 177 vc4_state->dlist = kmemdup(vc4_state->dlist, in vc4_plane_duplicate_state() 178 vc4_state->dlist_count * 4, in vc4_plane_duplicate_state() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | fsl-diu-fb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Authors: Hongjun Chen <hong-jun.chen@freescale.com> 22 #include <linux/dma-mapping.h> 33 #include <linux/fsl-diu-fb.h> 52 * order if increasing resolution and frequency. The 320x240-60 mode is 67 .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 81 .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 95 .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 109 .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, 123 .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, [all …]
|
| H A D | pm2fb.c | 8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) 14 * I have a Creative Graphics Blaster Exxtreme card - pm2fb on x86. I 16 * hopefully other big-endian) devices now work, thanks to a lot of 70 * support on TVP4010 and similar where there is no RAMDAC - see 71 * comment in set_video) always request +ve sync regardless of what 73 * fixed-frequency monitor which absolutely has to have -ve sync. So 74 * these flags allow the user to specify that requests for +ve sync 75 * should be silently turned in -ve sync. 127 .height = -1, 128 .width = -1, [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/ |
| H A D | md.rst | 5 --------------------------------- 49 -1 linear mode 58 (raid-0 and raid-1 only) 78 -------------------------------------- 87 that all auto-detected arrays are assembled as partitionable. 90 ------------------------------------------- 102 mdadm --assemble --force .... 112 md-mod.start_dirty_degraded=1 116 ------------------ 119 Currently, it supports superblock formats ``0.90.0`` and the ``md-1`` format [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2011-2013 Solarflare Communications Inc. 144 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1) 145 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1) 147 /* Maximum parts-per-billion adjustment that is acceptable */ 162 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area. 166 * @state: The state of the packet - whether it is ready for processing or 176 * struct efx_ptp_event_rx - A PTP receive event (from MC) 192 * struct efx_ptp_timeset - Synchronisation between host and MC 208 u32 window; /* Derived: end - start, allowing for wrap */ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | gfs2-glocks.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 2. A non-blocking bit lock, GLF_LOCK, which is used to prevent other 62 go_xmote_th Called before remote state change (e.g. to sync dirty data) 122 5. Transaction glock (via gfs2_trans_begin) for non-read operations 130 is on a per-inode basis. Locking of rgrps is on a per rgrp basis. 134 ---------------- 147 The per-glock counters are initialised to zero when the 148 glock is created. The per-glock statistics are lost when 156 Volume 1", W. Richard Stevens, sect 21.3, "Round-Trip Time Measurement", 159 not scaled, but are in units of integer nanoseconds. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/ |
| H A D | mali_kbase_csf_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2018-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 64 * enum kbase_csf_queue_bind_state - bind state of the queue 80 * enum kbase_csf_reset_gpu_state - state of the gpu reset 117 * enum kbase_csf_group_state - state of the GPU command queue group 123 * and is subjected to time-slice based 130 * become either idle or waiting on sync 134 * slots left after scheduling non-idle 148 * to time-slice based scheduling. A resume [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/jm/ |
| H A D | mali_kbase_jm_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2019-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 40 * to be soft-stopped and removed from the hardware before resetting. 45 * Prevent soft-stops from occurring in scheduling situations 52 * Soft stop will still be used for non-scheduling purposes e.g. when 60 * Prevent hard-stops from occurring in scheduling situations 65 * Hard stop will still be used for non-scheduling purposes e.g. when 72 /* Atom has been previously soft-stopped */ 77 * to disambiguate short-running job chains during soft/hard stopping of jobs [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i2c/ |
| H A D | tda998x_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include <sound/hdmi-codec.h> 25 #include <media/cec-notifier.h> 409 .addr = priv->cec_addr, in cec_write() 415 ret = i2c_transfer(priv->hdmi->adapter, &msg, 1); in cec_write() 417 dev_err(&priv->hdmi->dev, "Error %d writing to cec:0x%x\n", in cec_write() 427 .addr = priv->cec_addr, in cec_read() 431 .addr = priv->cec_addr, in cec_read() 439 ret = i2c_transfer(priv->hdmi->adapter, msg, ARRAY_SIZE(msg)); in cec_read() 441 dev_err(&priv->hdmi->dev, "Error %d reading from cec:0x%x\n", in cec_read() [all …]
|