/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 3 * Copyright (c) 2015-2017 QLogic Corporation 4 * Copyright (c) 2019-2020 Marvell International Ltd. 39 ((u32)(prio_tc_tbl >> ((7 - prio) * 4)) & 0x7) 152 p_data->dcbx_enabled); in qed_dcbx_dp_protocol() 159 qed_dcbx_app_update[i].name, p_data->arr[id].update, in qed_dcbx_dp_protocol() 160 p_data->arr[id].enable, p_data->arr[id].priority, in qed_dcbx_dp_protocol() 161 p_data->arr[id].tc, p_hwfn->hw_info.num_active_tc); in qed_dcbx_dp_protocol() 173 p_data->arr[type].enable = enable; in qed_dcbx_set_params() 174 p_data->arr[type].priority = prio; in qed_dcbx_set_params() [all …]
|
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
H A D | fsl,cpm1-scc-qmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,cpm1-scc-qmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 19 - enum: 20 - fsl,mpc885-scc-qmc 21 - fsl,mpc866-scc-qmc 22 - const: fsl,cpm1-scc-qmc 26 - description: SCC (Serial communication controller) register base [all …]
|
H A D | fsl,qe-ucc-qmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-ucc-qmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Herve Codina <herve.codina@bootlin.com> 19 - enum: 20 - fsl,mpc8321-ucc-qmc 21 - const: fsl,qe-ucc-qmc 25 - description: UCC (Unified communication controller) register base 26 - description: Dual port ram base [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-op-mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021, 2024-2025 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 12 #include "iwl-dbg-tlv.h" 23 * DOC: Operational mode - what is it ? 25 * The operational mode (a.k.a. op_mode) is the layer that implements 35 * DOC: Life cycle of the Operational mode 37 * The operational mode has a very simple life cycle. 39 * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the 41 * 2) The driver layer starts the op_mode (ops->start) [all …]
|
/linux/Documentation/misc-devices/ |
H A D | tps6594-pfsm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Strictly speaking, PFSM (Pre-configurable Finite State Machine) is not 16 manages operational modes. Depending on the current operational mode, 23 --------------- 25 - tps6594-q1 26 - tps6593-q1 27 - lp8764-q1 32 drivers/misc/tps6594-pfsm.c 48 required to be always-on, are turned off (low-power). 54 One of the operational modes. [all …]
|
H A D | apds990x.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 ----------- 44 Driver controls chip operational state using pm_runtime framework. 45 Voltage regulators are controlled based on chip operational state. 48 ----- 52 RO - shows detected chip type and version 55 RW - enable / disable chip. Uses counting logic 60 RO - measured lux value 65 RO - lux0_input max value. 72 RW - measurement rate in Hz [all …]
|
H A D | isl29003.rst | 20 ----------- 21 The ISL29003 is an integrated light sensor with a 16-bit integrating type 23 I2C multi-function control and monitoring capabilities. The internal ADC 24 provides 16-bit resolution while rejecting 50Hz and 60Hz flicker caused by 27 The driver allows to set the lux range, the bit resolution, the operational 28 mode (see below) and the power state of device and can read the current lux 33 --------- 42 ------------- 60 mode: 64 2: difference between diodes (l1 - l2, signed 15bit)
|
/linux/Documentation/networking/ |
H A D | operstates.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Operational States 11 Linux distinguishes between administrative and operational state of an 17 - ethernet requires to be plugged into the switch and, depending on 19 to be performed before user data can be transferred. Operational state 23 influence operational state. To accommodate this, operational state is 32 Both admin and operational state can be queried via the netlink 43 Interface is in RFC2863 operational state UP or UNKNOWN. This is for 54 ------------------ 60 operational state. Interface must be considered for user data as [all …]
|
/linux/drivers/input/mouse/ |
H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
/linux/Documentation/devicetree/bindings/iio/proximity/ |
H A D | nicera,d3323aa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Nicera D3-323-AA PIR sensor 10 - Waqar Hameed <waqar.hameed@axis.com> 14 Datasheet: https://www.endrich.com/Datenbl%C3%A4tter/Sensoren/D3-323-AA_e.pdf 20 vdd-supply: 24 vout-clk-gpios: 31 data-gpios). 32 After all this, when device is in operational mode, it signals on this pin [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | ti,dp83869.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - $ref: ethernet-phy.yaml# 14 - Andrew Davis <afd@ti.com> 17 The DP83869HM device is a robust, fully-featured Gigabit (PHY) transceiver 18 with integrated PMD sublayers that supports 10BASE-Te, 100BASE-TX and 19 1000BASE-T Ethernet protocols. The DP83869 also supports 1000BASE-X and 20 100BASE-FX Fiber protocols. 22 SGMII The DP83869HM supports Media Conversion in Managed mode. In this mode, [all …]
|
/linux/drivers/bluetooth/ |
H A D | btintel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 75 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr() 78 return -EIO; in btintel_check_bdaddr() 81 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr() 85 * fully operational, but have the danger of duplicate addresses in btintel_check_bdaddr() 88 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr() 90 &bda->bdaddr); in btintel_check_bdaddr() 107 bt_dev_err(hdev, "Entering manufacturer mode failed (%ld)", in btintel_enter_mfg() 123 * 0x00: Just disable the manufacturing mode (0x00). in btintel_exit_mfg() 124 * 0x01: Disable manufacturing mode and reset with patches deactivated. in btintel_exit_mfg() [all …]
|
H A D | hci_intel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 109 struct intel_data *intel = hu->priv; in intel_wait_booting() 112 err = wait_on_bit_timeout(&intel->flags, STATE_BOOTING, in intel_wait_booting() 116 if (err == -EINTR) { in intel_wait_booting() 117 bt_dev_err(hu->hdev, "Device boot interrupted"); in intel_wait_booting() 118 return -EINTR; in intel_wait_booting() 122 bt_dev_err(hu->hdev, "Device boot timeout"); in intel_wait_booting() 123 return -ETIMEDOUT; in intel_wait_booting() 132 struct intel_data *intel = hu->priv; in intel_wait_lpm_transaction() 135 err = wait_on_bit_timeout(&intel->flags, STATE_LPM_TRANSACTION, in intel_wait_lpm_transaction() [all …]
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_vnic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (c) 2009-2013 QLogic Corporation 14 return -EBUSY; in qlcnic_83xx_enable_vnic_mode() 16 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_OPER); in qlcnic_83xx_enable_vnic_mode() 25 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_83xx_disable_vnic_mode() 29 return -EBUSY; in qlcnic_83xx_disable_vnic_mode() 32 QLCWRX(adapter->ahw, QLC_83XX_VNIC_STATE, QLCNIC_DEV_NPAR_NON_OPER); in qlcnic_83xx_disable_vnic_mode() 33 ahw->idc.vnic_state = QLCNIC_DEV_NPAR_NON_OPER; in qlcnic_83xx_disable_vnic_mode() 44 int ret = -EBUSY; in qlcnic_83xx_set_vnic_opmode() 46 struct qlcnic_hardware_context *ahw = adapter->ahw; in qlcnic_83xx_set_vnic_opmode() [all …]
|
/linux/include/linux/soc/ti/ |
H A D | k3-ringacc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com 16 * enum k3_ring_mode - &struct k3_ring_cfg mode 18 * RA ring operational modes 20 * @K3_RINGACC_RING_MODE_RING: Exposed Ring mode for SW direct access 21 * @K3_RINGACC_RING_MODE_MESSAGE: Messaging mode. Messaging mode requires 28 * @K3_RINGACC_RING_MODE_CREDENTIALS: Credentials mode is message mode plus 41 * enum k3_ring_size - &struct k3_ring_cfg elm_size 60 * enum k3_ring_cfg - RA ring configuration structure 64 * @mode: Ring operational mode [all …]
|
/linux/include/linux/pse-pd/ |
H A D | pse.h | 1 // SPDX-License-Identifier: GPL-2.0-only 15 /* Maximum current in uA according to IEEE 802.3-2022 Table 145-1 */ 17 /* Maximum power in mW according to IEEE 802.3-2022 Table 145-16 */ 46 * struct pse_irq_desc - notification sender description for IRQ based events. 59 * struct pse_control_config - PSE control/channel configuration. 62 * IEEE 802.3-2018 30.15.1.2.1 acPoDLPSEAdminControl 64 * IEEE 802.3-2022 30.9.1.2.1 acPSEAdminControl 72 * struct pse_admin_state - PSE operational state 74 * @podl_admin_state: operational state of the PoDL PSE 75 * functions. IEEE 802.3-2018 30.15.1.1.2 aPoDLPSEAdminState [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | tps6105x.txt | 3 The TP61050/TPS61052 is a high-power "white LED driver". The 7 - compatible: "ti,tps61050" or "ti,tps61052" 8 - reg: Specifies the I2C slave address 10 Optional sub-node: 12 This subnode selects the chip's operational mode. 15 - regulator: presence of this sub-node puts the chip in regulator mode. 18 - led: presence of this sub-node puts the chip in led mode. 20 - function : see ../leds/common.txt 21 - color : see ../leds/common.txt 22 - label : see ../leds/common.txt [all …]
|
/linux/drivers/s390/cio/ |
H A D | cio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * S/390 common I/O routines -- low level i/o calls 57 * - cio_msg logs generic cio messages 58 * - cio_trace logs the calling of different functions 59 * - cio_crw logs machine check related cio messages 84 return -1; in cio_debug_init() 93 priv->options.suspend = (flags & DOIO_ALLOW_SUSPEND) != 0; in cio_set_options() 94 priv->options.prefetch = (flags & DOIO_DENY_PREFETCH) != 0; in cio_set_options() 95 priv->options.inter = (flags & DOIO_SUPPRESS_INTER) != 0; in cio_set_options() 105 sch->lpm &= ~lpm; in cio_start_handle_notoper() [all …]
|
H A D | vfio_ccw_fsm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Finite state machine for vfio-ccw device handling 21 struct subchannel *sch = to_subchannel(private->vdev.dev->parent); in fsm_io_helper() 28 spin_lock_irqsave(&sch->lock, flags); in fsm_io_helper() 30 orb = cp_get_orb(&private->cp, sch); in fsm_io_helper() 32 ret = -EIO; in fsm_io_helper() 37 VFIO_CCW_TRACE_EVENT(5, dev_name(&sch->dev)); in fsm_io_helper() 40 ccode = ssch(sch->schid, orb); in fsm_io_helper() 49 sch->schib.scsw.cmd.actl |= SCSW_ACTL_START_PEND; in fsm_io_helper() 51 private->state = VFIO_CCW_STATE_CP_PENDING; in fsm_io_helper() [all …]
|
/linux/rust/kernel/time/ |
H A D | hrtimer.rs | 1 // SPDX-License-Identifier: GPL-2.0 12 //! - Stopped: initialized but not started, or cancelled, or not restarted. 13 //! - Started: initialized and started or restarted. 14 //! - Running: executing the callback. 30 //! +---------------------------------------------------------------------+ 35 //! | +------------------------+ | 39 //! +-----------------+ Start +------------------+ +--------+-----+--+ 40 //! | +---------------->| | | | 42 //! --------->| Stopped | | Started +---------->| Running | 44 //! | |<----------------+ | | | [all …]
|
/linux/include/linux/ |
H A D | mei_aux.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * struct mei_aux_device - mei auxiliary device 12 * @aux_dev: - auxiliary device object 15 * @ext_op_mem: resource for extend operational memory 16 * used in graphics PXP mode.
|
/linux/drivers/input/touchscreen/ |
H A D | cyttsp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 58 /* device mode bits */ 61 /* power mode select bits */ 62 #define CY_SOFT_RESET_MODE 0x01 /* return to Bootloader mode */ 84 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data() 92 return -EIO; in ttsp_read_block_data() 102 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data() 110 return -EIO; in ttsp_write_block_data() 120 if (ts->use_hndshk) in cyttsp_handshake() 122 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 16 mode. Linux bridge FDBs are automatically offloaded when mlx5 switchdev 19 - Change device to switchdev mode:: 21 $ devlink dev eswitch set pci/0000:06:00.0 mode switchdev 23 - Attach mlx5 switchdev representor 'enp8s0f0' to bridge netdev 'bridge1':: 28 ----- 32 - VLAN filtering (including multiple VLANs per port):: 35 $ bridge vlan add dev enp8s0f0 vid 2-3 37 - VLAN push on bridge ingress:: 41 - VLAN pop on bridge egress:: [all …]
|
/linux/drivers/vfio/platform/reset/ |
H A D | vfio_platform_calxedaxgmac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright 2010-2011 Calxeda, Inc. 26 #define XGMAC_DMA_CONTROL 0x00000f18 /* Ctrl (Operational Mode) */ 51 struct vfio_platform_region *reg = &vdev->regions[0]; in vfio_platform_calxedaxgmac_reset() 53 if (!reg->ioaddr) { in vfio_platform_calxedaxgmac_reset() 54 reg->ioaddr = in vfio_platform_calxedaxgmac_reset() 55 ioremap(reg->addr, reg->size); in vfio_platform_calxedaxgmac_reset() 56 if (!reg->ioaddr) in vfio_platform_calxedaxgmac_reset() 57 return -ENOMEM; in vfio_platform_calxedaxgmac_reset() 61 writel(0, reg->ioaddr + XGMAC_DMA_INTR_ENA); in vfio_platform_calxedaxgmac_reset() [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | gmt,g762.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christian Marangi <ansuelsmth@gmail.com> 15 G761 supports an internal-clock hence the clocks property is optional. 16 If not defined, internal-clock will be used. (31KHz is the clock of 22 Additional information on operational parameters for the device is available 24 at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf. 29 - gmt,g761 30 - gmt,g762 [all …]
|