Home
last modified time | relevance | path

Searched refs:eq (Results 1 – 25 of 112) sorted by relevance

12345

/linux-2.6.39/drivers/infiniband/hw/ehca/
Dehca_eq.c54 struct ehca_eq *eq, in ehca_create_eq() argument
64 spin_lock_init(&eq->spinlock); in ehca_create_eq()
65 spin_lock_init(&eq->irq_spinlock); in ehca_create_eq()
66 eq->is_initialized = 0; in ehca_create_eq()
69 ehca_err(ib_dev, "Invalid EQ type %x. eq=%p", type, eq); in ehca_create_eq()
73 ehca_err(ib_dev, "EQ length must not be zero. eq=%p", eq); in ehca_create_eq()
78 &eq->pf, in ehca_create_eq()
81 &eq->ipz_eq_handle, in ehca_create_eq()
82 &eq->length, in ehca_create_eq()
83 &nr_pages, &eq->ist); in ehca_create_eq()
[all …]
Dehca_irq.c506 tasklet_hi_schedule(&shca->eq.interrupt_task); in ehca_interrupt_eq()
550 struct ehca_eq *eq = &shca->eq; in ehca_process_eq() local
551 struct ehca_eqe_cache_entry *eqe_cache = eq->eqe_cache; in ehca_process_eq()
556 spin_lock(&eq->irq_spinlock); in ehca_process_eq()
563 shca->ipz_hca_handle, eq->ist); in ehca_process_eq()
576 eqe_cache[eqe_cnt].eqe = ehca_poll_eq(shca, eq); in ehca_process_eq()
603 ret = hipz_h_eoi(eq->ist); in ehca_process_eq()
613 if (eq->eqe_cache[i].cq) in ehca_process_eq()
614 reset_eq_pending(eq->eqe_cache[i].cq); in ehca_process_eq()
617 spin_lock(&eq->spinlock); in ehca_process_eq()
[all …]
Dehca_main.c771 ret = ehca_create_eq(shca, &shca->eq, EHCA_EQ, eq_size); in ehca_probe()
871 ret = ehca_destroy_eq(shca, &shca->eq); in ehca_probe()
913 ret = ehca_destroy_eq(shca, &shca->eq); in ehca_remove()
957 if (shca->eq.is_initialized) { in ehca_poll_eqs()
959 struct ehca_eq *eq = &shca->eq; in ehca_poll_eqs() local
963 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
964 q_ofs = eq->ipz_queue.current_q_offset; in ehca_poll_eqs()
965 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eqs()
967 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
968 q_ofs2 = eq->ipz_queue.current_q_offset; in ehca_poll_eqs()
[all …]
/linux-2.6.39/sound/pci/au88x0/
Dau88x0_eq.c68 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftCoefs()
90 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightCoefs()
113 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftStates()
130 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightStates()
176 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetBypassGain()
223 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsTarget()
233 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsTarget()
243 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetLeftGainsCurrent()
253 eqhw_t *eqhw = &(vortex->eq.this04); in vortex_EqHw_SetRightGainsCurrent()
264 eqhw_t *eqhw = &(vortex->eq.this04);
[all …]
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_eq.c173 static inline void tavor_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in tavor_set_eq_ci() argument
184 mthca_write64(MTHCA_EQ_DB_SET_CI | eq->eqn, ci & (eq->nent - 1), in tavor_set_eq_ci()
189 static inline void arbel_set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in arbel_set_eq_ci() argument
194 dev->eq_regs.arbel.eq_set_ci_base + eq->eqn * 8); in arbel_set_eq_ci()
199 static inline void set_eq_ci(struct mthca_dev *dev, struct mthca_eq *eq, u32 ci) in set_eq_ci() argument
202 arbel_set_eq_ci(dev, eq, ci); in set_eq_ci()
204 tavor_set_eq_ci(dev, eq, ci); in set_eq_ci()
228 static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry) in get_eqe() argument
230 unsigned long off = (entry & (eq->nent - 1)) * MTHCA_EQ_ENTRY_SIZE; in get_eqe()
231 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; in get_eqe()
[all …]
/linux-2.6.39/drivers/net/mlx4/
Deq.c143 static void eq_set_ci(struct mlx4_eq *eq, int req_not) in eq_set_ci() argument
145 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | in eq_set_ci()
147 eq->doorbell); in eq_set_ci()
152 static struct mlx4_eqe *get_eqe(struct mlx4_eq *eq, u32 entry) in get_eqe() argument
154 unsigned long off = (entry & (eq->nent - 1)) * MLX4_EQ_ENTRY_SIZE; in get_eqe()
155 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; in get_eqe()
158 static struct mlx4_eqe *next_eqe_sw(struct mlx4_eq *eq) in next_eqe_sw() argument
160 struct mlx4_eqe *eqe = get_eqe(eq, eq->cons_index); in next_eqe_sw()
161 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe; in next_eqe_sw()
164 static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) in mlx4_eq_int() argument
[all …]
/linux-2.6.39/arch/powerpc/kernel/
Dcpu_setup_6xx.S194 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
[all …]
/linux-2.6.39/drivers/net/ehea/
Dehea_qmr.c259 struct ehea_eq *eq; in ehea_create_eq() local
261 eq = kzalloc(sizeof(*eq), GFP_KERNEL); in ehea_create_eq()
262 if (!eq) { in ehea_create_eq()
267 eq->adapter = adapter; in ehea_create_eq()
268 eq->attr.type = type; in ehea_create_eq()
269 eq->attr.max_nr_of_eqes = max_nr_of_eqes; in ehea_create_eq()
270 eq->attr.eqe_gen = eqe_gen; in ehea_create_eq()
271 spin_lock_init(&eq->spinlock); in ehea_create_eq()
274 &eq->attr, &eq->fw_handle); in ehea_create_eq()
280 ret = hw_queue_ctor(&eq->hw_queue, eq->attr.nr_pages, in ehea_create_eq()
[all …]
/linux-2.6.39/arch/mips/bcm47xx/
Dnvram.c69 char *var, *value, *end, *eq; in nvram_getenv() local
82 eq = strchr(var, '='); in nvram_getenv()
83 if (!eq) in nvram_getenv()
85 value = eq + 1; in nvram_getenv()
86 if ((eq - var) == strlen(name) && in nvram_getenv()
87 strncmp(var, name, (eq - var)) == 0) { in nvram_getenv()
/linux-2.6.39/drivers/net/tile/
Dtilepro.c204 lepp_queue_t *eq; member
516 static unsigned int tile_net_lepp_grab_comps(lepp_queue_t *eq, in tile_net_lepp_grab_comps() argument
523 unsigned int comp_head = eq->comp_head; in tile_net_lepp_grab_comps()
524 unsigned int comp_busy = eq->comp_busy; in tile_net_lepp_grab_comps()
527 comps[n++] = eq->comps[comp_head]; in tile_net_lepp_grab_comps()
534 eq->comp_head = comp_head; in tile_net_lepp_grab_comps()
547 lepp_queue_t *eq = priv->eq; in tile_net_lepp_free_comps() local
557 eq->comp_busy = eq->comp_tail; in tile_net_lepp_free_comps()
559 n = tile_net_lepp_grab_comps(eq, olds, wanted, 0); in tile_net_lepp_free_comps()
561 pending = (eq->comp_head != eq->comp_tail); in tile_net_lepp_free_comps()
[all …]
/linux-2.6.39/arch/ia64/lib/
Dstrlen.S102 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 ?
Dstrlen_user.S104 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 ?
/linux-2.6.39/arch/ia64/hp/sim/boot/
Dboot_head.S71 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-2.6.39/block/
Delevator.c178 struct elevator_queue *eq) in elevator_init_queue() argument
180 return eq->ops->elevator_init_fn(q); in elevator_init_queue()
183 static void elevator_attach(struct request_queue *q, struct elevator_queue *eq, in elevator_attach() argument
186 q->elevator = eq; in elevator_attach()
187 eq->elevator_data = data; in elevator_attach()
209 struct elevator_queue *eq; in elevator_alloc() local
212 eq = kmalloc_node(sizeof(*eq), GFP_KERNEL | __GFP_ZERO, q->node); in elevator_alloc()
213 if (unlikely(!eq)) in elevator_alloc()
216 eq->ops = &e->ops; in elevator_alloc()
217 eq->elevator_type = e; in elevator_alloc()
[all …]
/linux-2.6.39/net/dns_resolver/
Ddns_key.c92 const char *eq; in dns_resolver_instantiate() local
104 eq = memchr(opt, '=', opt_len) ?: end; in dns_resolver_instantiate()
105 opt_nlen = eq - opt; in dns_resolver_instantiate()
106 eq++; in dns_resolver_instantiate()
107 opt_vlen = next_opt - eq; /* will be -1 if no value */ in dns_resolver_instantiate()
111 opt_nlen, opt_nlen, opt, tmp, tmp, eq); in dns_resolver_instantiate()
121 ret = strict_strtoul(eq, 10, &derrno); in dns_resolver_instantiate()
/linux-2.6.39/arch/powerpc/kernel/vdso64/
Dgettimeofday.S66 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
144 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
/linux-2.6.39/arch/powerpc/kernel/vdso32/
Dgettimeofday.S77 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
159 cror cr0*4+eq,cr0*4+eq,cr1*4+eq
/linux-2.6.39/arch/ia64/kernel/
Divt.S135 cmp.eq p6,p7=5,r17 // is IFA pointing into to region 5?
149 cmp.eq p7,p6=0,r21 // unused address bits all zeroes?
158 (p7) cmp.eq p6,p7=r17,r0 // was pgd_present(*pgd) == NULL?
165 (p7) cmp.eq.or.andcm p6,p7=r29,r0 // was pud_present(*pud) == NULL?
174 (p7) cmp.eq.or.andcm p6,p7=r20,r0 // was pmd_present(*pmd) == NULL?
414 (p9) cmp.eq.or.andcm p6,p7=IA64_ISR_CODE_LFETCH,r22 // check isr.code field
462 cmp.eq p6,p7=5,r17 // is faulting address in region 5?
479 cmp.eq p7,p6=0,r21 // unused address bits all zeroes?
488 (p7) cmp.eq p6,p7=r17,r0 // was pgd_present(*pgd) == NULL?
495 (p7) cmp.eq.or.andcm p6,p7=r17,r0 // was pud_present(*pud) == NULL?
[all …]
/linux-2.6.39/arch/x86/kernel/apic/
Dnumaq_32.c81 struct eachquadmem *eq = scd->eq + node; in numaq_register_node() local
87 MB_TO_PAGES(eq->hi_shrd_mem_start - eq->priv_mem_size); in numaq_register_node()
90 MB_TO_PAGES(eq->hi_shrd_mem_start + eq->hi_shrd_mem_size); in numaq_register_node()
/linux-2.6.39/arch/powerpc/mm/
Dslb_low.S173 crnot 4*cr0+eq,4*cr0+eq
261 crclr 4*cr0+eq /* set result to "success" */
280 crclr 4*cr0+eq /* set result to "success" */
/linux-2.6.39/arch/tile/lib/
Dspinlock_32.c240 u32 val, eq, mask; in arch_write_unlock() local
255 eq = __insn_seqb(val, val << (WR_CURR_SHIFT - WR_NEXT_SHIFT)); in arch_write_unlock()
256 val = __insn_mz(eq & mask, val); in arch_write_unlock()
/linux-2.6.39/fs/befs/
Dbtree.c340 int eq; in befs_find_key() local
356 eq = befs_compare_strings(thiskey, keylen, findkey, findkey_len); in befs_find_key()
357 if (eq < 0) { in befs_find_key()
372 eq = befs_compare_strings(thiskey, keylen, findkey, in befs_find_key()
375 if (eq == 0) { in befs_find_key()
382 if (eq > 0) in befs_find_key()
387 if (eq < 0) in befs_find_key()
/linux-2.6.39/arch/sh/kernel/
Dhead_32.S174 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
/linux-2.6.39/arch/sh/lib/
Dudivsi3_i4i-Os.S51 cmp/eq r5,r0
121 cmp/eq r5,r0
130 cmp/eq r5,r0
Dchecksum.S149 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

12345