/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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.
|
/Linux-v5.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.
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.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 …]
|
/Linux-v5.10/drivers/gpu/drm/vc4/ |
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 …]
|
/Linux-v5.10/Documentation/filesystems/ |
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 …]
|
/Linux-v5.10/sound/usb/ |
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->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() 87 case -ENODEV: in usb_error_string() 89 case -ENOENT: in usb_error_string() [all …]
|
/Linux-v5.10/Documentation/admin-guide/ |
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 …]
|
/Linux-v5.10/drivers/net/ethernet/sfc/ |
D | ptp.c | 1 // 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-v5.10/drivers/video/fbdev/ |
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 …]
|
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 …]
|
/Linux-v5.10/arch/ia64/include/asm/ |
D | processor.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (C) 1998-2004 Hewlett-Packard Co 7 * David Mosberger-Tang <davidm@hpl.hp.com> 30 * TASK_SIZE really is a mis-named. It really is the maximum user 31 * space address (plus one). On IA-64, there are five regions of 2TB 41 #define TASK_UNMAPPED_BASE (current->thread.map_base) 43 #define IA64_THREAD_FPH_VALID (__IA64_UL(1) << 0) /* floating-point high state valid? */ 49 sync at ctx sw */ 62 * (this will give enough slack to represent 10 seconds worth of time as a scaled number). 168 __u64 rv3 : 2; /* 0-1 */ [all …]
|
/Linux-v5.10/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 1 // 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-v5.10/drivers/gpu/drm/i2c/ |
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 …]
|
/Linux-v5.10/mm/ |
D | compaction.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Copyright IBM Corp. 2007-2010 Mel Gorman <mel@csn.ul.ie> 17 #include <linux/backing-dev.h> 20 #include <linux/page-isolation.h> 59 * Page order with-respect-to which proactive compaction 68 #define COMPACTION_HPAGE_ORDER (PMD_SHIFT - PAGE_SHIFT) 78 list_del(&page->lru); in release_freepages() 94 list_del(&page->lru); in split_map_pages() 104 list_add(&page->lru, &tmp_list); in split_map_pages() 123 if (mapping && mapping->a_ops && mapping->a_ops->isolate_page) in PageMovable() [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath10k/ |
D | htt.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 28 /* bits 5-23 currently reserved */ 33 enum htt_h2t_msg_type { /* host-to-target */ 56 u8 pad[sizeof(u32) - sizeof(struct htt_cmd_hdr)]; 73 * but the host shall use the bit-mast + bit-shift defs, to be endian- 175 * htt_data_tx_desc - used for data tx path 178 * ext_tid: for qos-data frames (0-15), see %HTT_DATA_TX_EXT_TID_ 240 #define HTT_RX_RING_FILL_LEVEL (((HTT_RX_RING_SIZE) / 2) - 1) [all …]
|
/Linux-v5.10/net/batman-adv/ |
D | types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright (C) 2007-2020 B.A.T.M.A.N. contributors: 37 * typedef batadv_dat_addr_t - type used for all DHT addresses 48 * enum batadv_dhcp_recipient - dhcp destination 62 * BATADV_TT_REMOTE_MASK - bitmask selecting the flags that are sent over the 68 * BATADV_TT_SYNC_MASK - bitmask of the flags that need to be kept in sync 74 * struct batadv_hard_iface_bat_iv - per hard-interface B.A.T.M.A.N. IV data 83 /** @ogm_seqno: OGM sequence number - used to identify each OGM */ 91 * enum batadv_v_hard_iface_flags - interface flags useful to B.A.T.M.A.N. V 96 * full-duplex [all …]
|