| /kernel/linux/linux-5.10/drivers/soc/qcom/ |
| D | rpmh-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 11 #include <linux/wait.h> 12 #include <soc/qcom/tcs.h> 23 * struct tcs_group: group of Trigger Command Sets (TCS) to send state requests 27 * @type: Type of the TCS in this group - active, sleep, wake. 29 * @offset: Start of the TCS group relative to the TCSes in the RSC. 31 * @ncpt: Number of commands in each TCS. 32 * @req: Requests that are sent from the TCS; only used for ACTIVE_ONLY 33 * transfers (could be on a wake/sleep TCS if we are borrowing for [all …]
|
| D | rpmh-rsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 22 #include <linux/wait.h> 24 #include <soc/qcom/cmd-db.h> 25 #include <soc/qcom/tcs.h> 26 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 28 #include "rpmh-internal.h" 31 #include "trace-rpmh.h" 41 /* DRV TCS Configuration Information Register */ 48 /* Offsets for common TCS Registers, one bit per TCS */ [all …]
|
| D | trace-rpmh.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 13 #include "rpmh-internal.h" 22 __string(name, d->name) 30 __assign_str(name, d->name); 31 __entry->m = m; 32 __entry->addr = r->cmds[0].addr; 33 __entry->data = r->cmds[0].data; 34 __entry->err = e; 37 TP_printk("%s: ack: tcs-m: %d addr: %#x data: %#x errno: %d", [all …]
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| D | rpmh-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 11 #include <linux/wait.h> 12 #include <soc/qcom/tcs.h> 23 * struct tcs_group: group of Trigger Command Sets (TCS) to send state requests 27 * @type: Type of the TCS in this group - active, sleep, wake. 29 * @offset: Start of the TCS group relative to the TCSes in the RSC. 31 * @ncpt: Number of commands in each TCS. 32 * @req: Requests that are sent from the TCS; only used for ACTIVE_ONLY 33 * transfers (could be on a wake/sleep TCS if we are borrowing for [all …]
|
| D | rpmh-rsc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. 28 #include <linux/wait.h> 31 #include <soc/qcom/cmd-db.h> 32 #include <soc/qcom/tcs.h> 33 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 35 #include "rpmh-internal.h" 38 #include "trace-rpmh.h" 71 /* DRV TCS Configuration Information Register */ [all …]
|
| D | trace-rpmh.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 13 #include "rpmh-internal.h" 22 __string(name, d->name) 29 __assign_str(name, d->name); 30 __entry->m = m; 31 __entry->addr = r->cmds[0].addr; 32 __entry->data = r->cmds[0].data; 35 TP_printk("%s: ack: tcs-m: %d addr: %#x data: %#x", 36 __get_str(name), __entry->m, __entry->addr, __entry->data) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/interconnect/ |
| D | qcom,bcm-voter.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm BCM-Voter Interconnect 10 - Georgi Djakov <georgi.djakov@linaro.org> 22 - qcom,bcm-voter 24 qcom,tcs-wait: 26 Optional mask of which TCSs (Triggered Command Sets) wait for completion 27 upon triggering. If not specified, then the AMC and WAKE sets wait for [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/interconnect/ |
| D | qcom,bcm-voter.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interconnect/qcom,bcm-voter.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm BCM-Voter Interconnect 10 - Georgi Djakov <georgi.djakov@linaro.org> 22 - qcom,bcm-voter 24 qcom,tcs-wait: 26 Optional mask of which TCSs (Triggered Command Sets) wait for completion 27 upon triggering. If not specified, then the AMC and WAKE sets wait for [all …]
|
| /kernel/linux/linux-5.10/include/soc/qcom/ |
| D | tcs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 33 * @wait: wait for this request to be complete before sending the next 38 u32 wait; member 42 * struct tcs_request: A set of tcs_cmds sent together in a TCS 45 * @wait_for_compl: wait until we get a response from the h/w accelerator 65 /* Construct a Bus Clock Manager (BCM) specific TCS command */
|
| /kernel/linux/linux-6.6/include/soc/qcom/ |
| D | tcs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. 33 * @wait: ensure that this command is complete before returning. 34 * Setting "wait" here only makes sense during rpmh_write_batch() for 35 * active-only transfers, this is because: 36 * rpmh_write() - Always waits. 38 * rpmh_write_async() - Never waits. 44 u32 wait; member 48 * struct tcs_request: A set of tcs_cmds sent together in a TCS 51 * @wait_for_compl: wait until we get a response from the h/w accelerator [all …]
|
| /kernel/linux/linux-5.10/drivers/interconnect/qcom/ |
| D | bcm-voter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <linux/interconnect-provider.h> 14 #include <soc/qcom/tcs.h> 16 #include "bcm-voter.h" 17 #include "icc-rpmh.h" 23 * struct bcm_voter - Bus Clock Manager voter 30 * @tcs_wait: mask for which buckets require TCS completion 49 if (bcm_a->aux_data.vcd < bcm_b->aux_data.vcd) in cmp_vcd() 50 return -1; in cmp_vcd() [all …]
|
| /kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
| D | bcm-voter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved. 7 #include <linux/interconnect-provider.h> 14 #include <soc/qcom/tcs.h> 16 #include "bcm-voter.h" 17 #include "icc-rpmh.h" 23 * struct bcm_voter - Bus Clock Manager voter 30 * @tcs_wait: mask for which buckets require TCS completion 47 return bcm_a->aux_data.vcd - bcm_b->aux_data.vcd; in cmp_vcd() 61 /* BCMs with enable_mask use one-hot-encoding for on/off signaling */ [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
| D | aic94xx_tmf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 /* ---------- Internal enqueue ---------- */ 24 ascb->tasklet_complete = tasklet_complete; in asd_enqueue_internal() 25 ascb->uldd_timer = 1; in asd_enqueue_internal() 27 ascb->timer.function = timed_out; in asd_enqueue_internal() 28 ascb->timer.expires = jiffies + AIC94XX_SCB_TIMEOUT; in asd_enqueue_internal() 30 add_timer(&ascb->timer); in asd_enqueue_internal() 32 res = asd_post_ascb_list(ascb->ha, ascb, 1); in asd_enqueue_internal() 34 del_timer(&ascb->timer); in asd_enqueue_internal() 38 /* ---------- CLEAR NEXUS ---------- */ [all …]
|
| /kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
| D | aic94xx_tmf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 /* ---------- Internal enqueue ---------- */ 24 ascb->tasklet_complete = tasklet_complete; in asd_enqueue_internal() 25 ascb->uldd_timer = 1; in asd_enqueue_internal() 27 ascb->timer.function = timed_out; in asd_enqueue_internal() 28 ascb->timer.expires = jiffies + AIC94XX_SCB_TIMEOUT; in asd_enqueue_internal() 30 add_timer(&ascb->timer); in asd_enqueue_internal() 32 res = asd_post_ascb_list(ascb->ha, ascb, 1); in asd_enqueue_internal() 34 del_timer(&ascb->timer); in asd_enqueue_internal() 38 /* ---------- CLEAR NEXUS ---------- */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 9 * ixgbe_cache_ring_dcb_sriov - Descriptor ring to register mapping for SR-IOV 12 * Cache the descriptor ring offsets for SR-IOV to the assigned rings. It 20 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_dcb_sriov() 22 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_cache_ring_dcb_sriov() 25 u8 tcs = adapter->hw_tcs; in ixgbe_cache_ring_dcb_sriov() local 28 if (tcs <= 1) in ixgbe_cache_ring_dcb_sriov() 32 if (!(adapter->flags & IXGBE_FLAG_SRIOV_ENABLED)) in ixgbe_cache_ring_dcb_sriov() 35 /* start at VMDq register offset for SR-IOV enabled setups */ in ixgbe_cache_ring_dcb_sriov() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 9 * ixgbe_cache_ring_dcb_sriov - Descriptor ring to register mapping for SR-IOV 12 * Cache the descriptor ring offsets for SR-IOV to the assigned rings. It 20 struct ixgbe_ring_feature *fcoe = &adapter->ring_feature[RING_F_FCOE]; in ixgbe_cache_ring_dcb_sriov() 22 struct ixgbe_ring_feature *vmdq = &adapter->ring_feature[RING_F_VMDQ]; in ixgbe_cache_ring_dcb_sriov() 25 u8 tcs = adapter->hw_tcs; in ixgbe_cache_ring_dcb_sriov() local 28 if (tcs <= 1) in ixgbe_cache_ring_dcb_sriov() 32 if (!(adapter->flags & IXGBE_FLAG_SRIOV_ENABLED)) in ixgbe_cache_ring_dcb_sriov() 35 /* start at VMDq register offset for SR-IOV enabled setups */ in ixgbe_cache_ring_dcb_sriov() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/kernel/ |
| D | rtlx-cmp.c | 12 #include <linux/wait.h> 33 if (info->ap_int_pending == 1 && smp_processor_id() == 0) { in rtlx_interrupt() 38 info->ap_int_pending = 0; in rtlx_interrupt() 54 return -ENODEV; in rtlx_module_init() 57 if (num_possible_cpus() - aprp_cpu_index() < 1) { in rtlx_module_init() 58 pr_warn("No TCs reserved for AP/SP, not initializing RTLX.\n" in rtlx_module_init() 61 return -ENODEV; in rtlx_module_init() 70 /* initialise the wait queues */ in rtlx_module_init() 80 while (i--) in rtlx_module_init() 96 pr_err("APRP RTLX init on non-vectored-interrupt processor\n"); in rtlx_module_init() [all …]
|
| D | rtlx-mt.c | 12 #include <linux/wait.h> 75 return -ENODEV; in rtlx_module_init() 79 pr_warn("No TCs reserved for AP/SP, not initializing RTLX.\n" in rtlx_module_init() 82 return -ENODEV; in rtlx_module_init() 91 /* initialise the wait queues */ in rtlx_module_init() 101 while (i--) in rtlx_module_init() 117 pr_err("APRP RTLX init on non-vectored-interrupt processor\n"); in rtlx_module_init() 118 err = -ENODEV; in rtlx_module_init()
|
| D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 #include <asm/r4k-timer.h> 34 #include <asm/mips-cps.h> 46 /* Number of TCs (or siblings in Intel speak) per CPU core */ 50 /* representing the TCs (or siblings in Intel speak) of each logical CPU */ 54 /* representing the core map of multi-core chips of each logical CPU */ 121 /* Re-calculate the mask */ in calculate_cpu_foreign_map() 341 mp_ops->init_secondary(); in start_secondary() 377 * irq will be enabled in ->smp_finish(), enabling it too early in start_secondary() 381 mp_ops->smp_finish(); in start_secondary() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_ets.sh | 2 # SPDX-License-Identifier: GPL-2.0 23 ethtool -s $h2 speed 1000 autoneg off 24 ethtool -s $swp2 speed 1000 autoneg off 26 # Set the ingress quota high and use the three egress TCs to limit the 43 # Note: sch_ets_core.sh uses VLAN ingress-qos-map to assign packet 44 # priorities at $swp1 based on their 802.1p headers. ingress-qos-map is 46 # 1:1, which is the mapping currently hard-coded by the driver. 58 ethtool -s $swp2 autoneg on 59 ethtool -s $h2 autoneg on 67 local -a streams=("$@") [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | sch_ets.sh | 2 # SPDX-License-Identifier: GPL-2.0 27 # Set the ingress quota high and use the three egress TCs to limit the 44 # Note: sch_ets_core.sh uses VLAN ingress-qos-map to assign packet 45 # priorities at $swp1 based on their 802.1p headers. ingress-qos-map is 47 # 1:1, which is the mapping currently hard-coded by the driver. 67 local -a streams=("$@") 70 # Wait for qdisc counter update so that we don't get it mid-way through.
|
| /kernel/linux/linux-6.6/arch/mips/kernel/ |
| D | rtlx-mt.c | 12 #include <linux/wait.h> 75 return -ENODEV; in rtlx_module_init() 79 pr_warn("No TCs reserved for AP/SP, not initializing RTLX.\n" in rtlx_module_init() 82 return -ENODEV; in rtlx_module_init() 91 /* initialise the wait queues */ in rtlx_module_init() 101 while (i--) in rtlx_module_init() 117 pr_err("APRP RTLX init on non-vectored-interrupt processor\n"); in rtlx_module_init() 118 err = -ENODEV; in rtlx_module_init()
|
| D | smp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 #include <asm/r4k-timer.h> 34 #include <asm/mips-cps.h> 46 /* Number of TCs (or siblings in Intel speak) per CPU core */ 50 /* representing the TCs (or siblings in Intel speak) of each logical CPU */ 54 /* representing the core map of multi-core chips of each logical CPU */ 139 /* Re-calculate the mask */ in calculate_cpu_foreign_map() 360 mp_ops->init_secondary(); in start_secondary() 395 * irq will be enabled in ->smp_finish(), enabling it too early in start_secondary() 399 mp_ops->smp_finish(); in start_secondary() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/qcom/ |
| D | clk-rpmh.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 6 #include <linux/clk-provider.h> 13 #include <soc/qcom/cmd-db.h> 15 #include <soc/qcom/tcs.h> 17 #include <dt-bindings/clock/qcom,rpmh.h> 23 * struct bcm_db - Auxiliary data pertaining to each Bus Clock Manager(BCM) 37 * struct clk_rpmh - individual rpmh clock data structure 38 * @hw: handle between common and hardware-specific interfaces 142 return (c->last_sent_aggr_state & BIT(state)) in has_state_changed() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/isci/ |
| D | task.c | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 68 * isci_task_refuse() - complete the request to the upper layer driver in 84 dev_dbg(&ihost->pdev->dev, "%s: task = %p, response=%d, status=%d\n", in isci_task_refuse() 87 spin_lock_irqsave(&task->task_state_lock, flags); in isci_task_refuse() 89 task->task_status.resp = response; in isci_task_refuse() 90 task->task_status.stat = status; in isci_task_refuse() 93 task->task_state_flags |= SAS_TASK_STATE_DONE; in isci_task_refuse() 94 task->task_state_flags &= ~SAS_TASK_STATE_PENDING; in isci_task_refuse() [all …]
|