| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-frequency-admv1013 | 1 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-1_i_calibphase 3 Contact: linux-iio@vger.kernel.org 5 Read/write unscaled value for the Local Oscillatior path quadrature I phase shift. 7 What: /sys/bus/iio/devices/iio:deviceX/in_altvoltage0-1_q_calibphase 9 Contact: linux-iio@vger.kernel.org 11 Read/write unscaled value for the Local Oscillatior path quadrature Q phase shift. 15 Contact: linux-iio@vger.kernel.org 22 Contact: linux-iio@vger.kernel.org 28 Contact: linux-iio@vger.kernel.org 30 Read/write raw value for the Local Oscillatior Feedthrough Offset Calibration I Negative [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | pmbus-core.rst | 9 power-management protocol with a fully defined command language that facilitates 11 protocol is implemented over the industry-standard SMBus serial interface and 12 enables programming, control, and real-time monitoring of compliant power 18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters 22 commands, and manufacturers can add as many non-standard commands as they like. 23 Also, different PMBUs devices act differently if non-supported commands are 43 PMBus device capabilities auto-detection 46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported 47 PMBus commands. Auto-detection is somewhat limited, since there are simply too 50 pages (see the PMBus specification for details on multi-page PMBus devices). [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | pmbus-core.rst | 9 power-management protocol with a fully defined command language that facilitates 11 protocol is implemented over the industry-standard SMBus serial interface and 12 enables programming, control, and real-time monitoring of compliant power 18 promoted by the PMBus Implementers Forum (PMBus-IF), comprising 30+ adopters 22 commands, and manufacturers can add as many non-standard commands as they like. 23 Also, different PMBUs devices act differently if non-supported commands are 43 PMBus device capabilities auto-detection 46 For generic PMBus devices, code in pmbus.c attempts to auto-detect all supported 47 PMBus commands. Auto-detection is somewhat limited, since there are simply too 50 pages (see the PMBus specification for details on multi-page PMBus devices). [all …]
|
| /kernel/linux/linux-6.6/drivers/base/regmap/ |
| D | regmap-sccb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Register map access API - SCCB support 11 * sccb_is_available - Check if the adapter supports SCCB protocol 31 * regmap_sccb_read - Read data from SCCB slave device 36 * This executes the 2-phase write transmission cycle that is followed by a 37 * 2-phase read transmission cycle, returning negative errno else zero on 47 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read() 49 ret = __i2c_smbus_xfer(i2c->adapter, i2c->addr, i2c->flags, in regmap_sccb_read() 54 ret = __i2c_smbus_xfer(i2c->adapter, i2c->addr, i2c->flags, in regmap_sccb_read() 61 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/base/regmap/ |
| D | regmap-sccb.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Register map access API - SCCB support 11 * sccb_is_available - Check if the adapter supports SCCB protocol 31 * regmap_sccb_read - Read data from SCCB slave device 36 * This executes the 2-phase write transmission cycle that is followed by a 37 * 2-phase read transmission cycle, returning negative errno else zero on 47 i2c_lock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read() 49 ret = __i2c_smbus_xfer(i2c->adapter, i2c->addr, i2c->flags, in regmap_sccb_read() 54 ret = __i2c_smbus_xfer(i2c->adapter, i2c->addr, i2c->flags, in regmap_sccb_read() 61 i2c_unlock_bus(i2c->adapter, I2C_LOCK_SEGMENT); in regmap_sccb_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
| D | ena_com.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 11 #include <linux/dma-mapping.h> 138 u8 phase; member 182 u8 phase; member 193 u8 phase; member 204 u8 phase; member 250 u8 phase; member 366 /* ena_com_mmio_reg_read_request_init - Init the mmio reg read mechanism 373 * @return - 0 on success, negative value on failure. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | renesas,rz-mtu3.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timer/renesas,rz-mtu3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas RZ/G2L Multi-Function Timer Pulse Unit 3 (MTU3a) 10 - Biju Das <biju.das.jz@bp.renesas.com> 13 This hardware block consists of eight 16-bit timer channels and one 14 32- bit timer channel. It supports the following specifications: 15 - Pulse input/output: 28 lines max. 16 - Pulse input 3 lines [all …]
|
| /kernel/linux/linux-6.6/drivers/base/power/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/common.c - Common device power management code. 18 * dev_pm_get_subsys_data - Create or refcount power.subsys_data for device. 23 * increased, otherwise negative error code. 31 return -ENOMEM; in dev_pm_get_subsys_data() 33 spin_lock_irq(&dev->power.lock); in dev_pm_get_subsys_data() 35 if (dev->power.subsys_data) { in dev_pm_get_subsys_data() 36 dev->power.subsys_data->refcount++; in dev_pm_get_subsys_data() 38 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data() 39 psd->refcount = 1; in dev_pm_get_subsys_data() [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/common.c - Common device power management code. 18 * dev_pm_get_subsys_data - Create or refcount power.subsys_data for device. 23 * increased, otherwise negative error code. 31 return -ENOMEM; in dev_pm_get_subsys_data() 33 spin_lock_irq(&dev->power.lock); in dev_pm_get_subsys_data() 35 if (dev->power.subsys_data) { in dev_pm_get_subsys_data() 36 dev->power.subsys_data->refcount++; in dev_pm_get_subsys_data() 38 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data() 39 psd->refcount = 1; in dev_pm_get_subsys_data() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/ |
| D | ena_com.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ 3 * Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 11 #include <linux/dma-mapping.h> 138 u8 phase; member 182 u8 phase; member 193 u8 phase; member 204 u8 phase; member 250 u8 phase; member 368 /* ena_com_mmio_reg_read_request_init - Init the mmio reg read mechanism 375 * @return - 0 on success, negative value on failure. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/sm750fb/ |
| D | ddk750_mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 NEG, /* negative */ 32 /* Clock Phase. This clock phase only applies to Panel. */
|
| /kernel/linux/linux-6.6/drivers/staging/sm750fb/ |
| D | ddk750_mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 NEG, /* negative */ 32 /* Clock Phase. This clock phase only applies to Panel. */
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/efa/ |
| D | efa_com.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 * Copyright 2018-2020 Amazon.com, Inc. or its affiliates. All rights reserved. 71 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32() 77 read_resp = mmio_read->read_resp; in efa_com_reg_read32() 79 spin_lock(&mmio_read->lock); in efa_com_reg_read32() 80 mmio_read->seq_num++; in efa_com_reg_read32() 83 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32() 86 mmio_read->seq_num); in efa_com_reg_read32() 88 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32() 90 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | ptp_clock_kernel.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 19 * struct ptp_clock_request - request PTP clock event 47 * struct ptp_system_timestamp - system time corresponding to a PHC timestamp 57 * struct ptp_clock_info - describes a PTP hardware clock 81 * algorithm to correct the provided phase offset. 82 * parameter delta: PHC servo phase adjustment target 86 * to the hardware clock's phase control functionality 157 * scheduling time (>=0) or negative value in case further 163 * The callbacks must all return zero on success, non-zero otherwise. 177 int (*adjphase)(struct ptp_clock_info *ptp, s32 phase); [all …]
|
| D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> 24 * PRE_RATE_CHANGE - called immediately before the clk rate is changed, 35 * POST_RATE_CHANGE - called after the clk rate change has successfully 44 * struct clk_notifier - associate a clk with a notifier 61 * struct clk_notifier_data - rate data to pass to the notifier callback 66 * For a pre-notifier, old_rate is the clk's rate before this rate 68 * post-notifier, old_rate and new_rate are both set to the clk's 78 * struct clk_bulk_data - Data used for bulk clk operations. 95 * clk_notifier_register - register a clock rate-change notifier callback [all …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/efa/ |
| D | efa_com.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 * Copyright 2018-2024 Amazon.com, Inc. or its affiliates. All rights reserved. 74 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32() 80 read_resp = mmio_read->read_resp; in efa_com_reg_read32() 82 spin_lock(&mmio_read->lock); in efa_com_reg_read32() 83 mmio_read->seq_num++; in efa_com_reg_read32() 86 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32() 89 mmio_read->seq_num); in efa_com_reg_read32() 91 writel(mmio_read_reg, edev->reg_bar + EFA_REGS_MMIO_REG_READ_OFF); in efa_com_reg_read32() 93 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/frequency/ |
| D | adf4350.txt | 4 - compatible: Should be one of 7 - reg: SPI chip select numbert for the device 8 - spi-max-frequency: Max SPI frequency to use (< 20000000) 9 - clocks: From common clock binding. Clock is phandle to clock for 13 - gpios: GPIO Lock detect - If set with a valid phandle and GPIO number, 15 - adi,channel-spacing: Channel spacing in Hz (influences MODULUS). 16 - adi,power-up-frequency: If set in Hz the PLL tunes to 18 - adi,reference-div-factor: If set the driver skips dynamic calculation 20 - adi,reference-doubler-enable: Enables reference doubler. 21 - adi,reference-div2-enable: Enables reference divider. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/ |
| D | edid.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 54 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte() 57 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) { in edid_get_byte() 61 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte() 66 if (!edid->edid_available) { in edid_get_byte() 71 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte() 73 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte() 75 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte() 76 edid->current_edid_read++; in edid_get_byte() 86 int port = -EINVAL; in cnp_get_port_from_gmbus0() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
| D | edid.c | 2 * Copyright(c) 2011-2016 Intel Corporation. All rights reserved. 51 struct intel_vgpu_i2c_edid *edid = &vgpu->display.i2c_edid; in edid_get_byte() 54 if (edid->state == I2C_NOT_SPECIFIED || !edid->slave_selected) { in edid_get_byte() 58 if (edid->current_edid_read >= EDID_SIZE) { in edid_get_byte() 63 if (!edid->edid_available) { in edid_get_byte() 68 if (intel_vgpu_has_monitor_on_port(vgpu, edid->port)) { in edid_get_byte() 70 intel_vgpu_port(vgpu, edid->port)->edid; in edid_get_byte() 72 chr = edid_data->edid_block[edid->current_edid_read]; in edid_get_byte() 73 edid->current_edid_read++; in edid_get_byte() 83 int port = -EINVAL; in cnp_get_port_from_gmbus0() [all …]
|
| /kernel/linux/linux-6.6/drivers/hwmon/pmbus/ |
| D | mp2975.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers 130 mp2975_read_word_helper(struct i2c_client *client, int page, int phase, u8 reg, in mp2975_read_word_helper() argument 133 int ret = pmbus_read_word_data(client, page, phase, reg); in mp2975_read_word_helper() 144 return 250 + (val - 1) * 5; in mp2975_vid2direct() 148 return 500 + (val - 1) * 10; in mp2975_vid2direct() 152 return 200 + (val - 1) * 10; in mp2975_vid2direct() 155 return -EINVAL; in mp2975_vid2direct() 163 /* Converts a milli-unit DIRECT value to LINEAR11 format */ 167 bool negative = false; in mp2975_data2reg_linear11() local [all …]
|
| D | pmbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pmbus.h - Common defines and structures for PMBus devices 146 * READ registers are read-only; writes are either ignored or return an error. 151 * driver code returns non-negative register values if a virtual register is 152 * supported, or a negative error code if not. The chip driver may return 153 * -ENODATA or any other error code in this case, though an error code other 154 * than -ENODATA is handled more efficiently and thus preferred. Either case, 203 * PMBUS_VIRT_PWM_[1-4] and PMBUS_VIRT_PWM_ENABLE_[1-4] in the 207 * PMBUS_VIRT_FAN_TARGET_[1-4]. 432 u32 pfunc[PMBUS_PHASES];/* Functionality, per phase */ [all …]
|
| /kernel/linux/linux-5.10/drivers/hwmon/pmbus/ |
| D | pmbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pmbus.h - Common defines and structures for PMBus devices 146 * READ registers are read-only; writes are either ignored or return an error. 151 * driver code returns non-negative register values if a virtual register is 152 * supported, or a negative error code if not. The chip driver may return 153 * -ENODATA or any other error code in this case, though an error code other 154 * than -ENODATA is handled more efficiently and thus preferred. Either case, 203 * PMBUS_VIRT_PWM_[1-4] and PMBUS_VIRT_PWM_ENABLE_[1-4] in the 207 * PMBUS_VIRT_FAN_TARGET_[1-4]. 426 u32 pfunc[PMBUS_PHASES];/* Functionality, per phase */ [all …]
|
| D | pmbus_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <linux/hwmon-sysfs.h> 36 u8 phase; /* phase number, 0xff for all phases */ member 42 Negative if there was a read error */ 103 s16 currpage; /* current page, -1 for unknown/unset */ 104 s16 currphase; /* current phase, 0xff for all, -1 for unknown/unset */ 139 for (sensor = data->sensors; sensor; sensor = sensor->next) in pmbus_clear_cache() 140 sensor->data = -ENODATA; in pmbus_clear_cache() 144 int pmbus_set_page(struct i2c_client *client, int page, int phase) in pmbus_set_page() argument 152 if (!(data->info->func[page] & PMBUS_PAGE_VIRTUAL) && in pmbus_set_page() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/frequency/ |
| D | adi,adf4350.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,adf4350 16 - adi,adf4351 21 spi-max-frequency: 28 clock-names: 35 adi,channel-spacing: 40 adi,power-up-frequency: [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | clk.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org> 24 * PRE_RATE_CHANGE - called immediately before the clk rate is changed, 35 * POST_RATE_CHANGE - called after the clk rate change has successfully 44 * struct clk_notifier - associate a clk with a notifier 61 * struct clk_notifier_data - rate data to pass to the notifier callback 66 * For a pre-notifier, old_rate is the clk's rate before this rate 68 * post-notifier, old_rate and new_rate are both set to the clk's 78 * struct clk_bulk_data - Data used for bulk clk operations. 95 * clk_notifier_register: register a clock rate-change notifier callback [all …]
|