/linux-4.4.14/drivers/staging/rdma/ehca/ |
H A D | ehca_eq.c | 54 struct ehca_eq *eq, ehca_create_eq() 64 spin_lock_init(&eq->spinlock); ehca_create_eq() 65 spin_lock_init(&eq->irq_spinlock); ehca_create_eq() 66 eq->is_initialized = 0; ehca_create_eq() 69 ehca_err(ib_dev, "Invalid EQ type %x. eq=%p", type, eq); ehca_create_eq() 73 ehca_err(ib_dev, "EQ length must not be zero. eq=%p", eq); ehca_create_eq() 78 &eq->pf, ehca_create_eq() 81 &eq->ipz_eq_handle, ehca_create_eq() 82 &eq->length, ehca_create_eq() 83 &nr_pages, &eq->ist); ehca_create_eq() 86 ehca_err(ib_dev, "Can't allocate EQ/NEQ. eq=%p", eq); ehca_create_eq() 90 ret = ipz_queue_ctor(NULL, &eq->ipz_queue, nr_pages, ehca_create_eq() 93 ehca_err(ib_dev, "Can't allocate EQ pages eq=%p", eq); ehca_create_eq() 100 vpage = ipz_qpageit_get_inc(&eq->ipz_queue); ehca_create_eq() 106 eq->ipz_eq_handle, ehca_create_eq() 107 &eq->pf, ehca_create_eq() 112 vpage = ipz_qpageit_get_inc(&eq->ipz_queue); ehca_create_eq() 121 ipz_qeit_reset(&eq->ipz_queue); ehca_create_eq() 125 tasklet_init(&eq->interrupt_task, ehca_tasklet_eq, (long)shca); ehca_create_eq() 127 ret = ibmebus_request_irq(eq->ist, ehca_interrupt_eq, ehca_create_eq() 133 tasklet_init(&eq->interrupt_task, ehca_tasklet_neq, (long)shca); ehca_create_eq() 135 ret = ibmebus_request_irq(eq->ist, ehca_interrupt_neq, ehca_create_eq() 142 eq->is_initialized = 1; ehca_create_eq() 147 ipz_queue_dtor(NULL, &eq->ipz_queue); ehca_create_eq() 150 hipz_h_destroy_eq(shca->ipz_hca_handle, eq); ehca_create_eq() 155 void *ehca_poll_eq(struct ehca_shca *shca, struct ehca_eq *eq) ehca_poll_eq() argument 160 spin_lock_irqsave(&eq->spinlock, flags); ehca_poll_eq() 161 eqe = ipz_eqit_eq_get_inc_valid(&eq->ipz_queue); ehca_poll_eq() 162 spin_unlock_irqrestore(&eq->spinlock, flags); ehca_poll_eq() 167 int ehca_destroy_eq(struct ehca_shca *shca, struct ehca_eq *eq) ehca_destroy_eq() argument 172 ibmebus_free_irq(eq->ist, (void *)shca); ehca_destroy_eq() 175 eq->is_initialized = 0; ehca_destroy_eq() 178 tasklet_kill(&eq->interrupt_task); ehca_destroy_eq() 180 h_ret = hipz_h_destroy_eq(shca->ipz_hca_handle, eq); ehca_destroy_eq() 186 ipz_queue_dtor(NULL, &eq->ipz_queue); ehca_destroy_eq() 53 ehca_create_eq(struct ehca_shca *shca, struct ehca_eq *eq, const enum ehca_eq_type type, const u32 length) ehca_create_eq() argument
|
H A D | ehca_irq.c | 507 tasklet_hi_schedule(&shca->eq.interrupt_task); ehca_interrupt_eq() 551 struct ehca_eq *eq = &shca->eq; ehca_process_eq() local 552 struct ehca_eqe_cache_entry *eqe_cache = eq->eqe_cache; ehca_process_eq() 557 spin_lock(&eq->irq_spinlock); ehca_process_eq() 564 shca->ipz_hca_handle, eq->ist); ehca_process_eq() 577 eqe_cache[eqe_cnt].eqe = ehca_poll_eq(shca, eq); ehca_process_eq() 604 ret = hipz_h_eoi(eq->ist); ehca_process_eq() 614 if (eq->eqe_cache[i].cq) ehca_process_eq() 615 reset_eq_pending(eq->eqe_cache[i].cq); ehca_process_eq() 617 /* check eq */ ehca_process_eq() 618 spin_lock(&eq->spinlock); ehca_process_eq() 619 eq_empty = (!ipz_eqit_eq_peek_valid(&shca->eq.ipz_queue)); ehca_process_eq() 620 spin_unlock(&eq->spinlock); ehca_process_eq() 623 if (eq->eqe_cache[i].cq) { ehca_process_eq() 625 queue_comp_task(eq->eqe_cache[i].cq); ehca_process_eq() 627 struct ehca_cq *cq = eq->eqe_cache[i].cq; ehca_process_eq() 634 parse_identifier(shca, eq->eqe_cache[i].eqe->entry); ehca_process_eq() 636 /* poll eq if not empty */ ehca_process_eq() 641 eqe = ehca_poll_eq(shca, &shca->eq); ehca_process_eq() 648 spin_unlock(&eq->irq_spinlock); ehca_process_eq()
|
H A D | ehca_main.c | 794 ret = ehca_create_eq(shca, &shca->eq, EHCA_EQ, eq_size); ehca_probe() 894 ret = ehca_destroy_eq(shca, &shca->eq); ehca_probe() 936 ret = ehca_destroy_eq(shca, &shca->eq); ehca_remove() 980 if (shca->eq.is_initialized) { ehca_poll_eqs() 981 /* call deadman proc only if eq ptr does not change */ ehca_poll_eqs() 982 struct ehca_eq *eq = &shca->eq; ehca_poll_eqs() local 986 spin_lock_irqsave(&eq->spinlock, flags); ehca_poll_eqs() 987 q_ofs = eq->ipz_queue.current_q_offset; ehca_poll_eqs() 988 spin_unlock_irqrestore(&eq->spinlock, flags); ehca_poll_eqs() 990 spin_lock_irqsave(&eq->spinlock, flags); ehca_poll_eqs() 991 q_ofs2 = eq->ipz_queue.current_q_offset; ehca_poll_eqs() 992 spin_unlock_irqrestore(&eq->spinlock, flags); ehca_poll_eqs()
|
H A D | ehca_iverbs.h | 125 int ehca_create_eq(struct ehca_shca *shca, struct ehca_eq *eq, 128 int ehca_destroy_eq(struct ehca_shca *shca, struct ehca_eq *eq); 130 void *ehca_poll_eq(struct ehca_shca *shca, struct ehca_eq *eq);
|
H A D | hcp_if.c | 710 struct ehca_eq *eq) hipz_h_destroy_eq() 714 ret = hcp_galpas_dtor(&eq->galpas); hipz_h_destroy_eq() 716 ehca_gen_err("Could not destruct eq->galpas"); hipz_h_destroy_eq() 722 eq->ipz_eq_handle.handle, /* r5 */ hipz_h_destroy_eq() 709 hipz_h_destroy_eq(const struct ipz_adapter_handle adapter_handle, struct ehca_eq *eq) hipz_h_destroy_eq() argument
|
H A D | hcp_if.h | 191 struct ehca_eq *eq);
|
H A D | ehca_cq.c | 169 param.eq_handle = shca->eq.ipz_eq_handle; ehca_create_cq()
|
H A D | ehca_classes.h | 121 struct ehca_eq eq; member in struct:ehca_shca
|
/linux-4.4.14/sound/pci/au88x0/ |
H A D | au88x0_eq.c | 68 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetLeftCoefs() 90 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetRightCoefs() 113 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetLeftStates() 130 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetRightStates() 176 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetBypassGain() 223 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetLeftGainsTarget() 233 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetRightGainsTarget() 243 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetLeftGainsCurrent() 253 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetRightGainsCurrent() 264 eqhw_t *eqhw = &(vortex->eq.this04); 279 eqhw_t *eqhw = &(vortex->eq.this04); 294 eqhw_t *eqhw = &(vortex->eq.this04); 309 eqhw_t *eqhw = &(vortex->eq.this04); 326 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_SetLevels() 350 eqhw_t *eqhw = &(vortex->eq.this04); 490 eqhw_t *eqhw = &(vortex->eq.this04); vortex_EqHw_GetTenBandLevels() 507 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_GetLeftGain() local 509 if (eq->this28) { vortex_Eqlzr_GetLeftGain() 510 *gain = eq->this130[index]; vortex_Eqlzr_GetLeftGain() 518 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetLeftGain() local 520 if (eq->this28 == 0) vortex_Eqlzr_SetLeftGain() 523 eq->this130[index] = gain; vortex_Eqlzr_SetLeftGain() 524 if (eq->this54) vortex_Eqlzr_SetLeftGain() 532 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_GetRightGain() local 534 if (eq->this28) { vortex_Eqlzr_GetRightGain() 535 *gain = eq->this130[index + eq->this10]; vortex_Eqlzr_GetRightGain() 543 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetRightGain() local 545 if (eq->this28 == 0) vortex_Eqlzr_SetRightGain() 548 eq->this130[index + eq->this10] = gain; vortex_Eqlzr_SetRightGain() 549 if (eq->this54) vortex_Eqlzr_SetRightGain() 559 eqlzr_t *eq = &(vortex->eq); 562 if (eq->this10 == 0) 569 (vortex, si, &gains[si + eq->this10])) 573 while (eq->this10 > si) ; 580 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() local 582 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this130); vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() 583 vortex_EqHw_SetRightGainsTarget(vortex, &(eq->this130[eq->this10])); vortex_Eqlzr_SetAllBandsFromActiveCoeffSet() 591 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetAllBands() local 594 if (((eq->this10) * 2 != count) || (eq->this28 == 0)) vortex_Eqlzr_SetAllBands() 598 eq->this130[i] = gains[i]; vortex_Eqlzr_SetAllBands() 601 if (eq->this54) vortex_Eqlzr_SetAllBands() 609 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetA3dBypassGain() local 612 eq->this58 = a; vortex_Eqlzr_SetA3dBypassGain() 613 eq->this5c = b; vortex_Eqlzr_SetA3dBypassGain() 614 if (eq->this54) vortex_Eqlzr_SetA3dBypassGain() 615 eax = eq->this0e; vortex_Eqlzr_SetA3dBypassGain() 617 eax = eq->this0a; vortex_Eqlzr_SetA3dBypassGain() 618 ebx = (eax * eq->this58) >> 0x10; vortex_Eqlzr_SetA3dBypassGain() 619 eax = (eax * eq->this5c) >> 0x10; vortex_Eqlzr_SetA3dBypassGain() 625 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_ProgramA3dBypassGain() local 628 if (eq->this54) vortex_Eqlzr_ProgramA3dBypassGain() 629 eax = eq->this0e; vortex_Eqlzr_ProgramA3dBypassGain() 631 eax = eq->this0a; vortex_Eqlzr_ProgramA3dBypassGain() 632 ebx = (eax * eq->this58) >> 0x10; vortex_Eqlzr_ProgramA3dBypassGain() 633 eax = (eax * eq->this5c) >> 0x10; vortex_Eqlzr_ProgramA3dBypassGain() 645 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_SetBypass() local 647 if ((eq->this28) && (bp == 0)) { vortex_Eqlzr_SetBypass() 650 vortex_EqHw_SetBypassGain(vortex, eq->this08, eq->this08); vortex_Eqlzr_SetBypass() 653 vortex_EqHw_SetLeftGainsTarget(vortex, eq->this14_array); vortex_Eqlzr_SetBypass() 654 vortex_EqHw_SetRightGainsTarget(vortex, eq->this14_array); vortex_Eqlzr_SetBypass() 655 vortex_EqHw_SetBypassGain(vortex, eq->this0c, eq->this0c); vortex_Eqlzr_SetBypass() 662 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_ReadAndSetActiveCoefSet() local 665 memcpy(&(eq->coefset), &asEqCoefsNormal, sizeof(auxxEqCoeffSet_t)); vortex_Eqlzr_ReadAndSetActiveCoefSet() 667 vortex_Eqlzr_SetAllBands(vortex, eq_gains_normal, eq->this10 * 2); vortex_Eqlzr_ReadAndSetActiveCoefSet() 672 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_GetAllPeaks() local 674 if (eq->this10 == 0) vortex_Eqlzr_GetAllPeaks() 676 *count = eq->this10 * 2; vortex_Eqlzr_GetAllPeaks() 684 eqlzr_t *eq = &(vortex->eq); 686 return (&(eq->coefset)); 691 eqlzr_t *eq = &(vortex->eq); vortex_Eqlzr_init() local 694 //eq->this04 = 0; vortex_Eqlzr_init() 695 eq->this08 = 0; /* Bypass gain with EQ in use. */ vortex_Eqlzr_init() 696 eq->this0a = 0x5999; vortex_Eqlzr_init() 697 eq->this0c = 0x5999; /* Bypass gain with EQ disabled. */ vortex_Eqlzr_init() 698 eq->this0e = 0x5999; vortex_Eqlzr_init() 700 eq->this10 = 0xa; /* 10 eq frequency bands. */ vortex_Eqlzr_init() 701 eq->this04.this04 = eq->this10; vortex_Eqlzr_init() 702 eq->this28 = 0x1; /* if 1 => Allow read access to this130 (gains) */ vortex_Eqlzr_init() 703 eq->this54 = 0x0; /* if 1 => Dont Allow access to hardware (gains) */ vortex_Eqlzr_init() 704 eq->this58 = 0xffff; vortex_Eqlzr_init() 705 eq->this5c = 0xffff; vortex_Eqlzr_init() 708 memset(eq->this14_array, 0, sizeof(eq->this14_array)); vortex_Eqlzr_init() 715 vortex_EqHw_Program10Band(vortex, &(eq->coefset)); vortex_Eqlzr_init() 716 vortex_Eqlzr_SetBypass(vortex, eq->this54); vortex_Eqlzr_init() 738 eqlzr_t *eq = &(vortex->eq); snd_vortex_eqtoggle_get() local 741 ucontrol->value.integer.value[0] = eq->this54 ? 0 : 1; snd_vortex_eqtoggle_get() 751 eqlzr_t *eq = &(vortex->eq); snd_vortex_eqtoggle_put() local 754 eq->this54 = ucontrol->value.integer.value[0] ? 0 : 1; snd_vortex_eqtoggle_put() 755 vortex_Eqlzr_SetBypass(vortex, eq->this54); snd_vortex_eqtoggle_put()
|
H A D | au88x0.h | 171 eqlzr_t eq; member in struct:snd_vortex
|
/linux-4.4.14/drivers/infiniband/hw/mthca/ |
H A D | mthca_eq.c | 173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) tavor_set_eq_ci() argument 184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), tavor_set_eq_ci() 189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) arbel_set_eq_ci() argument 194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); arbel_set_eq_ci() 199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) set_eq_ci() argument 202 arbel_set_eq_ci(dev, eq, ci); set_eq_ci() 204 tavor_set_eq_ci(dev, eq, ci); set_eq_ci() 228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) get_eqe() argument 230 unsigned long off = (entry & (eq->nent - 1)) * MTHCA_EQ_ENTRY_SIZE; get_eqe() 231 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; get_eqe() 234 static inline struct mthca_eqe *next_eqe_sw(struct mthca_eq *eq) next_eqe_sw() argument 237 eqe = get_eqe(eq, eq->cons_index); next_eqe_sw() 260 static int mthca_eq_int(struct mthca_dev *dev, struct mthca_eq *eq) mthca_eq_int() argument 267 while ((eqe = next_eqe_sw(eq))) { mthca_eq_int() 277 disarm_cq(dev, eq->eqn, disarm_cqn); mthca_eq_int() 349 mthca_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); mthca_eq_int() 358 eqe->type, eqe->subtype, eq->eqn); mthca_eq_int() 363 ++eq->cons_index; mthca_eq_int() 379 set_eq_ci(dev, eq, eq->cons_index); mthca_eq_int() 408 if (ecr & dev->eq_table.eq[i].eqn_mask) { mthca_tavor_interrupt() 409 if (mthca_eq_int(dev, &dev->eq_table.eq[i])) mthca_tavor_interrupt() 410 tavor_set_eq_ci(dev, &dev->eq_table.eq[i], mthca_tavor_interrupt() 411 dev->eq_table.eq[i].cons_index); mthca_tavor_interrupt() 412 tavor_eq_req_not(dev, dev->eq_table.eq[i].eqn); mthca_tavor_interrupt() 420 struct mthca_eq *eq = eq_ptr; mthca_tavor_msi_x_interrupt() local 421 struct mthca_dev *dev = eq->dev; mthca_tavor_msi_x_interrupt() 423 mthca_eq_int(dev, eq); mthca_tavor_msi_x_interrupt() 424 tavor_set_eq_ci(dev, eq, eq->cons_index); mthca_tavor_msi_x_interrupt() 425 tavor_eq_req_not(dev, eq->eqn); mthca_tavor_msi_x_interrupt() 441 if (mthca_eq_int(dev, &dev->eq_table.eq[i])) { mthca_arbel_interrupt() 443 arbel_set_eq_ci(dev, &dev->eq_table.eq[i], mthca_arbel_interrupt() 444 dev->eq_table.eq[i].cons_index); mthca_arbel_interrupt() 454 struct mthca_eq *eq = eq_ptr; mthca_arbel_msi_x_interrupt() local 455 struct mthca_dev *dev = eq->dev; mthca_arbel_msi_x_interrupt() 457 mthca_eq_int(dev, eq); mthca_arbel_msi_x_interrupt() 458 arbel_set_eq_ci(dev, eq, eq->cons_index); mthca_arbel_msi_x_interrupt() 459 arbel_eq_req_not(dev, eq->eqn_mask); mthca_arbel_msi_x_interrupt() 468 struct mthca_eq *eq) mthca_create_eq() 478 eq->dev = dev; mthca_create_eq() 479 eq->nent = roundup_pow_of_two(max(nent, 2)); mthca_create_eq() 480 npages = ALIGN(eq->nent * MTHCA_EQ_ENTRY_SIZE, PAGE_SIZE) / PAGE_SIZE; mthca_create_eq() 482 eq->page_list = kmalloc(npages * sizeof *eq->page_list, mthca_create_eq() 484 if (!eq->page_list) mthca_create_eq() 488 eq->page_list[i].buf = NULL; mthca_create_eq() 500 eq->page_list[i].buf = dma_alloc_coherent(&dev->pdev->dev, mthca_create_eq() 502 if (!eq->page_list[i].buf) mthca_create_eq() 506 dma_unmap_addr_set(&eq->page_list[i], mapping, t); mthca_create_eq() 508 clear_page(eq->page_list[i].buf); mthca_create_eq() 511 for (i = 0; i < eq->nent; ++i) mthca_create_eq() 512 set_eqe_hw(get_eqe(eq, i)); mthca_create_eq() 514 eq->eqn = mthca_alloc(&dev->eq_table.alloc); mthca_create_eq() 515 if (eq->eqn == -1) mthca_create_eq() 523 &eq->mr); mthca_create_eq() 535 eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24); mthca_create_eq() 543 eq_context->lkey = cpu_to_be32(eq->mr.ibmr.lkey); mthca_create_eq() 545 err = mthca_SW2HW_EQ(dev, mailbox, eq->eqn); mthca_create_eq() 554 eq->eqn_mask = swab32(1 << eq->eqn); mthca_create_eq() 555 eq->cons_index = 0; mthca_create_eq() 557 dev->eq_table.arm_mask |= eq->eqn_mask; mthca_create_eq() 560 eq->eqn, eq->nent); mthca_create_eq() 565 mthca_free_mr(dev, &eq->mr); mthca_create_eq() 568 mthca_free(&dev->eq_table.alloc, eq->eqn); mthca_create_eq() 572 if (eq->page_list[i].buf) mthca_create_eq() 574 eq->page_list[i].buf, mthca_create_eq() 575 dma_unmap_addr(&eq->page_list[i], mthca_create_eq() 581 kfree(eq->page_list); mthca_create_eq() 589 struct mthca_eq *eq) mthca_free_eq() 593 int npages = (eq->nent * MTHCA_EQ_ENTRY_SIZE + PAGE_SIZE - 1) / mthca_free_eq() 601 err = mthca_HW2SW_EQ(dev, mailbox, eq->eqn); mthca_free_eq() 605 dev->eq_table.arm_mask &= ~eq->eqn_mask; mthca_free_eq() 608 mthca_dbg(dev, "Dumping EQ context %02x:\n", eq->eqn); mthca_free_eq() 618 mthca_free_mr(dev, &eq->mr); mthca_free_eq() 621 eq->page_list[i].buf, mthca_free_eq() 622 dma_unmap_addr(&eq->page_list[i], mapping)); mthca_free_eq() 624 kfree(eq->page_list); mthca_free_eq() 635 if (dev->eq_table.eq[i].have_irq) { mthca_free_irqs() 636 free_irq(dev->eq_table.eq[i].msi_x_vector, mthca_free_irqs() 637 dev->eq_table.eq + i); mthca_free_irqs() 638 dev->eq_table.eq[i].have_irq = 0; mthca_free_irqs() 799 &dev->eq_table.eq[MTHCA_EQ_COMP]); mthca_init_eq_table() 805 &dev->eq_table.eq[MTHCA_EQ_ASYNC]); mthca_init_eq_table() 811 &dev->eq_table.eq[MTHCA_EQ_CMD]); mthca_init_eq_table() 823 snprintf(dev->eq_table.eq[i].irq_name, mthca_init_eq_table() 827 err = request_irq(dev->eq_table.eq[i].msi_x_vector, mthca_init_eq_table() 831 0, dev->eq_table.eq[i].irq_name, mthca_init_eq_table() 832 dev->eq_table.eq + i); mthca_init_eq_table() 835 dev->eq_table.eq[i].have_irq = 1; mthca_init_eq_table() 838 snprintf(dev->eq_table.eq[0].irq_name, IB_DEVICE_NAME_MAX, mthca_init_eq_table() 844 IRQF_SHARED, dev->eq_table.eq[0].irq_name, dev); mthca_init_eq_table() 851 0, dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); mthca_init_eq_table() 854 dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn, err); mthca_init_eq_table() 857 0, dev->eq_table.eq[MTHCA_EQ_CMD].eqn); mthca_init_eq_table() 860 dev->eq_table.eq[MTHCA_EQ_CMD].eqn, err); mthca_init_eq_table() 864 arbel_eq_req_not(dev, dev->eq_table.eq[i].eqn_mask); mthca_init_eq_table() 866 tavor_eq_req_not(dev, dev->eq_table.eq[i].eqn); mthca_init_eq_table() 872 mthca_free_eq(dev, &dev->eq_table.eq[MTHCA_EQ_CMD]); mthca_init_eq_table() 875 mthca_free_eq(dev, &dev->eq_table.eq[MTHCA_EQ_ASYNC]); mthca_init_eq_table() 878 mthca_free_eq(dev, &dev->eq_table.eq[MTHCA_EQ_COMP]); mthca_init_eq_table() 895 1, dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); mthca_cleanup_eq_table() 897 1, dev->eq_table.eq[MTHCA_EQ_CMD].eqn); mthca_cleanup_eq_table() 900 mthca_free_eq(dev, &dev->eq_table.eq[i]); mthca_cleanup_eq_table() 465 mthca_create_eq(struct mthca_dev *dev, int nent, u8 intr, struct mthca_eq *eq) mthca_create_eq() argument 588 mthca_free_eq(struct mthca_dev *dev, struct mthca_eq *eq) mthca_free_eq() argument
|
H A D | mthca_main.c | 763 dev->eq_table.eq[MTHCA_EQ_CMD].msi_x_vector); mthca_setup_hca() 865 mdev->eq_table.eq[MTHCA_EQ_COMP ].msi_x_vector = entries[0].vector; mthca_enable_msi_x() 866 mdev->eq_table.eq[MTHCA_EQ_ASYNC].msi_x_vector = entries[1].vector; mthca_enable_msi_x() 867 mdev->eq_table.eq[MTHCA_EQ_CMD ].msi_x_vector = entries[2].vector; mthca_enable_msi_x()
|
H A D | mthca_cq.c | 839 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn); mthca_init_cq() 840 cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn); mthca_init_cq() 940 synchronize_irq(dev->eq_table.eq[MTHCA_EQ_COMP].msi_x_vector); mthca_free_cq()
|
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/ |
H A D | Makefile | 4 lib-me.o lib-msg.o lib-eq.o lib-md.o lib-ptl.o \
|
H A D | lib-eq.c | 36 * lnet/lnet/lib-eq.c 73 lnet_eq_t *eq; LNetEQAlloc() local 92 eq = lnet_eq_alloc(); LNetEQAlloc() 93 if (eq == NULL) LNetEQAlloc() 97 LIBCFS_ALLOC(eq->eq_events, count * sizeof(lnet_event_t)); LNetEQAlloc() 98 if (eq->eq_events == NULL) LNetEQAlloc() 104 eq->eq_deq_seq = 1; LNetEQAlloc() 105 eq->eq_enq_seq = 1; LNetEQAlloc() 106 eq->eq_size = count; LNetEQAlloc() 107 eq->eq_callback = callback; LNetEQAlloc() 109 eq->eq_refs = cfs_percpt_alloc(lnet_cpt_table(), LNetEQAlloc() 110 sizeof(*eq->eq_refs[0])); LNetEQAlloc() 111 if (eq->eq_refs == NULL) LNetEQAlloc() 120 lnet_res_lh_initialize(&the_lnet.ln_eq_container, &eq->eq_lh); LNetEQAlloc() 121 list_add(&eq->eq_list, &the_lnet.ln_eq_container.rec_active); LNetEQAlloc() 126 lnet_eq2handle(handle, eq); LNetEQAlloc() 130 if (eq->eq_events != NULL) LNetEQAlloc() 131 LIBCFS_FREE(eq->eq_events, count * sizeof(lnet_event_t)); LNetEQAlloc() 133 if (eq->eq_refs != NULL) LNetEQAlloc() 134 cfs_percpt_free(eq->eq_refs); LNetEQAlloc() 136 lnet_eq_free(eq); LNetEQAlloc() 154 struct lnet_eq *eq; LNetEQFree() local 170 eq = lnet_handle2eq(&eqh); LNetEQFree() 171 if (eq == NULL) { LNetEQFree() 176 cfs_percpt_for_each(ref, i, eq->eq_refs) { LNetEQFree() 188 events = eq->eq_events; LNetEQFree() 189 size = eq->eq_size; LNetEQFree() 190 refs = eq->eq_refs; LNetEQFree() 192 lnet_res_lh_invalidate(&eq->eq_lh); LNetEQFree() 193 list_del(&eq->eq_list); LNetEQFree() 194 lnet_eq_free(eq); LNetEQFree() 209 lnet_eq_enqueue_event(lnet_eq_t *eq, lnet_event_t *ev) lnet_eq_enqueue_event() argument 214 if (eq->eq_size == 0) { lnet_eq_enqueue_event() 215 LASSERT(eq->eq_callback != LNET_EQ_HANDLER_NONE); lnet_eq_enqueue_event() 216 eq->eq_callback(ev); lnet_eq_enqueue_event() 221 ev->sequence = eq->eq_enq_seq++; lnet_eq_enqueue_event() 223 LASSERT(eq->eq_size == LOWEST_BIT_SET(eq->eq_size)); lnet_eq_enqueue_event() 224 index = ev->sequence & (eq->eq_size - 1); lnet_eq_enqueue_event() 226 eq->eq_events[index] = *ev; lnet_eq_enqueue_event() 228 if (eq->eq_callback != LNET_EQ_HANDLER_NONE) lnet_eq_enqueue_event() 229 eq->eq_callback(ev); lnet_eq_enqueue_event() 238 lnet_eq_dequeue_event(lnet_eq_t *eq, lnet_event_t *ev) lnet_eq_dequeue_event() argument 240 int new_index = eq->eq_deq_seq & (eq->eq_size - 1); lnet_eq_dequeue_event() 241 lnet_event_t *new_event = &eq->eq_events[new_index]; lnet_eq_dequeue_event() 245 if (LNET_SEQ_GT(eq->eq_deq_seq, new_event->sequence)) lnet_eq_dequeue_event() 251 CDEBUG(D_INFO, "event: %p, sequence: %lu, eq->size: %u\n", lnet_eq_dequeue_event() 252 new_event, eq->eq_deq_seq, eq->eq_size); lnet_eq_dequeue_event() 255 if (eq->eq_deq_seq == new_event->sequence) { lnet_eq_dequeue_event() 260 CDEBUG(D_NET, "Event Queue Overflow: eq seq %lu ev seq %lu\n", lnet_eq_dequeue_event() 261 eq->eq_deq_seq, new_event->sequence); lnet_eq_dequeue_event() 265 eq->eq_deq_seq = new_event->sequence + 1; lnet_eq_dequeue_event() 403 lnet_eq_t *eq = lnet_handle2eq(&eventqs[i]); LNetEQPoll() local 405 if (eq == NULL) { LNetEQPoll() 410 rc = lnet_eq_dequeue_event(eq, event); LNetEQPoll()
|
H A D | lib-md.c | 182 * LASSERT (eq == NULL); lnet_md_link()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eq.c | 105 static struct mlx5_eqe *get_eqe(struct mlx5_eq *eq, u32 entry) get_eqe() argument 107 return mlx5_buf_offset(&eq->buf, entry * MLX5_EQE_SIZE); get_eqe() 110 static struct mlx5_eqe *next_eqe_sw(struct mlx5_eq *eq) next_eqe_sw() argument 112 struct mlx5_eqe *eqe = get_eqe(eq, eq->cons_index & (eq->nent - 1)); next_eqe_sw() 114 return ((eqe->owner & 1) ^ !!(eq->cons_index & eq->nent)) ? NULL : eqe; next_eqe_sw() 188 static void eq_update_ci(struct mlx5_eq *eq, int arm) eq_update_ci() argument 190 __be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2); eq_update_ci() 191 u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); eq_update_ci() 197 static int mlx5_eq_int(struct mlx5_core_dev *dev, struct mlx5_eq *eq) mlx5_eq_int() argument 206 while ((eqe = next_eqe_sw(eq))) { mlx5_eq_int() 213 mlx5_core_dbg(eq->dev, "eqn %d, eqe type %s\n", mlx5_eq_int() 214 eq->eqn, eqe_type_str(eqe->type)); mlx5_eq_int() 292 eqe->type, eq->eqn); mlx5_eq_int() 296 ++eq->cons_index; mlx5_eq_int() 307 eq_update_ci(eq, 0); mlx5_eq_int() 312 eq_update_ci(eq, 1); mlx5_eq_int() 319 struct mlx5_eq *eq = eq_ptr; mlx5_msix_handler() local 320 struct mlx5_core_dev *dev = eq->dev; mlx5_msix_handler() 322 mlx5_eq_int(dev, eq); mlx5_msix_handler() 328 static void init_eq_buf(struct mlx5_eq *eq) init_eq_buf() argument 333 for (i = 0; i < eq->nent; i++) { init_eq_buf() 334 eqe = get_eqe(eq, i); init_eq_buf() 339 int mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx, mlx5_create_map_eq() argument 348 eq->nent = roundup_pow_of_two(nent + MLX5_NUM_SPARE_EQE); mlx5_create_map_eq() 349 eq->cons_index = 0; mlx5_create_map_eq() 350 err = mlx5_buf_alloc(dev, eq->nent * MLX5_EQE_SIZE, &eq->buf); mlx5_create_map_eq() 354 init_eq_buf(eq); mlx5_create_map_eq() 356 inlen = sizeof(*in) + sizeof(in->pas[0]) * eq->buf.npages; mlx5_create_map_eq() 364 mlx5_fill_page_array(&eq->buf, in->pas); mlx5_create_map_eq() 367 in->ctx.log_sz_usr_page = cpu_to_be32(ilog2(eq->nent) << 24 | uar->index); mlx5_create_map_eq() 369 in->ctx.log_page_size = eq->buf.page_shift - MLX5_ADAPTER_PAGE_SHIFT; mlx5_create_map_eq() 384 eq->eqn = out.eq_number; mlx5_create_map_eq() 385 eq->irqn = priv->msix_arr[vecidx].vector; mlx5_create_map_eq() 386 eq->dev = dev; mlx5_create_map_eq() 387 eq->doorbell = uar->map + MLX5_EQ_DOORBEL_OFFSET; mlx5_create_map_eq() 388 err = request_irq(eq->irqn, mlx5_msix_handler, 0, mlx5_create_map_eq() 389 priv->irq_info[vecidx].name, eq); mlx5_create_map_eq() 393 err = mlx5_debug_eq_add(dev, eq); mlx5_create_map_eq() 399 eq_update_ci(eq, 1); mlx5_create_map_eq() 405 free_irq(priv->msix_arr[vecidx].vector, eq); mlx5_create_map_eq() 408 mlx5_cmd_destroy_eq(dev, eq->eqn); mlx5_create_map_eq() 414 mlx5_buf_free(dev, &eq->buf); mlx5_create_map_eq() 419 int mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq) mlx5_destroy_unmap_eq() argument 423 mlx5_debug_eq_remove(dev, eq); mlx5_destroy_unmap_eq() 424 free_irq(eq->irqn, eq); mlx5_destroy_unmap_eq() 425 err = mlx5_cmd_destroy_eq(dev, eq->eqn); mlx5_destroy_unmap_eq() 427 mlx5_core_warn(dev, "failed to destroy a previously created eq: eqn %d\n", mlx5_destroy_unmap_eq() 428 eq->eqn); mlx5_destroy_unmap_eq() 429 synchronize_irq(eq->irqn); mlx5_destroy_unmap_eq() 430 mlx5_buf_free(dev, &eq->buf); mlx5_destroy_unmap_eq() 520 int mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq, mlx5_core_eq_query() argument 529 in.eqn = eq->eqn; mlx5_core_eq_query()
|
H A D | Makefile | 3 mlx5_core-y := main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
|
H A D | debugfs.c | 358 static u64 eq_read_field(struct mlx5_core_dev *dev, struct mlx5_eq *eq, eq_read_field() argument 372 err = mlx5_core_eq_query(dev, eq, out, sizeof(*out)); eq_read_field() 374 mlx5_core_warn(dev, "failed to query eq\n"); eq_read_field() 562 int mlx5_debug_eq_add(struct mlx5_core_dev *dev, struct mlx5_eq *eq) mlx5_debug_eq_add() argument 570 &eq->dbg, eq->eqn, eq_fields, mlx5_debug_eq_add() 571 ARRAY_SIZE(eq_fields), eq); mlx5_debug_eq_add() 573 eq->dbg = NULL; mlx5_debug_eq_add() 578 void mlx5_debug_eq_remove(struct mlx5_core_dev *dev, struct mlx5_eq *eq) mlx5_debug_eq_remove() argument 583 if (eq->dbg) mlx5_debug_eq_remove() 584 rem_res_tree(eq->dbg); mlx5_debug_eq_remove()
|
H A D | main.c | 575 struct mlx5_eq *eq, *n; mlx5_vector2eqn() local 579 list_for_each_entry_safe(eq, n, &table->comp_eqs_list, list) { mlx5_vector2eqn() 580 if (eq->index == vector) { mlx5_vector2eqn() 581 *eqn = eq->eqn; mlx5_vector2eqn() 582 *irqn = eq->irqn; mlx5_vector2eqn() 596 struct mlx5_eq *eq, *n; free_comp_eqs() local 599 list_for_each_entry_safe(eq, n, &table->comp_eqs_list, list) { free_comp_eqs() 600 list_del(&eq->list); free_comp_eqs() 602 if (mlx5_destroy_unmap_eq(dev, eq)) free_comp_eqs() 604 eq->eqn); free_comp_eqs() 605 kfree(eq); free_comp_eqs() 615 struct mlx5_eq *eq; alloc_comp_eqs() local 625 eq = kzalloc(sizeof(*eq), GFP_KERNEL); alloc_comp_eqs() 626 if (!eq) { alloc_comp_eqs() 632 err = mlx5_create_map_eq(dev, eq, alloc_comp_eqs() 636 kfree(eq); alloc_comp_eqs() 639 mlx5_core_dbg(dev, "allocated completion EQN %d\n", eq->eqn); alloc_comp_eqs() 640 eq->index = i; alloc_comp_eqs() 642 list_add_tail(&eq->list, &table->comp_eqs_list); alloc_comp_eqs() 1018 dev_err(&pdev->dev, "failed to initialize eq\n"); mlx5_load_one()
|
/linux-4.4.14/arch/sh/include/asm/ |
H A D | string_32.h | 20 "cmp/eq #0, %2\n\t" strcpy() 43 "cmp/eq #0, %2\n\t" strncpy() 45 " cmp/eq %5,%1\n\t" strncpy() 66 "cmp/eq #0, %3\n\t" strcmp() 68 "cmp/eq %2, %3\n\t" strcmp() 95 "cmp/eq %6, %0\n\t" strncmp() 97 " cmp/eq #0, %3\n\t" strncmp() 99 " cmp/eq %3, %2\n\t" strncmp()
|
H A D | cmpxchg-llsc.h | 56 "cmp/eq %1, %3 \n\t" __cmpxchg_u32()
|
H A D | cmpxchg-grb.h | 60 " cmp/eq %0, %1 \n\t" __cmpxchg_u32()
|
H A D | mutex-llsc.h | 97 "cmp/eq #0,%0 \n\t" __mutex_fastpath_trylock()
|
H A D | checksum_32.h | 104 " cmp/eq #1, %4\n\t" ip_fast_csum()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | eq.c | 97 static void eq_set_ci(struct mlx4_eq *eq, int req_not) eq_set_ci() argument 99 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | eq_set_ci() 101 eq->doorbell); eq_set_ci() 106 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry, u8 eqe_factor, get_eqe() argument 109 /* (entry & (eq->nent - 1)) gives us a cyclic array */ get_eqe() 110 unsigned long offset = (entry & (eq->nent - 1)) * eqe_size; get_eqe() 118 return eq->page_list[offset / PAGE_SIZE].buf + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % PAGE_SIZE; get_eqe() 121 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq, u8 eqe_factor, u8 size) next_eqe_sw() argument 123 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index, eqe_factor, size); next_eqe_sw() 124 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; next_eqe_sw() 229 struct mlx4_eq *eq = &priv->eq_table.eq[vec]; mlx4_set_eq_affinity_hint() local 231 if (!eq->affinity_mask || cpumask_empty(eq->affinity_mask)) mlx4_set_eq_affinity_hint() 234 hint_err = irq_set_affinity_hint(eq->irq, eq->affinity_mask); mlx4_set_eq_affinity_hint() 481 static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) mlx4_eq_int() argument 499 while ((eqe = next_eqe_sw(eq, dev->caps.eqe_factor, eqe_size))) { mlx4_eq_int() 530 eq->eqn, eq->cons_index, ret); mlx4_eq_int() 558 eq->eqn, eq->cons_index, ret); mlx4_eq_int() 674 eq->eqn, eq->cons_index, ret); mlx4_eq_int() 690 mlx4_warn(dev, "EQ overrun on EQN %d\n", eq->eqn); mlx4_eq_int() 758 eqe->type, eqe->subtype, eq->eqn, mlx4_eq_int() 759 eq->cons_index, eqe->owner, eq->nent, mlx4_eq_int() 762 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); mlx4_eq_int() 783 eqe->type, eqe->subtype, eq->eqn, mlx4_eq_int() 784 eq->cons_index, eqe->owner, eq->nent, mlx4_eq_int() 786 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); mlx4_eq_int() 795 eqe->type, eqe->subtype, eq->eqn, mlx4_eq_int() 796 eq->cons_index, eqe->owner, eq->nent, mlx4_eq_int() 799 !!(eq->cons_index & eq->nent) ? "HW" : "SW"); mlx4_eq_int() 803 ++eq->cons_index; mlx4_eq_int() 815 eq_set_ci(eq, 0); mlx4_eq_int() 820 eq_set_ci(eq, 1); mlx4_eq_int() 827 tasklet_schedule(&eq->tasklet_ctx.task); mlx4_eq_int() 842 work |= mlx4_eq_int(dev, &priv->eq_table.eq[i]); mlx4_interrupt() 849 struct mlx4_eq *eq = eq_ptr; mlx4_msi_x_interrupt() local 850 struct mlx4_dev *dev = eq->dev; mlx4_msi_x_interrupt() 852 mlx4_eq_int(dev, eq); mlx4_msi_x_interrupt() 918 static void __iomem *mlx4_get_eq_uar(struct mlx4_dev *dev, struct mlx4_eq *eq) mlx4_get_eq_uar() argument 923 index = eq->eqn / 4 - dev->caps.reserved_eqs / 4; mlx4_get_eq_uar() 928 ((eq->eqn / 4) << PAGE_SHIFT), mlx4_get_eq_uar() 932 eq->eqn); mlx4_get_eq_uar() 937 return priv->eq_table.uar_map[index] + 0x800 + 8 * (eq->eqn % 4); mlx4_get_eq_uar() 953 u8 intr, struct mlx4_eq *eq) mlx4_create_eq() 965 eq->dev = dev; mlx4_create_eq() 966 eq->nent = roundup_pow_of_two(max(nent, 2)); mlx4_create_eq() 970 npages = PAGE_ALIGN(eq->nent * dev->caps.eqe_size) / PAGE_SIZE; mlx4_create_eq() 972 eq->page_list = kmalloc(npages * sizeof *eq->page_list, mlx4_create_eq() 974 if (!eq->page_list) mlx4_create_eq() 978 eq->page_list[i].buf = NULL; mlx4_create_eq() 990 eq->page_list[i].buf = dma_alloc_coherent(&dev->persist-> mlx4_create_eq() 994 if (!eq->page_list[i].buf) mlx4_create_eq() 998 eq->page_list[i].map = t; mlx4_create_eq() 1000 memset(eq->page_list[i].buf, 0, PAGE_SIZE); mlx4_create_eq() 1003 eq->eqn = mlx4_bitmap_alloc(&priv->eq_table.bitmap); mlx4_create_eq() 1004 if (eq->eqn == -1) mlx4_create_eq() 1007 eq->doorbell = mlx4_get_eq_uar(dev, eq); mlx4_create_eq() 1008 if (!eq->doorbell) { mlx4_create_eq() 1013 err = mlx4_mtt_init(dev, npages, PAGE_SHIFT, &eq->mtt); mlx4_create_eq() 1017 err = mlx4_write_mtt(dev, &eq->mtt, 0, npages, dma_list); mlx4_create_eq() 1023 eq_context->log_eq_size = ilog2(eq->nent); mlx4_create_eq() 1027 mtt_addr = mlx4_mtt_addr(dev, &eq->mtt); mlx4_create_eq() 1031 err = mlx4_SW2HW_EQ(dev, mailbox, eq->eqn); mlx4_create_eq() 1040 eq->cons_index = 0; mlx4_create_eq() 1042 INIT_LIST_HEAD(&eq->tasklet_ctx.list); mlx4_create_eq() 1043 INIT_LIST_HEAD(&eq->tasklet_ctx.process_list); mlx4_create_eq() 1044 spin_lock_init(&eq->tasklet_ctx.lock); mlx4_create_eq() 1045 tasklet_init(&eq->tasklet_ctx.task, mlx4_cq_tasklet_cb, mlx4_create_eq() 1046 (unsigned long)&eq->tasklet_ctx); mlx4_create_eq() 1051 mlx4_mtt_cleanup(dev, &eq->mtt); mlx4_create_eq() 1054 mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR); mlx4_create_eq() 1058 if (eq->page_list[i].buf) mlx4_create_eq() 1060 eq->page_list[i].buf, mlx4_create_eq() 1061 eq->page_list[i].map); mlx4_create_eq() 1066 kfree(eq->page_list); mlx4_create_eq() 1074 struct mlx4_eq *eq) mlx4_free_eq() 1082 int npages = PAGE_ALIGN(dev->caps.eqe_size * eq->nent) / PAGE_SIZE; mlx4_free_eq() 1084 err = mlx4_HW2SW_EQ(dev, eq->eqn); mlx4_free_eq() 1088 synchronize_irq(eq->irq); mlx4_free_eq() 1089 tasklet_disable(&eq->tasklet_ctx.task); mlx4_free_eq() 1091 mlx4_mtt_cleanup(dev, &eq->mtt); mlx4_free_eq() 1094 eq->page_list[i].buf, mlx4_free_eq() 1095 eq->page_list[i].map); mlx4_free_eq() 1097 kfree(eq->page_list); mlx4_free_eq() 1098 mlx4_bitmap_free(&priv->eq_table.bitmap, eq->eqn, MLX4_USE_RR); mlx4_free_eq() 1110 if (eq_table->eq[i].have_irq) { mlx4_free_irqs() 1111 free_cpumask_var(eq_table->eq[i].affinity_mask); mlx4_free_irqs() 1113 irq_set_affinity_hint(eq_table->eq[i].irq, NULL); mlx4_free_irqs() 1115 free_irq(eq_table->eq[i].irq, eq_table->eq + i); mlx4_free_irqs() 1116 eq_table->eq[i].have_irq = 0; mlx4_free_irqs() 1148 priv->eq_table.eq = kcalloc(dev->caps.num_eqs - dev->caps.reserved_eqs, mlx4_alloc_eq_table() 1149 sizeof *priv->eq_table.eq, GFP_KERNEL); mlx4_alloc_eq_table() 1150 if (!priv->eq_table.eq) mlx4_alloc_eq_table() 1158 kfree(mlx4_priv(dev)->eq_table.eq); mlx4_free_eq_table() 1210 0, &priv->eq_table.eq[MLX4_EQ_ASYNC]); mlx4_init_eq_table() 1212 struct mlx4_eq *eq = &priv->eq_table.eq[i]; mlx4_init_eq_table() local 1214 int port = find_first_bit(eq->actv_ports.ports, mlx4_init_eq_table() 1232 info->rmap, eq->irq); mlx4_init_eq_table() 1242 eq); mlx4_init_eq_table() 1259 err = request_irq(priv->eq_table.eq[MLX4_EQ_ASYNC].irq, mlx4_init_eq_table() 1261 priv->eq_table.eq + MLX4_EQ_ASYNC); mlx4_init_eq_table() 1265 priv->eq_table.eq[MLX4_EQ_ASYNC].have_irq = 1; mlx4_init_eq_table() 1280 priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); mlx4_init_eq_table() 1283 priv->eq_table.eq[MLX4_EQ_ASYNC].eqn, err); mlx4_init_eq_table() 1285 /* arm ASYNC eq */ mlx4_init_eq_table() 1286 eq_set_ci(&priv->eq_table.eq[MLX4_EQ_ASYNC], 1); mlx4_init_eq_table() 1292 mlx4_free_eq(dev, &priv->eq_table.eq[i--]); mlx4_init_eq_table() 1323 priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); mlx4_cleanup_eq_table() 1336 mlx4_free_eq(dev, &priv->eq_table.eq[i]); mlx4_cleanup_eq_table() 1368 if (!priv->eq_table.eq[i].have_irq) mlx4_test_interrupts() 1374 /* Map the new eq to handle all asynchronous events */ mlx4_test_interrupts() 1376 priv->eq_table.eq[i].eqn); mlx4_test_interrupts() 1378 mlx4_warn(dev, "Failed mapping eq for interrupt test\n"); mlx4_test_interrupts() 1390 priv->eq_table.eq[MLX4_EQ_ASYNC].eqn); mlx4_test_interrupts() 1404 return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports); mlx4_is_eq_vector_valid() 1416 priv->eq_table.eq[i].actv_ports.ports); mlx4_get_eqs_per_port() 1430 return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports, mlx4_is_eq_shared() 1455 priv->eq_table.eq[requested_vector].actv_ports.ports)) { mlx4_assign_eq() 1458 struct mlx4_eq *eq; mlx4_assign_eq() local 1464 eq = &priv->eq_table.eq[requested_vector]; mlx4_assign_eq() 1466 test_bit(port - 1, eq->actv_ports.ports)) { mlx4_assign_eq() 1476 struct mlx4_eq *eq = &priv->eq_table.eq[i]; mlx4_assign_eq() local 1478 if (min_ref_count_val > eq->ref_count && mlx4_assign_eq() 1479 test_bit(port - 1, eq->actv_ports.ports)) { mlx4_assign_eq() 1480 min_ref_count_val = eq->ref_count; mlx4_assign_eq() 1501 err = request_irq(priv->eq_table.eq[*prequested_vector].irq, mlx4_assign_eq() 1504 priv->eq_table.eq + *prequested_vector); mlx4_assign_eq() 1513 eq_set_ci(&priv->eq_table.eq[*prequested_vector], 1); mlx4_assign_eq() 1514 priv->eq_table.eq[*prequested_vector].have_irq = 1; mlx4_assign_eq() 1519 priv->eq_table.eq[*prequested_vector].ref_count++; mlx4_assign_eq() 1537 return priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq_vec)].irq; mlx4_eq_get_irq() 1547 priv->eq_table.eq[eq_vec].ref_count--; mlx4_release_eq() 952 mlx4_create_eq(struct mlx4_dev *dev, int nent, u8 intr, struct mlx4_eq *eq) mlx4_create_eq() argument 1073 mlx4_free_eq(struct mlx4_dev *dev, struct mlx4_eq *eq) mlx4_free_eq() argument
|
H A D | Makefile | 3 mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
|
H A D | cq.c | 322 cq_context->comp_eqn = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].eqn; mlx4_cq_alloc() 342 &priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].tasklet_ctx; mlx4_cq_alloc() 346 cq->irq = priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(vector)].irq; mlx4_cq_alloc() 371 synchronize_irq(priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq); mlx4_cq_free() 372 if (priv->eq_table.eq[MLX4_CQ_TO_EQ_VECTOR(cq->vector)].irq != mlx4_cq_free() 373 priv->eq_table.eq[MLX4_EQ_ASYNC].irq) mlx4_cq_free() 374 synchronize_irq(priv->eq_table.eq[MLX4_EQ_ASYNC].irq); mlx4_cq_free()
|
H A D | resource_tracker.c | 1546 enum res_eq_states state, struct res_eq **eq) eq_res_start_move_to() 1583 if (eq) eq_res_start_move_to() 1584 *eq = r; eq_res_start_move_to() 3024 struct res_eq *eq; mlx4_SW2HW_EQ_wrapper() local 3030 err = eq_res_start_move_to(dev, slave, res_id, RES_EQ_HW, &eq); mlx4_SW2HW_EQ_wrapper() 3047 eq->mtt = mtt; mlx4_SW2HW_EQ_wrapper() 3228 struct res_eq *eq; mlx4_HW2SW_EQ_wrapper() local 3231 err = eq_res_start_move_to(dev, slave, res_id, RES_EQ_RESERVED, &eq); mlx4_HW2SW_EQ_wrapper() 3235 err = get_res(dev, slave, eq->mtt->com.res_id, RES_MTT, NULL); mlx4_HW2SW_EQ_wrapper() 3243 atomic_dec(&eq->mtt->ref_count); mlx4_HW2SW_EQ_wrapper() 3244 put_res(dev, slave, eq->mtt->com.res_id, RES_MTT); mlx4_HW2SW_EQ_wrapper() 3251 put_res(dev, slave, eq->mtt->com.res_id, RES_MTT); mlx4_HW2SW_EQ_wrapper() 3334 struct res_eq *eq; mlx4_QUERY_EQ_wrapper() local 3337 err = get_res(dev, slave, res_id, RES_EQ, &eq); mlx4_QUERY_EQ_wrapper() 3341 if (eq->com.from_state != RES_EQ_HW) { mlx4_QUERY_EQ_wrapper() 4896 struct res_eq *eq; rem_slave_eqs() local 4909 list_for_each_entry_safe(eq, tmp, eq_list, com.list) { list_for_each_entry_safe() 4911 if (eq->com.owner == slave) { list_for_each_entry_safe() 4912 eqn = eq->com.res_id; list_for_each_entry_safe() 4913 state = eq->com.from_state; list_for_each_entry_safe() 4918 rb_erase(&eq->com.node, list_for_each_entry_safe() 4920 list_del(&eq->com.list); list_for_each_entry_safe() 4922 kfree(eq); list_for_each_entry_safe() 4934 atomic_dec(&eq->mtt->ref_count); list_for_each_entry_safe() 1545 eq_res_start_move_to(struct mlx4_dev *dev, int slave, int index, enum res_eq_states state, struct res_eq **eq) eq_res_start_move_to() argument
|
H A D | main.c | 2508 priv->eq_table.eq[MLX4_EQ_ASYNC].irq); mlx4_setup_hca() 2512 priv->eq_table.eq[MLX4_EQ_ASYNC].irq); mlx4_setup_hca() 2641 struct mlx4_eq *eq; mlx4_init_affinity_hint() local 2657 eq = &priv->eq_table.eq[eqn]; mlx4_init_affinity_hint() 2659 if (!zalloc_cpumask_var(&eq->affinity_mask, GFP_KERNEL)) mlx4_init_affinity_hint() 2662 cpumask_set_cpu(requested_cpu, eq->affinity_mask); mlx4_init_affinity_hint() 2699 priv->eq_table.eq[MLX4_EQ_ASYNC].irq = entries[0].vector; mlx4_enable_msi_x() 2700 bitmap_zero(priv->eq_table.eq[MLX4_EQ_ASYNC].actv_ports.ports, mlx4_enable_msi_x() 2707 priv->eq_table.eq[i].irq = mlx4_enable_msi_x() 2711 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, mlx4_enable_msi_x() 2718 priv->eq_table.eq[i].actv_ports.ports); mlx4_enable_msi_x() 2753 priv->eq_table.eq[i].irq = dev->persist->pdev->irq; mlx4_enable_msi_x() 2755 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, mlx4_enable_msi_x() 3303 mlx4_err(dev, " Failed to arm comm channel eq: %x\n", mlx4_load_one()
|
H A D | mlx4.h | 488 struct mlx4_slave_eqe eq[MLX4_MFUNC_MAX_EQES]; member in struct:mlx4_slave_state 491 /* event type to eq number lookup */ 685 struct mlx4_eq *eq; member in struct:mlx4_eq_table
|
/linux-4.4.14/block/ |
H A D | noop-iosched.c | 65 struct elevator_queue *eq; noop_init_queue() local 67 eq = elevator_alloc(q, e); noop_init_queue() 68 if (!eq) noop_init_queue() 73 kobject_put(&eq->kobj); noop_init_queue() 76 eq->elevator_data = nd; noop_init_queue() 81 q->elevator = eq; noop_init_queue()
|
H A D | deadline-iosched.c | 343 struct elevator_queue *eq; deadline_init_queue() local 345 eq = elevator_alloc(q, e); deadline_init_queue() 346 if (!eq) deadline_init_queue() 351 kobject_put(&eq->kobj); deadline_init_queue() 354 eq->elevator_data = dd; deadline_init_queue() 367 q->elevator = eq; deadline_init_queue()
|
H A D | elevator.c | 156 struct elevator_queue *eq; elevator_alloc() local 158 eq = kzalloc_node(sizeof(*eq), GFP_KERNEL, q->node); elevator_alloc() 159 if (unlikely(!eq)) elevator_alloc() 162 eq->type = e; elevator_alloc() 163 kobject_init(&eq->kobj, &elv_ktype); elevator_alloc() 164 mutex_init(&eq->sysfs_lock); elevator_alloc() 165 hash_init(eq->hash); elevator_alloc() 167 return eq; elevator_alloc()
|
/linux-4.4.14/arch/powerpc/kernel/ |
H A D | cpu_setup_6xx.S | 194 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 195 cror 4*cr0+eq,4*cr0+eq,4*cr2+eq 344 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 346 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq 347 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 348 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 349 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq 350 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq 415 cror 4*cr1+eq,4*cr1+eq,4*cr2+eq 417 cror 4*cr0+eq,4*cr0+eq,4*cr3+eq 418 cror 4*cr0+eq,4*cr0+eq,4*cr4+eq 419 cror 4*cr0+eq,4*cr0+eq,4*cr1+eq 420 cror 4*cr0+eq,4*cr0+eq,4*cr5+eq 421 cror 4*cr0+eq,4*cr0+eq,4*cr7+eq
|
H A D | entry_64.S | 532 cror eq,4*cr1+eq,eq 755 crandc eq,cr1*4+eq,eq
|
H A D | misc_32.S | 571 crclr 4*cr0+eq 593 crnot 4*cr0+eq,4*cr0+eq
|
H A D | head_fsl_booke.S | 1315 cror eq,4*cr1+eq,eq
|
/linux-4.4.14/scripts/ |
H A D | cleanfile | 27 if ($c eq "\t") { 33 } elsif ($c eq "\n" || $c eq "\r") { 39 } elsif ($c eq " ") { 64 if ($c eq "\t") { 66 } elsif ($c eq "\n") { 84 if ($a eq '-width' || $a eq '-w') { 143 if ( $line eq "\n" ) {
|
H A D | get_maintainer.pl | 313 if ($type eq "F" || $type eq "X") { 321 } elsif ($type eq "K") { 542 return 1 if ($ignore eq $address); 556 if ($type eq 'S') { 574 if ($type eq 'M') { 623 if ($type eq 'X') { 638 if ($type eq 'F') { 654 } elsif ($type eq 'N') { 751 if (substr($pattern, -1) eq "/") { 923 if ("$name" eq "") { 1006 if ($ptype eq "S") { 1013 if ($role eq "supported") { 1015 } elsif ($role eq "maintained") { 1017 } elsif ($role eq "odd fixes") { 1019 } elsif ($role eq "orphan") { 1021 } elsif ($role eq "obsolete") { 1023 } elsif ($role eq "buried alive in reporters") { 1035 if ($subsystem eq "THE REST") { 1056 if ($ptype eq "L") { 1090 } elsif ($ptype eq "M") { 1092 if ($name eq "") { 1096 if ($1 eq "P") { 1107 } elsif ($ptype eq "R") { 1109 if ($name eq "") { 1113 if ($1 eq "P") { 1124 } elsif ($ptype eq "T") { 1126 } elsif ($ptype eq "W") { 1128 } elsif ($ptype eq "S") { 1138 return 1 if (($name eq "") && ($address eq "")); 1150 if ($address eq "") { 1193 if (($name eq $entry_name || $address eq $entry_address) 1194 && ($role eq "" || !($entry->[1] =~ m/$role/)) 1196 if ($entry->[1] eq "") { 1203 if ($email eq $entry->[0] 1204 && ($role eq "" || !($entry->[1] =~ m/$role/)) 1206 if ($entry->[1] eq "") { 1423 if (@range && $VCS_cmds{"blame_range_cmd"} eq "") { 1605 if ($sel eq "y") { 1613 } elsif ($sel eq "*" || $sel eq '^') { 1615 $toggle = 1 if ($sel eq '*'); 1619 } elsif ($sel eq "0") { 1623 } elsif ($sel eq "t") { 1624 if (lc($str) eq "m") { 1629 } elsif (lc($str) eq "g") { 1634 } elsif (lc($str) eq "l") { 1639 } elsif (lc($str) eq "s") { 1645 } elsif ($sel eq "a") { 1648 } elsif ($str eq '*' || $str eq '^') { 1650 $toggle = 1 if ($str eq '*'); 1655 } elsif ($sel eq "s") { 1658 } elsif ($str eq '*' || $str eq '^') { 1660 $toggle = 1 if ($str eq '*'); 1665 } elsif ($sel eq "o") { 1668 } elsif ($sel eq "g") { 1669 if ($str eq "f") { 1675 } elsif ($sel eq "b") { 1676 if ($str eq "s") { 1682 } elsif ($sel eq "c") { 1687 } elsif ($sel eq "x") { 1692 } elsif ($sel eq "%") { 1697 } elsif ($sel eq "d") { 1704 } elsif ($sel eq "t") { 1707 } elsif ($sel eq "f") { 1710 } elsif ($sel eq "r") { 1713 } elsif ($sel eq "m") { 1717 } elsif ($sel eq "k") { 1720 } elsif ($sel eq "p") { 1725 } elsif ($sel eq "h" || $sel eq "?") { 1830 if (@{$ref}[0] eq $commits[$i] && 1831 @{$ref}[1] eq $subjects[$i]) { 1865 if (@{$ref}[0] eq $commit && 1866 @{$ref}[1] eq $subject && 1867 @{$ref}[2] eq $type) { 1977 if ($author eq deduplicate_email($authors[$i]) && 2147 if ($name eq '"[,\.]"') { 2158 (length($first) == 2 && substr($first, -1) eq ".")) || 2160 (length($middle) == 2 && substr($middle, -1) eq "."))) {
|
H A D | objdiff | 70 [ $# -eq 0 ] && usage 93 if [ $# -eq 0 ]; then 103 if [ ${#DIFF} -eq 0 ] || [ ! -x "$DIFF" ]; then 124 [ $# -eq 0 ] && usage 140 [ $# -eq 0 ] && usage
|
H A D | cleanpatch | 27 if ($c eq "\t") { 33 } elsif ($c eq "\n" || $c eq "\r") { 39 } elsif ($c eq " ") { 64 if ($c eq "\t") { 66 } elsif ($c eq "\n") { 84 if ($a eq '-width' || $a eq '-w') { 200 if (!$done && $l eq "+\n") {
|
H A D | kernel-doc | 389 if ($cmd eq "-html") { 393 } elsif ($cmd eq "-html5") { 397 } elsif ($cmd eq "-man") { 401 } elsif ($cmd eq "-text") { 405 } elsif ($cmd eq "-docbook") { 409 } elsif ($cmd eq "-list") { 413 } elsif ($cmd eq "-gnome") { 417 } elsif ($cmd eq "-module") { # not needed for XML, inherits from calling document 419 } elsif ($cmd eq "-function") { # to only output specific functions 423 } elsif ($cmd eq "-nofunction") { # to only output specific functions 427 } elsif ($cmd eq "-v") { 429 } elsif (($cmd eq "-h") || ($cmd eq "--help")) { 431 } elsif ($cmd eq '-no-doc-sections') { 433 } elsif ($cmd eq '-show-not-found') { 478 } elsif ($name eq "@\.\.\.") { 539 if ($output_mode eq "html" || $output_mode eq "html5" || 540 $output_mode eq "xml") { 551 if ($output_mode eq "html5") { 559 if ($line eq ""){ 565 if ($output_mode eq "man" && substr($line, 0, 1) eq ".") { 1763 ( $function_only == 2 && !($functype eq "function" && defined($function_table{$name})))) 2022 if (($anon_struct_union == 1) && ($type eq "") && 2023 ($param eq "}")) { 2031 if ($type eq "" && $param =~ /\.\.\.$/) 2033 if (!defined $parameterdescs{$param} || $parameterdescs{$param} eq "") { 2037 elsif ($type eq "" && ($param eq "" or $param eq "void")) 2042 elsif ($type eq "" && ($param eq "struct" or $param eq "union")) 2060 if (($type eq 'function') || ($type eq 'enum')) { 2109 if ($prm_clean eq $sects[$sx]) { 2115 if ($decl_type eq "function") { 2143 if (($return_type eq "") || ($return_type =~ /void\s*\w*\s*$/)) { 2148 $sections{$section_return} eq "") { 2292 if (($tracepointname eq 0) || ($tracepointargs eq 0)) { 2325 if (substr($prototype, $ix, 1) eq ',') { 2381 ($2 eq '{') && $brcount++; 2382 ($2 eq '}') && $brcount--; 2383 if (($2 eq ';') && ($brcount == 0)) { 2405 if (($output_mode eq "text") || ($output_mode eq "man")) { 2418 if (($output_mode eq "text") || ($output_mode eq "man")) { 2467 if ( $1 eq "" ) { 2492 if (($declaration_purpose eq "") && $verbose) { 2537 while ((substr($contents, 0, 1) eq " ") || 2538 substr($contents, 0, 1) eq "\t") { 2563 if ($1 eq "") { 2564 if ($section =~ m/^@/ || $section eq $section_context) { 2591 while ((substr($contents, 0, 1) eq " ") || 2592 substr($contents, 0, 1) eq "\t") { 2622 } elsif ($decl_type eq 'function') { 2640 if ( $1 eq "" ) { 2662 if ( $1 eq "" ) 2678 if ($output_mode eq "xml") {
|
H A D | checkincludes.pl | 31 if ($ARGV[0] eq "-r") { 72 if ($1 eq $filename) {
|
H A D | decodecode | 54 if [ $width -eq 2 ]; then 66 if [ $marker -eq 0 ]; then
|
H A D | recordmcount.pl | 222 if ($arch eq "x86_64") { 234 } elsif ($arch eq "i386") { 244 } elsif ($arch eq "s390" && $bits == 64) { 257 } elsif ($arch eq "sh") { 264 } elsif ($arch eq "powerpc") { 274 } elsif ($arch eq "arm") { 280 } elsif ($arch eq "arm64") { 285 } elsif ($arch eq "ia64") { 289 if ($is_module eq "0") { 292 } elsif ($arch eq "sparc64") { 312 } elsif ($arch eq "mips") { 341 if ($is_module eq "0") { 348 if ($endian eq "big") { 364 } elsif ($arch eq "microblaze") { 367 } elsif ($arch eq "blackfin") { 370 } elsif ($arch eq "tilegx" || $arch eq "tile") {
|
H A D | checkpatch.pl | 696 return ($id, $desc) if ((which("git") eq "") || !(-e ".git")); 738 } elsif ($filename eq '-') { 744 if ($filename eq '-') { 875 if ("$name" eq "") { 914 if ($c eq "\t") { 975 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '/*') { 982 if ($sanitise_quote eq '*/' && substr($line, $off, 2) eq '*/') { 988 if ($sanitise_quote eq '' && substr($line, $off, 2) eq '//') { 997 if (($sanitise_quote eq "'" || $sanitise_quote eq '"') && 998 $c eq "\\") { 1004 if ($c eq "'" || $c eq '"') { 1005 if ($sanitise_quote eq '') { 1010 } elsif ($sanitise_quote eq $c) { 1016 if ($off != 0 && $sanitise_quote eq '*/' && $c ne "\t") { 1018 } elsif ($off != 0 && $sanitise_quote eq '//' && $c ne "\t") { 1027 if ($sanitise_quote eq '//') { 1114 if ($level == 0 && $c eq ';') { 1129 if (($type eq '' || $type eq '(') && $c eq '(') { 1133 if ($type eq '(' && $c eq ')') { 1143 if (($type eq '' || $type eq '{') && $c eq '{') { 1147 if ($type eq '{' && $c eq '}') { 1152 if (substr($blk, $off + 1, 1) eq ';') { 1159 if ($type eq '#' && $c eq "\n" && $p ne "\\") { 1291 if ($c eq $close && $level > 0) { 1294 } elsif ($c eq $open) { 1444 } elsif ($cur =~ /^(\(\s*$Type\s*)\)/ && $av_pending eq '_') { 1549 if (defined $2 && $type eq 'C' || $type eq 'T') { 1551 } elsif ($type eq 'E') { 1582 if ($av_pend_colon eq 'C' || $av_pend_colon eq 'L') { 1597 if ($type eq 'V') { 1690 if ($level eq 'ERROR') { 1692 } elsif ($level eq 'WARNING') { 1932 } elsif (substr($line, $pos, 1) eq '(') { 2046 if (defined $edge && $edge eq '*/') { 2270 if ($suggested_email eq "") { 2996 } elsif ($prev_values eq 'E' && $s =~ /^.\s*(?:$Storage\s+)?(?:$Inline\s+)?(?:const\s+)?((?:\s*$Ident)+?)\b(?:\s+$Sparse)?\s*\**\s*(?:$Ident|\(\*[^\)]*\))(?:\s*$Modifier)?\s*(?:;|=|,|\()/s) { 3014 if ($prev_values eq 'E' && $s =~ /^(.(?:typedef\s*)?(?:(?:$Storage|$Inline)\s*)*\s*$Type\s*(?:\b$Ident|\(\*\s*$Ident\))\s*)\(/s) { 3541 $level = "warn" if ($level eq "warning"); 3543 $level2 = "dbg" if ($level eq "debug"); 3560 $level = "warn" if ($level eq "warning"); 3561 $level = "dbg" if ($level eq "debug"); 3798 $a = 'O' if ($elements[$n] eq ''); 3809 $c = 'O' if ($elements[$n + 2] eq ''); 3836 } elsif ($op eq ';') { 3847 } elsif ($op eq '//') { 3850 } elsif ($opv eq ':B') { 3855 } elsif ($op eq '->') { 3868 } elsif ($op eq ',') { 3898 } elsif ($opv eq '*_') { 3904 } elsif ($op eq '!' || $op eq '~' || 3905 $opv eq '*U' || $opv eq '-U' || 3906 $opv eq '&U' || $opv eq '&&U') { 3916 if ($op eq '*' && $cc =~/\s*$Modifier\b/) { 3931 } elsif ($op eq '++' or $op eq '--') { 3959 } elsif ($op eq '<<' or $op eq '>>' or 3960 $op eq '&' or $op eq '^' or $op eq '|' or 3961 $op eq '+' or $op eq '-' or 3962 $op eq '*' or $op eq '/' or 3963 $op eq '%') 3993 } elsif ($opv eq ':C' || $opv eq ':L') { 4007 if (($op eq '<' && 4009 ($op eq '>' && 4018 if (($op eq ':') && 4026 $msg_type = \&CHK if (($op eq '?:' || $op eq '?' || $op eq ':') && $ctx =~ /VxV/); 4230 $msg = " - maybe == should be = ?" if ($comp eq "=="); 4252 if ($comp eq "<") { 4254 } elsif ($comp eq "<=") { 4256 } elsif ($comp eq ">") { 4258 } elsif ($comp eq ">=") { 4668 if ($realfile eq 'vmlinux.lds.h' && $line =~ /(?:(?:^|\s)$Ident\s*=|=\s*$Ident(?:\s|$))/) { 4978 $equal = "" if ($4 eq "!="); 5000 $fixed[$fixlinenr] =~ s/(\bstatic\s+(?:const\s+)?)(?:$attr\s+)?($NonptrTypeWithAttr)\s+(?:$attr\s+)?($Ident(?:\[[^]]*\])?)\s*([=;])\s*/"$1" . trim(string_find_replace($2, "\\s*$attr\\s*", " ")) . " " . trim(string_find_replace($3, "\\s*$attr\\s*", "")) . " $attr" . ("$4" eq ";" ? ";" : " = ")/e; 5368 if ($min eq $max) { 5487 $newfunc = "kcalloc" if ($oldfunc eq "kzalloc"); 5611 if (("$test" eq "==" && "$type" eq "true") || 5612 ("$test" eq "!=" && "$type" eq "false")) {
|
H A D | namespace.pl | 295 $type = 'R' if ($type eq '?'); # binutils replaced ? with R at one point 348 if ($name eq (split(' ', $nmdata->[$i], 2))[1]) { 352 if ($def{$name}[$j] eq $object) { 369 if($def{$name}[0] eq "kernel/sys_ni.o" || 370 $def{$name}[1] eq "kernel/sys_ni.o") { 393 if ($type eq "U" || $type eq "w") { 402 if ($nmdata->[$j] eq $kstrtab || 403 $nmdata->[$j] eq $ksymtab) { 432 printf "weak " if ($type eq "w");
|
H A D | coccicheck | 93 if [ $VERBOSE -eq 2 ] ; then 102 if [ $VERBOSE -eq 2 ] ; then 118 if [ $VERBOSE -ne 0 -a $ONLINE -eq 0 ] ; then
|
H A D | headerdep.pl | 133 $header->[1] eq $last->[1] ? ' <-- here' : ''; 152 if(grep { $_->[1] eq $dep->[1] } @$top) {
|
H A D | gfp-translate | 67 if [ $? -eq 0 ]; then
|
H A D | markup_oops.pl | 188 if ($target eq "0") { 195 if ($modulefile eq "") { 200 if ($filename eq "") { 256 if ($val eq $target) {
|
H A D | gen_initramfs_list.sh | 116 [ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0 117 [ "$root_gid" = "squash" ] && gid=0 || [ "$gid" -eq "$root_gid" ] && gid=0 195 if [ $2 -eq 0 -a ${is_cpio} = "cpio" ]; then
|
H A D | kernel-doc-xml-ref | 52 if ($cmd eq "-db") {
|
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_qmr.c | 256 struct ehea_eq *eq; ehea_create_eq() local 258 eq = kzalloc(sizeof(*eq), GFP_KERNEL); ehea_create_eq() 259 if (!eq) ehea_create_eq() 262 eq->adapter = adapter; ehea_create_eq() 263 eq->attr.type = type; ehea_create_eq() 264 eq->attr.max_nr_of_eqes = max_nr_of_eqes; ehea_create_eq() 265 eq->attr.eqe_gen = eqe_gen; ehea_create_eq() 266 spin_lock_init(&eq->spinlock); ehea_create_eq() 269 &eq->attr, &eq->fw_handle); ehea_create_eq() 275 ret = hw_queue_ctor(&eq->hw_queue, eq->attr.nr_pages, ehea_create_eq() 278 pr_err("can't allocate eq pages\n"); ehea_create_eq() 282 for (i = 0; i < eq->attr.nr_pages; i++) { ehea_create_eq() 283 vpage = hw_qpageit_get_inc(&eq->hw_queue); ehea_create_eq() 294 eq->fw_handle, rpage, 1); ehea_create_eq() 296 if (i == (eq->attr.nr_pages - 1)) { ehea_create_eq() 298 vpage = hw_qpageit_get_inc(&eq->hw_queue); ehea_create_eq() 309 hw_qeit_reset(&eq->hw_queue); ehea_create_eq() 310 return eq; ehea_create_eq() 313 hw_queue_dtor(&eq->hw_queue); ehea_create_eq() 316 ehea_h_free_resource(adapter->handle, eq->fw_handle, FORCE_FREE); ehea_create_eq() 319 kfree(eq); ehea_create_eq() 323 struct ehea_eqe *ehea_poll_eq(struct ehea_eq *eq) ehea_poll_eq() argument 328 spin_lock_irqsave(&eq->spinlock, flags); ehea_poll_eq() 329 eqe = hw_eqit_eq_get_inc_valid(&eq->hw_queue); ehea_poll_eq() 330 spin_unlock_irqrestore(&eq->spinlock, flags); ehea_poll_eq() 335 static u64 ehea_destroy_eq_res(struct ehea_eq *eq, u64 force) ehea_destroy_eq_res() argument 340 spin_lock_irqsave(&eq->spinlock, flags); ehea_destroy_eq_res() 342 hret = ehea_h_free_resource(eq->adapter->handle, eq->fw_handle, force); ehea_destroy_eq_res() 343 spin_unlock_irqrestore(&eq->spinlock, flags); ehea_destroy_eq_res() 348 hw_queue_dtor(&eq->hw_queue); ehea_destroy_eq_res() 349 kfree(eq); ehea_destroy_eq_res() 354 int ehea_destroy_eq(struct ehea_eq *eq) ehea_destroy_eq() argument 357 if (!eq) ehea_destroy_eq() 360 hcp_epas_dtor(&eq->epas); ehea_destroy_eq() 362 hret = ehea_destroy_eq_res(eq, NORMAL_FREE); ehea_destroy_eq() 364 ehea_error_data(eq->adapter, eq->fw_handle, &aer, &aerr); ehea_destroy_eq() 365 hret = ehea_destroy_eq_res(eq, FORCE_FREE); ehea_destroy_eq()
|
H A D | ehea_qmr.h | 374 int ehea_destroy_eq(struct ehea_eq *eq); 376 struct ehea_eqe *ehea_poll_eq(struct ehea_eq *eq);
|
H A D | ehea_main.c | 213 arr[i++].fwh = pr->eq->fw_handle; ehea_update_firmware_handles() 1317 ret = ibmebus_request_irq(pr->eq->attr.ist1, ehea_reg_interrupts() 1322 i, pr->eq->attr.ist1); ehea_reg_interrupts() 1327 pr->eq->attr.ist1, i); ehea_reg_interrupts() 1335 u32 ist = port->port_res[i].eq->attr.ist1; ehea_reg_interrupts() 1357 ibmebus_free_irq(pr->eq->attr.ist1, pr); ehea_free_interrupts() 1360 i, pr->eq->attr.ist1); ehea_free_interrupts() 1487 pr->eq = ehea_create_eq(adapter, eq_type, EHEA_MAX_ENTRIES_EQ, 0); ehea_init_port_res() 1488 if (!pr->eq) { ehea_init_port_res() 1489 pr_err("create_eq failed (eq)\n"); ehea_init_port_res() 1494 pr->eq->fw_handle, ehea_init_port_res() 1502 pr->eq->fw_handle, ehea_init_port_res() 1588 ehea_destroy_eq(pr->eq); ehea_init_port_res() 1605 ehea_destroy_eq(pr->eq); ehea_clean_portres()
|
H A D | ehea.h | 366 struct ehea_eq *eq; member in struct:ehea_port_res
|
/linux-4.4.14/tools/testing/selftests/pstore/ |
H A D | pstore_post_reboot_tests | 21 if [ $? -eq 0 ]; then 26 if [ $? -eq 0 ]; then 59 if [ $? -eq 0 ]; then 61 if [ $nr_matched -eq 1 ]; then
|
H A D | common_tests | 21 if [ $1 -eq 0 ]; then 42 if [ $1 -eq 0 ]; then
|
/linux-4.4.14/tools/vm/ |
H A D | slabinfo-gnuplot.sh | 75 if [ $? -ne 0 ] || [ "$wc_lines" -eq 0 ] ; then 105 if [ $? -eq 0 ]; then 143 if [ $? -eq 0 ]; then 162 if [ $? -eq 0 ]; then 171 if [ $? -eq 0 ]; then 178 if [ $? -eq 0 ]; then 251 if [ ${#files[@]} -eq 0 ] && [ ${#t_files[@]} -eq 0 ]; then
|
/linux-4.4.14/arch/hexagon/lib/ |
H A D | memset.S | 42 p0 = cmp.eq(r2, #0) 72 p1 = cmp.eq(r2, #1) 85 p1 = cmp.eq(r2, #2) 98 p1 = cmp.eq(r2, #4) 111 p1 = cmp.eq(r3, #1) 127 p1 = cmp.eq(r2, #8) 138 p1 = cmp.eq(r2, #4) 149 p1 = cmp.eq(r2, #2) 193 p1 = cmp.eq(r2, #1) 209 p0 = cmp.eq(r2, #2) 220 p0 = cmp.eq(r2, #4) 295 p0 = cmp.eq(r2,#1)
|
H A D | memcpy.S | 199 p2 = cmp.eq(len, #0); /* =0 */ 202 p1 = cmp.eq(ptr_in, ptr_out); /* attempt to overwrite self */ 275 p1 = cmp.eq(prolog, #0); 281 nokernel = cmp.eq(kernel,#0); 290 p2 = cmp.eq(kernel, #1); /* skip ovr if kernel == 0 */ 360 nokernel = cmp.eq(kernel, #0); /* after adjustment, recheck */ 381 p3 = cmp.eq(kernel, rest); 450 noepilog = cmp.eq(epilog,#0); 457 p3 = cmp.eq(epilogdws, #0); 469 p3 = cmp.eq(kernel, #0);
|
/linux-4.4.14/arch/hexagon/mm/ |
H A D | strnlen_user.S | 52 P0 = cmp.eq(mod8,#0); 63 P0 = cmp.eq(tmp1,#0); 70 P0 = cmp.eq(mod8,#0); 84 P0 = vcmpb.eq(dbuf,dcmp); 96 P0 = cmp.eq(tmp1,#32);
|
/linux-4.4.14/arch/ia64/hp/sim/boot/ |
H A D | boot_head.S | 71 static: cmp.eq p6,p7=PAL_PTCE_INFO,r28 79 1: cmp.eq p6,p7=PAL_FREQ_RATIOS,r28 86 1: cmp.eq p6,p7=PAL_RSE_INFO,r28 93 1: cmp.eq p6,p7=PAL_CACHE_FLUSH,r28 /* PAL_CACHE_FLUSH */ 111 1: cmp.eq p6,p7=PAL_PERF_MON_INFO,r28 147 1: cmp.eq p6,p7=PAL_VM_SUMMARY,r28 156 1: cmp.eq p6,p7=PAL_MEM_ATTRIB,r28
|
/linux-4.4.14/arch/arm64/kernel/ |
H A D | entry.S | 290 b.eq el1_da 292 b.eq el1_undef 294 b.eq el1_sp_pc 296 b.eq el1_sp_pc 298 b.eq el1_undef 338 cinc x24, x24, eq // set bit '0' 396 b.eq el0_svc 398 b.eq el0_da 400 b.eq el0_ia 402 b.eq el0_fpsimd_acc 404 b.eq el0_fpsimd_exc 406 b.eq el0_undef 408 b.eq el0_sp_pc 410 b.eq el0_sp_pc 412 b.eq el0_undef 424 b.eq el0_svc_compat 426 b.eq el0_da 428 b.eq el0_ia 430 b.eq el0_fpsimd_acc 432 b.eq el0_fpsimd_exc 434 b.eq el0_sp_pc 436 b.eq el0_undef 438 b.eq el0_undef 440 b.eq el0_undef 442 b.eq el0_undef 444 b.eq el0_undef 446 b.eq el0_undef 704 b.eq __sys_trace_return_skipped
|
H A D | efi-entry.S | 54 b.eq efi_load_fail
|
H A D | entry-ftrace.S | 105 b.eq skip_ftrace_call // != ftrace_stub) {
|
H A D | sleep.S | 116 csel x0, x3, x0, eq
|
/linux-4.4.14/arch/arm64/lib/ |
H A D | strncmp.S | 98 ccmp endloop, #0, #0, eq 99 b.eq .Lloop_aligned 106 b.eq .Lnot_limit 177 b.eq .Ltinycmp 181 b.eq .Lstart_align /*the last bytes are equal....*/ 191 b.eq .Lrecal_offset 206 ccmp endloop, #0, #0, eq /*has_null is ZERO: no null byte*/ 228 csinv endloop, diff, xzr, eq 240 ccmp endloop, #0, #0, eq /*has_null is ZERO: no null byte*/ 241 b.eq .Lloopcmp_proc 295 b.eq .Lret0 303 b.eq .Ltiny8proc
|
H A D | memcmp.S | 88 b.eq .Lnot_limit 157 b.eq .Ltinycmp 160 b.eq .Lstart_align 170 b.eq .Lrecal_offset 244 b.eq .Lret0 252 b.eq .Ltiny8proc
|
H A D | memmove.S | 75 b.eq .LSrcAligned 112 b.eq .Ltail15 114 b.eq 1f
|
H A D | memset.S | 87 b.eq .Laligned 106 b.eq 3f 108 b.eq 1f 184 b.eq 2f /* Already aligned. */
|
H A D | strlen.S | 84 ccmp has_nul1, #0, #0, eq /* NZCV = 0000 */ 85 b.eq .Lloop
|
H A D | copy_template.S | 61 b.eq .LSrcAligned 98 b.eq .Ltiny15 100 b.eq 1f
|
H A D | strcmp.S | 129 b.eq .Ltinycmp 133 b.eq .Lstart_align /*the last bytes are equal....*/ 140 b.eq .Lrecal_offset
|
H A D | strnlen.S | 95 b.eq .Lloop
|
/linux-4.4.14/Documentation/trace/postprocess/ |
H A D | trace-pagealloc-postprocess.pl | 145 if ($statline eq '') { 207 if ($opt_read_procstat && $process eq '') { 224 if ($tracepoint eq "mm_page_alloc") { 226 } elsif ($tracepoint eq "mm_page_free") { 228 } elsif ($tracepoint eq "mm_page_free_batched") { 230 } elsif ($tracepoint eq "mm_page_pcpu_drain") { 233 } elsif ($tracepoint eq "mm_page_alloc_zone_locked") { 236 } elsif ($tracepoint eq "mm_page_alloc_extfrag") { 361 if ($process eq '') {
|
H A D | trace-vmscan-postprocess.pl | 237 if ($statline eq '') { 287 if ($process eq "") { 295 if ($opt_read_procstat && $process eq '') { 304 if ($tracepoint eq "mm_vmscan_direct_reclaim_begin") { 319 } elsif ($tracepoint eq "mm_vmscan_direct_reclaim_end") { 331 } elsif ($tracepoint eq "mm_vmscan_kswapd_wake") { 351 } elsif ($tracepoint eq "mm_vmscan_kswapd_sleep") { 363 } elsif ($tracepoint eq "mm_vmscan_wakeup_kswapd") { 375 } elsif ($tracepoint eq "mm_vmscan_lru_isolate") { 400 } elsif ($tracepoint eq "mm_vmscan_lru_shrink_inactive") { 421 } elsif ($tracepoint eq "mm_vmscan_writepage") { 672 if ($process eq '') {
|
/linux-4.4.14/tools/testing/selftests/ |
H A D | kselftest_install.sh | 19 if [ "$#" -eq 0 ]; then
|
H A D | gen_kselftest_tar.sh | 14 if [ "$#" -eq 0 ]; then
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
H A D | check-lxdialog.sh | 12 if [ $? -eq 0 ]; then 67 if [ $# -eq 0 ]; then
|
/linux-4.4.14/drivers/clk/spear/ |
H A D | clk-aux-synth.c | 23 * Aux synth gives rate for different values of eq, x and y 49 u8 eq = rtbl[index].eq ? 1 : 2; aux_calc_rate() local 52 (rtbl[index].yscale * eq)) * 10000; aux_calc_rate() 115 val |= (rtbl[i].eq & aux->masks->eq_sel_mask) << clk_aux_set_rate()
|
H A D | spear1340_clock.c | 267 {.xscale = 5, .yscale = 122, .eq = 0}, 269 {.xscale = 10, .yscale = 204, .eq = 0}, 271 {.xscale = 4, .yscale = 25, .eq = 0}, 273 {.xscale = 4, .yscale = 21, .eq = 0}, 275 {.xscale = 5, .yscale = 18, .eq = 0}, 277 {.xscale = 2, .yscale = 6, .eq = 0}, 279 {.xscale = 5, .yscale = 12, .eq = 0}, 281 {.xscale = 2, .yscale = 4, .eq = 0}, 283 {.xscale = 5, .yscale = 18, .eq = 1}, 285 {.xscale = 1, .yscale = 3, .eq = 1}, 287 {.xscale = 5, .yscale = 12, .eq = 1}, 289 {.xscale = 1, .yscale = 2, .eq = 1}, 295 {.xscale = 2, .yscale = 6, .eq = 0}, /* divided by 6 */ 296 {.xscale = 2, .yscale = 4, .eq = 0}, /* divided by 4 */ 297 {.xscale = 1, .yscale = 3, .eq = 1}, /* divided by 3 */ 298 {.xscale = 1, .yscale = 2, .eq = 1}, /* divided by 2 */ 353 {.xscale = 1, .yscale = 12, .eq = 0}, /* 2.048 MHz, smp freq = 8Khz */ 354 {.xscale = 11, .yscale = 96, .eq = 0}, /* 2.816 MHz, smp freq = 11Khz */ 355 {.xscale = 1, .yscale = 6, .eq = 0}, /* 4.096 MHz, smp freq = 16Khz */ 356 {.xscale = 11, .yscale = 48, .eq = 0}, /* 5.632 MHz, smp freq = 22Khz */ 362 {.xscale = 1, .yscale = 3, .eq = 0}, 365 {.xscale = 17, .yscale = 37, .eq = 0}, /* 11.289 MHz, smp freq = 44Khz*/ 366 {.xscale = 1, .yscale = 2, .eq = 0}, /* 12.288 MHz, smp freq = 48Khz*/ 372 {.xscale = 1, .yscale = 4, .eq = 0}, 373 {.xscale = 1, .yscale = 2, .eq = 0}, 380 {.xscale = 1, .yscale = 31, .eq = 0}, /* 2.68 MHz */ 381 {.xscale = 2, .yscale = 21, .eq = 0}, /* 7.94 MHz */ 382 {.xscale = 4, .yscale = 21, .eq = 0}, /* 15.87 MHz */ 383 {.xscale = 10, .yscale = 42, .eq = 0}, /* 19.84 MHz */
|
H A D | spear1310_clock.c | 255 {.xscale = 10, .yscale = 204, .eq = 0}, /* 12.29 MHz */ 256 {.xscale = 4, .yscale = 21, .eq = 0}, /* 48 MHz */ 257 {.xscale = 2, .yscale = 6, .eq = 0}, /* 83 MHz */ 258 {.xscale = 2, .yscale = 4, .eq = 0}, /* 125 MHz */ 259 {.xscale = 1, .yscale = 3, .eq = 1}, /* 166 MHz */ 260 {.xscale = 1, .yscale = 2, .eq = 1}, /* 250 MHz */ 266 {.xscale = 2, .yscale = 6, .eq = 0}, /* divided by 6 */ 267 {.xscale = 2, .yscale = 4, .eq = 0}, /* divided by 4 */ 268 {.xscale = 1, .yscale = 3, .eq = 1}, /* divided by 3 */ 269 {.xscale = 1, .yscale = 2, .eq = 1}, /* divided by 2 */ 314 {.xscale = 1, .yscale = 12, .eq = 0}, /* 2.048 MHz, smp freq = 8Khz */ 315 {.xscale = 11, .yscale = 96, .eq = 0}, /* 2.816 MHz, smp freq = 11Khz */ 316 {.xscale = 1, .yscale = 6, .eq = 0}, /* 4.096 MHz, smp freq = 16Khz */ 317 {.xscale = 11, .yscale = 48, .eq = 0}, /* 5.632 MHz, smp freq = 22Khz */ 323 {.xscale = 1, .yscale = 3, .eq = 0}, 326 {.xscale = 17, .yscale = 37, .eq = 0}, /* 11.289 MHz, smp freq = 44Khz*/ 328 {.xscale = 1, .yscale = 2, .eq = 0}, /* 12.288 MHz */ 334 {.xscale = 1, .yscale = 4, .eq = 0}, /* 1.53 MHz */ 335 {.xscale = 1, .yscale = 2, .eq = 0}, /* 3.07 Mhz */ 342 {.xscale = 1, .yscale = 31, .eq = 0}, /* 2.68 MHz */ 343 {.xscale = 2, .yscale = 21, .eq = 0}, /* 7.94 MHz */ 344 {.xscale = 4, .yscale = 21, .eq = 0}, /* 15.87 MHz */ 345 {.xscale = 10, .yscale = 42, .eq = 0}, /* 19.84 MHz */
|
H A D | spear3xx_clock.c | 109 {.xscale = 1, .yscale = 81, .eq = 0}, /* 2.049 MHz */ 110 {.xscale = 1, .yscale = 59, .eq = 0}, /* 2.822 MHz */ 111 {.xscale = 2, .yscale = 81, .eq = 0}, /* 4.098 MHz */ 112 {.xscale = 3, .yscale = 89, .eq = 0}, /* 5.644 MHz */ 113 {.xscale = 4, .yscale = 81, .eq = 0}, /* 8.197 MHz */ 114 {.xscale = 4, .yscale = 59, .eq = 0}, /* 11.254 MHz */ 115 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 116 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 117 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 118 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
|
H A D | spear6xx_clock.c | 93 {.xscale = 2, .yscale = 27, .eq = 0}, /* 12.296 MHz */ 94 {.xscale = 2, .yscale = 8, .eq = 0}, /* 41.5 MHz */ 95 {.xscale = 2, .yscale = 4, .eq = 0}, /* 83 MHz */ 96 {.xscale = 1, .yscale = 2, .eq = 1}, /* 166 MHz */
|
H A D | clk.h | 46 u8 eq; member in struct:aux_rate_tbl
|
/linux-4.4.14/tools/testing/ktest/ |
H A D | ktest.pl | 660 if ($rtype eq "grub") { 664 if ($rtype eq "grub2") { 669 if ($rtype eq "syslinux") { 795 if ($cmp eq "==") { 796 return $lval eq $rval; 797 } elsif ($cmp eq "!=") { 799 } elsif ($cmp eq "=~") { 801 } elsif ($cmp eq "!~") { 848 if ($op eq "||") { 852 if ($op eq "&&") { 931 if ($type eq "TEST_START") { 981 if ($type eq "TEST_START") { 998 if ($skip && $type eq "TEST_START") { 1080 ($lvalue eq "NUM_TESTS" || 1081 $lvalue eq "LOG_FILE" || 1082 $lvalue eq "CLEAR_LOG")) { 1086 if ($lvalue eq "NUM_TESTS") { 1239 if (($var eq $name) && defined($opt{$var})) { 1251 } elsif ($var eq "KERNEL_VERSION" && defined($make)) { 1386 return $test_type eq "build" || $no_reboot || 1387 ($test_type eq "patchcheck" && $opt{"PATCHCHECK_TYPE[$i]"} eq "build") || 1388 ($test_type eq "bisect" && $opt{"BISECT_TYPE[$i]"} eq "build"); 1762 $last_grub_menu eq $grub_menu && defined($last_machine) && 1763 $last_machine eq $machine); 1796 if ($reboot_type eq "grub2") { 1805 $last_grub_menu eq $grub_menu && defined($last_machine) && 1806 $last_machine eq $machine); 1874 last if ($ch eq "\n"); 1890 if ($reboot_type eq "grub") { 1892 } elsif ($reboot_type eq "grub2") { 1894 } elsif ($reboot_type eq "syslinux") { 2030 if ($1 eq $version) { 2298 if ($file eq $err || $fullpath eq $err) { 2409 if ($type eq "oldconfig") { 2527 if ($ans eq "p" || $ans eq "P") { 2529 } elsif ($ans eq "f" || $ans eq "F") { 2531 } elsif ($ans eq "s" || $ans eq "S") { 2659 if ($bisect_ret_default eq "good") { 2661 } elsif ($bisect_ret_default eq "bad") { 2663 } elsif ($bisect_ret_default eq "skip") { 2665 } elsif ($bisect_ret_default eq "abort") { 2856 if ($type eq "test" && !defined($run_test)) { 3399 if ($type eq "test" && !defined($run_test)) { 3456 if ($item eq $list[0] || 3457 $item eq $list[$#list]) { 3477 next if ($type eq "build"); 3576 } elsif ($state eq "NEW" && /^\s*depends\s+on\s+(.*)$/) { 3581 } elsif ($state eq "NEW" && /^\s*select\s+(\S+)/) { 3638 if ($arch eq "i386" || $arch eq "x86_64") { 3947 if ($type eq "test" && !$failed) { 4022 if ($build_type eq "nobuild") { 4252 if ($reboot_type eq "grub") { 4254 } elsif ($reboot_type eq "grub2") { 4257 } elsif ($reboot_type eq "syslinux") { 4263 if ($test_type eq "patchcheck") { 4265 } elsif ($test_type eq "bisect") { 4267 } elsif ($test_type eq "config_bisect") { 4269 } elsif ($test_type eq "make_min_config") { 4271 } elsif ($test_type eq "make_warnings_file") { 4322 if ($test_type eq "bisect") { 4325 } elsif ($test_type eq "config_bisect") { 4328 } elsif ($test_type eq "patchcheck") { 4331 } elsif ($test_type eq "make_min_config") { 4334 } elsif ($test_type eq "make_warnings_file") { 4345 if ($test_type eq "install") {
|
/linux-4.4.14/net/dns_resolver/ |
H A D | dns_key.c | 89 const char *eq; dns_resolver_preparse() local 100 eq = memchr(opt, '=', opt_len) ?: end; dns_resolver_preparse() 101 opt_nlen = eq - opt; dns_resolver_preparse() 102 eq++; dns_resolver_preparse() 103 opt_vlen = next_opt - eq; /* will be -1 if no value */ dns_resolver_preparse() 107 opt_nlen, opt_nlen, opt, tmp, tmp, eq); dns_resolver_preparse() 117 ret = kstrtoul(eq, 10, &derrno); dns_resolver_preparse()
|
/linux-4.4.14/arch/ia64/lib/ |
H A D | strlen.S | 102 cmp.eq p6,p0=r0,r0 // sets p6 to true for cmp.and 117 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 118 cmp.eq.and p6,p0=8,val2 // p6 = p6 and mask==8 128 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 135 cmp.eq.and p7,p0=8,val1// val1==8? 172 cmp.eq p0,p6=r0,r0 // nullify first ld8 in loop 182 cmp.eq p6,p0=8,val1 // val1==8 ?
|
H A D | strlen_user.S | 104 cmp.eq p6,p0=r0,r0 // sets p6 (required because of // cmp.and) 120 cmp.eq.and p6,p0=8,val1 // p6 = p6 and val1==8 121 cmp.eq.and p6,p0=8,val2 // p6 = p6 and mask==8 131 cmp.eq p8,p9=8,val1 // p6 = val1 had zero (disambiguate) 138 cmp.eq.and p7,p0=8,val1// val1==8? 169 cmp.eq p0,p6=r0,r0 // nullify first ld8 in loop 179 cmp.eq p6,p0=8,val1 // val1==8 ?
|
H A D | memcpy_mck.S | 142 cmp.eq p10,p0=r29,r0 // do we really need to loop? 148 cmp.eq p16,p17 = r0,r0 215 cmp.eq p16, p0 = r0, r0 // reset p16 to 1 317 cmp.eq p8,p9=r22,r0 // do we really need to loop? 342 cmp.eq p16,p17=r0,r0 486 cmp.eq p6,p7=r28,r29 598 fcmp.eq p8,p0=f6,f0 // is it memcpy?
|
H A D | memset.S | 67 cmp.eq p_scr, p0 = cnt, r0 256 cmp.eq p_scr, p0 = loopcnt, r0 297 cmp.eq p_scr, p0 = cnt, r0
|
H A D | clear_user.S | 58 cmp.eq p6,p0=r0,len // check for zero length 120 cmp.eq p6,p0=r0,cnt
|
H A D | copy_user.S | 85 cmp.eq p8,p0=r0,len // check for zero length 155 cmp.eq p14,p15=r0,dst2 233 #define SWITCH(pred, shift) cmp.eq pred,p0=shift,rshift 322 cmp.eq p10,p8=r0,tmp 363 cmp.eq p7,p0=r0,cnt
|
H A D | do_csum.S | 157 cmp.eq p8,p9=last,first1 // everything fits in one word ? 187 cmp.eq.or.andcm p8,p0=0,count // exit if zero 8-byte 195 cmp.eq p9,p10=1,count // if (count == 1)
|
H A D | copy_page_mck.S | 136 cmp.eq p16, p0 = r0, r0 // reset p16 to 1 (br.ctop cleared it to zero)
|
H A D | memcpy.S | 61 cmp.eq p6,p0=in2,r0 // zero length?
|
/linux-4.4.14/drivers/net/ethernet/tile/ |
H A D | tilepro.c | 201 lepp_queue_t *eq; member in struct:tile_net_priv 202 /* Protects "eq". */ 526 static unsigned int tile_net_lepp_grab_comps(lepp_queue_t *eq, tile_net_lepp_grab_comps() argument 533 unsigned int comp_head = eq->comp_head; tile_net_lepp_grab_comps() 534 unsigned int comp_busy = eq->comp_busy; tile_net_lepp_grab_comps() 537 comps[n++] = eq->comps[comp_head]; tile_net_lepp_grab_comps() 544 eq->comp_head = comp_head; tile_net_lepp_grab_comps() 557 lepp_queue_t *eq = priv->eq; tile_net_lepp_free_comps() local 567 eq->comp_busy = eq->comp_tail; tile_net_lepp_free_comps() 569 n = tile_net_lepp_grab_comps(eq, olds, wanted, 0); tile_net_lepp_free_comps() 571 pending = (eq->comp_head != eq->comp_tail); tile_net_lepp_free_comps() 937 .pa = __pa(priv->eq), tile_net_open_aux() 1586 memset(priv->eq, 0, sizeof(lepp_queue_t)); tile_net_stop() 1733 lepp_queue_t *eq = priv->eq; tile_net_tx_tso() local 1762 prefetch_L1(&eq->comp_tail); tile_net_tx_tso() 1763 prefetch_L1(&eq->cmd_tail); tile_net_tx_tso() 1773 if (lepp_num_free_comp_slots(eq) == 0) { tile_net_tx_tso() 1774 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 0); tile_net_tx_tso() 1782 cmd_head = eq->cmd_head; tile_net_tx_tso() 1783 cmd_tail = eq->cmd_tail; tile_net_tx_tso() 1797 memcpy(&eq->cmds[cmd_tail], cmd, cmd_size); tile_net_tx_tso() 1803 comp_tail = eq->comp_tail; tile_net_tx_tso() 1804 eq->comps[comp_tail] = skb; tile_net_tx_tso() 1806 eq->comp_tail = comp_tail; tile_net_tx_tso() 1812 eq->cmd_tail = cmd_tail; tile_net_tx_tso() 1818 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 4); tile_net_tx_tso() 1862 lepp_queue_t *eq = priv->eq; tile_net_tx() local 1942 prefetch_L1(&eq->comp_tail); tile_net_tx() 1943 prefetch_L1(&eq->cmd_tail); tile_net_tx() 1953 if (lepp_num_free_comp_slots(eq) == 0) { tile_net_tx() 1954 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 0); tile_net_tx() 1962 cmd_head = eq->cmd_head; tile_net_tx() 1963 cmd_tail = eq->cmd_tail; tile_net_tx() 1980 *(lepp_cmd_t *)&eq->cmds[cmd_tail] = cmds[i]; tile_net_tx() 1987 comp_tail = eq->comp_tail; tile_net_tx() 1988 eq->comps[comp_tail] = skb; tile_net_tx() 1990 eq->comp_tail = comp_tail; tile_net_tx() 1996 eq->cmd_tail = cmd_tail; tile_net_tx() 2002 nolds = tile_net_lepp_grab_comps(eq, olds, wanted, 4); tile_net_tx() 2312 /* Allocate "eq". */ tile_net_dev_init() 2318 priv->eq = page_address(priv->eq_pages); tile_net_dev_init() 2357 finv_buffer_remote(priv->eq, EQ_SIZE, 0); tile_net_cleanup()
|
/linux-4.4.14/arch/sh/lib/ |
H A D | memcpy.S | 89 cmp/eq r4,r0 141 cmp/eq r4,r0 169 cmp/eq r4,r0 223 cmp/eq r4,r0
|
H A D | memmove.S | 103 cmp/eq r5,r0 160 cmp/eq r5,r0 189 cmp/eq r5,r0 249 cmp/eq r5,r0
|
H A D | checksum.S | 117 cmp/eq #1, r0 135 cmp/eq #1, r0 149 cmp/eq r1, r5 224 cmp/eq r1,r0 268 cmp/eq #1,r0 329 cmp/eq #1,r0 348 cmp/eq #1,r0 363 cmp/eq r1,r6
|
H A D | mcount.S | 104 cmp/eq r6, r7 115 cmp/eq r6, r7 125 cmp/eq r6, r7
|
H A D | udivsi3_i4i-Os.S | 51 cmp/eq r5,r0 121 cmp/eq r5,r0 130 cmp/eq r5,r0
|
H A D | udivsi3.S | 51 cmp/eq r5,r0
|
H A D | udivsi3_i4i.S | 70 cmp/eq r5,r1 198 cmp/eq r5,r0 263 cmp/eq r5,r0
|
H A D | copy_page.S | 59 cmp/eq r11,r8
|
/linux-4.4.14/arch/hexagon/include/asm/ |
H A D | spinlock.h | 102 " { P3 = cmp.eq(R6,#0); R6 = #-1;}\n" arch_write_lock() 118 " { %0 = #0; P3 = cmp.eq(R6,#0); R6 = #-1;}\n" arch_write_trylock() 141 " P3 = cmp.eq(R6,#0);\n" arch_spin_lock() 163 " P3 = cmp.eq(R6,#0);\n" arch_spin_trylock()
|
H A D | atomic.h | 84 " { P0 = cmp.eq(%0,%2);\n" atomic_cmpxchg() 161 " p3 = cmp.eq(%0, %4);" __atomic_add_unless()
|
H A D | cmpxchg.h | 77 " { P0 = cmp.eq(%0,%2);\n" \
|
H A D | futex.h | 115 " p2 = cmp.eq(%1,%4)\n" futex_atomic_cmpxchg_inatomic()
|
H A D | bitops.h | 239 asm("{ P0 = cmp.eq(%1,#0); %0 = ct0(%1);}\n" ffs()
|
/linux-4.4.14/arch/sh/boot/compressed/ |
H A D | head_32.S | 21 cmp/eq r2, r0 71 cmp/eq r1,r2
|
/linux-4.4.14/tools/perf/scripts/perl/ |
H A D | rw-by-file.pl | 33 if ($common_comm eq $for_comm) { 44 if ($common_comm eq $for_comm) {
|
/linux-4.4.14/drivers/firmware/broadcom/ |
H A D | bcm47xx_nvram.c | 177 char *var, *value, *end, *eq; bcm47xx_nvram_getenv() local 193 eq = strchr(var, '='); bcm47xx_nvram_getenv() 194 if (!eq) bcm47xx_nvram_getenv() 196 value = eq + 1; bcm47xx_nvram_getenv() 197 if (eq - var == strlen(name) && bcm47xx_nvram_getenv() 198 strncmp(var, name, eq - var) == 0) bcm47xx_nvram_getenv()
|
/linux-4.4.14/arch/powerpc/kernel/vdso32/ |
H A D | gettimeofday.S | 77 cror cr0*4+eq,cr0*4+eq,cr1*4+eq 159 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
|
/linux-4.4.14/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 110 static inline void *ocrdma_get_eqe(struct ocrdma_eq *eq) ocrdma_get_eqe() argument 112 return eq->q.va + (eq->q.tail * sizeof(struct ocrdma_eqe)); ocrdma_get_eqe() 115 static inline void ocrdma_eq_inc_tail(struct ocrdma_eq *eq) ocrdma_eq_inc_tail() argument 117 eq->q.tail = (eq->q.tail + 1) & (OCRDMA_EQ_LEN - 1); ocrdma_eq_inc_tail() 430 static int ocrdma_mbx_create_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) ocrdma_mbx_create_eq() argument 445 ocrdma_build_q_pages(&cmd->pa[0], cmd->num_pages, eq->q.dma, ocrdma_mbx_create_eq() 450 eq->q.id = rsp->vector_eqid & 0xffff; ocrdma_mbx_create_eq() 451 eq->vector = (rsp->vector_eqid >> 16) & 0xffff; ocrdma_mbx_create_eq() 452 eq->q.created = true; ocrdma_mbx_create_eq() 458 struct ocrdma_eq *eq, u16 q_len) ocrdma_create_eq() 462 status = ocrdma_alloc_q(dev, &eq->q, OCRDMA_EQ_LEN, ocrdma_create_eq() 467 status = ocrdma_mbx_create_eq(dev, eq); ocrdma_create_eq() 470 eq->dev = dev; ocrdma_create_eq() 471 ocrdma_ring_eq_db(dev, eq->q.id, true, true, 0); ocrdma_create_eq() 475 ocrdma_free_q(dev, &eq->q); ocrdma_create_eq() 479 int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) ocrdma_get_irq() argument 486 irq = dev->nic_info.msix.vector_list[eq->vector]; ocrdma_get_irq() 490 static void _ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) _ocrdma_destroy_eq() argument 492 if (eq->q.created) { _ocrdma_destroy_eq() 493 ocrdma_mbx_delete_q(dev, &eq->q, QTYPE_EQ); _ocrdma_destroy_eq() 494 ocrdma_free_q(dev, &eq->q); _ocrdma_destroy_eq() 498 static void ocrdma_destroy_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq) ocrdma_destroy_eq() argument 505 ocrdma_ring_eq_db(dev, eq->q.id, false, false, 0); ocrdma_destroy_eq() 507 irq = ocrdma_get_irq(dev, eq); ocrdma_destroy_eq() 508 free_irq(irq, eq); ocrdma_destroy_eq() 509 _ocrdma_destroy_eq(dev, eq); ocrdma_destroy_eq() 522 struct ocrdma_queue_info *eq) ocrdma_mbx_mq_cq_create() 538 cmd->eqn = eq->id; ocrdma_mbx_mq_cq_create() 993 struct ocrdma_eq *eq = handle; ocrdma_irq_handler() local 994 struct ocrdma_dev *dev = eq->dev; ocrdma_irq_handler() 999 int budget = eq->cq_cnt; ocrdma_irq_handler() 1002 ptr = ocrdma_get_eqe(eq); ocrdma_irq_handler() 1009 eq->q.id, eqe.id_valid); ocrdma_irq_handler() 1014 /* ring eq doorbell as soon as its consumed. */ ocrdma_irq_handler() 1015 ocrdma_ring_eq_db(dev, eq->q.id, false, true, 1); ocrdma_irq_handler() 1021 ocrdma_eq_inc_tail(eq); ocrdma_irq_handler() 1031 eq->aic_obj.eq_intr_cnt++; ocrdma_irq_handler() 1032 ocrdma_ring_eq_db(dev, eq->q.id, true, true, 0); ocrdma_irq_handler() 1852 /* shared eq between all the consumer cqs. */ ocrdma_mbx_create_cq() 3106 /* one eq is sufficient for data path to work */ ocrdma_create_eqs() 3113 static int ocrdma_mbx_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq, ocrdma_mbx_modify_eqd() argument 3128 cmd->cmd.set_eqd[i].eq_id = eq[i].q.id; ocrdma_mbx_modify_eqd() 3131 (eq[i].aic_obj.prev_eqd * 65)/100; ocrdma_mbx_modify_eqd() 3141 static int ocrdma_modify_eqd(struct ocrdma_dev *dev, struct ocrdma_eq *eq, ocrdma_modify_eqd() argument 3148 ocrdma_mbx_modify_eqd(dev, &eq[i], num_eqs); ocrdma_modify_eqd() 3153 ocrdma_mbx_modify_eqd(dev, eq, num); ocrdma_modify_eqd() 3162 struct ocrdma_eq *eq = 0; ocrdma_eqd_set_task() local 3167 eq = &dev->eq_tbl[i]; ocrdma_eqd_set_task() 3168 if (eq->aic_obj.eq_intr_cnt > eq->aic_obj.prev_eq_intr_cnt) { ocrdma_eqd_set_task() 3169 eq_intr = eq->aic_obj.eq_intr_cnt - ocrdma_eqd_set_task() 3170 eq->aic_obj.prev_eq_intr_cnt; ocrdma_eqd_set_task() 3172 (eq->aic_obj.prev_eqd == EQ_AIC_MIN_EQD)) { ocrdma_eqd_set_task() 3173 eq->aic_obj.prev_eqd = EQ_AIC_MAX_EQD; ocrdma_eqd_set_task() 3176 (eq->aic_obj.prev_eqd == EQ_AIC_MAX_EQD)) { ocrdma_eqd_set_task() 3177 eq->aic_obj.prev_eqd = EQ_AIC_MIN_EQD; ocrdma_eqd_set_task() 3181 eq->aic_obj.prev_eq_intr_cnt = eq->aic_obj.eq_intr_cnt; ocrdma_eqd_set_task() 457 ocrdma_create_eq(struct ocrdma_dev *dev, struct ocrdma_eq *eq, u16 q_len) ocrdma_create_eq() argument 520 ocrdma_mbx_mq_cq_create(struct ocrdma_dev *dev, struct ocrdma_queue_info *cq, struct ocrdma_queue_info *eq) ocrdma_mbx_mq_cq_create() argument
|
H A D | ocrdma_hw.h | 150 int ocrdma_get_irq(struct ocrdma_dev *dev, struct ocrdma_eq *eq);
|
/linux-4.4.14/drivers/crypto/vmx/ |
H A D | ppc-xlate.pl | 50 $arch = ($flavour=~/64/) ? "ppc970-64" : "ppc970" if ($arch eq "any"); 195 my $c = $1; $c = "\t" if ($c eq ""); 200 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); }
|
/linux-4.4.14/arch/arm64/mm/ |
H A D | cache.S | 121 b.eq 1f 125 b.eq 2f 185 b.eq __dma_inv_range
|
/linux-4.4.14/arch/arm/include/asm/ |
H A D | futex.h | 62 " ite eq @ explicit IT needed for the 2b label\n" futex_atomic_cmpxchg_inatomic() 114 " it eq @ explicit IT needed for the 2b label\n" futex_atomic_cmpxchg_inatomic()
|
H A D | assembler.h | 180 asm_trace_hardirqs_on cond=eq 189 .irp c,,eq,ne,cs,cc,mi,pl,vs,vc,hi,ls,ge,lt,gt,le,hs,lo variable 494 .irp c,,eq,ne,cs,cc,mi,pl,vs,vc,hi,ls,ge,lt,gt,le,hs,lo variable
|
/linux-4.4.14/tools/power/cpupower/bench/ |
H A D | cpufreq-bench_plot.sh | 39 if [ $# -eq 0 ];then 93 if [ $plot -eq 0 ];then
|
H A D | cpufreq-bench_script.sh | 49 if [ ${up_threshold_set} -eq ${up_threshold} ];then 54 if [ ${sampling_rate_set} -eq ${sampling_rate} ];then
|
/linux-4.4.14/drivers/staging/lustre/include/linux/lnet/ |
H A D | lib-lnet.h | 167 lnet_eq_t *eq; lnet_eq_alloc() local 169 LIBCFS_ALLOC(eq, sizeof(*eq)); lnet_eq_alloc() 170 return eq; lnet_eq_alloc() 174 lnet_eq_free(lnet_eq_t *eq) lnet_eq_free() argument 176 LIBCFS_FREE(eq, sizeof(*eq)); lnet_eq_free() 265 lnet_eq2handle(lnet_handle_eq_t *handle, lnet_eq_t *eq) lnet_eq2handle() argument 267 if (eq == NULL) { lnet_eq2handle() 272 handle->cookie = eq->eq_lh.lh_cookie; lnet_eq2handle() 463 void lnet_eq_enqueue_event(lnet_eq_t *eq, lnet_event_t *ev);
|
/linux-4.4.14/security/selinux/ss/ |
H A D | constraint.h | 43 #define CEXPR_EQ 1 /* == or eq */
|
/linux-4.4.14/arch/sh/kernel/cpu/irq/ |
H A D | imask.c | 41 "cmp/eq #0x3c, %0\n\t" set_interrupt_registers()
|
/linux-4.4.14/tools/time/ |
H A D | udelay_test.sh | 61 if [ $? -eq "0" ]; then
|
/linux-4.4.14/arch/ia64/kernel/ |
H A D | ivt.S | 134 cmp.eq p6,p7=5,r17 // is IFA pointing into to region 5? 148 cmp.eq p7,p6=0,r21 // unused address bits all zeroes? 157 (p7) cmp.eq p6,p7=r17,r0 // was pgd_present(*pgd) == NULL? 164 (p7) cmp.eq.or.andcm p6,p7=r29,r0 // was pud_present(*pud) == NULL? 173 (p7) cmp.eq.or.andcm p6,p7=r20,r0 // was pmd_present(*pmd) == NULL? 413 (p9) cmp.eq.or.andcm p6,p7=IA64_ISR_CODE_LFETCH,r22 // check isr.code field 461 cmp.eq p6,p7=5,r17 // is faulting address in region 5? 478 cmp.eq p7,p6=0,r21 // unused address bits all zeroes? 487 (p7) cmp.eq p6,p7=r17,r0 // was pgd_present(*pgd) == NULL? 494 (p7) cmp.eq.or.andcm p6,p7=r17,r0 // was pud_present(*pud) == NULL? 501 (p7) cmp.eq.or.andcm p6,p7=r17,r0 // was pmd_present(*pmd) == NULL? 556 (p6) cmp.eq p6,p7=r26,r18 // Only compare if page is present 568 cmp.eq p6,p7=r18,r25 // is it same as the newly installed 622 (p6) cmp.eq p6,p7=r26,r18 // Only if page present 634 cmp.eq p6,p7=r18,r25 // is it same as the newly installed 677 (p6) cmp.eq p6,p7=r26,r18 // Only if page is present 688 cmp.eq p6,p7=r18,r25 // is it same as the newly installed 750 cmp.eq p0,p7=r18,r17 // I0 is this a system call? 779 cmp.eq p8,p9=2,r8 // A isr.ei==2? 809 cmp.eq pKStk,pUStk=r0,r17 // A were we on kernel stacks already? 817 cmp.eq p14,p0=r9,r0 // A are syscalls being traced/audited? 1024 cmp.eq pSys,pNonSys=r0,r0 // set pSys=1, pNonSys=0 1168 cmp4.eq p6,p0=0,r16
|
H A D | entry.S | 184 cmp.eq p7,p6=r25,in0 189 (p6) cmp.eq p7,p6=r26,r27 550 (pUStk) cmp.eq.unc p6,p0=r0,r0 // p6 <- pUStk 701 cmp.eq pLvSys,p0=r0,r0 // pLvSys=1: leave from syscall 708 cmp.eq p6,p0=r21,r0 // p6 <- pUStk || (preempt_count == 0) 711 cmp.eq pLvSys,p0=r0,r0 // pLvSys=1: leave from syscall 712 (pUStk) cmp.eq.unc p6,p0=r0,r0 // p6 <- pUStk 750 cmp.eq p9,p0=r0,r0 // A set p9 to indicate that we should restore cr.ifs 845 cmp.eq p0,pLvSys=r0,r0 // pLvSys=0: leave from kernel 852 cmp.eq p6,p0=r21,r0 // p6 <- pUStk || (preempt_count == 0) 855 cmp.eq p0,pLvSys=r0,r0 // pLvSys=0: leave from kernel 856 (pUStk) cmp.eq.unc p6,p0=r0,r0 // p6 <- pUStk 960 cmp.eq p9,p0=r0,r0 // set p9 to indicate that we should restore cr.ifs 1162 .ret9: cmp.eq p6,p0=r0,r0 // p6 <- 1 (re-check) 1192 cmp.eq p6,p7=r3,r0 // is pt_regs.r8==0? 1260 cmp.eq pNonSys,pSys=r0,r0 // sigreturn isn't a normal syscall... 1405 cmp.eq p7,p0 = r2, r3
|
H A D | minstate.h | 67 cmp.eq pKStk,pUStk=r0,r17; /* are we in kernel mode already? */ \ 127 cmp.eq pNonSys,pSys=r0,r0 /* initialize pSys=0, pNonSys=1 */ \
|
H A D | fsys.S | 226 cmp.eq p8,p9 = 0,r30 // use cpu timer if no mmio_ptr 232 (p9) cmp.eq p13,p0 = 0,r30 // if mmio_ptr, clear p13 jitter control 538 cmp.eq p8,p0=r3,r0 // A
|
H A D | gate.S | 218 cmp.eq p8,p0=63,r20
|
/linux-4.4.14/arch/powerpc/boot/ |
H A D | string.S | 35 bdnzf 2,1b /* dec ctr, branch if ctr != 0 && !cr0.eq */ 85 bdnzt eq,1b
|
/linux-4.4.14/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 243 if [ $? -eq 0 ]; then 245 [ $KEEP_LOG -eq 0 ] && rm $testlog
|
/linux-4.4.14/arch/powerpc/mm/ |
H A D | slb_low.S | 202 crnot 4*cr0+eq,4*cr0+eq 279 crclr 4*cr0+eq /* set result to "success" */ 298 crclr 4*cr0+eq /* set result to "success" */
|
H A D | tlb_low_64e.S | 309 crmove cr2*4+2,cr0*4+2 /* cr2.eq != 0 if kernel address */ 320 crclr cr1*4+eq /* set cr1.eq = 0 for non-recursive */ 329 beq cr1,3b /* unlock will happen if cr1.eq = 0 */
|
H A D | hash_low_32.S | 365 bdnzf 2,1b /* loop while ctr != 0 && !cr0.eq */ 386 bdnzf 2,1b /* loop while ctr != 0 && !cr0.eq */ 592 bdnzf 2,1b /* loop while ctr != 0 && !cr0.eq */
|
/linux-4.4.14/arch/sh/kernel/ |
H A D | head_32.S | 174 cmp/eq r0, r8 /* Check for valid __MEMORY_START mappings */ 178 cmp/eq r9, r10 283 cmp/eq r0, r10 302 cmp/eq #0, r0 ! skip clear if set to zero
|
H A D | disassemble.c | 72 {"cmp/eq",{A_IMM,A_R0},{HEX_8,HEX_8,IMM_8}}, 73 {"cmp/eq",{ A_REG_M,A_REG_N},{HEX_3,REG_N,REG_M,HEX_0}}, 238 {"fcmp/eq",{F_REG_M,F_REG_N},{HEX_F,REG_N,REG_M,HEX_4}}, 239 {"fcmp/eq",{D_REG_M,D_REG_N},{HEX_F,REG_N,REG_M,HEX_4}},
|
H A D | entry-common.S | 109 cmp/eq #(0xf0>>1), r0 219 cmp/eq #0x3c, r0
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | pcie.c | 732 static int load_eq_table(struct hfi1_devdata *dd, const u8 eq[11][3], u8 fs, load_eq_table() argument 745 c_minus1 = eq[i][PREC] / div; load_eq_table() 746 c0 = fs - (eq[i][PREC] / div) - (eq[i][POST] / div); load_eq_table() 747 c_plus1 = eq[i][POST] / div; load_eq_table() 761 i, (u32)eq[i][0], (u32)eq[i][1], (u32)eq[i][2]); load_eq_table() 884 const u8 (*eq)[3]; do_pcie_gen3_transition() 1016 eq = discrete_preliminary_eq; do_pcie_gen3_transition() 1023 eq = integrated_preliminary_eq; do_pcie_gen3_transition() 1029 ret = load_eq_table(dd, eq, fs, div); do_pcie_gen3_transition()
|
/linux-4.4.14/arch/tile/lib/ |
H A D | spinlock_32.c | 249 u32 val, eq, mask; arch_write_unlock() local 264 eq = __insn_seqb(val, val << (WR_CURR_SHIFT - WR_NEXT_SHIFT)); arch_write_unlock() 265 val = __insn_mz(eq & mask, val); arch_write_unlock()
|
/linux-4.4.14/arch/powerpc/crypto/ |
H A D | aes-spe-keys.S | 108 bt eq,ppc_expand_128_end 155 bt eq,ppc_expand_192_end 213 bt eq,ppc_expand_256_end
|
H A D | aes-spe-modes.S | 459 bt eq,ppc_crypt_ctr_end 512 bt eq,ppc_encrypt_xts_notweak 580 bt eq,ppc_decrypt_xts_notweak
|
/linux-4.4.14/sound/soc/codecs/ |
H A D | wm8958-dsp2.c | 792 int eq = kcontrol->private_value; wm8958_enh_eq_get() local 796 ucontrol->value.integer.value[0] = wm8994->enh_eq_ena[eq]; wm8958_enh_eq_get() 804 int eq = kcontrol->private_value; wm8958_enh_eq_put() local 808 if (wm8994->enh_eq_ena[eq] == ucontrol->value.integer.value[0]) wm8958_enh_eq_put() 817 if (wm8958_dsp2_busy(wm8994, eq)) { wm8958_enh_eq_put() 818 dev_dbg(codec->dev, "DSP2 active on %d already\n", eq); wm8958_enh_eq_put() 822 if (wm8994->mbc_ena[eq] || wm8994->vss_ena[eq] || wm8958_enh_eq_put() 823 wm8994->hpf1_ena[eq] || wm8994->hpf2_ena[eq]) wm8958_enh_eq_put() 826 wm8994->enh_eq_ena[eq] = ucontrol->value.integer.value[0]; wm8958_enh_eq_put() 828 wm8958_dsp_apply(codec, eq, ucontrol->value.integer.value[0]); wm8958_enh_eq_put()
|
H A D | cs4271.c | 547 "cirrus,amutec-eq-bmutec", NULL)) cs4271_codec_probe()
|
/linux-4.4.14/scripts/kconfig/ |
H A D | streamline_config.pl | 217 } elsif ($state eq "NEW" && /^\s*depends\s+on\s+(.*)$/) { 220 } elsif ($state eq "DEP" && /^\s*depends\s+on\s+(.*)$/) { 222 } elsif ($state eq "DEP" && /^\s*def(_(bool|tristate)|ault)\s+(\S.*)$/) { 457 if (!defined($orig_configs{$conf}) || !$orig_configs{conf} eq "m") { 622 } elsif ($2 eq "m") {
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 854 struct be_queue_info *eq; be_isr_mcc() local 861 eq = &pbe_eq->q; be_isr_mcc() 864 eqe = queue_tail_node(eq); be_isr_mcc() 878 queue_tail_inc(eq); be_isr_mcc() 879 eqe = queue_tail_node(eq); be_isr_mcc() 885 hwi_ring_eq_db(phba, eq->id, 1, num_eq_processed, 1, 1); be_isr_mcc() 899 struct be_queue_info *eq; be_isr_msix() local 905 eq = &pbe_eq->q; be_isr_msix() 907 eqe = queue_tail_node(eq); be_isr_msix() 917 queue_tail_inc(eq); be_isr_msix() 918 eqe = queue_tail_node(eq); be_isr_msix() 923 hwi_ring_eq_db(phba, eq->id, 1, num_eq_processed, 0, 1); be_isr_msix() 939 struct be_queue_info *eq; be_isr() local 958 eq = &phwi_context->be_eq[0].q; be_isr() 961 eqe = queue_tail_node(eq); be_isr() 980 queue_tail_inc(eq); be_isr() 981 eqe = queue_tail_node(eq); be_isr() 988 hwi_ring_eq_db(phba, eq->id, 0, be_isr() 992 hwi_ring_eq_db(phba, eq->id, 0, be_isr() 3249 struct be_queue_info *eq; beiscsi_create_eqs() local 3262 eq = &phwi_context->be_eq[i].q; beiscsi_create_eqs() 3263 mem = &eq->dma_mem; beiscsi_create_eqs() 3272 ret = be_fill_queue(eq, phba->params.num_eq_entries, beiscsi_create_eqs() 3281 ret = beiscsi_cmd_eq_create(&phba->ctrl, eq, beiscsi_create_eqs() 3297 eq = &phwi_context->be_eq[i].q; beiscsi_create_eqs() 3298 mem = &eq->dma_mem; beiscsi_create_eqs() 3312 struct be_queue_info *cq, *eq; beiscsi_create_cqs() local 3323 eq = &phwi_context->be_eq[i].q; beiscsi_create_cqs() 3343 ret = beiscsi_cmd_cq_create(&phba->ctrl, cq, eq, false, beiscsi_create_cqs() 3353 "iSCSI CQ CREATED\n", cq->id, eq->id); beiscsi_create_cqs() 4282 struct be_queue_info *eq; hwi_enable_intr() local 4303 eq = &phwi_context->be_eq[0].q; hwi_enable_intr() 4305 "BM_%d : eq->id=%d\n", eq->id); hwi_enable_intr() 4307 hwi_ring_eq_db(phba, eq->id, 0, 0, 1, 1); hwi_enable_intr() 4310 eq = &phwi_context->be_eq[i].q; hwi_enable_intr() 4312 "BM_%d : eq->id=%d\n", eq->id); hwi_enable_intr() 4313 hwi_ring_eq_db(phba, eq->id, 0, 0, 1, 1); hwi_enable_intr() 4515 struct be_queue_info *eq; hwi_purge_eq() local 4528 eq = &phwi_context->be_eq[i].q; hwi_purge_eq() 4529 eqe = queue_tail_node(eq); hwi_purge_eq() 4534 queue_tail_inc(eq); hwi_purge_eq() 4535 eqe = queue_tail_node(eq); hwi_purge_eq() 4540 hwi_ring_eq_db(phba, eq->id, 1, num_processed, 1, 1); hwi_purge_eq()
|
H A D | be_cmds.c | 828 struct be_queue_info *eq, int eq_delay) beiscsi_cmd_eq_create() 833 struct be_dma_mem *q_mem = &eq->dma_mem; beiscsi_cmd_eq_create() 851 __ilog2_u32(eq->len / 256)); beiscsi_cmd_eq_create() 860 eq->id = le16_to_cpu(resp->eq_id); beiscsi_cmd_eq_create() 861 eq->created = true; beiscsi_cmd_eq_create() 949 struct be_queue_info *cq, struct be_queue_info *eq, beiscsi_cmd_cq_create() 978 AMAP_SET_BITS(struct amap_cq_context, eqid, ctxt, eq->id); beiscsi_cmd_cq_create() 993 AMAP_SET_BITS(struct amap_cq_context_v2, eqid, ctxt, eq->id); beiscsi_cmd_cq_create() 827 beiscsi_cmd_eq_create(struct be_ctrl_info *ctrl, struct be_queue_info *eq, int eq_delay) beiscsi_cmd_eq_create() argument 948 beiscsi_cmd_cq_create(struct be_ctrl_info *ctrl, struct be_queue_info *cq, struct be_queue_info *eq, bool sol_evts, bool no_delay, int coalesce_wm) beiscsi_cmd_cq_create() argument
|
H A D | be_cmds.h | 716 struct be_queue_info *eq, int eq_delay); 719 struct be_queue_info *cq, struct be_queue_info *eq,
|
/linux-4.4.14/drivers/scsi/ |
H A D | script_asm.pl | 342 " if ($other eq ''); 420 if ($symbol_values{$id} eq undef) { 577 if ($op eq '+') { 598 if (($src_reg eq undef) || ($src_reg eq $dst_reg)) { 818 if ($type eq 'REL'); 836 if ($type eq 'REL'); 844 if ($add eq 0) { 868 if ($type eq 'ABS') { 943 if ($1 eq 'ABS') {
|
/linux-4.4.14/arch/x86/kernel/cpu/microcode/ |
H A D | amd.c | 145 struct equiv_cpu_entry *eq; apply_ucode_in_initrd() local 182 eq = (struct equiv_cpu_entry *)(data + CONTAINER_HDR_SZ); apply_ucode_in_initrd() 191 eq_id = find_equiv_id(eq, eax); apply_ucode_in_initrd() 353 struct equiv_cpu_entry *eq; load_ucode_amd_ap() local 372 eq = (struct equiv_cpu_entry *)(container + CONTAINER_HDR_SZ); load_ucode_amd_ap() 374 eq_id = find_equiv_id(eq, eax); load_ucode_amd_ap()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | pci_msi.c | 348 val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); sparc64_pbm_msi_init() 355 "msi-eq-to-devino", &len); sparc64_pbm_msi_init() 358 "msi-eq-devino", &len); sparc64_pbm_msi_init()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
H A D | csio_wr.h | 411 struct csio_eq eq; member in union:csio_q::__anon9296 468 #define csio_q_eqid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.eqid) 472 ((__hw)->wrm.q_arr[(__idx)]->un.eq.physeqid) 479 #define csio_q_eq_wrap(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.eq.wrap)
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sp_commands.c | 102 /* update initial eq producer */ qed_sp_pf_start()
|
H A D | qed_sp.h | 208 * @param num_elem number of elements in the eq
|
H A D | qed_spq.c | 288 /* Complete current segment of eq entries */ qed_eq_completion() 343 DP_NOTICE(p_hwfn, "Failed to allocate eq chain\n"); qed_eq_alloc()
|
/linux-4.4.14/arch/unicore32/include/asm/ |
H A D | assembler.h | 65 .ifc \cond, eq
|
/linux-4.4.14/arch/arc/include/asm/ |
H A D | tlb-mmu1.h | 96 xor.eq r1,r1,1 /* flip bottom bit of data index */
|
/linux-4.4.14/arch/sh/kernel/cpu/sh3/ |
H A D | swsusp.S | 33 cmp/eq #0, r0
|
H A D | entry.S | 269 cmp/eq #0x3c, k0 460 cmp/eq #0x3c, r0
|
/linux-4.4.14/Documentation/mic/mpssd/ |
H A D | mpss | 91 if [ $RETVAL -eq 0 ]; then
|
/linux-4.4.14/tools/testing/selftests/firmware/ |
H A D | fw_userhelper.sh | 47 if [ "$timeout" -eq 0 ]; then
|
/linux-4.4.14/arch/ia64/include/asm/ |
H A D | spinlock.h | 216 "cmp4.eq p0,p7 = r0, r2\n" arch_write_lock_flags() 222 "cmp4.eq p0,p7 = r0, r2\n" arch_write_lock_flags()
|
/linux-4.4.14/tools/perf/ |
H A D | perf-with-kcore.sh | 46 if [ $EUID -eq 0 ] ; then 136 if [ $EUID -eq 0 ] ; then
|
/linux-4.4.14/include/linux/mlx5/ |
H A D | driver.h | 760 int mlx5_create_map_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq, u8 vecidx, 762 int mlx5_destroy_unmap_eq(struct mlx5_core_dev *dev, struct mlx5_eq *eq); 807 int mlx5_debug_eq_add(struct mlx5_core_dev *dev, struct mlx5_eq *eq); 808 void mlx5_debug_eq_remove(struct mlx5_core_dev *dev, struct mlx5_eq *eq); 809 int mlx5_core_eq_query(struct mlx5_core_dev *dev, struct mlx5_eq *eq,
|
/linux-4.4.14/fs/befs/ |
H A D | btree.c | 343 int eq; befs_find_key() local 359 eq = befs_compare_strings(thiskey, keylen, findkey, findkey_len); befs_find_key() 360 if (eq < 0) { befs_find_key() 375 eq = befs_compare_strings(thiskey, keylen, findkey, befs_find_key() 378 if (eq == 0) { befs_find_key() 385 if (eq > 0) befs_find_key() 390 if (eq < 0) befs_find_key()
|
/linux-4.4.14/arch/powerpc/xmon/ |
H A D | ppc-dis.c | 154 static const char *cbnames[4] = { "lt", "gt", "eq", "so" }; print_insn_powerpc()
|
H A D | ppc.h | 238 lt 0 gt 1 eq 2 so 3 un 3
|
/linux-4.4.14/arch/arm64/include/asm/ |
H A D | fpsimdmacros.h | 50 b.eq 9999f
|
/linux-4.4.14/arch/arm64/kvm/ |
H A D | hyp-init.S | 116 b.eq merged
|
H A D | hyp.S | 406 b.eq 9998f // Nothing to see there 1014 b.eq switch_to_guest_fpsimd
|
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/ |
H A D | cpu-on-off-test.sh | 168 if [ $allcpus -eq 0 ]; then
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | pci.c | 100 return "eq"; mlxsw_pci_queue_type_str() 160 } eq; member in union:mlxsw_pci_queue::__anon7489 809 i, q->consumer_counter, q->u.eq.ev_cmd_count, mlxsw_pci_eq_dbg_read() 810 q->u.eq.ev_comp_count, q->u.eq.ev_other_count, mlxsw_pci_eq_dbg_read() 852 q->u.eq.ev_cmd_count++; mlxsw_pci_eq_tasklet() 858 q->u.eq.ev_comp_count++; mlxsw_pci_eq_tasklet() 861 q->u.eq.ev_other_count++; mlxsw_pci_eq_tasklet()
|
/linux-4.4.14/arch/x86/include/asm/ |
H A D | vmx.h | 359 #define DEBUG_REG_ACCESS_REG(eq) (((eq) >> 8) & 0xf) /* 11:8, general purpose reg. */
|
/linux-4.4.14/arch/hexagon/kernel/ |
H A D | vm_entry.S | 320 P0 = cmp.eq(R0, #0); if (!P0.new) jump:nt check_work_pending; 381 P0 = cmp.eq(R24, #0);
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | atombios_dp.c | 790 DRM_ERROR("channel eq failed: 5 tries\n"); radeon_dp_link_train_ce() 802 DRM_ERROR("channel eq failed\n"); radeon_dp_link_train_ce() 805 DRM_DEBUG_KMS("channel eq at voltage %d pre-emphasis %d\n", radeon_dp_link_train_ce()
|
/linux-4.4.14/arch/arm/crypto/ |
H A D | sha256-armv4.pl | 240 ite eq @ Thumb2 thing, sanity check in ARM 295 $arg = "#$arg" if ($arg*1 eq $arg); 522 it eq
|
H A D | sha512-armv4.pl | 142 it eq @ Thumb2 thing, sanity check in ARM 396 ittt eq @ Thumb2 thing, sanity check in ARM
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | atombios_dp.c | 700 DRM_ERROR("channel eq failed: 5 tries\n"); amdgpu_atombios_dp_link_train_ce() 713 DRM_ERROR("channel eq failed\n"); amdgpu_atombios_dp_link_train_ce() 716 DRM_DEBUG_KMS("channel eq at voltage %d pre-emphasis %d\n", amdgpu_atombios_dp_link_train_ce()
|
/linux-4.4.14/drivers/input/ |
H A D | input-mt.c | 299 static int adjust_dual(int *begin, int step, int *end, int eq, int mu) adjust_dual() argument 317 if (c == 0 || (c > mu && (!eq || mu > 0))) adjust_dual()
|
/linux-4.4.14/net/caif/ |
H A D | cfctrl.c | 77 bool eq = param_eq() local 83 if (!eq) param_eq()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
H A D | mpc52xx_psc.h | 349 u8 reserved15[4]; /* make eq. sizeof(mpc52xx_psc) */
|
/linux-4.4.14/arch/powerpc/net/ |
H A D | bpf_jit_asm.S | 45 /* Nope, just hitting the header. cr0 here is eq or gt! */
|
/linux-4.4.14/arch/arm/lib/ |
H A D | div64.S | 190 @ eq -> division by 1: obvious enough...
|
/linux-4.4.14/include/linux/ |
H A D | lightnvm.h | 306 * (r.ppa << X offset) & X len bitmask. X eq. blk, pg, etc. dev_to_generic_addr()
|
/linux-4.4.14/drivers/block/drbd/ |
H A D | drbd_worker.c | 1091 int err, eq = 0; w_e_end_csum_rs_req() local 1117 eq = !memcmp(digest, di->digest, digest_size); w_e_end_csum_rs_req() 1121 if (eq) { w_e_end_csum_rs_req() 1214 int err, eq = 0; w_e_end_ov_reply() local 1239 eq = !memcmp(digest, di->digest, digest_size); w_e_end_ov_reply() 1250 if (!eq) w_e_end_ov_reply() 1256 eq ? ID_IN_SYNC : ID_OUT_OF_SYNC); w_e_end_ov_reply()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 6738 * and will process all the completions associated with the eq for the 6753 /* Find the eq associated with the mcq */ lpfc_sli4_process_missed_mbox_completions() 12374 lpfc_sli4_eq_flush(struct lpfc_hba *phba, struct lpfc_queue *eq) lpfc_sli4_eq_flush() argument 12379 while ((eqe = lpfc_sli4_eq_get(eq))) lpfc_sli4_eq_flush() 12383 lpfc_sli4_eq_release(eq, LPFC_QUEUE_REARM); lpfc_sli4_eq_flush() 12490 struct lpfc_queue *eq; lpfc_sli4_fof_intr_handler() local 12503 eq = phba->sli4_hba.fof_eq; lpfc_sli4_fof_intr_handler() 12504 if (unlikely(!eq)) lpfc_sli4_fof_intr_handler() 12509 eq->EQ_badstate++; lpfc_sli4_fof_intr_handler() 12514 lpfc_sli4_eq_flush(phba, eq); lpfc_sli4_fof_intr_handler() 12522 while ((eqe = lpfc_sli4_eq_get(eq))) { lpfc_sli4_fof_intr_handler() 12524 if (!(++ecount % eq->entry_repost)) lpfc_sli4_fof_intr_handler() 12525 lpfc_sli4_eq_release(eq, LPFC_QUEUE_NOARM); lpfc_sli4_fof_intr_handler() 12526 eq->EQ_processed++; lpfc_sli4_fof_intr_handler() 12530 if (ecount > eq->EQ_max_eqe) lpfc_sli4_fof_intr_handler() 12531 eq->EQ_max_eqe = ecount; lpfc_sli4_fof_intr_handler() 12535 eq->EQ_no_entry++; lpfc_sli4_fof_intr_handler() 12549 lpfc_sli4_eq_release(eq, LPFC_QUEUE_REARM); lpfc_sli4_fof_intr_handler() 12869 struct lpfc_queue *eq; lpfc_modify_fcp_eq_delay() local 12900 eq = phba->sli4_hba.hba_eq[fcp_eqidx]; lpfc_modify_fcp_eq_delay() 12901 if (!eq) lpfc_modify_fcp_eq_delay() 12903 eq_delay->u.request.eq[cnt].eq_id = eq->queue_id; lpfc_modify_fcp_eq_delay() 12904 eq_delay->u.request.eq[cnt].phase = 0; lpfc_modify_fcp_eq_delay() 12905 eq_delay->u.request.eq[cnt].delay_multi = dmult; lpfc_modify_fcp_eq_delay() 12933 * @eq: The queue structure to use to create the event queue. 12936 * This function creates an event queue, as detailed in @eq, on a port, 12939 * The @phba struct is used to send mailbox command to HBA. The @eq struct 12951 lpfc_eq_create(struct lpfc_hba *phba, struct lpfc_queue *eq, uint32_t imax) lpfc_eq_create() argument 12963 if (!eq) lpfc_eq_create() 12978 eq->page_count); lpfc_eq_create() 12986 switch (eq->entry_count) { lpfc_eq_create() 12990 eq->entry_count); lpfc_eq_create() 12991 if (eq->entry_count < 256) lpfc_eq_create() 13015 list_for_each_entry(dmabuf, &eq->page_list, list) { lpfc_eq_create() 13036 eq->type = LPFC_EQ; lpfc_eq_create() 13037 eq->subtype = LPFC_NONE; lpfc_eq_create() 13038 eq->queue_id = bf_get(lpfc_mbx_eq_create_q_id, &eq_create->u.response); lpfc_eq_create() 13039 if (eq->queue_id == 0xFFFF) lpfc_eq_create() 13041 eq->host_index = 0; lpfc_eq_create() 13042 eq->hba_index = 0; lpfc_eq_create() 13052 * @eq: The event queue to bind this completion queue to. 13059 * determine the number of pages to allocate and use for this queue. The @eq 13071 struct lpfc_queue *eq, uint32_t type, uint32_t subtype) lpfc_cq_create() 13082 if (!cq || !eq) lpfc_cq_create() 13107 eq->queue_id); lpfc_cq_create() 13110 eq->queue_id); lpfc_cq_create() 13160 /* link the cq onto the parent eq child list */ lpfc_cq_create() 13161 list_add_tail(&cq->list, &eq->child_list); lpfc_cq_create() 13166 cq->assoc_qid = eq->queue_id; lpfc_cq_create() 13901 * @eq: The queue structure associated with the queue to destroy. 13903 * This function destroys a queue, as detailed in @eq by sending an mailbox 13906 * The @eq struct is used to get the queue ID of the queue to destroy. 13912 lpfc_eq_destroy(struct lpfc_hba *phba, struct lpfc_queue *eq) lpfc_eq_destroy() argument 13920 if (!eq) lpfc_eq_destroy() 13922 mbox = mempool_alloc(eq->phba->mbox_mem_pool, GFP_KERNEL); lpfc_eq_destroy() 13931 eq->queue_id); lpfc_eq_destroy() 13932 mbox->vport = eq->phba->pport; lpfc_eq_destroy() 13935 rc = lpfc_sli_issue_mbox(eq->phba, mbox, MBX_POLL); lpfc_eq_destroy() 13949 /* Remove eq from any list */ lpfc_eq_destroy() 13950 list_del_init(&eq->list); lpfc_eq_destroy() 13951 mempool_free(mbox, eq->phba->mbox_mem_pool); lpfc_eq_destroy() 13070 lpfc_cq_create(struct lpfc_hba *phba, struct lpfc_queue *cq, struct lpfc_queue *eq, uint32_t type, uint32_t subtype) lpfc_cq_create() argument
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
H A D | test-arm.c | 61 TEST_RR( op "eq" s " r0, r",1, VAL1,", r",2, val, "") \ kprobe_arm_test_cases() 78 TEST_R( op "eq" s " r0, r",11,VAL1,", #0xf5") \ kprobe_arm_test_cases() 89 TEST_RR( op "eq r",1, VAL1,", r",2, val, ", lsl #3") \ kprobe_arm_test_cases() 105 TEST_R( op "eq r",11,VAL1,", #0xf5") \ kprobe_arm_test_cases() 110 TEST_R( op "eq" s " r0, r",1, val, "") \ kprobe_arm_test_cases() 125 TEST( op "eq" s " r0, #0xf5") \ kprobe_arm_test_cases()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
H A D | be_hw.h | 127 /* Clear the interrupt for this eq */
|
/linux-4.4.14/arch/arm/kernel/ |
H A D | entry-armv.S | 870 strexdeq r3, r6, r7, [r2] @ store newval if eq 894 2: stmeqia r2, {r6, lr} @ store newval if eq 952 2: streq r1, [r2] @ store newval if eq
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_fs.c | 1193 char *eq, *comma; ffs_fs_parse_opts() local 1201 eq = strchr(opts, '='); ffs_fs_parse_opts() 1202 if (unlikely(!eq)) { ffs_fs_parse_opts() 1206 *eq = 0; ffs_fs_parse_opts() 1209 if (kstrtoul(eq + 1, 0, &value)) { ffs_fs_parse_opts() 1210 pr_err("%s: invalid value: %s\n", opts, eq + 1); ffs_fs_parse_opts() 1215 switch (eq - opts) { ffs_fs_parse_opts()
|
/linux-4.4.14/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 2070 int i, j, eq = 0, total_eqs = 0; mlx4_ib_alloc_eqs() local 2082 ibdev->eq_table[eq] = total_eqs; mlx4_ib_alloc_eqs() 2084 &ibdev->eq_table[eq])) mlx4_ib_alloc_eqs() 2085 eq++; mlx4_ib_alloc_eqs() 2087 ibdev->eq_table[eq] = -1; mlx4_ib_alloc_eqs() 2091 for (i = eq; i < dev->caps.num_comp_vectors; mlx4_ib_alloc_eqs() 2096 ibdev->ib_dev.num_comp_vectors = eq; mlx4_ib_alloc_eqs()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 2869 struct sge_eth_rxq *eq = adap->sge.ethrxq; t4_free_sge_resources() local 2873 for (i = 0; i < adap->sge.ethqsets; i++, eq++, etq++) { t4_free_sge_resources() 2874 if (eq->rspq.desc) t4_free_sge_resources() 2875 free_rspq_fl(adap, &eq->rspq, t4_free_sge_resources() 2876 eq->fl.size ? &eq->fl : NULL); t4_free_sge_resources()
|
/linux-4.4.14/drivers/ata/ |
H A D | ahci_imx.c | 470 .name = "fsl,receive-eq-mdB",
|
/linux-4.4.14/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-pko.c | 404 "base queue. q: %d, eq: %d\n", cvmx_pko_config_port()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 919 /* soft reset everything (agc,frontend,eq,fec)*/ nxt2002_init() 986 /* soft reset everything (agc,frontend,eq,fec)*/ nxt2004_init()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
H A D | txrx.c | 179 off = rateid >> 3; /* eq. rateid / 8 */ tx_policy_build() 180 shift = (rateid & 0x07) << 2; /* eq. (rateid % 8) * 4 */ tx_policy_build()
|