| /linux/drivers/dpll/zl3073x/ |
| H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include "out.h" 23 /* Per-operation poll timeouts */ 45 * struct zl3073x_chip_info - chip variant identification 57 * struct zl3073x_dev - zl3073x device 65 * @out: array of outs' invariants 72 * @out_step_time_mask: output step-time mask (device-global) 86 struct zl3073x_out out[ZL3073X_NUM_OUTS]; member 97 /* Per-chip parameters */ 114 return READ_ONCE(zldev->phase_avg_factor); in zl3073x_dev_phase_avg_factor_get() [all …]
|
| H A D | dpll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 * struct zl3073x_dpll_pin - DPLL pin 34 * @tracker: tracking object for the acquired reference 73 * zl3073x_dpll_is_input_pin - check if the pin is input one 81 return pin->dir == DPLL_PIN_DIRECTION_INPUT; in zl3073x_dpll_is_input_pin() 85 * zl3073x_dpll_is_nco_pin - check if the pin is a virtual NCO pin 93 return pin->id == ZL3073X_NCO_PIN_ID; in zl3073x_dpll_is_nco_pin() 97 * zl3073x_dpll_is_p_pin - check if the pin is P-pin 100 * Return: true if the pin is P-pin, false if it is N-pin 105 return zl3073x_is_p_pin(pin->id); in zl3073x_dpll_is_p_pin() [all …]
|
| /linux/drivers/cpufreq/ |
| H A D | amd_freq_sensitivity.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/percpu-defs.h> 32 u64 reference; member 44 struct msr actual, reference; in amd_powersave_bias_target() local 45 struct cpu_data_t *data = &per_cpu(cpu_data, policy->cpu); in amd_powersave_bias_target() 46 struct policy_dbs_info *policy_dbs = policy->governor_data; in amd_powersave_bias_target() 47 struct dbs_data *od_data = policy_dbs->dbs_data; in amd_powersave_bias_target() 48 struct od_dbs_tuners *od_tuners = od_data->tuners; in amd_powersave_bias_target() 50 if (!policy->freq_table) in amd_powersave_bias_target() 53 rdmsrq_on_cpu(policy->cpu, MSR_AMD64_FREQ_SENSITIVITY_ACTUAL, &actual.q); in amd_powersave_bias_target() [all …]
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_os.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 26 int prot_mask = -1; 60 * mpi3mr_host_tag_for_scmd - Get host tag for a scmd 61 * @mrioc: Adapter instance reference 62 * @scmd: SCSI command reference 78 if (hw_queue >= mrioc->num_op_reply_q) in mpi3mr_host_tag_for_scmd() 82 if (WARN_ON(host_tag >= mrioc->max_host_ios)) in mpi3mr_host_tag_for_scmd() 87 priv->host_tag = host_tag + 1; in mpi3mr_host_tag_for_scmd() [all …]
|
| 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> 24 MODULE_PARM_DESC(poll_queues, "Number of queues for io_uring poll mode. (Range 1 - 126)"); 56 pi = op_req_q->pi; in mpi3mr_check_req_qfull() 57 ci = READ_ONCE(op_req_q->ci); in mpi3mr_check_req_qfull() 58 max_entries = op_req_q->num_requests; in mpi3mr_check_req_qfull() 60 if ((ci == (pi + 1)) || ((!ci) && (pi == (max_entries - 1)))) in mpi3mr_check_req_qfull() 70 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/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/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]) -> Resul [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/hwmon/ |
| H A D | adcxx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #include <linux/hwmon-sysfs.h> 42 u32 reference; /* in millivolts */ member 57 if (mutex_lock_interruptible(&adc->lock)) in adcxx_show() 58 return -ERESTARTSYS; in adcxx_show() 60 if (adc->channels == 1) { in adcxx_show() 63 tx_buf[0] = attr->index << 3; /* other bits are don't care */ in adcxx_show() 70 goto out; in adcxx_show() 76 value = value * adc->reference >> 12; in adcxx_show() 78 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/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 …]
|
| /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/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/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/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/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 …]
|
| /linux/scripts/ |
| H A D | check_extable.sh | 2 # SPDX-License-Identifier: GPL-2.0 7 file ${obj} | grep -q ELF || (echo "${obj} is not an ELF file." 1>&2 ; exit 0) 9 # Bail out early if there isn't an __ex_table section in this object file. 10 objdump -hj __ex_table ${obj} 2> /dev/null > /dev/null 11 [ $? -ne 0 ] && exit 0 15 suspicious_relocs=$(objdump -rj __ex_table ${obj} | tail -n +6 | 16 grep -v $(eval echo -e{${white_list}}) | awk '{print $3}') 19 [ -z "${suspicious_relocs}" ] && exit 0 22 # After this point, something is seriously wrong since we just found out we 33 …eval $(objdump -t ${obj} | grep ${1} | sed 's/\([0-9a-f]\+\) .\{7\} \([^ \t]\+\).*/section="\2"; s… [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-transaction-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include "dm-block-manager.h" 16 /*----------------------------------------------------------------*/ 20 * of the on-disk data structures by limiting access to writeable blocks. 28 * The non-blocking version of a transaction manager is intended for use in 30 * You create the non-blocking variant from a normal tm. The interface is 31 * the same, except that most functions will just return -EWOULDBLOCK. 40 * We use a 2-phase commit here. 59 * dm_tm_new_block() is pretty self-explanatory. Make sure you do actually 62 * before handing them out, which will be redundant in most, if not all, [all …]
|
| /linux/include/drm/ |
| H A D | drm_syncobj.h | 20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 29 #include <linux/dma-fence.h> 30 #include <linux/dma-fence-chain.h> 35 * struct drm_syncobj - sync object. 41 * @refcount: Reference count of this object. 61 * @lock: Protects &cb_list and &ev_fd_list, and write-locks &fence. 73 * drm_syncobj_get - acquire a syncobj reference 76 * This acquires an additional reference to @obj. It is illegal to call this 77 * without already holding a reference. No locks required. 82 kref_get(&obj->refcount); in drm_syncobj_get() [all …]
|