/openbmc/linux/Documentation/devicetree/bindings/iio/adc/ |
H A 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 …]
|
H A D | adi,ad4130.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Cosmin Tanislav <cosmin.tanislav@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4130-8.pdf 20 - adi,ad4130 29 clock-names: 31 - const: mclk 36 interrupt-names: 42 - int [all …]
|
H A D | adi,max11410.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 21 - adi,max11410 30 interrupt-names: 34 - enum: [gpio0, gpio1] 35 - const: gpio1 37 '#address-cells': 40 '#size-cells': [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_gem_atomic_helper.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 #include <linux/dma-resv.h> 4 #include <linux/dma-fence-chain.h> 19 * The GEM atomic helpers library implements generic atomic-commit 32 * .. code-block:: c 44 * cannot be established by commit-tail functions, such as atomic_update, 47 * The helpers for shadow-buffered planes establish and release mappings, 49 * for commit-tail functions. 51 * Shadow-buffered planes can easily be enabled by using the provided macros 53 * These macros set up the plane and plane-helper callbacks to point to the [all …]
|
/openbmc/linux/drivers/net/ethernet/engleder/ |
H A D | tsnep_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */ 13 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time() 15 low = ioread32(adapter->addr + ECM_SYSTEM_TIME_LOW); in tsnep_get_system_time() 17 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time() 28 return -EINVAL; in tsnep_ptp_ioctl() 31 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in tsnep_ptp_ioctl() 32 return -EFAULT; in tsnep_ptp_ioctl() 39 return -ERANGE; in tsnep_ptp_ioctl() 62 return -ERANGE; in tsnep_ptp_ioctl() [all …]
|
/openbmc/linux/drivers/iio/pressure/ |
H A 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 …]
|
/openbmc/u-boot/include/ |
H A D | spi.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Common SPI Interface: Controller-specific definitions 22 #define SPI_LSB_FIRST BIT(3) /* per-word bits-on-wire */ 46 * struct dm_spi_platdata - platform data for all SPI slaves 50 * dev_get_parent_platdata(slave->dev). 55 * @cs: Chip select number (0..n-1) 68 * struct spi_slave - Representation of a SPI slave 70 * For driver model this is the per-child data used by the SPI bus. It can 78 * controller-specific data. 86 * bus (bus->seq) so does not need to be stored [all …]
|
/openbmc/linux/Documentation/gpu/amdgpu/display/ |
H A D | dcn-overview.rst | 10 .. kernel-figure:: dc_pipeline_overview.svg 19 * **Display Pipe and Plane (DPP)**: This block provides pre-blend pixel 24 multiple planes, using global or per-pixel alpha. 38 * **Multi-Media HUB (MMHUBBUB)**: Memory controller interface for DMCUB and DWB 43 the Display Micro-Controller Unit - version B (DMCUB), which is handled via 84 ---------------------- 100 a one-to-one mapping of the link encoder to PHY, but we can configure the DCN 106 --------- 114 representation and convert them to a DCN specific floating-point format (i.e., 115 different from the IEEE floating-point format). In the process, CNVC also [all …]
|
/openbmc/linux/net/batman-adv/ |
H A 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 …]
|
/openbmc/linux/drivers/usb/serial/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|
/openbmc/linux/block/ |
H A 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-stat.h" [all …]
|
/openbmc/linux/drivers/mailbox/ |
H A D | mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013-2014 Linaro Ltd. 32 spin_lock_irqsave(&chan->lock, flags); in add_to_rbuf() 35 if (chan->msg_count == MBOX_TX_QUEUE_LEN) { in add_to_rbuf() 36 spin_unlock_irqrestore(&chan->lock, flags); in add_to_rbuf() 37 return -ENOBUFS; in add_to_rbuf() 40 idx = chan->msg_free; in add_to_rbuf() 41 chan->msg_data[idx] = mssg; in add_to_rbuf() 42 chan->msg_count++; in add_to_rbuf() 44 if (idx == MBOX_TX_QUEUE_LEN - 1) in add_to_rbuf() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | netfs_library.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Overview. 10 - Per-inode context. 11 - Inode context helper functions. 12 - Buffered read helpers. 13 - Read helper functions. 14 - Read helper structures. 15 - Read helper operations. 16 - Read helper procedure. 17 - Read helper cache API. [all …]
|
/openbmc/linux/include/net/ |
H A 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 - 2023 Intel Corporation 31 * only partial functionality in hard- or firmware. This document 32 * defines the interface between mac80211 and low-level hardware [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A 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 …]
|
/openbmc/linux/drivers/tty/serdev/ |
H A 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 …]
|
/openbmc/linux/Documentation/scsi/ |
H A 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 …]
|
/openbmc/linux/drivers/input/mouse/ |
H A 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 …]
|
/openbmc/linux/mm/ |
H A D | filemap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1994-1999 Linus Torvalds 30 #include <linux/error-injection.h> 33 #include <linux/backing-dev.h> 70 * finished 'unifying' the page and buffer cache and SMP-threaded the 71 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 73 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 79 * ->i_mmap_rwsem (truncate_pagecache) 80 * ->private_lock (__free_pte->block_dirty_folio) 81 * ->swap_lock (exclusive_swap_page, others) [all …]
|
/openbmc/u-boot/include/linux/usb/ |
H A D | gadget.h | 4 * We call the USB code inside a Linux-based peripheral device a "gadget" 5 * driver, except for the hardware-specific bus glue. One USB host can 9 * (C) Copyright 2002-2004 by David Brownell 14 * Ported to U-Boot by: Thomas Smits <ts.smits@gmail.com> and 29 * struct usb_request - describes one i/o request 45 * its buffer may be re-used. 54 * @status: Reports completion code, zero or a negative errno. 57 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, 64 * reside in a device-side FIFO when the request is reported as 68 * hardware's driver can add extra per-request data to the memory it returns, [all …]
|
/openbmc/u-boot/cmd/ |
H A D | i2c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 * matches at least half of the data sheets :-/. 30 * Many non-memory chips have multiple registers and {addr} is used 31 * as the register index. Some non-memory chips have only one register 42 * successive reads using the I2C auto-incrementing memory pointer. 44 * If you are manipulating a large memory with 2-byte addresses, use 95 * When multiple buses are present, the list is an array of bus-address 126 #define DEFAULT_ADDR_LEN (-1) 156 return -ENODEV; in i2c_get_cur_bus() 163 return -ENODEV; in i2c_get_cur_bus() [all …]
|
/openbmc/u-boot/env/ |
H A D | Kconfig | 20 while U-Boot is running, but once U-Boot exits it will not be 21 stored. U-Boot will therefore always start up with a default 31 - CONFIG_ENV_OFFSET: 32 - CONFIG_ENV_SIZE: 41 - CONFIG_ENV_EEPROM_IS_ON_I2C 45 - CONFIG_I2C_ENV_EEPROM_BUS 88 "embedded" in the text segment with the U-Boot code. This 94 4 kB sectors - with U-Boot code before and after it. With 97 between U-Boot and the environment. 131 when your environment is "embedded" within U-Boot code, [all …]
|
/openbmc/linux/drivers/edac/ |
H A 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 …]
|