| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 zpa_private - Per-device internal private state 107 * @timestamp: Buffered samples ready datum. [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/pressure/ |
| D | zpa2326.c | 42 * - get device out of low power mode, 43 * - setup hardware sampling period, 44 * - at end of period, upon data ready interrupt: pop pressure samples out of 46 * - when no longer needed, stop sampling process by putting device into 77 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 85 * struct zpa2326_frequency - Hardware sampling frequency descriptor 109 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() 113 * struct zpa_private - Per-device internal private state 114 * @timestamp: Buffered samples ready datum. 124 * @irq: Optional interrupt line: negative or zero if not declared into [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | vidioc-decoder-cmd.rst | 1 .. -*- coding: utf-8; mode: rst -*- 12 VIDIOC_DECODER_CMD - VIDIOC_TRY_DECODER_CMD - Execute an decoder command 30 File descriptor returned by :ref:`open() <func-open>`. 39 These ioctls control an audio/video (usually MPEG-) decoder. 50 A :ref:`write() <func-write>` or :ref:`VIDIOC_STREAMON` 54 A :ref:`close() <func-close>` or :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` 56 command to the decoder, and all buffered data is discarded. 68 .. flat-table:: struct v4l2_decoder_cmd 69 :header-rows: 0 70 :stub-columns: 0 [all …]
|
| /kernel/linux/linux-5.10/net/batman-adv/ |
| D | fragmentation.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2013-2020 B.A.T.M.A.N. contributors: 26 #include "hard-interface.h" 30 #include "soft-interface.h" 33 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain 45 hlist_del(&entry->list); in batadv_frag_clear_chain() 48 kfree_skb(entry->skb); in batadv_frag_clear_chain() 50 consume_skb(entry->skb); in batadv_frag_clear_chain() 57 * batadv_frag_purge_orig() - free fragments associated to an orig 68 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig() [all …]
|
| /kernel/linux/linux-4.19/net/batman-adv/ |
| D | fragmentation.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2013-2018 B.A.T.M.A.N. contributors: 38 #include "hard-interface.h" 42 #include "soft-interface.h" 45 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain 57 hlist_del(&entry->list); in batadv_frag_clear_chain() 60 kfree_skb(entry->skb); in batadv_frag_clear_chain() 62 consume_skb(entry->skb); in batadv_frag_clear_chain() 69 * batadv_frag_purge_orig() - free fragments associated to an orig 80 chain = &orig_node->fragments[i]; in batadv_frag_purge_orig() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/include/net/ |
| D | mac80211.h | 2 * mac80211 <-> driver interface 4 * Copyright 2002-2005, Devicescape Software, Inc. 5 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 6 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 7 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2015 - 2017 Intel Deutschland GmbH 33 * only partial functionality in hard- or firmware. This document 34 * defines the interface between mac80211 and low-level hardware 42 * called in hardware interrupt context. The low-level driver must not call any 44 * call, the low-level driver should first ACK the interrupt and perform the [all …]
|
| /kernel/linux/linux-5.10/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 - 2020 Intel Corporation 30 * only partial functionality in hard- or firmware. This document 31 * defines the interface between mac80211 and low-level hardware [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/block/ |
| D | blk-wbt.c | 2 * buffered writeback throttling. loosely based on CoDel. We can't drop 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 15 * positive scaling steps where we shrink the monitoring window, a negative 24 #include <linux/backing-dev.h> 27 #include "blk-wbt.h" 28 #include "blk-rq-qos.h" [all …]
|
| /kernel/linux/linux-4.19/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() 111 spin_lock_irqsave(&port->lock, 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. 32 #define DRIVER_DESC "Digi AccelePort USB-2/USB-4 Serial Converter driver" 34 /* port output buffer length -- must be <= transfer buffer length - 2 */ 38 /* port input buffer length -- must be >= transfer buffer length - 3 */ 55 #define DIGI_2_ID 0x0002 /* USB-2 */ 56 #define DIGI_4_ID 0x0004 /* USB-4 */ 59 * "INB": can be used on the in-band endpoint [all …]
|
| /kernel/linux/linux-4.19/drivers/mailbox/ |
| D | mailbox.c | 4 * Copyright (C) 2013-2014 Linaro Ltd. 34 spin_lock_irqsave(&chan->lock, flags); in add_to_rbuf() 37 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf() 38 spin_unlock_irqrestore(&chan->lock, flags); in add_to_rbuf() 39 return -ENOBUFS; in add_to_rbuf() 42 idx = chan->msg_free; in add_to_rbuf() 43 chan->msg_data[idx] = mssg; in add_to_rbuf() 44 chan->msg_count++; in add_to_rbuf() 46 if (idx == MBOX_TX_QUEUE_LEN - 1) in add_to_rbuf() 47 chan->msg_free = 0; in add_to_rbuf() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/Documentation/scsi/ |
| D | st.txt | 16 flexible method and applicable to single-user workstations. However, 25 drive performs auto-detection of the tape format well (like some 26 QIC-drives). The result is that any tape can be read, writing can be 30 does not perform auto-detection well enough and there is a single 33 or not :-). 49 users (buffered and asynchronous writes). The modes also allow choices 50 between formats in multi-tape operations (the explicitly overridden 65 limits). Both the auto-rewind (minor equals device number) and 66 non-rewind devices (minor is 128 + device number) are implemented. 120 dev_upper non-rew mode dev-lower [all …]
|
| /kernel/linux/linux-5.10/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> 63 * finished 'unifying' the page and buffer cache and SMP-threaded the 64 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 66 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 72 * ->i_mmap_rwsem (truncate_pagecache) 73 * ->private_lock (__free_pte->__set_page_dirty_buffers) 74 * ->swap_lock (exclusive_swap_page, others) [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 183 * System Multi-Axis, see: 184 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control… 304 * HID report types --- Ouch! HID spec says 1 2 3! 387 * persistent for main-items. The global environment can be saved and 405 * This is the local environment. It is persistent up the next main-item. [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | hid.h | 3 * Copyright (c) 2000-2001 Vojtech Pavlik 4 * Copyright (c) 2006-2007 Jiri Kosina 19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * e-mail - mail your message to <vojtech@ucw.cz>, or by paper mail: 44 * values are expanded to 32-bit signed int, long items contain a pointer 194 * System Multi-Axis, see: 195 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control… 310 * 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 …]
|