/Linux-v5.15/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stefan Popa <stefan.popa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 32 clock-names: 34 - const: mclk 40 '#address-cells': [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_gem_atomic_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/dma-resv.h> 17 * The GEM atomic helpers library implements generic atomic-commit 33 * .. code-block:: c 50 * cannot be established by commit-tail functions, such as atomic_update, 53 * The helpers for shadow-buffered planes establish and release mappings, 55 * for commit-tail functions. 57 * Shadow-buffered planes can easily be enabled by using the provided macros 59 * These macros set up the plane and plane-helper callbacks to point to the 60 * shadow-buffer helpers. [all …]
|
/Linux-v5.15/drivers/iio/pressure/ |
D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() 106 * struct zpa2326_private - Per-device internal private state 107 * @timestamp: Buffered samples ready datum. [all …]
|
/Linux-v5.15/Documentation/filesystems/ |
D | netfs_library.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Overview. 10 - Buffered read helpers. 11 - Read helper functions. 12 - Read helper structures. 13 - Read helper operations. 14 - Read helper procedure. 15 - Read helper cache API. 23 just includes turning various VM buffered read operations into requests to read 31 Buffered Read Helpers [all …]
|
D | vfs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Copyright (C) 1999 Richard Gooch 10 - Copyright (C) 2005 Pekka Enberg 27 ------------------------------ 32 cache or dcache). This provides a very fast look-up mechanism to 44 ---------------- 64 --------------- 67 structure (this is the kernel-side implementation of file descriptors). 88 .. code-block:: c 99 ->mount() will be attached to the mountpoint, so that when pathname [all …]
|
/Linux-v5.15/net/batman-adv/ |
D | fragmentation.c | 1 // SPDX-License-Identifier: GPL-2.0 26 #include "hard-interface.h" 32 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain 44 hlist_del(&entry->list); in batadv_frag_clear_chain() 47 kfree_skb(entry->skb); in batadv_frag_clear_chain() 49 consume_skb(entry->skb); in batadv_frag_clear_chain() 56 * batadv_frag_purge_orig() - free fragments associated to an orig 67 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig() 68 spin_lock_bh(&chain->lock); in batadv_frag_purge_orig() 71 batadv_frag_clear_chain(&chain->fragment_list, true); in batadv_frag_purge_orig() [all …]
|
D | network-coding.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Martin Hundebøll, Jeppe Ledet-Pedersen 7 #include "network-coding.h" 55 * batadv_nc_init() - one-time initialization for network coding 57 * Return: 0 on success or negative error number in case of failure 71 * batadv_nc_start_timer() - initialise the nc periodic worker 76 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer() 81 * batadv_nc_tvlv_container_update() - update the network coding tvlv container 89 nc_mode = atomic_read(&bat_priv->network_coding); in batadv_nc_tvlv_container_update() 103 * batadv_nc_status_update() - update the network coding tvlv container after [all …]
|
D | send.c | 1 // SPDX-License-Identifier: GPL-2.0 32 #include "distributed-arp-table.h" 35 #include "hard-interface.h" 37 #include "network-coding.h" 40 #include "soft-interface.h" 41 #include "translation-table.h" 46 * batadv_send_skb_packet() - send an already prepared packet 59 * Return: A negative errno code is returned on a failure. A success does not 71 bat_priv = netdev_priv(hard_iface->soft_iface); in batadv_send_skb_packet() 73 if (hard_iface->if_status != BATADV_IF_ACTIVE) in batadv_send_skb_packet() [all …]
|
/Linux-v5.15/include/net/ |
D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 10 * Copyright (C) 2018 - 2021 Intel Corporation 30 * only partial functionality in hard- or firmware. This document 31 * defines the interface between mac80211 and low-level hardware [all …]
|
/Linux-v5.15/drivers/gpu/drm/i915/ |
D | i915_perf.c | 2 * Copyright © 2015-2016 Intel Corporation 39 * The interface is particularly suited to exposing buffered metrics that are 44 * without special privileges. Access to system-wide metrics requires root 58 * might sample sets of tightly-coupled counters, depending on the 70 * interleaved with event-type specific members. 76 * would be acceptable to expose them to unprivileged applications - to hide 96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're 102 * For posterity, in case we might re-visit trying to adapt core perf to be 106 * - The perf based OA PMU driver broke some significant design assumptions: 110 * implications, the need to fake cpu-related data (such as user/kernel [all …]
|
/Linux-v5.15/block/ |
D | blk-wbt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * buffered writeback throttling. loosely based on CoDel. We can't drop 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 16 * positive scaling steps where we shrink the monitoring window, a negative 25 #include <linux/backing-dev.h> 28 #include "blk-wbt.h" [all …]
|
/Linux-v5.15/drivers/usb/serial/ |
D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2010 - 2013 Johan Hovold (jhovold@gmail.com) 6 * Copyright (C) 1999 - 2002 Greg Kroah-Hartman (greg@kroah.com) 40 struct device *dev = &serial->interface->dev; in usb_serial_generic_probe() 42 dev_info(dev, "The \"generic\" usb-serial driver is only for testing and one-off prototypes.\n"); in usb_serial_generic_probe() 43 dev_info(dev, "Tell linux-usb@vger.kernel.org to add your device to a proper driver.\n"); in usb_serial_generic_probe() 51 struct device *dev = &serial->interface->dev; in usb_serial_generic_calc_num_ports() 54 num_ports = max(epds->num_bulk_in, epds->num_bulk_out); in usb_serial_generic_calc_num_ports() 58 return -ENODEV; in usb_serial_generic_calc_num_ports() 110 clear_bit(USB_SERIAL_THROTTLED, &port->flags); in usb_serial_generic_open() [all …]
|
D | digi_acceleport.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Digi AccelePort USB-4 and USB-2 Serial Converters 7 * Shamelessly based on Brian Warner's keyspan_pda.c and Greg Kroah-Hartman's 8 * usb-serial driver. 31 #define DRIVER_DESC "Digi AccelePort USB-2/USB-4 Serial Converter driver" 33 /* port output buffer length -- must be <= transfer buffer length - 2 */ 37 /* port input buffer length -- must be >= transfer buffer length - 3 */ 54 #define DIGI_2_ID 0x0002 /* USB-2 */ 55 #define DIGI_4_ID 0x0004 /* USB-4 */ 58 * "INB": can be used on the in-band endpoint [all …]
|
/Linux-v5.15/Documentation/userspace-api/media/v4l/ |
D | vidioc-decoder-cmd.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 38 These ioctls control an audio/video (usually MPEG-) decoder. 55 command to the decoder, and all buffered data is discarded. Applies to both 68 .. flat-table:: struct v4l2_decoder_cmd 69 :header-rows: 0 70 :stub-columns: 0 73 * - __u32 74 - ``cmd`` 75 - [all …]
|
/Linux-v5.15/drivers/tty/serdev/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2016-2017 Linaro Ltd., Rob Herring <robh@kernel.org> 6 * Copyright (c) 2012-2015, The Linux Foundation. All rights reserved. 31 len = acpi_device_modalias(dev, buf, PAGE_SIZE - 1); in modalias_show() 32 if (len != -ENODEV) in modalias_show() 52 if (rc != -ENODEV) in serdev_device_uevent() 72 return dev->type == &serdev_device_type; in is_serdev_device() 78 ida_simple_remove(&ctrl_ida, ctrl->nr); in serdev_ctrl_release() 99 * serdev_device_add() - add a device previously constructed via serdev_device_alloc() 104 struct serdev_controller *ctrl = serdev->ctrl; in serdev_device_add() [all …]
|
/Linux-v5.15/drivers/mailbox/ |
D | mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-2014 Linaro Ltd. 31 spin_lock_irqsave(&chan->lock, flags); in add_to_rbuf() 34 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf() 35 spin_unlock_irqrestore(&chan->lock, flags); in add_to_rbuf() 36 return -ENOBUFS; in add_to_rbuf() 39 idx = chan->msg_free; in add_to_rbuf() 40 chan->msg_data[idx] = mssg; in add_to_rbuf() 41 chan->msg_count++; in add_to_rbuf() 43 if (idx == MBOX_TX_QUEUE_LEN - 1) in add_to_rbuf() [all …]
|
/Linux-v5.15/mm/ |
D | filemap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1994-1999 Linus Torvalds 28 #include <linux/error-injection.h> 31 #include <linux/backing-dev.h> 65 * finished 'unifying' the page and buffer cache and SMP-threaded the 66 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 68 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 74 * ->i_mmap_rwsem (truncate_pagecache) 75 * ->private_lock (__free_pte->__set_page_dirty_buffers) 76 * ->swap_lock (exclusive_swap_page, others) [all …]
|
/Linux-v5.15/Documentation/scsi/ |
D | st.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 flexible method and applicable to single-user workstations. However, 32 drive performs auto-detection of the tape format well (like some 33 QIC-drives). The result is that any tape can be read, writing can be 37 does not perform auto-detection well enough and there is a single 40 or not :-). 56 users (buffered and asynchronous writes). The modes also allow choices 57 between formats in multi-tape operations (the explicitly overridden 72 limits). Both the auto-rewind (minor equals device number) and 73 non-rewind devices (minor is 128 + device number) are implemented. [all …]
|
/Linux-v5.15/include/linux/ |
D | hid.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 2000-2001 Vojtech Pavlik 5 * Copyright (c) 2006-2007 Jiri Kosina 10 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: 32 * values are expanded to 32-bit signed int, long items contain a pointer 185 * System Multi-Axis, see: 186 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control… 308 * HID report types --- Ouch! HID spec says 1 2 3! 391 * persistent for main-items. The global environment can be saved and 409 * This is the local environment. It is persistent up the next main-item. [all …]
|
D | iomap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 77 #define IOMAP_NULL_ADDR -1ULL /* addr is not valid */ 96 return (iomap->addr + pos - iomap->offset) >> SECTOR_SHIFT; in iomap_sector() 104 return iomap->inline_data + pos - iomap->offset; in iomap_inline_data() 114 return iomap->length <= PAGE_SIZE - offset_in_page(iomap->inline_data); in iomap_inline_data_valid() 120 * buffered writes as unbuffered writes will not typically have pages 149 * The actual length is returned in iomap->length. 166 * struct iomap_iter - Iterate through a range of a file 169 * calls to iomap_iter(). Treat as read-only in the body. 173 * iteration, or a negative errno. 0 causes the iteration to stop. [all …]
|
/Linux-v5.15/drivers/input/mouse/ |
D | cyapa_gen5.c | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 21 #include <linux/crc-itu-t.h> 33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \ 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 154 * Bit 6 - 5: indicates an event associated with this touch instance 159 * Bit 4 - 0: An arbitrary ID tag associated with a finger 164 /* Bit 7 - 0 of X-axis coordinate of the touch in pixel. */ 167 /* Bit 15 - 8 of X-axis coordinate of the touch in pixel. */ [all …]
|
/Linux-v5.15/drivers/edac/ |
D | r82600_edac.c | 14 * www.radisys.com/files/support_downloads/007-01277-0002.82600DataBook.pdf 37 * signals buffered) and unbuffered DIMM types are supported. Mixing of 38 * registered and unbuffered DIMMs as well as mixing of ECC and non-ECC DIMMs 49 /* Radisys 82600 register addresses - device 0 function 0 - PCI bridge */ 125 * 7:0 Address lines 30:24 - upper limit of 142 pdev = to_pci_dev(mci->pdev); in r82600_get_error_info() 143 pci_read_config_dword(pdev, R82600_EAP, &info->eapr); in r82600_get_error_info() 145 if (info->eapr & BIT(0)) in r82600_get_error_info() 151 if (info->eapr & BIT(1)) in r82600_get_error_info() 169 eapaddr = ((info->eapr >> 12) & 0x7FFF) << 13; in r82600_process_error_info() [all …]
|
/Linux-v5.15/drivers/usb/gadget/udc/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * udc.c - Core UDC Framework 14 #include <linux/dma-mapping.h> 25 * struct usb_udc - describes one usb device controller 34 * This represents the internal data structure which is used by the UDC-class 54 /* ------------------------------------------------------------------------- */ 57 * usb_ep_set_maxpacket_limit - set maximum packet size limit for endpoint 67 ep->maxpacket_limit = maxpacket_limit; in usb_ep_set_maxpacket_limit() 68 ep->maxpacket = maxpacket_limit; in usb_ep_set_maxpacket_limit() 75 * usb_ep_enable - configure endpoint, making it usable [all …]
|
/Linux-v5.15/drivers/iio/adc/ |
D | ad7124.c | 1 // SPDX-License-Identifier: GPL-2.0+ 198 .name = "ad7124-4", 203 .name = "ad7124-8", 219 diff_new = abs(val - array[i]); in ad7124_find_closest_match() 238 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask() 245 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask() 253 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode() 254 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode() 256 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode() 263 fclk = clk_get_rate(st->mclk); in ad7124_set_channel_odr() [all …]
|
/Linux-v5.15/drivers/iio/dummy/ |
D | iio_simple_dummy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 * struct iio_dummy_accel_calibscale - realworld to register mapping 32 * @val: first value in read_raw - here integer part. 33 * @val2: second value in read_raw etc - here micro part. 34 * @regval: register value - magic device specific numbers. 51 * simple event - triggered when value rises above 61 * simple step detect event - triggered when a step is detected 70 * simple transition event - triggered when the reported running confidence 80 * simple transition event - triggered when the reported walking confidence 91 * iio_dummy_channels - Description of available channels [all …]
|