/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/tools/include/nolibc/ |
H A D | stdio.h | 1 /* SPDX-License-Identifier: LGPL-2.1 OR MIT */ 4 * Copyright (C) 2017-2021 Willy Tarreau <w@1wt.eu> 21 #define EOF (-1) 25 #define _IOFBF 0 /* Fully buffered. */ 26 #define _IOLBF 1 /* Line buffered. */ 29 /* just define FILE as a non-empty type. The value of the pointer gives 30 * the FD: FILE=~fd for fd>=0 or NULL for fd<0. This way positive FILE 61 return -1; in fileno() 75 return -1; in fflush() 90 return -1; in fclose() [all …]
|
/openbmc/linux/tools/lib/api/ |
H A D | io.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Lightweight buffered reading library. 37 io->fd = fd; in io__init() 38 io->buf_len = buf_len; in io__init() 39 io->buf = buf; in io__init() 40 io->end = buf; in io__init() 41 io->data = buf; in io__init() 42 io->timeout_ms = 0; in io__init() 43 io->eof = false; in io__init() 49 char *ptr = io->data; in io__get_char() [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/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/gpu/drm/i915/display/ |
H A D | intel_vblank.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2022-2023 Intel Corporation 24 * latch double buffered registers 30 * | may be shifted forward 1-3 extra lines via TRANSCONF 37 * ----va---> <-----------------vb--------------------> <--------va------------- 38 * | | <----vs-----> | 39 …* -vbs-----> <---vbs+1---> <---vbs+2---> <-----0-----> <-----1-----> <-----2--- (scanline counter … 40 …* -vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2---> <-----0--- (scanline counter … 41 …* -vbs-2---> <---vbs-2---> <---vbs-1---> <---vbs-----> <---vbs+1---> <---vbs+2- (scanline counter … 56 * - most events happen at the start of horizontal sync [all …]
|
/openbmc/linux/net/strparser/ |
H A D | strparser.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 return (struct _strp_msg *)((void *)skb->cb + in _strp_msg() 41 cancel_delayed_work(&strp->msg_timer_work); in strp_abort_strp() 43 if (strp->stopped) in strp_abort_strp() 46 strp->stopped = 1; in strp_abort_strp() 48 if (strp->sk) { in strp_abort_strp() 49 struct sock *sk = strp->sk; in strp_abort_strp() 52 sk->sk_err = -err; in strp_abort_strp() 60 mod_delayed_work(strp_wq, &strp->msg_timer_work, timeo); in strp_start_timer() 67 desc->error = err; in strp_parser_err() [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/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/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/iio/adc/ |
H A D | ad7124.c | 1 // SPDX-License-Identifier: GPL-2.0+ 203 .name = "ad7124-4", 208 .name = "ad7124-8", 224 diff_new = abs(val - array[i]); in ad7124_find_closest_match() 243 ret = ad_sd_read_reg(&st->sd, addr, bytes, &readval); in ad7124_spi_write_mask() 250 return ad_sd_write_reg(&st->sd, addr, bytes, readval); in ad7124_spi_write_mask() 258 st->adc_control &= ~AD7124_ADC_CTRL_MODE_MSK; in ad7124_set_mode() 259 st->adc_control |= AD7124_ADC_CTRL_MODE(mode); in ad7124_set_mode() 261 return ad_sd_write_reg(&st->sd, AD7124_ADC_CONTROL, 2, st->adc_control); in ad7124_set_mode() 268 fclk = clk_get_rate(st->mclk); in ad7124_set_channel_odr() [all …]
|
H A D | ti-ads1015.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ADS1015 - Texas Instruments Analog-to-Digital Converter 7 * IIO driver for ADS1015 ADC 7-bit I2C slave address: 8 * * 0x48 - ADDR connected to Ground 9 * * 0x49 - ADDR connected to Vdd 10 * * 0x4A - ADDR connected to SDA 11 * * 0x4B - ADDR connected to SCL 111 * Translation from PGA bits to full-scale positive and negative input voltage 161 * Compile-time check whether _fitbits can accommodate up to _testbits 165 * double-negation of size of a non-empty structure, i.e. it multiplies [all …]
|
/openbmc/linux/drivers/iio/dummy/ |
H A 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 …]
|
/openbmc/qemu/block/ |
H A D | block-copy.c | 9 * Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> 12 * See the COPYING file in the top-level directory. 19 #include "block/block-copy.h" 20 #include "block/block_int-io.h" 21 #include "block/dirty-bitmap.h" 23 #include "sysemu/block-backend.h" 25 #include "qemu/co-shared-resource.h" 29 #include "qemu/error-report.h" 59 /* Coroutine where async block-copy is running */ 77 * After finishing (call_state->finished is true), it is not modified [all …]
|
/openbmc/linux/drivers/iio/light/ |
H A D | rohm-bu27034.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * https://fscdn.rohm.com/en/products/databook/datasheet/ic/sensor/light/bu27034nuc-e.pdf 21 #include <linux/iio/iio-gts-helper.h> 55 * inevitable even if the sensor clock would be perfectly phase-locked to CPU 56 * clock - which we can't say is the case. 59 * risk of losing a sample because things can in a rainy-day scenario be 72 * Downside is that the time-stamps would be very inaccurate as the wake-up 74 * result 'jumps' in the time-stamps when the delay drifted so that wake-up was 75 * performed during the consecutive wake-ups (Or, when sensor and CPU clocks 76 * were very different and scheduling the wake-ups was very close to given [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-iio | 3 Contact: linux-iio@vger.kernel.org 11 Contact: linux-iio@vger.kernel.org 25 Contact: linux-iio@vger.kernel.org 31 Contact: linux-iio@vger.kernel.org 38 Contact: linux-iio@vger.kernel.org 44 The contents of the label are free-form, but there are some 51 * "proximity-wifi" 52 * "proximity-lte" 53 * "proximity-wifi-lte" 54 * "proximity-wifi-left" [all …]
|
/openbmc/linux/include/linux/ |
H A 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: 33 * values are expanded to 32-bit signed int, long items contain a pointer 187 * System Multi-Axis, see: 188 …* http://www.usb.org/developers/hidpage/HUTRR62_-_Generic_Desktop_CA_for_System_Multi-Axis_Control… 424 * persistent for main-items. The global environment can be saved and 442 * This is the local environment. It is persistent up the next main-item. 464 int parent_idx; /* device->collection */ [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/Documentation/filesystems/ |
H A 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 …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 72 f = fdget(hreq->fd); in xfs_find_handle() 74 return -EBADF; in xfs_find_handle() 77 error = user_path_at(AT_FDCWD, hreq->path, 0, &path); in xfs_find_handle() 88 error = -EINVAL; in xfs_find_handle() 89 if (inode->i_sb->s_magic != XFS_SB_MAGIC) in xfs_find_handle() 92 error = -EBADF; in xfs_find_handle() 93 if (!S_ISREG(inode->i_mode) && in xfs_find_handle() 94 !S_ISDIR(inode->i_mode) && in xfs_find_handle() [all …]
|
/openbmc/linux/fs/f2fs/ |
H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0 41 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_filemap_fault() 49 trace_f2fs_filemap_fault(inode, vmf->pgoff, (unsigned long)ret); in f2fs_filemap_fault() 56 struct page *page = vmf->page; in f2fs_vm_page_mkwrite() 57 struct inode *inode = file_inode(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() 70 err = -EIO; in f2fs_vm_page_mkwrite() 75 err = -ENOSPC; in f2fs_vm_page_mkwrite() 85 int ret = f2fs_is_compressed_cluster(inode, page->index); in f2fs_vm_page_mkwrite() 99 sb_start_pagefault(inode->i_sb); in f2fs_vm_page_mkwrite() 103 file_update_time(vmf->vma->vm_file); in f2fs_vm_page_mkwrite() [all …]
|
/openbmc/qemu/hw/block/ |
H A D | pflash_cfi02.c | 23 * - flash read 24 * - flash write 25 * - flash ID read 26 * - sector erase 27 * - chip erase 28 * - unlock bypass command 29 * - CFI queries 38 #include "hw/qdev-properties.h" 39 #include "hw/qdev-properties-system.h" 41 #include "qemu/error-report.h" [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-fence.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Fence mechanism for dma-buf and to allow for asynchronous dma access 16 #include <linux/dma-fence.h> 50 * Since the purposes of fences is to facilitate cross-device and 51 * cross-application synchronization, there's multiple ways to use one: 53 * - Individual fences can be exposed as a &sync_file, accessed as a file 58 * - Some subsystems also have their own explicit fencing primitives, like 62 * - Then there's also implicit fencing, where the synchronization points are 69 * DOC: fence cross-driver contract 77 * further command submission and force complete all in-flight fences, e.g. [all …]
|