Searched refs:eq (Results 1 - 25 of 417) sorted by relevance

1234567891011>>

/linux-master/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
[all...]
H A Dtest_kexec_load.sh17 if [ $? -eq 0 ]; then
33 if [ $? -eq 0 ]; then
35 if [ $secureboot -eq 1 ] && [ $arch_policy -eq 1 ]; then
37 elif [ $ima_appraise -eq 0 -o $arch_policy -eq 0 ]; then
42 if [ $secureboot -eq 1 ] && [ $arch_policy -eq 1 ] ; then
/linux-master/tools/testing/selftests/ftrace/test.d/00basic/
H A Dsnapshot.tc16 test `cat tracing_on` -eq 0
25 test `cat tracing_on` -eq 1
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_eqs.c27 #define GET_EQ_NUM_PAGES(eq, pg_size) \
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)
32 #define EQ_CONS_IDX_REG_ADDR(eq) (((eq)->type == HINIC_AEQ) ? \
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) (((e
193 eq_update_ci(struct hinic_eq *eq, u32 arm_state) argument
218 aeq_irq_handler(struct hinic_eq *eq) argument
314 ceq_irq_handler(struct hinic_eq *eq) argument
347 struct hinic_eq *eq = data; local
421 get_ctrl0_val(struct hinic_eq *eq, u32 addr) argument
469 set_ctrl0(struct hinic_eq *eq) argument
483 get_ctrl1_val(struct hinic_eq *eq, u32 addr) argument
525 set_ctrl1(struct hinic_eq *eq) argument
539 set_ceq_ctrl_reg(struct hinic_eq *eq) argument
577 set_eq_ctrls(struct hinic_eq *eq) argument
592 aeq_elements_init(struct hinic_eq *eq, u32 init_val) argument
610 ceq_elements_init(struct hinic_eq *eq, u32 init_val) argument
629 alloc_eq_pages(struct hinic_eq *eq) argument
695 free_eq_pages(struct hinic_eq *eq) argument
722 init_eq(struct hinic_eq *eq, struct hinic_hwif *hwif, enum hinic_eq_type type, int q_id, u32 q_len, u32 page_size, struct msix_entry entry) argument
822 remove_eq(struct hinic_eq *eq) argument
961 struct hinic_eq *eq = NULL; local
981 struct hinic_eq *eq = NULL; local
[all...]
/linux-master/arch/x86/um/vdso/
H A Dcheckundef.sh6 if [ $? -eq 1 ]; then
/linux-master/arch/x86/entry/vdso/
H A Dcheckundef.sh5 if [ $? -eq 1 ]; then
/linux-master/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
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Deq.h7 #include <linux/mlx5/eq.h>
51 static inline u32 eq_get_size(struct mlx5_eq *eq) argument
53 return eq->fbc.sz_m1 + 1;
56 static inline struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) argument
58 return mlx5_frag_buf_get_wqe(&eq->fbc, entry);
61 static inline struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) argument
63 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & eq->fbc.sz_m1);
65 return (eqe->owner ^ (eq
68 eq_update_ci(struct mlx5_eq *eq, int arm) argument
[all...]
/linux-master/drivers/infiniband/hw/erdma/
H A Derdma_eq.c11 void notify_eq(struct erdma_eq *eq) argument
13 u64 db_data = FIELD_PREP(ERDMA_EQDB_CI_MASK, eq->ci) |
16 *eq->db_record = db_data;
17 writeq(db_data, eq->db);
19 atomic64_inc(&eq->notify_num);
22 void *get_next_valid_eqe(struct erdma_eq *eq) argument
24 u64 *eqe = get_queue_entry(eq->qbuf, eq->ci, eq->depth, EQE_SHIFT);
27 return owner ^ !!(eq
85 struct erdma_eq *eq = &dev->aeq; local
117 struct erdma_eq *eq = &dev->aeq; local
209 create_eq_cmd(struct erdma_dev *dev, u32 eqn, struct erdma_eq *eq) argument
231 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; local
261 struct erdma_eq *eq = &dev->ceqs[ceqn].eq; local
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-pid.tc19 if [ $do_function_fork -eq 1 ]; then
25 if [ $do_function_fork -eq 0 ]; then
47 if [ $do_function_fork -eq 1 ]; then
59 if [ $count_pid -eq 0 -o $count_other -ne 0 ]; then
66 if [ $do_function_fork -eq 0 ]; then
80 if [ $count_pid -eq 0 -o $count_other -eq 0 ]; then
H A Dfunc_mod_trace.tc23 test `cat set_ftrace_filter | wc -l` -eq 0
H A Dfunc-filter-notrace-pid.tc18 if [ $do_function_fork -eq 1 ]; then
24 if [ $do_function_fork -eq 0 ]; then
47 if [ $do_function_fork -eq 1 ]; then
59 if [ $count_pid -ne 0 -o $count_other -eq 0 ]; then
66 if [ $do_function_fork -eq 0 ]; then
/linux-master/arch/sparc/vdso/
H A Dcheckundef.sh5 if [ $? -eq 1 ]; then
/linux-master/tools/testing/selftests/futex/
H A Drun.sh23 if [ $? -eq 0 ]; then
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deq.c10 #include <linux/mlx5/eq.h>
15 #include "lib/eq.h"
94 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) argument
96 struct mlx5_cq_table *table = &eq->cq_table;
114 struct mlx5_eq *eq = &eq_comp->core; local
119 eqe = next_eqe_sw(eq);
133 cq = mlx5_eq_cq_get(eq, cqn);
139 dev_dbg_ratelimited(eq->dev->device,
143 ++eq->cons_index;
145 } while ((++num_eqes < MLX5_EQ_POLLING_BUDGET) && (eqe = next_eqe_sw(eq)));
161 mlx5_eq_poll_irq_disabled(struct mlx5_eq_comp *eq) argument
204 struct mlx5_eq *eq = &eq_async->core; local
245 struct mlx5_eq_async *eq = &dev->priv.eq_table->cmd_eq; local
253 init_eq_buf(struct mlx5_eq *eq) argument
265 create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct mlx5_eq_param *param) argument
364 mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct notifier_block *nb) argument
385 mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct notifier_block *nb) argument
392 destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument
407 mlx5_eq_add_cq(struct mlx5_eq *eq, struct mlx5_core_cq *cq) argument
419 mlx5_eq_del_cq(struct mlx5_eq *eq, struct mlx5_core_cq *cq) argument
478 create_async_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, struct mlx5_eq_param *param) argument
490 destroy_async_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument
507 struct mlx5_eq *eq; local
604 setup_async_eq(struct mlx5_core_dev *dev, struct mlx5_eq_async *eq, struct mlx5_eq_param *param, const char *name) argument
625 cleanup_async_eq(struct mlx5_core_dev *dev, struct mlx5_eq_async *eq, const char *name) argument
751 struct mlx5_eq *eq = kvzalloc_node(sizeof(*eq), GFP_KERNEL, local
769 mlx5_eq_destroy_generic(struct mlx5_core_dev *dev, struct mlx5_eq *eq) argument
786 mlx5_eq_get_eqe(struct mlx5_eq *eq, u32 cc) argument
804 mlx5_eq_update_ci(struct mlx5_eq *eq, u32 cc, bool arm) argument
973 destroy_comp_eq(struct mlx5_core_dev *dev, struct mlx5_eq_comp *eq, u16 vecidx) argument
1008 struct mlx5_eq_comp *eq; local
1073 struct mlx5_eq_comp *eq; local
1099 struct mlx5_eq_comp *eq; local
1123 struct mlx5_eq_comp *eq; local
1157 struct mlx5_eq_comp *eq; local
1237 struct mlx5_eq_comp *eq; local
[all...]
/linux-master/sound/pci/au88x0/
H A Dau88x0_eq.c56 eqhw_t *eqhw = &(vortex->eq.this04);
78 eqhw_t *eqhw = &(vortex->eq.this04);
101 eqhw_t *eqhw = &(vortex->eq.this04);
118 eqhw_t *eqhw = &(vortex->eq.this04);
164 eqhw_t *eqhw = &(vortex->eq.this04);
211 eqhw_t *eqhw = &(vortex->eq.this04);
221 eqhw_t *eqhw = &(vortex->eq.this04);
231 eqhw_t *eqhw = &(vortex->eq.this04);
241 eqhw_t *eqhw = &(vortex->eq.this04);
252 eqhw_t *eqhw = &(vortex->eq
495 eqlzr_t *eq = &(vortex->eq); local
506 eqlzr_t *eq = &(vortex->eq); local
520 eqlzr_t *eq = &(vortex->eq); local
531 eqlzr_t *eq = &(vortex->eq); local
568 eqlzr_t *eq = &(vortex->eq); local
579 eqlzr_t *eq = &(vortex->eq); local
597 eqlzr_t *eq = &(vortex->eq); local
613 eqlzr_t *eq = &(vortex->eq); local
633 eqlzr_t *eq = &(vortex->eq); local
650 eqlzr_t *eq = &(vortex->eq); local
660 eqlzr_t *eq = &(vortex->eq); local
679 eqlzr_t *eq = &(vortex->eq); local
726 eqlzr_t *eq = &(vortex->eq); local
739 eqlzr_t *eq = &(vortex->eq); local
[all...]
/linux-master/include/linux/mlx5/
H A Deq.h24 mlx5_eq_destroy_generic(struct mlx5_core_dev *dev, struct mlx5_eq *eq);
25 int mlx5_eq_enable(struct mlx5_core_dev *dev, struct mlx5_eq *eq,
27 void mlx5_eq_disable(struct mlx5_core_dev *dev, struct mlx5_eq *eq,
30 struct mlx5_eqe *mlx5_eq_get_eqe(struct mlx5_eq *eq, u32 cc);
31 void mlx5_eq_update_ci(struct mlx5_eq *eq, u32 cc, bool arm);
41 static inline u32 mlx5_eq_update_cc(struct mlx5_eq *eq, u32 cc) argument
44 mlx5_eq_update_ci(eq, cc, 0);
/linux-master/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) argument
184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1),
189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument
194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8);
199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) argument
202 arbel_set_eq_ci(dev, eq, ci);
204 tavor_set_eq_ci(dev, eq, ci);
228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) argument
230 unsigned long off = (entry & (eq
234 next_eqe_sw(struct mthca_eq *eq) argument
260 mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) argument
420 struct mthca_eq *eq = eq_ptr; local
454 struct mthca_eq *eq = eq_ptr; local
465 mthca_create_eq(struct mthca_dev *dev, int nent, u8 intr, struct mthca_eq *eq) argument
588 mthca_free_eq(struct mthca_dev *dev, struct mthca_eq *eq) argument
[all...]
/linux-master/tools/perf/tests/shell/lib/
H A Dprobe_vfs_getname.sh8 if [ $had_vfs_getname -eq 1 ] ; then
15 if [ $had_vfs_getname -eq 1 ] ; then
29 if [ $had_vfs_getname -eq 1 ] ; then
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Drouter_scale.sh11 if [[ $should_fail -eq 0 ]]; then
/linux-master/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Drouter_scale.sh11 if [[ $should_fail -eq 0 ]]; then
/linux-master/tools/testing/selftests/
H A Dkselftest_install.sh21 if [ "$#" -eq 0 ]; then
/linux-master/tools/testing/selftests/ftrace/test.d/dynevent/
H A Dtest_duplicates.tc24 if [ $HAVE_KPROBES -eq 1 ]; then
/linux-master/scripts/
H A Dcleanfile29 if ($c eq "\t") {
35 } elsif ($c eq "\n" || $c eq "\r") {
41 } elsif ($c eq " ") {
66 if ($c eq "\t") {
68 } elsif ($c eq "\n") {
86 if ($a eq '-width' || $a eq '-w') {
145 if ( $line eq "\n" ) {
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c97 static void eq_set_ci(struct mlx4_eq *eq, int req_not) argument
99 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) |
101 eq->doorbell);
106 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor, argument
109 /* (entry & (eq->nent - 1)) gives us a cyclic array */
110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size;
118 return eq->page_list[offset / PAGE_SIZE].buf + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % PAGE_SIZE;
121 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor, u8 size) argument
123 struct mlx4_eqe *eqe = get_eqe(eq, eq
241 struct mlx4_eq *eq = &priv->eq_table.eq[vec]; local
494 mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) argument
866 struct mlx4_eq *eq = eq_ptr; local
935 mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) argument
970 mlx4_create_eq(struct mlx4_dev *dev, int nent, u8 intr, struct mlx4_eq *eq) argument
1088 mlx4_free_eq(struct mlx4_dev *dev, struct mlx4_eq *eq) argument
1226 struct mlx4_eq *eq = &priv->eq_table.eq[i]; local
1467 struct mlx4_eq *eq; local
1485 struct mlx4_eq *eq = &priv->eq_table.eq[i]; local
[all...]

Completed in 178 milliseconds

1234567891011>>