| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/imu/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/adv7511/ |
| 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 */ 243 * enum adv7511_sync_polarity - Polarity for the input sync signals 244 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [all …]
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/bridge/adv7511/ |
| D | adv7511.h | 6 * Licensed under the GPL-2. 61 #define ADV7511_REG_GC(x) (0x4b + (x)) /* 0x4b - 0x51 */ 65 #define ADV7511_REG_AVI_INFOFRAME(x) (0x55 + (x)) /* 0x55 - 0x6f */ 69 #define ADV7511_REG_AUDIO_INFOFRAME(x) (0x73 + (x)) /* 0x73 - 0x7c */ 76 #define ADV7511_REG_AN(x) (0xb0 + (x)) /* 0xb0 - 0xb7 */ 79 #define ADV7511_REG_BKSV(x) (0xc0 + (x)) /* 0xc0 - 0xc3 */ 83 #define ADV7511_REG_BSTATUS(x) (0xca + (x)) /* 0xca - 0xcb */ 88 #define ADV7511_REG_SYNC_ADJUSTMENT(x) (0xd7 + (x)) /* 0xd7 - 0xdc */ 242 * enum adv7511_sync_polarity - Polarity for the input sync signals 243 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/bcm/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/clk/bcm/ |
| D | clk-kona.c | 15 #include "clk-kona.h" 34 /* Produces a mask of set bits covering a range of a 32-bit value */ 37 return ((1 << width) - 1) << shift; in bitfield_mask() 56 /* Convert a divider into the scaled divisor value it represents. */ 59 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 63 * Build a scaled divider value as close as possible to the 75 combined <<= div->u.s.frac_width; in scaled_div_build() 80 /* The scaled minimum divisor representable by a divider */ 85 return (u64)div->u.fixed; in scaled_div_min() 90 /* The scaled maximum divisor representable by a divider */ [all …]
|
| /kernel/linux/linux-4.19/Documentation/sound/cards/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/sound/cards/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
| 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 …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/bt8xx/ |
| D | bttvp.h | 3 bttv - Bt848 frame grabber driver 5 bttv's *private* header file -- nobody other than bttv itself 8 (c) 2000-2002 Gerd Knorr <kraxel@bytesex.org> 31 #include <linux/i2c-algo-bit.h> 38 #include <media/v4l2-common.h> 39 #include <media/v4l2-ctrls.h> 40 #include <media/v4l2-fh.h> 41 #include <media/videobuf-dma-sg.h> 43 #include <media/rc-core.h> 44 #include <media/i2c/ir-kbd-i2c.h> [all …]
|
| /kernel/linux/linux-4.19/kernel/sched/ |
| D | cputime.c | 16 * task when irq is in progress while we read rq->clock. That is a worthy 36 u64 *cpustat = kcpustat_this_cpu->cpustat; in irqtime_account_delta() 38 u64_stats_update_begin(&irqtime->sync); in irqtime_account_delta() 40 irqtime->total += delta; in irqtime_account_delta() 41 irqtime->tick_delta += delta; in irqtime_account_delta() 42 u64_stats_update_end(&irqtime->sync); in irqtime_account_delta() 59 delta = sched_clock_cpu(cpu) - irqtime->irq_start_time; in irqtime_account_irq() 60 irqtime->irq_start_time += delta; in irqtime_account_irq() 80 delta = min(irqtime->tick_delta, maxtime); in irqtime_tick_accounted() 81 irqtime->tick_delta -= delta; in irqtime_tick_accounted() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
| 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.
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
| 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.
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/i915/ |
| D | intel_sdvo_regs.h | 2 * Copyright © 2006-2007 Intel Corporation 88 * bits 4-5 of vsync offset, and 2 high bits of vsync width. 93 /* bits 6-7 of vsync offset at bits 6-7 */ 109 u8 scaled:1; member 156 * Reports which inputs are trained (managed to sync). 174 * on multi-output devices. 432 scaled for the requested HDTV format */ 544 * The high fields are bits 8:9 of the 10-bit values.
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/gma500/ |
| 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.
|
| /kernel/linux/linux-4.19/drivers/hwmon/ |
| D | vt1211.c | 2 * vt1211.c - driver for the VIA VT1211 Super-I/O chip integrated hardware 32 #include <linux/hwmon-sysfs.h> 33 #include <linux/hwmon-vid.h> 40 static int uch_config = -1; 44 static int int_mode = -1; 56 /* --------------------------------------------------------------------- 62 * -------- ------------ --------- -------------------------- 72 * --------------------------------------------------------------------- */ 74 /* Voltages (in) numbered 0-5 (ix) */ 79 /* Temperatures (temp) numbered 0-6 (ix) */ [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| 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 …]
|
| /kernel/linux/linux-5.10/block/ |
| 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 …]
|
| /kernel/linux/linux-4.19/block/ |
| D | blk-wbt.c | 5 * - Monitor latencies in a defined window of time. 6 * - If the minimum latency in the above window exceeds some target, increment 9 * - For any window where we don't have solid data on what the latencies 11 * - If latencies look good, decrement scaling step. 12 * - If we're only doing writes, allow the scaling step to go negative. This 24 #include <linux/backing-dev.h> 27 #include "blk-wbt.h" 28 #include "blk-rq-qos.h" 35 rq->wbt_flags = 0; in wbt_clear_state() 40 return rq->wbt_flags; in wbt_flags() [all …]
|
| /kernel/linux/linux-4.19/Documentation/filesystems/ |
| D | gfs2-glocks.txt | 2 ------------------------------ 10 2. A non-blocking bit lock, GLF_LOCK, which is used to prevent other 28 ------------------------------ 40 -------------------------------------------------------------------------- 53 ---------------------------------------------------------------------------- 54 go_xmote_th | Called before remote state change (e.g. to sync dirty data) 86 ------------------------------------------------------------------------- 109 5. Transaction glock (via gfs2_trans_begin) for non-read operations 117 is on a per-inode basis. Locking of rgrps is on a per rgrp basis. 121 ------------------ [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| 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 …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | crop.rst | 1 .. -*- coding: utf-8; mode: rst -*- 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 …]
|
| /kernel/linux/linux-4.19/drivers/media/platform/davinci/ |
| D | vpbe_display.c | 2 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 34 #include <media/v4l2-dev.h> 35 #include <media/v4l2-common.h> 36 #include <media/v4l2-ioctl.h> 37 #include <media/v4l2-device.h> 45 #define VPBE_DISPLAY_DRIVER "vpbe-v4l2" 58 struct vpbe_device *vpbe_dev = disp_dev->vpbe_dev; in venc_is_second_field() 61 ret = v4l2_subdev_call(vpbe_dev->venc, in venc_is_second_field() 67 v4l2_err(&vpbe_dev->v4l2_dev, in venc_is_second_field() 77 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/davinci/ |
| 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 …]
|
| /kernel/linux/linux-4.19/sound/usb/ |
| D | endpoint.c | 14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 54 * expect the payload to carry Q10.14 / Q16.16 formatted sync information 89 if (u->buffer_size) in release_urb_ctx() 90 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx() 91 u->urb->transfer_buffer, in release_urb_ctx() 92 u->urb->transfer_dma); in release_urb_ctx() 93 usb_free_urb(u->urb); in release_urb_ctx() 94 u->urb = NULL; in release_urb_ctx() 100 case -ENODEV: in usb_error_string() 102 case -ENOENT: in usb_error_string() [all …]
|