| /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-6.6/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 */ 251 * enum adv7511_sync_polarity - Polarity for the input sync signals 252 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [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 */ 244 * enum adv7511_sync_polarity - Polarity for the input sync signals 245 * @ADV7511_SYNC_POLARITY_PASSTHROUGH: Sync polarity matches that of [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/imu/ |
| D | adis16475.c | 1 // SPDX-License-Identifier: GPL-2.0 84 const struct adis16475_sync *sync; member 123 …"Allow IMU rates below the minimum advisable when external clk is used in SCALED mode (default: N)… 130 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision() 136 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision() 156 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date() 162 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date() 166 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date() 170 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date() 189 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/bcm/ |
| D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 27 /* Produces a mask of set bits covering a range of a 32-bit value */ 30 return ((1 << width) - 1) << shift; in bitfield_mask() 49 /* Convert a divider into the scaled divisor value it represents. */ 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 56 * Build a scaled divider value as close as possible to the 68 combined <<= div->u.s.frac_width; in scaled_div_build() 73 /* The scaled minimum divisor representable by a divider */ [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-6.6/drivers/gpu/drm/i915/display/ |
| D | intel_lvds_regs.h | 1 /* SPDX-License-Identifier: MIT */ 18 /* Selects pipe B for LVDS data. Must be set on pre-965. */ 25 /* LVDS sync polarity flags. Set to invert (i.e. negative) */ 29 /* Enable border for unscaled (or aspect-scaled) display */ 32 * Enables the A0-A2 data pairs and CLKA, containing 18 bits of color data per 54 * Controls the B0-B3 data pairs. This must be set to match the DPLL p2 55 * setting for whether we are in dual-channel mode. The B3 pair will
|
| 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-6.6/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-6.6/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/videobuf2-dma-sg.h> 31 #include <media/rc-core.h> [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-6.6/net/netfilter/ipvs/ |
| D | ip_vs_est.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 35 avgrate = avgrate*(1-W) + rate*W 37 where W = 2^(-2) 41 * Average bps is scaled by 2^5, while average pps and cps are scaled by 2^10. 43 * Netlink users can see 64-bit values but sockopt users are restricted 44 to 32-bit values for conns, packets, bps, cps and pps. 49 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled 50 - kthreads read the cpustats to update the estimators (svcs, dests, total) 51 - the states of estimators can be read (get stats) or modified (zero stats) 55 - estimators are added initially to est_temp_list and later kthread 0 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/ |
| D | ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2021 - 2023 Intel Corporation 7 #include "iwl-debug.h" 14 /* The scaled_ppm parameter is ppm (parts per million) with a 16-bit fractional 16 * 2^-16 ppm, and 2^16=65536 is 1 ppm. 28 if (gp2 < mvm->ptp_data.last_gp2 && in iwl_mvm_ptp_update_new_read() 29 mvm->ptp_data.last_gp2 - gp2 < IWL_PTP_WRAP_THRESHOLD_USEC) { in iwl_mvm_ptp_update_new_read() 32 gp2, mvm->ptp_data.last_gp2); in iwl_mvm_ptp_update_new_read() 36 if (gp2 < mvm->ptp_data.last_gp2) { in iwl_mvm_ptp_update_new_read() 37 mvm->ptp_data.wrap_counter++; in iwl_mvm_ptp_update_new_read() [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-6.6/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-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-6.6/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-6.6/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-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-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-6.6/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-stat.h" 29 #include "blk-wbt.h" 30 #include "blk-rq-qos.h" [all …]
|