Home
last modified time | relevance | path

Searched +full:scaled +full:- +full:sync (Results 1 – 25 of 60) sorted by relevance

123

/linux/drivers/clk/bcm/
H A Dclk-kona.c1 // 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 …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_lvds_regs.h1 /* 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
H A Dintel_sdvo_regs.h2 * 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.
/linux/Documentation/sound/cards/
H A Dhdspm.rst2 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 …]
/linux/drivers/iio/imu/
H A Dadis16475.c1 // SPDX-License-Identifier: GPL-2.0
113 const struct adis16475_sync *sync; member
165 …"Allow IMU rates below the minimum advisable when external clk is used in SCALED mode (default: N)…
171 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision()
177 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
197 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date()
203 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date()
207 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date()
211 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date()
230 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number()
[all …]
/linux/drivers/media/pci/bt8xx/
H A Dbttvp.h1 /* 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 …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
H A Ddml2_core_shared_types.h1 // SPDX-License-Identifier: MIT
13 #define __DML2_CALCS_MAX_VRATIO_PRE_OTO__ 4.0 //<brief max vratio for one-to-one prefetch bw schedu…
208 //-----------------
210 //-----------------
306 …tate_max]; // the min of sdp bw and dram_vm_only bw, sdp has no different derate for vm/non-vm etc.
307 …max]; // the min of sdp bw and dram_pixel_and_vm bw, sdp has no different derate for vm/non-vm etc.
310 …internal_soc_state_max][dml2_core_internal_bw_max]; // active bandwidth, scaled by urg burst factor
311 …][dml2_core_internal_bw_max]; // include vm, prefetch, active bandwidth, scaled by urg burst factor
312 …][dml2_core_internal_bw_max]; // include vm, prefetch, active bandwidth, scaled by urg burst facto…
315 …te_max][dml2_core_internal_bw_max]; // same as urg_bandwidth, except not scaled by urg burst factor
[all …]
/linux/kernel/time/
H A Dntp.c1 // SPDX-License-Identifier: GPL-2.0
26 * struct ntp_data - Structure holding all NTP related state
34 * @time_maxerror: Maximum error in microseconds holding the NTP sync distance
37 * @time_freq: Frequency offset scaled nsecs/secs
40 * @ntp_tick_adj: Constant boot-param configurable NTP tick adjustment (upscaled)
49 * @pps_freq: PPS frequency offset in scaled ns/s
50 * @pps_stabil: PPS current stability in scaled ns/s
108 * The following variables are used when a pulse-per-second (PPS) signal
127 if (ntpdata->time_status & STA_PPSTIME && ntpdata->time_status & STA_PPSSIGNAL) in ntp_offset_chunk()
130 return shift_right(offset, SHIFT_PLL + ntpdata->time_constant); in ntp_offset_chunk()
[all …]
/linux/net/netfilter/ipvs/
H A Dip_vs_est.c1 // SPDX-License-Identifier: GPL-2.0-or-later
36 avgrate = avgrate*(1-W) + rate*W
38 where W = 2^(-2)
42 * Average bps is scaled by 2^5, while average pps and cps are scaled by 2^10.
44 * Netlink users can see 64-bit values but sockopt users are restricted
45 to 32-bit values for conns, packets, bps, cps and pps.
50 - cpustats counters are updated per-cpu in SoftIRQ context with BH disabled
51 - kthreads read the cpustats to update the estimators (svcs, dests, total)
52 - the states of estimators can be read (get stats) or modified (zero stats)
56 - estimators are added initially to est_temp_list and later kthread 0
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c1 // 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 …]
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h2 * 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.
/linux/Documentation/userspace-api/media/v4l/
H A Dcrop.rst1 .. 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 …]
/linux/block/
H A Dblk-wbt.c1 // 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 …]
/linux/Documentation/filesystems/
H A Dgfs2-glocks.rst1 .. SPDX-License-Identifier: GPL-2.0
13 2. A non-blocking bit lock, GLF_LOCK, which is used to prevent other
61 go_sync Called before remote state change (e.g. to sync dirty data)
118 5. Transaction glock (via gfs2_trans_begin) for non-read operations
126 is on a per-inode basis. Locking of rgrps is on a per rgrp basis.
130 ----------------
143 The per-glock counters are initialised to zero when the
144 glock is created. The per-glock statistics are lost when
152 Volume 1", W. Richard Stevens, sect 21.3, "Round-Trip Time Measurement",
155 not scaled, but are in units of integer nanoseconds.
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ]
47 * +--------------+ +--------------+
49 * *--------------+ +--------------+
52 * +--------------+ +--------------+
54 * *--------------+ +--------------+
58 * 2^36 * 10^-9 / 60 = 1.14 minutes or 69 seconds
61 * 2^43 * 10^-9 / 3600 = 2.4 hours
89 * represents units of 2^-32 nanoseconds, and uses 31 bits for this, with the
[all …]
/linux/Documentation/admin-guide/
H A Dmd.rst5 ---------------------------------
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 …]
/linux/drivers/media/platform/verisilicon/
H A Dhantro_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #include <linux/v4l2-controls.h>
14 #include <media/v4l2-ctrls.h>
15 #include <media/v4l2-vp9.h>
16 #include <media/videobuf2-core.h>
58 * struct hantro_aux_buf - auxiliary DMA buffer for hardware data
110 * @dpb_longterm: DPB long-term
229 * @tile_r_info: per-tile information array
230 * @tile_c_info: per-tile information array
354 * struct hantro_postproc_ops - post-processor operations
[all …]
/linux/sound/usb/
H A Dendpoint.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 * expect the payload to carry Q10.14 / Q16.16 formatted sync information
99 if (u->urb && u->buffer_size) in release_urb_ctx()
100 usb_free_coherent(u->ep->chi in release_urb_ctx()
[all...]
/linux/drivers/video/fbdev/
H A Dfsl-diu-fb.c1 // 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 Dpm2fb.c8 * 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
71 * support on TVP4010 and similar where there is no RAMDAC - see
72 * comment in set_video) always request +ve sync regardless of what
74 * fixed-frequency monitor which absolutely has to have -ve sync. So
75 * these flags allow the user to specify that requests for +ve sync
76 * should be silently turned in -ve sync.
128 .height = -1,
129 .width = -1,
[all …]
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
143 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1)
144 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1)
146 /* Maximum parts-per-billion adjustment that is acceptable */
161 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area.
165 * @state: The state of the packet - whether it is ready for processing or
175 * struct efx_ptp_event_rx - A PTP receive event (from MC)
191 * struct efx_ptp_timeset - Synchronisation between host and MC
207 u32 window; /* Derived: end - start, allowing for wrap */
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dptp.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
116 /* 01-1B-19-00-00-00 */
142 #define MC_NANOSECOND_MASK ((1 << MC_NANOSECOND_BITS) - 1)
143 #define MC_SECOND_MASK ((1 << (32 - MC_NANOSECOND_BITS)) - 1)
145 /* Maximum parts-per-billion adjustment that is acceptable */
160 * struct efx_ptp_match - Matching structure, stored in sk_buff's cb area.
163 * @state: The state of the packet - whether it is ready for processing or
172 * struct efx_ptp_event_rx - A PTP receive event (from MC)
188 * struct efx_ptp_timeset - Synchronisation between host and MC
[all …]
/linux/drivers/media/pci/ivtv/
H A Divtv-ioctl.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
5 Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
9 #include "ivtv-driver.h"
10 #include "ivtv-version.h"
11 #include "ivtv-mailbox.h"
12 #include "ivtv-i2c.h"
13 #include "ivtv-queue.h"
14 #include "ivtv-fileops.h"
15 #include "ivtv-vbi.h"
[all …]
/linux/drivers/gpu/drm/i2c/
H A Dtda998x_drv.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <sound/hdmi-codec.h>
26 #include <media/cec-notifier.h>
410 .addr = priv->cec_addr, in cec_write()
416 ret = i2c_transfer(priv->hdmi->adapter, &msg, 1); in cec_write()
418 dev_err(&priv->hdmi->dev, "Error %d writing to cec:0x%x\n", in cec_write()
428 .addr = priv->cec_addr, in cec_read()
432 .addr = priv->cec_addr, in cec_read()
440 ret = i2c_transfer(priv->hdmi->adapter, msg, ARRAY_SIZE(msg)); in cec_read()
442 dev_err(&priv->hdmi->dev, "Error %d reading from cec:0x%x\n", in cec_read()
[all …]
/linux/net/batman-adv/
H A Dtypes.h1 /* SPDX-License-Identifier: GPL-2.0 */
36 * typedef batadv_dat_addr_t - type used for all DHT addresses
47 * enum batadv_dhcp_recipient - dhcp destination
61 * BATADV_TT_REMOTE_MASK - bitmask selecting the flags that are sent over the
67 * BATADV_TT_SYNC_MASK - bitmask of the flags that need to be kept in sync
73 * struct batadv_hard_iface_bat_iv - per hard-interface B.A.T.M.A.N. IV data
82 /** @ogm_seqno: OGM sequence number - used to identify each OGM */
90 * enum batadv_v_hard_iface_flags - interface flags useful to B.A.T.M.A.N. V
95 * full-duplex
108 * struct batadv_hard_iface_bat_v - per hard-interface B.A.T.M.A.N. V data
[all …]

123