Home
last modified time | relevance | path

Searched full:eq (Results 1 – 25 of 1383) sorted by relevance

12345678910>>...56

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_eqs.c27 #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) : \
38 HINIC_CSR_CEQ_PROD_IDX_ADDR((eq)->q_id))
40 #define EQ_HI_PHYS_ADDR_REG(eq, pg_num) (((eq)->type == HINIC_AEQ) ? \ argument
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c10 #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()
114 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local
119 eqe = next_eqe_sw(eq); in mlx5_eq_comp_int()
126 /* Make sure we read EQ entry contents after we've in mlx5_eq_comp_int()
133 cq = mlx5_eq_cq_get(eq, cqn); in mlx5_eq_comp_int()
[all …]
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_rst0.S11 assert eq, a5, a6
13 assert eq, a2, a6
15 assert eq, a3, a6
24 assert eq, a5, a6
26 assert eq, a2, a6
28 assert eq, a3, a6
37 assert eq, a5, a6
39 assert eq, a2, a6
41 assert eq, a3, a6
50 assert eq, a5, a6
[all …]
H A Dtest_rem.S13 assert eq, a5, a6
15 assert eq, a2, a6
17 assert eq, a4, a6
26 assert eq, a5, a6
28 assert eq, a2, a6
30 assert eq, a4, a6
39 assert eq, a5, a6
41 assert eq, a2, a6
43 assert eq, a4, a6
52 assert eq, a5, a6
[all …]
H A Dtest_quo.S13 assert eq, a5, a6
15 assert eq, a2, a6
17 assert eq, a4, a6
26 assert eq, a5, a6
28 assert eq, a2, a6
30 assert eq, a4, a6
39 assert eq, a5, a6
41 assert eq, a2, a6
43 assert eq, a4, a6
52 assert eq, a5, a6
[all …]
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
59 assert eq, a4, a3
62 assert eq, a4, a3
65 assert eq, a4, a3
87 assert eq, a2, a3
90 assert eq, a2, a3
[all …]
H A Dtest_mul16.S13 assert eq, a5, a6
15 assert eq, a2, a6
17 assert eq, a3, a6
26 assert eq, a5, a6
28 assert eq, a2, a6
30 assert eq, a3, a6
39 assert eq, a5, a6
41 assert eq, a2, a6
43 assert eq, a3, a6
52 assert eq, a5, a6
[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_phys_mem.S34 assert eq, a2, a3
36 assert eq, a2, a3
39 assert eq, a2, a3
52 assert eq, a2, a3
55 assert eq, a2, a3
58 assert eq, a2, a3
71 assert eq, a2, a3
74 assert eq, a2, a3
77 assert eq, a2, a3
90 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
102 assert eq, a2, a3
108 assert eq, a2, a3
111 assert eq, a2, a3
118 assert eq, a2, a3
151 assert eq, a2, a3
[all …]
H A Dtest_sext.S11 assert eq, a3, a4
16 assert eq, a3, a4
21 assert eq, a3, a4
26 assert eq, a3, a4
31 assert eq, a3, a4
36 assert eq, a3, a4
41 assert eq, a3, a4
46 assert eq, a3, a4
51 assert eq, a3, a4
56 assert eq, a3, a4
[all …]
H A Dtest_min.S12 assert eq, a5, a4
18 assert eq, a5, a4
24 assert eq, a2, a4
30 assert eq, a3, a4
36 assert eq, a2, a4
42 assert eq, a3, a4
50 assert eq, a5, a4
56 assert eq, a5, a4
62 assert eq, a2, a4
68 assert eq, a3, a4
[all …]
/openbmc/linux/drivers/infiniband/hw/erdma/
H A Derdma_eq.c11 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()
85 struct erdma_eq *eq = &dev->aeq; in erdma_aeq_init() local
88 eq->depth = ERDMA_DEFAULT_EQ_DEPTH; in erdma_aeq_init()
[all …]
/openbmc/linux/tools/testing/selftests/kexec/
H A Dtest_kexec_file_load.sh30 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";
66 if [ $ret -eq 1 ]; then
81 if [ $? -eq 1 ]; then
87 if [ $? -eq 0 ]; then
104 if [ $? -eq 0 ]; then
121 if [ $? -eq 0 ]; then
126 if [ $secureboot -eq 1 ] && [ $arch_policy -eq 1 ] && \
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c173 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()
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()
199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in set_eq_ci() argument
202 arbel_set_eq_ci(dev, eq, ci); in set_eq_ci()
204 tavor_set_eq_ci(dev, eq, ci); in set_eq_ci()
228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) in get_eqe() argument
230 unsigned long off = (entry & (eq->nent - 1)) * MTHCA_EQ_ENTRY_SIZE; in get_eqe()
[all …]
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_eq.c4 * Aureal Vortex Hardware EQ control/access.
22 The Aureal Hardware EQ is found on AU8810 and AU8830 chips only.
56 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftCoefs()
78 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightCoefs()
101 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftStates()
118 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightStates()
164 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetBypassGain()
211 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsTarget()
221 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsTarget()
231 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsCurrent()
[all …]
/openbmc/bmcweb/test/redfish-core/include/
H A Dfilter_expr_parser_test.cpp27 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()
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()
59 "(Status/State eq 'Enabled' and Status/Health eq 'OK') or SystemType eq 'Physical'", in TEST()
66 EXPECT_TRUE(parseFilter("not(ProcessorSummary/Count eq 2)")); in TEST()
69 EXPECT_TRUE(parseFilter("not(ProcessorSummary/Count eq -2)")); in TEST()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c97 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()
110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; in get_eqe()
118 …return eq->page_list[offset / PAGE_SIZE].buf + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % … in get_eqe()
121 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor, u8 size) in next_eqe_sw() argument
123 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor, size); in next_eqe_sw()
124 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; in next_eqe_sw()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Deq.h7 #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()
65 return (eqe->owner ^ (eq->cons_index >> eq->fbc.log_sz)) & 1 ? NULL : eqe; in next_eqe_sw()
68 static inline void eq_update_ci(struct mlx5_eq *eq, int arm) in eq_update_ci() argument
[all …]
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c14 struct hw_eq *eq = NULL; in efct_hw_init_queues() local
33 /* Create EQ */ in efct_hw_init_queues()
34 eq = efct_hw_new_eq(hw, EFCT_HW_EQ_DEPTH); in efct_hw_init_queues()
35 if (!eq) { in efct_hw_init_queues()
40 eqs[i] = eq; in efct_hw_init_queues()
44 cq = efct_hw_new_cq(eq, in efct_hw_init_queues()
59 cq = efct_hw_new_cq(eq, hw->num_qentries[SLI4_QTYPE_CQ]); in efct_hw_init_queues()
130 struct hw_eq *eq = kzalloc(sizeof(*eq), GFP_KERNEL); in efct_hw_new_eq() local
132 if (!eq) in efct_hw_new_eq()
135 eq->type = SLI4_QTYPE_EQ; in efct_hw_new_eq()
[all …]
/openbmc/linux/drivers/mfd/
H A Dwm8994-regmap.c138 { 0x0480, 0x6318 }, /* R1152 - AIF1 DAC1 EQ Gains (1) */
139 { 0x0481, 0x6300 }, /* R1153 - AIF1 DAC1 EQ Gains (2) */
140 { 0x0482, 0x0FCA }, /* R1154 - AIF1 DAC1 EQ Band 1 A */
141 { 0x0483, 0x0400 }, /* R1155 - AIF1 DAC1 EQ Band 1 B */
142 { 0x0484, 0x00D8 }, /* R1156 - AIF1 DAC1 EQ Band 1 PG */
143 { 0x0485, 0x1EB5 }, /* R1157 - AIF1 DAC1 EQ Band 2 A */
144 { 0x0486, 0xF145 }, /* R1158 - AIF1 DAC1 EQ Band 2 B */
145 { 0x0487, 0x0B75 }, /* R1159 - AIF1 DAC1 EQ Band 2 C */
146 { 0x0488, 0x01C5 }, /* R1160 - AIF1 DAC1 EQ Band 2 PG */
147 { 0x0489, 0x1C58 }, /* R1161 - AIF1 DAC1 EQ Band 3 A */
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dcpu_setup_6xx.S217 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
376 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq
377 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq
442 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq
444 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq
[all …]
/openbmc/telemetry/tests/src/
H A Dtest_trigger.cpp123 Eq(boost::system::errc::success);
124 Matcher<T> valueAfter = Eq(newValue);
153 Eq(triggerParams.name())); in TEST_F()
154 EXPECT_THAT(getProperty<bool>(sut->getPath(), "Persistent"), Eq(true)); in TEST_F()
157 Eq(utils::transform( in TEST_F()
161 Eq(utils::fromLabeledSensorsInfo(triggerParams.sensors()))); in TEST_F()
164 Eq(triggerParams.reports())); in TEST_F()
167 Eq(isTriggerThresholdDiscrete(triggerParams.thresholdParams()))); in TEST_F()
171 Eq(std::get<0>(utils::FromLabeledThresholdParamConversion()( in TEST_F()
176 Eq(std::get<1>(utils::FromLabeledThresholdParamConversion()( in TEST_F()
[all …]
H A Dtest_trigger_manager.cpp85 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
86 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
100 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
101 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
112 EXPECT_THAT(ec.value(), Eq(boost::system::errc::success)); in TEST_F()
113 EXPECT_THAT(path, Eq(triggerMock.getPath())); in TEST_F()
124 EXPECT_THAT(ec.value(), Eq(boost::system::errc::file_exists)); in TEST_F()
125 EXPECT_THAT(path, Eq(std::string())); in TEST_F()
134 EXPECT_THAT(ec.value(), Eq(boost::system::errc::invalid_argument)); in TEST_F()
135 EXPECT_THAT(path, Eq(std::string())); in TEST_F()
[all …]
/openbmc/linux/tools/debugging/
H A Dkernel-chktaint41 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
95 if [ `expr $T % 2` -eq 0 ]; then
103 if [ `expr $T % 2` -eq 0 ]; then
111 if [ `expr $T % 2` -eq 0 ]; then
119 if [ `expr $T % 2` -eq 0 ]; then
[all …]

12345678910>>...56