| /kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_hw_eqs.c | 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) : \ 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
| D | hinic_hw_eqs.c | 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) : \ 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eq.c | 38 #include <linux/mlx5/eq.h> 43 #include "lib/eq.h" 64 * the ci before we polled all the entries in the EQ. MLX5_NUM_SPARE_EQE is 65 * used to set the EQ size, budget must be smaller than the EQ size. 112 static struct mlx5_core_cq *mlx5_eq_cq_get(struct mlx5_eq *eq, u32 cqn) in mlx5_eq_cq_get() argument 114 struct mlx5_cq_table *table = &eq->cq_table; in mlx5_eq_cq_get() 132 struct mlx5_eq *eq = &eq_comp->core; in mlx5_eq_comp_int() local 137 eqe = next_eqe_sw(eq); in mlx5_eq_comp_int() 144 /* Make sure we read EQ entry contents after we've in mlx5_eq_comp_int() 151 cq = mlx5_eq_cq_get(eq, cqn); in mlx5_eq_comp_int() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | eq.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/erdma/ |
| D | erdma_eq.c | 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() 85 struct erdma_eq *eq = &dev->aeq; in erdma_aeq_init() local 88 eq->depth = ERDMA_DEFAULT_EQ_DEPTH; in erdma_aeq_init() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/kexec/ |
| D | test_kexec_file_load.sh | 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"; 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/kexec/ |
| D | test_kexec_file_load.sh | 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"; 66 if [ $ret -eq 1 ]; then 81 if [ $? -eq 1 ]; then 87 if [ $? -eq 0 ]; then 120 if [ $? -eq 0 ]; then 125 if [ $secureboot -eq 1 ] && [ $arch_policy -eq 1 ] && \ 126 [ $ima_signed -eq 0 ] && [ $pe_signed -eq 0 ] \ [all …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/hw/mthca/ |
| D | mthca_eq.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
| D | mthca_eq.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/sound/pci/au88x0/ |
| D | au88x0_eq.c | 4 * 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 …]
|
| /kernel/linux/linux-5.10/sound/pci/au88x0/ |
| D | au88x0_eq.c | 4 * 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
| D | eq.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
| D | eq.c | 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() 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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | eq.h | 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() 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | eq.h | 7 #include <linux/mlx5/eq.h> 40 spinlock_t lock; /* To avoid irq EQ handle races with resiliency flows */ 50 static inline struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) in get_eqe() argument 52 return mlx5_buf_offset(&eq->buf, entry * MLX5_EQE_SIZE); in get_eqe() 55 static inline struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) in next_eqe_sw() argument 57 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & (eq->nent - 1)); in next_eqe_sw() 59 return ((eqe->owner & 1) ^ !!(eq->cons_index & eq->nent)) ? NULL : eqe; in next_eqe_sw() 62 static inline void eq_update_ci(struct mlx5_eq *eq, int arm) in eq_update_ci() argument 64 __be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2); in eq_update_ci() 65 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in eq_update_ci() [all …]
|
| /kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
| D | efct_hw_queues.c | 14 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | cpu_setup_6xx.S | 191 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 192 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq 342 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 344 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq 345 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 346 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 347 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq 348 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq 413 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 415 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq [all …]
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | wm8994-regmap.c | 138 { 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 …]
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | wm8994-regmap.c | 138 { 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | cpu_setup_6xx.S | 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 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 …]
|
| /kernel/linux/linux-6.6/tools/debugging/ |
| D | kernel-chktaint | 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 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 …]
|
| /kernel/linux/linux-5.10/tools/debugging/ |
| D | kernel-chktaint | 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 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 …]
|
| /kernel/linux/build/test/moduletest/runtest/bin/cpuisolation_t/testcases/bin/ |
| D | cpuisolation01.sh | 51 if [ $mode -eq 1 ]; then 52 if [ $ret_min -eq 1 ]; then 54 elif [ $min_cpus_value -eq 4 ]; then 56 elif [ $ret_max -eq 1 ]; then 58 elif [[ $min_cpus_value -eq 0 ]] && [[ $max_cpus_value -eq 4 ]]; then 68 if [ $mode -eq 2 ]; then 69 if [[ $ret_min -eq 1 ]] && [[ $ret_max -eq 1 ]]; then 71 elif [[ $ret_min -eq 1 ]] && [[ $max_cpus_value -eq 4 ]]; then 73 elif [[ $ret_max -eq 1 ]] && [[ $min_cpus_value -eq 4 ]]; then 75 elif [[ $ret_max -ne 1 ]] && [[ $max_cpus_value -eq 4 ]] && \ [all …]
|
| /kernel/linux/linux-6.6/drivers/pci/controller/ |
| D | pcie-iproc-msi.c | 59 * @eq: Event queue number 64 unsigned int eq; member 130 unsigned int eq) in iproc_msi_read_reg() argument 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 143 writel_relaxed(val, pcie->base + msi->reg_offsets[eq][reg]); in iproc_msi_write_reg() 160 static inline unsigned int iproc_msi_eq_offset(struct iproc_msi *msi, u32 eq) in iproc_msi_eq_offset() argument 163 return eq * EQ_MEM_REGION_SIZE; in iproc_msi_eq_offset() 165 return eq * EQ_LEN * sizeof(u32); in iproc_msi_eq_offset() 303 static inline u32 decode_msi_hwirq(struct iproc_msi *msi, u32 eq, u32 head) in decode_msi_hwirq() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/pci/controller/ |
| D | pcie-iproc-msi.c | 59 * @eq: Event queue number 64 unsigned int eq; member 130 unsigned int eq) in iproc_msi_read_reg() argument 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 143 writel_relaxed(val, pcie->base + msi->reg_offsets[eq][reg]); in iproc_msi_write_reg() 160 static inline unsigned int iproc_msi_eq_offset(struct iproc_msi *msi, u32 eq) in iproc_msi_eq_offset() argument 163 return eq * EQ_MEM_REGION_SIZE; in iproc_msi_eq_offset() 165 return eq * EQ_LEN * sizeof(u32); in iproc_msi_eq_offset() 303 static inline u32 decode_msi_hwirq(struct iproc_msi *msi, u32 eq, u32 head) in decode_msi_hwirq() argument [all …]
|