Home
last modified time | relevance | path

Searched +full:- +full:eq (Results 1 – 25 of 1020) sorted by relevance

12345678910>>...41

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_eqs.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <linux/dma-mapping.h>
27 #define GET_EQ_NUM_PAGES(eq, pg_size) \ argument
28 (ALIGN((eq)->q_len * (eq)->elem_size, pg_size) / (pg_size))
30 #define GET_EQ_NUM_ELEMS_IN_PG(eq, pg_size) ((pg_size) / (eq)->elem_size) argument
32 #define EQ_CONS_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
33 HINIC_CSR_AEQ_CONS_IDX_ADDR((eq)->q_id) : \
34 HINIC_CSR_CEQ_CONS_IDX_ADDR((eq)->q_id))
36 #define EQ_PROD_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \ argument
37 HINIC_CSR_AEQ_PROD_IDX_ADDR((eq)->q_id) : \
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
3 * Copyright (c) 2013-2021, Mellanox Technologies inc. All rights reserved.
10 #include <linux/mlx5/eq.h>
15 #include "lib/eq.h"
40 * the ci before we polled all the entries in the EQ. MLX5_NUM_SPARE_EQE is
41 * used to set the EQ size, budget must be smaller than the EQ size.
94 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) in mlx5_eq_cq_get() argument
96 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_cq_get()
100 cq = radix_tree_lookup(&table->tree, cqn); in mlx5_eq_cq_get()
114 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local
[all …]
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_eq.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
5 /* Copyright (c) 2020-2022, Alibaba Group. */
11 void notify_eq(struct erdma_eq *eq) in notify_eq() argument
13 u64 db_data = FIELD_PREP(ERDMA_EQDB_CI_MASK, eq->ci) | in notify_eq()
16 *eq->db_record = db_data; in notify_eq()
17 writeq(db_data, eq->db); in notify_eq()
19 atomic64_inc(&eq->notify_num); in notify_eq()
22 void *get_next_valid_eqe(struct erdma_eq *eq) in get_next_valid_eqe() argument
24 u64 *eqe = get_queue_entry(eq->qbuf, eq->ci, eq->depth, EQE_SHIFT); in get_next_valid_eqe()
27 return owner ^ !!(eq->ci & eq->depth) ? eqe : NULL; in get_next_valid_eqe()
[all …]
/openbmc/linux/tools/testing/selftests/kexec/
H A Dtest_kexec_file_load.sh2 # SPDX-License-Identifier: GPL-2.0
11 # enabled or access to the extract-ikconfig script.
16 trap "{ rm -f $IKCONFIG ; }" EXIT
30 if [ $? -eq 1 ]; then
42 if [ $ima_read_policy -eq 1 ]; then
46 if [ $ret -eq 1 ]; then
52 [ $ret -eq 1 ] && log_info "IMA signature required";
64 pesign -i $KERNEL_IMAGE --show-signature | grep -q "No signatures"
66 if [ $ret -eq 1 ]; then
81 if [ $? -eq 1 ]; then
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
168 return dev->mthca_flags & MTHCA_FLAG_SRQ ? in async_mask()
173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in tavor_set_eq_ci() argument
179 * more EQ entries, and we want to avoid the exceedingly in tavor_set_eq_ci()
184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), in tavor_set_eq_ci()
185 dev->kar + MTHCA_EQ_DOORBELL, in tavor_set_eq_ci()
186 MTHCA_GET_DOORBELL_LOCK(&dev->doorbell_lock)); in tavor_set_eq_ci()
189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in arbel_set_eq_ci() argument
194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); in arbel_set_eq_ci()
[all …]
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_eq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Aureal Vortex Hardware EQ control/access.
13 * - Debug (testing)
14 * - Test peak visualization support.
22 The Aureal Hardware EQ is found on AU8810 and AU8830 chips only.
41 hwwrite(vortex->mmio, 0x2b3c4, gain); in vortex_EqHw_SetTimeConsts()
42 hwwrite(vortex->mmio, 0x2b3c8, level); in vortex_EqHw_SetTimeConsts()
47 /* -(-32768) -> -32768 so we do -(-32768) -> 32767 to make the result positive */ in sign_invert()
48 if (a == (u16)-32768) in sign_invert()
51 return -a; in sign_invert()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dfilter_expr_parser_test.cpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
27 parse("ProcessorSummary/Count eq 2", in TEST()
44 "ProcessorSummary/Count eq 2 or ProcessorSummary/Count eq 4", in TEST()
46 parse("not ProcessorSummary/Count eq 2", in TEST()
48 parse("not ProcessorSummary/Count eq -2", in TEST()
49 "not(unquoted_string(\"ProcessorSummary/Count\") Equals int(-2))"); in TEST()
50 parse("Status/State eq 'Enabled')", in TEST()
53 "ProcessorSummary/Count eq 2 and MemorySummary/TotalSystemMemoryGiB eq 64", in TEST()
56 "Status/State eq 'Enabled' and Status/Health eq 'OK' or SystemType eq 'Physical'", in TEST()
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_lsc.S22 assert eq, a2, a3
25 assert eq, a2, a3
28 assert eq, a2, a3
31 assert eq, a2, a3
56 assert eq, a2, a3
57 l32i a4, a2, -8
59 assert eq, a4, a3
60 l32i a4, a2, -4
62 assert eq, a4, a3
65 assert eq, a4, a3
[all …]
H A Dtest_mmu.S55 assert eq, a1, a3
56 assert eq, a2, a3
61 assert eq, a1, a3
62 assert eq, a2, a3
67 assert eq, a1, a3
69 assert eq, a2, a3
92 assert eq, a2, a3
95 assert eq, a2, a3
106 assert eq, a2, a3
109 assert eq, a2, a3
[all …]
H A Dtest_windowed.S38 assert eq, a2, a3
44 assert eq, a2, a3
47 assert eq, a2, a3
55 assert eq, a2, a3
58 assert eq, a2, a3
63 overflow_test \shift, \window, %((\shift) - 1), \probe
102 assert eq, a2, a3
108 assert eq, a2, a3
110 movi a3, (XCHAL_NUM_AREGS - (\window)) / 4
111 assert eq, a2, a3
[all …]
H A Dtest_load_store.S19 assert eq, a5, a6
44 assert eq, a5, a6
50 assert eq, a6, a7
53 assert eq, a6, a7
55 assert eq, a6, a3
56 assert eq, a5, a4
75 assert eq, a5, a6
97 assert eq, a5, a6
98 movi a3, 1b - 1
101 assert eq, a5, a6
[all …]
H A Dtest_mac16.S13 assert eq, a4, a5
17 assert eq, a4, a5
110 test_mulxxx muls.aa, 0, a2, a3, 0xf7315a5a, 0xa5a5137f, 0x0ff73155aa, -
114 test_mulxxx muls.ad, 1, a2, m2, 0xf7315a5a, 0xa5a5137f, 0x0ff73155aa, -
118 test_mulxxx muls.da, 2, m1, a3, 0xf7315a5a, 0xa5a5137f, 0xfff73155aa, -
122 test_mulxxx muls.dd, 3, m0, m3, 0xf7315a5a, 0xa5a5137f, 0xfff73155aa, -
126 movi a2, 1f - 4
129 assert eq, a2, a3
132 assert eq, a3, a4
135 assert eq, a2, a3
[all …]
H A Dtest_break.S17 rsil a2, debug_level - 1
26 assert eq, a2, a3
29 assert eq, a2, a3
32 assert eq, a2, a3
41 rsil a2, debug_level - 1
50 assert eq, a2, a3
53 assert eq, a2, a3
56 assert eq, a2, a3
69 rsil a2, debug_level - 1
89 assert eq, a2, a3
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
38 #include <linux/dma-mapping.h>
89 if (dev->caps.flags & MLX4_DEV_CAP_FLAG_PORT_MNG_CHG_EV) in get_async_ev_mask()
91 if (dev->caps.flags2 & MLX4_DEV_CAP_FLAG2_RECOVERABLE_ERROR_EVENT) in get_async_ev_mask()
97 static void eq_set_ci(struct mlx4_eq *eq, int req_not) in eq_set_ci() argument
99 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | in eq_set_ci()
101 eq->doorbell); in eq_set_ci()
106 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor, in get_eqe() argument
109 /* (entry & (eq->nent - 1)) gives us a cyclic array */ in get_eqe()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Deq.h1 /* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */
2 /* Copyright (c) 2018-2021, Mellanox Technologies inc. All rights reserved. */
7 #include <linux/mlx5/eq.h>
41 spinlock_t lock; /* To avoid irq EQ handle races with resiliency flows */
51 static inline u32 eq_get_size(struct mlx5_eq *eq) in eq_get_size() argument
53 return eq->fbc.sz_m1 + 1; in eq_get_size()
56 static inline struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) in get_eqe() argument
58 return mlx5_frag_buf_get_wqe(&eq->fbc, entry); in get_eqe()
61 static inline struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) in next_eqe_sw() argument
63 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & eq->fbc.sz_m1); in next_eqe_sw()
[all …]
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c1 // SPDX-License-Identifier: GPL-2.0
14 struct hw_eq *eq = NULL; in efct_hw_init_queues() local
24 hw->eq_count = 0; in efct_hw_init_queues()
25 hw->cq_count = 0; in efct_hw_init_queues()
26 hw->mq_count = 0; in efct_hw_init_queues()
27 hw->wq_count = 0; in efct_hw_init_queues()
28 hw->rq_count = 0; in efct_hw_init_queues()
29 hw->hw_rq_count = 0; in efct_hw_init_queues()
30 INIT_LIST_HEAD(&hw->eq_list); in efct_hw_init_queues()
32 for (i = 0; i < hw->config.n_eq; i++) { in efct_hw_init_queues()
[all …]
/openbmc/linux/drivers/mfd/
H A Dwm8994-regmap.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8994-regmap.c -- Register map data for WM8994 series devices
18 { 0x0001, 0x0000 }, /* R1 - Power Management (1) */
19 { 0x0002, 0x6000 }, /* R2 - Power Management (2) */
20 { 0x0003, 0x0000 }, /* R3 - Power Management (3) */
21 { 0x0004, 0x0000 }, /* R4 - Power Management (4) */
22 { 0x0005, 0x0000 }, /* R5 - Power Management (5) */
23 { 0x0006, 0x0000 }, /* R6 - Power Management (6) */
24 { 0x0015, 0x0000 }, /* R21 - Input Mixer (1) */
25 { 0x0018, 0x008B }, /* R24 - Left Line Input 1&2 Volume */
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include <asm/asm-offsets.h>
16 #include <asm/feature-fixups.h>
100 bne 1f /* don't invalidate the D-cache */
217 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
218 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq
371 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
373 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
374 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq
375 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq
[all …]
/openbmc/linux/tools/debugging/
H A Dkernel-chktaint2 # SPDX-License-Identifier: GPL-2.0
22 if [ "$1"x == "--helpx" ] || [ "$1"x == "-hx" ] ; then
25 elif [ $1 -ge 0 ] 2>/dev/null ; then
33 if [ ! -r $TAINTFILE ]; then
41 if [ $taint -eq 0 ]; then
55 if [ `expr $T % 2` -eq 0 ]; then
63 if [ `expr $T % 2` -eq 0 ]; then
71 if [ `expr $T % 2` -eq 0 ]; then
79 if [ `expr $T % 2` -eq 0 ]; then
87 if [ `expr $T % 2` -eq 0 ]; then
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp124 Eq(boost::system::errc::success);
125 Matcher<T> valueAfter = Eq(newValue);
141 DbusEnvironment::getBus()->async_method_call( in deleteTrigger()
152 EXPECT_THAT(getProperty<std::string>(sut->getPath(), "Name"), in TEST_F()
153 Eq(triggerParams.name())); in TEST_F()
154 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistent"), Eq(true)); in TEST_F()
156 getProperty<std::vector<std::string>>(sut->getPath(), "TriggerActions"), in TEST_F()
157 Eq(utils::transform( in TEST_F()
160 EXPECT_THAT((getProperty<SensorsInfo>(sut->getPath(), "Sensors")), in TEST_F()
161 Eq(utils::fromLabeledSensorsInfo(triggerParams.sensors()))); in TEST_F()
[all …]
H A Dtest_trigger_manager.cpp38 DbusEnvironment::getBus()->async_method_call( in addTrigger()
84 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
85 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
99 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
100 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
111 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
112 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
123 EXPECT_THAT(ec.value(), Eq(boost::system::errc::file_exists)); in TEST_F()
124 EXPECT_THAT(path, Eq(std::string())); in TEST_F()
133 EXPECT_THAT(ec.value(), Eq(boost::system::errc::invalid_argument)); in TEST_F()
[all …]
H A Dtest_report_manager.cpp65 DbusEnvironment::getBus()->async_method_call( in addReport()
101 Eq(ReportManager::minInterval.count())); in TEST_F()
107 Eq(ReportManager::maxReports)); in TEST_F()
127 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
128 EXPECT_THAT(path, Eq(reportMock.getPath())); in TEST_F()
140 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
141 EXPECT_THAT(path, Eq(reportMock.getPath())); in TEST_F()
159 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
160 EXPECT_THAT(path, Eq(reportMock.getPath())); in TEST_F()
172 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
[all …]
H A Dtest_make_id_name.cpp32 EXPECT_THROW(this->makeIdName("", getTooLongName()), in TEST_F()
43 EXPECT_THAT(this->makeIdName("id0", name), Eq(std::pair{"id0"s, name})); in TEST_F()
44 EXPECT_THAT(this->makeIdName("prefix/id2", name), in TEST_F()
45 Eq(std::pair{"prefix/id2"s, name})); in TEST_F()
50 this->defaultName = "def"; in TEST_F()
52 EXPECT_THAT(this->makeIdName("", ""), Eq(std::pair{"def"s, "def"s})); in TEST_F()
53 EXPECT_THAT(this->makeIdName("abc/", ""), in TEST_F()
54 Eq(std::pair{"abc/def"s, "def"s})); in TEST_F()
59 this->defaultName = "def"; in TEST_F()
62 EXPECT_THAT(this->makeIdName("", name), Eq(std::pair{"def"s, name})); in TEST_F()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/pldm/files/
H A Dpldm_nic_power_cycle3 # shellcheck source=meta-facebook/meta-yosemite4/recipes-yosemite4/plat-tool/files/yosemite4-common
4 . /usr/libexec/yosemite4-common-functions
12 if [ "$1" -eq "0" ]; then
14 elif [ "$1" -eq "1" ]; then
16 elif [ "$1" -eq "2" ]; then
18 elif [ "$1" -eq "3" ]; then
29 mfg-tool power-control -p $corresponding_slot1 -a off -s runtime
30 mfg-tool power-control -p $corresponding_slot2 -a off -s runtime
34 while [ "$i" -lt 3 ]
38 if [ $ret -eq 0 ]; then
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpcie-iproc-msi.c1 // SPDX-License-Identifier: GPL-2.0
14 #include "pcie-iproc.h"
52 * struct iproc_msi_grp - iProc MSI group
59 * @eq: Event queue number
64 unsigned int eq; member
68 * struct iproc_msi - iProc event queue based MSI
130 unsigned int eq) in iproc_msi_read_reg() argument
132 struct iproc_pcie *pcie = msi->pcie; in iproc_msi_read_reg()
134 return readl_relaxed(pcie->base + msi->reg_offsets[eq][reg]); in iproc_msi_read_reg()
139 int eq, u32 val) in iproc_msi_write_reg() argument
[all …]

12345678910>>...41