/linux/drivers/input/mouse/ |
H A D | cyapa.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() 73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode() 84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode() [all …]
|
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/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 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/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/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/drivers/s390/cio/ |
H A D | cio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 u32 lm : 2; /* limit mode */ 26 u32 mme : 2; /* measurement-mode enable */ 27 u32 mp : 1; /* multipath mode */ 32 u8 pnom; /* path not operational mask */ 35 u16 mbi; /* measurement-block index */ 36 u8 pom; /* path operational mask */ 38 u8 chpid[8]; /* CHPID 0-7 (if available) */ 43 u32 xmwme : 1; /* extended measurement word mode enable */ 96 __u8 opm; /* operational path mask */
|
H A D | device_ops.c | 1 // SPDX-License-Identifier: GPL-1.0+ 30 * ccw_device_set_options_mask() - set some options and unset the rest 37 * %0 on success, -%EINVAL on an invalid flag combination. 46 return -EINVAL; in ccw_device_set_options_mask() 47 cdev->private->options.fast = (flags & CCWDEV_EARLY_NOTIFICATION) != 0; in ccw_device_set_options_mask() 48 cdev->private->options.repall = (flags & CCWDEV_REPORT_ALL) != 0; in ccw_device_set_options_mask() 49 cdev->private->options.pgroup = (flags & CCWDEV_DO_PATHGROUP) != 0; in ccw_device_set_options_mask() 50 cdev->private->options.force = (flags & CCWDEV_ALLOW_FORCE) != 0; in ccw_device_set_options_mask() 51 cdev->private->options.mpath = (flags & CCWDEV_DO_MULTIPATH) != 0; in ccw_device_set_options_mask() 56 * ccw_device_set_options() - set some options [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/drivers/bluetooth/ |
H A D | btintel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 69 if (skb->len != sizeof(*bda)) { in btintel_check_bdaddr() 72 return -EIO; in btintel_check_bdaddr() 75 bda = (struct hci_rp_read_bd_addr *)skb->data; in btintel_check_bdaddr() 79 * fully operational, but have the danger of duplicate addresses in btintel_check_bdaddr() 82 if (!bacmp(&bda->bdaddr, BDADDR_INTEL)) { in btintel_check_bdaddr() 84 &bda->bdaddr); in btintel_check_bdaddr() 85 set_bit(HCI_QUIRK_INVALID_BDADDR, &hdev->quirks); in btintel_check_bdaddr() 101 bt_dev_err(hdev, "Entering manufacturer mode failed (%ld)", in btintel_enter_mfg() 117 * 0x00: Just disable the manufacturing mode (0x00). 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/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/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/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 38 u64 mode; /* mode bits */ member 50 return (kb->version == EP11_STRUCT_MAGIC); in is_ep11_keyblob() 92 u64 op_mode; /* card operational mode(s) */ 101 u64 op_mode; /* domain operational mode(s) */ 129 * - apqn is online and is in fact an EP11 apqn 130 * - if cardnr is not FFFF only apqns with this cardnr 131 * - if domain is not FFFF only apqns with this domainnr 132 * - if minhwtype > 0 only apqns with hwtype >= minhwtype 133 * - if minapi > 0 only apqns with API_ord_nr >= minapi [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/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/gpu/drm/xe/ |
H A D | xe_guc_pc.c | 1 // SPDX-License-Identifier: MIT 56 * including frequency management, Render-C states management, and various 69 * Render-C States: 72 * Render-C states is also a GuC PC feature that is now enabled in Xe for 84 return &pc_to_guc(pc)->ct; in pc_to_ct() 99 return &pc->bo->vmap; in pc_to_maps() 130 wait = timeout_us - slept; in wait_for_pc_state() 133 return -ETIMEDOUT; in wait_for_pc_state() 142 xe_bo_ggtt_addr(pc->bo), in pc_action_reset() 161 xe_bo_ggtt_addr(pc->bo), in pc_action_query_task_state() [all …]
|
/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/scsi/mpi3mr/ |
H A D | mpi3mr.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2017-2023 Broadcom Inc. 6 * (mailto: mpi3mr-linuxdrv.pdl@broadcom.com) 14 #include <linux/blk-mq.h> 15 #include <linux/blk-mq-pci.h> 61 #define MPI3MR_DRIVER_RELDATE "05-Sept-2024" 65 #define MPI3MR_DRIVER_AUTHOR "Broadcom Inc. <mpi3mr-linuxdrv.pdl@broadcom.com>" 88 /* Operational queue management definitions */ 109 MPI3MR_NUM_DEVRMCMD - 1) 115 MPI3MR_NUM_EVTACKCMD - 1) [all …]
|