/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_eqs.c | 49 ((eq)->virt_addr[(idx) / (eq)->num_elem_in_pg] + \ 58 #define GET_CURR_AEQ_ELEM(eq) GET_AEQ_ELEM(eq, (eq)->cons_idx) argument 60 #define GET_CURR_CEQ_ELEM(eq) GET_CEQ_ELEM(eq, (eq)->cons_idx) argument 270 if (eq->cons_idx == eq->q_len) { in aeq_irq_handler() 272 eq->wrapped = !eq->wrapped; in aeq_irq_handler() 334 if (eq->cons_idx == eq->q_len) { in ceq_irq_handler() 336 eq->wrapped = !eq->wrapped; in ceq_irq_handler() 798 snprintf(eq->irq_name, sizeof(eq->irq_name), "hinic_aeq%d@pci:%s", eq->q_id, in init_eq() 802 snprintf(eq->irq_name, sizeof(eq->irq_name), "hinic_ceq%d@pci:%s", eq->q_id, in init_eq() 827 free_irq(eq->msix_entry.vector, eq); in remove_eq() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eq.c | 605 err = mlx5_eq_enable(dev, &eq->core, &eq->irq_nb); in setup_async_eq() 618 mlx5_eq_disable(dev, &eq->core, &eq->irq_nb); in cleanup_async_eq() 721 if (!eq) in mlx5_eq_create_generic() 730 return eq; in mlx5_eq_create_generic() 745 kvfree(eq); in mlx5_eq_destroy_generic() 775 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in mlx5_eq_update_ci() 790 mlx5_eq_disable(dev, &eq->core, &eq->irq_nb); in destroy_comp_eqs() 795 kfree(eq); in destroy_comp_eqs() 815 eq = kzalloc(sizeof(*eq), GFP_KERNEL); in create_comp_eqs() 842 err = mlx5_eq_enable(dev, &eq->core, &eq->irq_nb); in create_comp_eqs() [all …]
|
A D | cq.c | 95 struct mlx5_eq_comp *eq; in mlx5_core_create_cq() local 98 eq = mlx5_eqn2comp_eq(dev, eqn); in mlx5_core_create_cq() 99 if (IS_ERR(eq)) in mlx5_core_create_cq() 100 return PTR_ERR(eq); in mlx5_core_create_cq() 111 cq->eq = eq; in mlx5_core_create_cq() 118 cq->tasklet_ctx.priv = &eq->tasklet_ctx; in mlx5_core_create_cq() 122 err = mlx5_eq_add_cq(&eq->core, cq); in mlx5_core_create_cq() 138 cq->irqn = eq->core.irqn; in mlx5_core_create_cq() 143 mlx5_eq_del_cq(&eq->core, cq); in mlx5_core_create_cq() 161 mlx5_eq_del_cq(&cq->eq->core, cq); in mlx5_core_destroy_cq()
|
/linux/sound/pci/au88x0/ |
A D | au88x0_eq.c | 495 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetLeftGain() local 506 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetLeftGain() local 520 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_GetRightGain() local 531 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetRightGain() local 547 eqlzr_t *eq = &(vortex->eq); 568 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local 579 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetAllBands() local 597 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetA3dBypassGain() local 613 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_ProgramA3dBypassGain() local 633 eqlzr_t *eq = &(vortex->eq); in vortex_Eqlzr_SetBypass() local [all …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_eq.c | 184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), in tavor_set_eq_ci() 237 eqe = get_eqe(eq, eq->cons_index); in next_eqe_sw() 363 ++eq->cons_index; in mthca_eq_int() 379 set_eq_ci(dev, eq, eq->cons_index); in mthca_eq_int() 424 tavor_set_eq_ci(dev, eq, eq->cons_index); in mthca_tavor_msi_x_interrupt() 458 arbel_set_eq_ci(dev, eq, eq->cons_index); in mthca_arbel_msi_x_interrupt() 478 eq->dev = dev; in mthca_create_eq() 482 eq->page_list = kmalloc_array(npages, sizeof(*eq->page_list), in mthca_create_eq() 523 &eq->mr); in mthca_create_eq() 554 eq->eqn_mask = swab32(1 << eq->eqn); in mthca_create_eq() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | eq.c | 241 struct mlx4_eq *eq = &priv->eq_table.eq[vec]; in mlx4_set_eq_affinity_hint() local 543 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 573 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 697 eq->eqn, eq->cons_index, ret); in mlx4_eq_int() 782 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int() 807 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int() 819 eq->cons_index, eqe->owner, eq->nent, in mlx4_eq_int() 1022 eq->doorbell = mlx4_get_eq_uar(dev, eq); in mlx4_create_eq() 1227 struct mlx4_eq *eq = &priv->eq_table.eq[i]; in mlx4_init_eq_table() local 1474 eq = &priv->eq_table.eq[requested_vector]; in mlx4_assign_eq() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | eq.h | 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() 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 70 __be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2); in eq_update_ci() 71 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); in eq_update_ci() 83 int mlx5_eq_add_cq(struct mlx5_eq *eq, struct mlx5_core_cq *cq); [all …]
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_hw_queues.c | 35 if (!eq) { 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() 139 eq->queue = &hw->eq[eq->instance]; in efct_hw_new_eq() 150 hw->hw_eq[eq->instance] = eq; in efct_hw_new_eq() 154 eq->queue->id, eq->entry_count); in efct_hw_new_eq() 155 return eq; in efct_hw_new_eq() 167 cq->eq = eq; in efct_hw_new_cq() 178 eq->instance, eq->entry_count); in efct_hw_new_cq() 393 if (!eq) in efct_hw_del_eq() [all …]
|
/linux/arch/powerpc/kernel/ |
A 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 …]
|
/linux/drivers/pci/controller/ |
A D | pcie-iproc-msi.c | 64 unsigned int eq; member 130 unsigned int eq) in iproc_msi_read_reg() argument 139 int eq, u32 val) in iproc_msi_write_reg() argument 334 eq = grp->eq; in iproc_msi_handler() 387 int i, eq; in iproc_msi_enable() local 410 for (eq = 0; eq < msi->nr_irqs; eq++) { in iproc_msi_enable() 422 val |= BIT(eq); in iproc_msi_enable() 430 u32 eq, val; in iproc_msi_disable() local 432 for (eq = 0; eq < msi->nr_irqs; eq++) { in iproc_msi_disable() 435 val &= ~BIT(eq); in iproc_msi_disable() [all …]
|
/linux/drivers/net/ethernet/ibm/ehea/ |
A D | ehea_qmr.c | 236 struct ehea_eq *eq; in ehea_create_eq() local 238 eq = kzalloc(sizeof(*eq), GFP_KERNEL); in ehea_create_eq() 239 if (!eq) in ehea_create_eq() 249 &eq->attr, &eq->fw_handle); in ehea_create_eq() 255 ret = hw_queue_ctor(&eq->hw_queue, eq->attr.nr_pages, in ehea_create_eq() 290 return eq; in ehea_create_eq() 299 kfree(eq); in ehea_create_eq() 322 hret = ehea_h_free_resource(eq->adapter->handle, eq->fw_handle, force); in ehea_destroy_eq_res() 329 kfree(eq); in ehea_destroy_eq_res() 337 if (!eq) in ehea_destroy_eq() [all …]
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A D | gdma_main.c | 229 e.eq.id = qid; in mana_gd_ring_doorbell() 231 e.eq.arm = num_req; in mana_gd_ring_doorbell() 290 u32 head = eq->head % (eq->queue_size / GDMA_EQE_SIZE); in mana_gd_process_eqe() 327 if (!eq->eq.callback) in mana_gd_process_eqe() 332 eq->eq.callback(eq->eq.context, eq, &event); in mana_gd_process_eqe() 373 mana_gd_process_eqe(eq); in mana_gd_process_eq_events() 375 eq->head++; in mana_gd_process_eq_events() 380 mana_gd_ring_doorbell(gc, eq->gdma_dev->doorbell, eq->type, eq->id, in mana_gd_process_eq_events() 548 queue->eq.callback = spec->eq.callback; in mana_gd_create_eq() 549 queue->eq.context = spec->eq.context; in mana_gd_create_eq() [all …]
|
/linux/include/linux/mlx5/ |
A D | eq.h | 24 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) in mlx5_eq_update_cc() argument 44 mlx5_eq_update_ci(eq, cc, 0); in mlx5_eq_update_cc()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | odp.c | 79 struct mlx5_ib_pf_eq *eq; member 1378 struct mlx5_ib_pf_eq *eq = pfault->eq; in mlx5_ib_eqe_pf_action() local 1461 pfault->eq = eq; in mlx5_ib_eq_pf_process() 1521 if (eq->core) in mlx5r_odp_create_eq() 1525 eq->dev = dev; in mlx5r_odp_create_eq() 1529 if (!eq->pool) { in mlx5r_odp_create_eq() 1537 if (!eq->wq) { in mlx5r_odp_create_eq() 1558 err = mlx5_eq_enable(dev->mdev, eq->core, &eq->irq_nb); in mlx5r_odp_create_eq() 1569 eq->core = NULL; in mlx5r_odp_create_eq() 1583 if (!eq->core) in mlx5_ib_odp_destroy_eq() [all …]
|
/linux/drivers/misc/habanalabs/common/ |
A D | irq.c | 208 struct hl_eq *eq = arg; in hl_irq_handler_eq() local 209 struct hl_device *hdev = eq->hdev; in hl_irq_handler_eq() 217 eq_base = eq->kernel_address; in hl_irq_handler_eq() 220 cur_eqe = le32_to_cpu(eq_base[eq->ci].hdr.ctl); in hl_irq_handler_eq() 228 (((eq->prev_eqe_index + 1) & EQ_CTL_INDEX_MASK) in hl_irq_handler_eq() 232 eq_base[eq->ci].hdr.ctl, in hl_irq_handler_eq() 233 ((eq->prev_eqe_index + 1) & EQ_CTL_INDEX_MASK), in hl_irq_handler_eq() 238 eq->prev_eqe_index++; in hl_irq_handler_eq() 240 eq_entry = &eq_base[eq->ci]; in hl_irq_handler_eq() 271 eq->ci = hl_eq_inc_ptr(eq->ci); in hl_irq_handler_eq() [all …]
|
/linux/arch/hexagon/lib/ |
A D | memset.S | 29 p0 = cmp.eq(r2, #0) 59 p1 = cmp.eq(r2, #1) 72 p1 = cmp.eq(r2, #2) 85 p1 = cmp.eq(r2, #4) 98 p1 = cmp.eq(r3, #1) 114 p1 = cmp.eq(r2, #8) 125 p1 = cmp.eq(r2, #4) 136 p1 = cmp.eq(r2, #2) 180 p1 = cmp.eq(r2, #1) 196 p0 = cmp.eq(r2, #2) [all …]
|
/linux/drivers/clk/spear/ |
A D | spear1340_clock.c | 272 {.xscale = 4, .yscale = 25, .eq = 0}, 274 {.xscale = 4, .yscale = 21, .eq = 0}, 276 {.xscale = 5, .yscale = 18, .eq = 0}, 278 {.xscale = 2, .yscale = 6, .eq = 0}, 280 {.xscale = 5, .yscale = 12, .eq = 0}, 282 {.xscale = 2, .yscale = 4, .eq = 0}, 286 {.xscale = 1, .yscale = 3, .eq = 1}, 290 {.xscale = 1, .yscale = 2, .eq = 1}, 363 {.xscale = 1, .yscale = 3, .eq = 0}, 373 {.xscale = 1, .yscale = 4, .eq = 0}, [all …]
|
A D | spear1310_clock.c | 257 {.xscale = 4, .yscale = 21, .eq = 0}, /* 48 MHz */ 258 {.xscale = 2, .yscale = 6, .eq = 0}, /* 83 MHz */ 259 {.xscale = 2, .yscale = 4, .eq = 0}, /* 125 MHz */ 260 {.xscale = 1, .yscale = 3, .eq = 1}, /* 166 MHz */ 261 {.xscale = 1, .yscale = 2, .eq = 1}, /* 250 MHz */ 324 {.xscale = 1, .yscale = 3, .eq = 0}, 329 {.xscale = 1, .yscale = 2, .eq = 0}, /* 12.288 MHz */ 335 {.xscale = 1, .yscale = 4, .eq = 0}, /* 1.53 MHz */ 336 {.xscale = 1, .yscale = 2, .eq = 0}, /* 3.07 Mhz */ 343 {.xscale = 1, .yscale = 31, .eq = 0}, /* 2.68 MHz */ [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | health.c | 107 int mlx5e_health_eq_diag_fmsg(struct mlx5_eq_comp *eq, struct devlink_fmsg *fmsg) in mlx5e_health_eq_diag_fmsg() argument 115 err = devlink_fmsg_u8_pair_put(fmsg, "eqn", eq->core.eqn); in mlx5e_health_eq_diag_fmsg() 119 err = devlink_fmsg_u32_pair_put(fmsg, "irqn", eq->core.irqn); in mlx5e_health_eq_diag_fmsg() 123 err = devlink_fmsg_u32_pair_put(fmsg, "vecidx", eq->core.vecidx); in mlx5e_health_eq_diag_fmsg() 127 err = devlink_fmsg_u32_pair_put(fmsg, "ci", eq->core.cons_index); in mlx5e_health_eq_diag_fmsg() 131 err = devlink_fmsg_u32_pair_put(fmsg, "size", eq_get_size(&eq->core)); in mlx5e_health_eq_diag_fmsg() 206 int mlx5e_health_channel_eq_recover(struct net_device *dev, struct mlx5_eq_comp *eq, in mlx5e_health_channel_eq_recover() argument 212 eq->core.eqn, eq->core.cons_index, eq->core.irqn); in mlx5e_health_channel_eq_recover() 214 eqe_count = mlx5_eq_poll_irq_disabled(eq); in mlx5e_health_channel_eq_recover() 219 eqe_count, eq->core.eqn); in mlx5e_health_channel_eq_recover()
|
/linux/arch/arm64/lib/ |
A D | crc32.S | 34 csel x3, x3, x4, eq 35 csel w0, w0, w8, eq 39 csel x3, x3, x4, eq 40 csel w0, w0, w8, eq 44 csel w3, w3, w4, eq 45 csel w0, w0, w8, eq 48 csel w0, w0, w8, eq 52 csel w0, w0, w8, eq
|
/linux/arch/ia64/lib/ |
A D | strlen.S | 104 cmp.eq p6,p0=r0,r0 // sets p6 to true for cmp.and 119 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 120 cmp.eq.and p6,p0=8,val2 // p6 = p6 and mask==8 130 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 137 cmp.eq.and p7,p0=8,val1// val1==8? 174 cmp.eq p0,p6=r0,r0 // nullify first ld8 in loop 184 cmp.eq p6,p0=8,val1 // val1==8 ?
|
/linux/drivers/infiniband/hw/efa/ |
A D | efa_main.c | 103 struct efa_eq *eq = data; in efa_intr_msix_comp() local 104 struct efa_com_dev *edev = eq->eeq.edev; in efa_intr_msix_comp() 106 efa_com_eq_comp_intr_handler(edev, &eq->eeq); in efa_intr_msix_comp() 145 eq->irq.handler = efa_intr_msix_comp; in efa_setup_comp_irq() 146 eq->irq.data = eq; in efa_setup_comp_irq() 147 eq->irq.vector = vector; in efa_setup_comp_irq() 289 efa_com_eq_destroy(&dev->edev, &eq->eeq); in efa_destroy_eq() 290 efa_free_irq(dev, &eq->irq); in efa_destroy_eq() 297 efa_setup_comp_irq(dev, eq, msix_vec); in efa_create_eq() 298 err = efa_request_irq(dev, &eq->irq); in efa_create_eq() [all …]
|
/linux/net/dns_resolver/ |
A D | dns_key.c | 150 const char *eq; in dns_resolver_preparse() local 161 eq = memchr(opt, '=', opt_len); in dns_resolver_preparse() 162 if (eq) { in dns_resolver_preparse() 163 opt_nlen = eq - opt; in dns_resolver_preparse() 164 eq++; in dns_resolver_preparse() 165 memcpy(optval, eq, next_opt - eq); in dns_resolver_preparse() 166 optval[next_opt - eq] = '\0'; in dns_resolver_preparse()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_hw_v1.c | 3678 (req_not << eq->log_entries), eq->db_reg); in set_eq_cons_index_v1() 3857 !!(eq->cons_index & eq->entries)) ? aeqe : NULL; in next_aeqe_sw_v1() 3925 event_type, eq->eqn, eq->cons_index); in hns_roce_v1_aeq_int() 3956 (!!(eq->cons_index & eq->entries)) ? ceqe : NULL; in next_ceqe_sw_v1() 4147 int npages = (PAGE_ALIGN(eq->eqe_size * eq->entries) + in hns_roce_v1_free_eq() 4156 eq->buf_list[i].buf, eq->buf_list[i].map); in hns_roce_v1_free_eq() 4202 num_bas = (PAGE_ALIGN(eq->entries * eq->eqe_size) + in hns_roce_v1_create_eq() 4207 (eq->entries * eq->eqe_size), HNS_ROCE_BA_SIZE, in hns_roce_v1_create_eq() 4296 eq = &eq_table->eq[i]; in hns_roce_v1_init_eq_table() 4312 eq->log_entries = ilog2(eq->entries); in hns_roce_v1_init_eq_table() [all …]
|
/linux/drivers/firmware/broadcom/ |
A D | bcm47xx_nvram.c | 169 char *var, *value, *end, *eq; in bcm47xx_nvram_getenv() local 185 eq = strchr(var, '='); in bcm47xx_nvram_getenv() 186 if (!eq) in bcm47xx_nvram_getenv() 188 value = eq + 1; in bcm47xx_nvram_getenv() 189 if (eq - var == strlen(name) && in bcm47xx_nvram_getenv() 190 strncmp(var, name, eq - var) == 0) in bcm47xx_nvram_getenv()
|