| /linux/drivers/dpll/zl3073x/ |
| H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include "out.h" 34 * struct zl3073x_chip_info - chip variant identification 46 * struct zl3073x_dev - zl3073x device 52 * @out: array of outs' invariants 69 struct zl3073x_out out[ZL3073X_NUM_OUTS]; member 95 return zldev->phase_avg_factor; in zl3073x_dev_phase_avg_factor_get() 105 * struct zl3073x_hwreg_seq_item - HW register write sequence item 152 * zl3073x_dev_is_ref_phase_comp_32bit - check ref phase comp register size 155 * Some chip IDs have a 32-bit wide ref_phase_offset_comp register instead [all …]
|
| H A D | dpll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * struct zl3073x_dpll_pin - DPLL pin 33 * @tracker: tracking object for the acquired reference 72 * zl3073x_dpll_is_input_pin - check if the pin is input one 80 return pin->dir == DPLL_PIN_DIRECTION_INPUT; in zl3073x_dpll_is_input_pin() 84 * zl3073x_dpll_is_p_pin - check if the pin is P-pin 87 * Return: true if the pin is P-pin, false if it is N-pin 92 return zl3073x_is_p_pin(pin->id); in zl3073x_dpll_is_p_pin() 103 *direction = pin->dir; in zl3073x_dpll_pin_direction_get() 113 list_for_each_entry(pin, &zldpll->pins, list) { in zl3073x_dpll_pin_get_by_ref() [all …]
|
| /linux/fs/nfsd/ |
| H A D | filecache.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2015 - Jeff Layton <jeff.layton@primarydata.com> 7 * An nfsd_file object is a per-file collection of open state that binds 9 * - a struct file * 10 * - a user credential 11 * - a network namespace 12 * - a read-ahead context 13 * - monitoring for writeback errors 15 * nfsd_file objects are reference-counted. Consumers acquire a new 17 * the acquired object, and hence the object's reference count, via [all …]
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_transport.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 15 * mpi3mr_post_transport_req - Issue transport requests and wait 16 * @mrioc: Adapter instance reference 27 * and if the request times out this function faults the 33 * Return: 0 on success, non-zero on failure. 41 mutex_lock(&mrioc->transport_cmds.mutex); in mpi3mr_post_transport_req() 42 if (mrioc->transport_cmds.state & MPI3MR_CMD_PENDING) { in mpi3mr_post_transport_req() 43 retval = -1; in mpi3mr_post_transport_req() [all …]
|
| H A D | mpi3mr_fw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 11 #include <linux/io-64-nonatomic-lo-hi.h> 23 MODULE_PARM_DESC(poll_queues, "Number of queues for io_uring poll mode. (Range 1 - 126)"); 55 pi = op_req_q->pi; in mpi3mr_check_req_qfull() 56 ci = READ_ONCE(op_req_q->ci); in mpi3mr_check_req_qfull() 57 max_entries = op_req_q->num_requests; in mpi3mr_check_req_qfull() 59 if ((ci == (pi + 1)) || ((!ci) && (pi == (max_entries - 1)))) in mpi3mr_check_req_qfull() 69 max_vectors = mrioc->intr_info_count; in mpi3mr_sync_irqs() [all …]
|
| /linux/Documentation/devicetree/bindings/iio/ |
| H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 17 reference into the device frame of reference using a translation matrix as 23 relative to some specific device frame of reference. 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 37 reference. This means that the sensor may be flipped upside-down, left-right, 38 or tilted at any angle relative to the frame of reference. 40 Another frame of reference is how the device with its sensor relates to the 42 from the sensor is used to figure out how the device is oriented with respect 47 Device-to-world examples for some three-dimensional sensor types: [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | silabs,si5341.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mike Looijmans <mike.looijmans@topic.nl> 16 Reference 18 https://www.silabs.com/documents/public/data-sheets/Si5341-40-D-DataSheet.pdf 19 [2] Si5341 Reference Manual 20 https://www.silabs.com/documents/public/reference-manuals/Si5341-40-D-RM.pdf 21 [3] Si5345 Reference Manual 22 https://www.silabs.com/documents/public/reference-manuals/Si5345-44-42-D-RM.pdf [all …]
|
| /linux/arch/microblaze/include/asm/ |
| H A D | flat.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * uClinux flat-format executables 22 * Crack open a symbol reference and extract the address to be 24 * reference 32 /* Is it a split 64/32 reference? */ in flat_get_addr_from_rp() 34 /* Grab the two halves of the reference */ in flat_get_addr_from_rp() 40 /* Crack the address out */ in flat_get_addr_from_rp() 43 /* Get the address straight out */ in flat_get_addr_from_rp() 51 * Insert an address into the symbol reference at rp. rp is potentially
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | davinci-evm-audio.txt | 4 - compatible : "ti,da830-evm-audio" : forDM365/DA8xx/OMAPL1x/AM33xx 5 - ti,model : The user-visible name of this sound complex. 6 - ti,audio-codec : The phandle of the TLV320AIC3x audio codec 7 - ti,mcasp-controller : The phandle of the McASP controller 8 - ti,audio-routing : A list of the connections between audio components. 14 - ti,codec-clock-rate : The Codec Clock rate (in Hz) applied to the Codec. 15 - clocks : Reference to the master clock 16 - clock-names : The clock should be named "mclk" 17 - Either codec-clock-rate or the codec-clock reference has to be defined. If 19 defined rate and takes the rate from the clock reference. [all …]
|
| /linux/include/uapi/linux/ |
| H A D | tee.h | 2 * Copyright (c) 2015-2016, Linaro Limited 24 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 51 #define TEE_GEN_CAP_OBJREF (1 << 4)/* Supports generic object reference */ 53 #define TEE_MEMREF_NULL ((__u64)(-1)) /* NULL MemRef Buffer */ 54 #define TEE_OBJREF_NULL ((__u64)(-1)) /* NULL ObjRef Object */ 65 * OP-TEE specific capabilities 70 * struct tee_ioctl_version_data - TEE version 71 * @impl_id: [out] TEE implementation id 72 * @impl_caps: [out] Implementation specific capabilities 73 * @gen_caps: [out] Generic capabilities, defined by TEE_GEN_CAPS_* above [all …]
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 1 // SPDX-License-Identifier: GPL-2.0 9 //! Reference: <https://docs.kernel.org/power/opp.html> 40 pub(crate) fn new(table: &Table) -> Result<Self> { in new() 55 /// Returns a reference to the underlying [`cpufreq::Table`]. 57 fn table(&self) -> &cpufreq::Table { in table() 67 fn deref(&self) -> &Self::Target { in deref() 90 /// Creates a null-terminated slice of pointers to [`CString`]s. 91 fn to_c_str_array(names: &[CString]) -> Result<KVec<*const c_char>> { in to_c_str_array() 92 // Allocated a null-terminated vector of pointers. in to_c_str_array() 123 fn from(volt: MicroVolt) -> Self { in from() [all …]
|
| /linux/net/wireless/tests/ |
| H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2023-2024 Intel Corporation 201 .desc = "non-inherit element", 229 const struct gen_new_ie_case *params = test->param_value; in KUNIT_ARRAY_PARAM_DESC() 232 struct sk_buff *reference = kunit_zalloc_skb(test, 1024, GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() local 233 u8 *out = kunit_kzalloc(test, IEEE80211_MAX_DATA_LEN, GFP_KERNEL); in KUNIT_ARRAY_PARAM_DESC() local 239 KUNIT_ASSERT_NOT_NULL(test, reference); in KUNIT_ARRAY_PARAM_DESC() 240 KUNIT_ASSERT_NOT_NULL(test, out); in KUNIT_ARRAY_PARAM_DESC() 242 for (i = 0; i < ARRAY_SIZE(params->parent_ies); i++) { in KUNIT_ARRAY_PARAM_DESC() 243 if (params->parent_ies[i].len != 0) { in KUNIT_ARRAY_PARAM_DESC() [all …]
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
| /linux/drivers/usb/gadget/udc/ |
| H A D | pch_udc.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #define UDC_BUFIN_FRAMENUM_ADDR 0x08 /* buffer size in / frame number out */ 28 #define UDC_BUFOUT_MAXPKT_ADDR 0x0C /* buffer size out / maxpkt in */ 79 /* Value for OUT field */ 189 #define PCH_UDC_EP_NUM 32 /* Total number of EPs (16 IN,16 OUT) */ 211 * struct pch_udc_data_dma_desc - Structure to hold DMA descriptor information 226 * struct pch_udc_stp_dma_desc - Structure to hold DMA descriptor information 256 * struct pch_udc_cfg_data - Structure to hold current configuration 269 * struct pch_udc_ep - Structure holding a PCH USB device Endpoint information 275 * @dev: reference to device struct [all …]
|
| /linux/drivers/hwmon/ |
| H A D | adcxx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #include <linux/hwmon-sysfs.h> 43 u32 reference; /* in millivolts */ member 58 if (mutex_lock_interruptible(&adc->lock)) in adcxx_show() 59 return -ERESTARTSYS; in adcxx_show() 61 if (adc->channels == 1) { in adcxx_show() 64 tx_buf[0] = attr->index << 3; /* other bits are don't care */ in adcxx_show() 71 goto out; in adcxx_show() 77 value = value * adc->reference >> 12; in adcxx_show() 79 out: in adcxx_show() [all …]
|
| /linux/include/xen/interface/ |
| H A D | grant_table.h | 1 /* SPDX-License-Identifier: MIT */ 6 * page-ownership transfers. 20 /* Some rough guidelines on accessing and updating grant-table entries 21 * in a concurrency-safe manner. For more information, Linux contains a 22 * reference implementation for guest OSes (drivers/xen/grant_table.c, see 23 …* http://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=blob;f=drivers/xen/grant-table.c;… 25 * NB. WMB is a no-op on current-generation x86 processors. However, a 29 * 1. Write ent->domid. 30 * 2. Write ent->frame: 32 * GTF_accept_transfer: Pseudo-phys frame slot being filled by new [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | dspkginit.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: dspkginit - Completion of deferred package initialization 6 * Copyright (C) 2000 - 2025, Intel Corp. 29 * PARAMETERS: walk_state - Current walk state 30 * op - Parser object to be translated 31 * element_count - Number of elements in the package - this is 33 * obj_desc_ptr - Where the ACPI internal object is returned 43 * if num_elements is larger, the Package object is padded out with 73 if (walk_state->parse_flags & ACPI_PARSE_MODULE_LEVEL) { in acpi_ds_build_internal_package_obj() 79 parent = op->common.parent; in acpi_ds_build_internal_package_obj() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_extfree_item.h | 1 // SPDX-License-Identifier: GPL-2.0 24 * The EFI is reference counted so that it is not freed prior to both the EFI 26 * the AIL even in the event of out of order EFI/EFD processing. In other words, 29 * 1.) an EFI held reference to track EFI AIL insertion 30 * 2.) an EFD held reference to track EFD commit 33 * EFI is added to and dirtied in a transaction, ownership of reference one 34 * transfers to the transaction. The reference is dropped once the EFI is 37 * the EFD reference under all circumstances to this point. The caller has no 42 * Once an EFD is allocated and dirtied in a transaction, reference two 43 * transfers to the transaction. The EFD reference is dropped once it reaches [all …]
|
| H A D | xfs_filestream.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2006-2007 Silicon Graphics, Inc. 41 struct xfs_perag *pag = item->pag; in xfs_fstrm_free_func() 43 trace_xfs_filestream_free(pag, mru->key); in xfs_fstrm_free_func() 44 atomic_dec(&pag->pagf_fstrms); in xfs_fstrm_free_func() 63 struct xfs_mount *mp = args->mp; in xfs_filestream_pick_ag() 72 minfree = mp->m_sb.sb_agblocks / 50; in xfs_filestream_pick_ag() 83 if (err == -EAGAIN) { in xfs_filestream_pick_ag() 95 if (pag->pagf_freeblks > maxfree) { in xfs_filestream_pick_ag() 96 maxfree = pag->pagf_freeblks; in xfs_filestream_pick_ag() [all …]
|
| /linux/Documentation/devicetree/bindings/display/tegra/ |
| H A D | nvidia,tegra124-sor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra124-sor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 19 pattern: "^sor@[0-9a-f]+$" 23 - enum: 24 - nvidia,tegra124-sor 25 - nvidia,tegra210-sor [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_pm.c | 1 // SPDX-License-Identifier: MIT 8 #include <linux/fault-inject.h> 39 * System Level Suspend (S-States) - In general this is OS initiated suspend 44 * PCI Device Suspend (D-States) - This is the opportunistic PCIe device low power 61 * Runtime PM - This infrastructure provided by the Linux kernel allows the 64 * (PC-states), and/or other low level power states. Xe PM component provides 73 * sysfs, debugfs, dma-buf sharing, GPU execution. 104 * xe_pm_might_block_on_suspend() - Annotate that the code might block on suspend 116 * xe_pm_block_on_suspend() - Block pending suspend. 125 * returns %-ERESTARTSYS when tasks are frozen during suspend, [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_rport.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright(c) 2007 - 2008 Intel Corporation. All rights reserved. 5 * Maintained at www.Open-FCoE.org 32 * path this potential over-use of the mutex is acceptable. 36 * RPORT REFERENCE COUNTING 38 * A rport reference should be taken when: 39 * - an rport is allocated 40 * - a workqueue item is scheduled 41 * - an ELS request is send 42 * The reference should be dropped when: [all …]
|
| /linux/arch/arm/boot/dts/arm/ |
| H A D | vexpress-v2p-ca15_a7.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Cortex-A15_A7 MPCore (V2P-CA15_A7) 8 * HBI-0249A 11 /dts-v1/; 12 #include "vexpress-v2m-rs1.dtsi" 15 model = "V2P-CA15_CA7"; 18 compatible = "arm,vexpress,v2p-ca15_a7", "arm,vexpress"; 19 interrupt-parent = <&gic>; 20 #address-cells = <2>; 21 #size-cells = <2>; [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-adc-mcp3564 | 3 Contact: linux-iio@vger.kernel.org 6 circuit of the Delta-Sigma modulator. The different BOOST 8 the voltage reference buffers. 12 Contact: linux-iio@vger.kernel.org 15 the current biasing circuit of the Delta-Sigma modulator. 19 Contact: linux-iio@vger.kernel.org 22 auto-zeroing algorithm (the input multiplexer and the ADC 26 input as VIN+/VIN-, one with VIN+/VIN- inverted. In this case the 30 ultra-low offset without any digital calibration. The resulting 39 Contact: linux-iio@vger.kernel.org [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | ttm_object.h | 3 * Copyright (c) 2006-2023 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 23 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 32 * Base- and reference object implementation for the various 33 * ttm objects. Implements reference counting, minimal security checks 40 #include <linux/dma-buf.h> 51 * Device-specific types should use the 73 * @hash: hash entry for the per-device object hash. 82 * including the hash entry. A reference to a base object can [all …]
|