Home
last modified time | relevance | path

Searched refs:num_entries (Results 1 – 25 of 140) sorted by relevance

123456

/linux-3.4.99/drivers/char/agp/
Dsgi-agp.c106 sgi_tioca_sizes[0].num_entries = info->ca_gfxgart_entries; in sgi_tioca_fetch_size()
131 int num_entries; in sgi_tioca_insert_memory() local
148 num_entries = A_SIZE_8(temp)->num_entries; in sgi_tioca_insert_memory()
151 num_entries = A_SIZE_16(temp)->num_entries; in sgi_tioca_insert_memory()
154 num_entries = A_SIZE_32(temp)->num_entries; in sgi_tioca_insert_memory()
157 num_entries = A_SIZE_FIX(temp)->num_entries; in sgi_tioca_insert_memory()
163 num_entries = 0; in sgi_tioca_insert_memory()
167 num_entries -= agp_memory_reserved / PAGE_SIZE; in sgi_tioca_insert_memory()
168 if (num_entries < 0) in sgi_tioca_insert_memory()
169 num_entries = 0; in sgi_tioca_insert_memory()
[all …]
Dgeneric.c337 int num_entries; in agp_num_entries() local
344 num_entries = A_SIZE_8(temp)->num_entries; in agp_num_entries()
347 num_entries = A_SIZE_16(temp)->num_entries; in agp_num_entries()
350 num_entries = A_SIZE_32(temp)->num_entries; in agp_num_entries()
353 num_entries = A_SIZE_LVL2(temp)->num_entries; in agp_num_entries()
356 num_entries = A_SIZE_FIX(temp)->num_entries; in agp_num_entries()
359 num_entries = 0; in agp_num_entries()
363 num_entries -= agp_memory_reserved>>PAGE_SHIFT; in agp_num_entries()
364 if (num_entries<0) in agp_num_entries()
365 num_entries = 0; in agp_num_entries()
[all …]
Di460-agp.c153 values[i].num_entries = (values[i].size << 8) >> (I460_IO_PAGE_SHIFT - 12); in i460_fetch_size()
154 values[i].page_order = ilog2((sizeof(u32)*values[i].num_entries) >> PAGE_SHIFT); in i460_fetch_size()
234 size = current_size->num_entries * sizeof(i460.lp_desc[0]); in i460_configure()
244 int page_order, num_entries, i; in i460_create_gatt_table() local
252 num_entries = A_SIZE_8(temp)->num_entries; in i460_create_gatt_table()
265 for (i = 0; i < num_entries; ++i) in i460_create_gatt_table()
273 int num_entries, i; in i460_free_gatt_table() local
278 num_entries = A_SIZE_8(temp)->num_entries; in i460_free_gatt_table()
280 for (i = 0; i < num_entries; ++i) in i460_free_gatt_table()
282 WR_FLUSH_GATT(num_entries - 1); in i460_free_gatt_table()
[all …]
Defficeon-agp.c200 int num_entries, l1_pages; in efficeon_create_gatt_table() local
202 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table()
204 printk(KERN_DEBUG PFX "efficeon_create_gatt_table(%d)\n", num_entries); in efficeon_create_gatt_table()
207 BUG_ON(num_entries & 0x3ff); in efficeon_create_gatt_table()
208 l1_pages = num_entries >> 10; in efficeon_create_gatt_table()
241 int i, count = mem->page_count, num_entries; in efficeon_insert_memory() local
248 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory()
249 if ((pg_start + mem->page_count) > num_entries) in efficeon_insert_memory()
290 int i, count = mem->page_count, num_entries; in efficeon_remove_memory() local
294 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
[all …]
Dalpha-agp.c90 int num_entries, status; in alpha_core_agp_insert_memory() local
97 num_entries = A_SIZE_FIX(temp)->num_entries; in alpha_core_agp_insert_memory()
98 if ((pg_start + mem->page_count) > num_entries) in alpha_core_agp_insert_memory()
171 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
172 aper_size->page_order = __ffs(aper_size->num_entries / 1024); in alpha_core_agp_setup()
Dagp.h66 int num_entries; member
73 int num_entries; member
80 int num_entries; member
87 int num_entries; member
93 int num_entries; member
Duninorth-agp.c151 int i, num_entries; in uninorth_insert_memory() local
169 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_insert_memory()
171 if ((pg_start + mem->page_count) > num_entries) in uninorth_insert_memory()
370 int num_entries; in uninorth_create_gatt_table() local
383 size = page_order = num_entries = 0; in uninorth_create_gatt_table()
388 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_create_gatt_table()
431 for (i = 0; i < num_entries; i++) in uninorth_create_gatt_table()
Damd-k7-agp.c137 retval = amd_create_gatt_pages(value->num_entries / 1024); in amd_create_gatt_table()
157 for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { in amd_create_gatt_table()
163 for (i = 0; i < value->num_entries; i++) { in amd_create_gatt_table()
287 int i, j, num_entries; in amd_insert_memory() local
291 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in amd_insert_memory()
297 if ((pg_start + mem->page_count) > num_entries) in amd_insert_memory()
Dati-agp.c269 int i, j, num_entries; in ati_insert_memory() local
274 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in ati_insert_memory()
283 if ((pg_start + mem->page_count) > num_entries) in ati_insert_memory()
356 retval = ati_create_gatt_pages(value->num_entries / 1024); in ati_create_gatt_table()
393 for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { in ati_create_gatt_table()
399 for (i = 0; i < value->num_entries; i++) { in ati_create_gatt_table()
Dsworks-agp.c161 retval = serverworks_create_gatt_pages(value->num_entries / 1024); in serverworks_create_gatt_table()
181 for (i = 0; i < value->num_entries / 1024; i++) in serverworks_create_gatt_table()
322 int i, j, num_entries; in serverworks_insert_memory() local
326 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in serverworks_insert_memory()
331 if ((pg_start + mem->page_count) > num_entries) { in serverworks_insert_memory()
/linux-3.4.99/drivers/staging/tidspbridge/hw/
Dhw_mmu.c395 s32 num_entries = 1; in hw_mmu_pte_set() local
410 num_entries = 16; in hw_mmu_pte_set()
433 num_entries = 16; in hw_mmu_pte_set()
456 while (--num_entries >= 0) in hw_mmu_pte_set()
457 ((u32 *) pte_addr)[num_entries] = pte_val; in hw_mmu_pte_set()
466 s32 num_entries = 1; in hw_mmu_pte_clear() local
476 num_entries = 16; in hw_mmu_pte_clear()
490 num_entries = 16; in hw_mmu_pte_clear()
500 while (--num_entries >= 0) in hw_mmu_pte_clear()
501 ((u32 *) pte_addr)[num_entries] = 0; in hw_mmu_pte_clear()
/linux-3.4.99/arch/arm/mach-pnx4008/
Ddma.c696 int new_len = ctrl->tr_size, num_entries = 0; in pnx4008_dma_split_head_entry() local
729 num_entries++; in pnx4008_dma_split_head_entry()
730 new_len = (ctrl->tr_size + num_entries) / (num_entries + 1); in pnx4008_dma_split_head_entry()
732 if (num_entries != 0) { in pnx4008_dma_split_head_entry()
738 while (num_entries) { in pnx4008_dma_split_head_entry()
766 num_entries--; in pnx4008_dma_split_head_entry()
772 while (num_entries) { in pnx4008_dma_split_head_entry()
800 num_entries--; in pnx4008_dma_split_head_entry()
818 int new_len = ctrl->tr_size, num_entries = 0; in pnx4008_dma_split_ll_entry() local
851 num_entries++; in pnx4008_dma_split_ll_entry()
[all …]
/linux-3.4.99/include/drm/
Dintel-gtt.h26 void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries);
27 int intel_gtt_map_memory(struct page **pages, unsigned int num_entries,
33 void intel_gtt_insert_pages(unsigned int first_entry, unsigned int num_entries,
/linux-3.4.99/drivers/parisc/
Diosapic.c236 static struct irt_entry *iosapic_alloc_irt(int num_entries) in iosapic_alloc_irt() argument
245 a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL); in iosapic_alloc_irt()
282 unsigned long num_entries = 0UL; in iosapic_load_irt() local
289 status = pdc_pat_get_irt_size(&num_entries, cell_num); in iosapic_load_irt()
293 BUG_ON(num_entries == 0); in iosapic_load_irt()
301 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt()
322 status = pdc_pci_irt_size(&num_entries, 0); in iosapic_load_irt()
330 BUG_ON(num_entries == 0); in iosapic_load_irt()
332 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt()
340 status = pdc_pci_irt(num_entries, 0, table); in iosapic_load_irt()
[all …]
/linux-3.4.99/include/linux/
Ddma-debug.h33 extern void dma_debug_init(u32 num_entries);
35 extern int dma_debug_resize_entries(u32 num_entries);
92 static inline void dma_debug_init(u32 num_entries) in dma_debug_init() argument
96 static inline int dma_debug_resize_entries(u32 num_entries) in dma_debug_resize_entries() argument
/linux-3.4.99/drivers/gpu/drm/i915/
Di915_gem_gtt.c35 unsigned num_entries) in i915_ppgtt_clear_range() argument
46 while (num_entries) { in i915_ppgtt_clear_range()
47 last_pte = first_pte + num_entries; in i915_ppgtt_clear_range()
58 num_entries -= last_pte - first_pte; in i915_ppgtt_clear_range()
219 unsigned first_entry, unsigned num_entries, in i915_ppgtt_insert_pages() argument
228 while (num_entries) { in i915_ppgtt_insert_pages()
229 last_pte = first_pte + num_entries; in i915_ppgtt_insert_pages()
244 num_entries -= last_pte - first_pte; in i915_ppgtt_insert_pages()
/linux-3.4.99/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c387 symbol_node_t *regnode, u_int num_entries) in aic_print_reg_dump_end() argument
400 if (num_entries != 0) in aic_print_reg_dump_end()
417 num_entries != 0 ? regnode->symbol->name : "NULL", in aic_print_reg_dump_end()
418 num_entries != 0 ? "_parse_table" : "", in aic_print_reg_dump_end()
419 num_entries, in aic_print_reg_dump_end()
552 int num_entries; in symtable_dump() local
554 num_entries = 0; in symtable_dump()
560 if (num_entries == 0) in symtable_dump()
565 num_entries++; in symtable_dump()
569 curnode, num_entries); in symtable_dump()
/linux-3.4.99/arch/sparc/include/asm/
Dhypervisor.h2632 unsigned long num_entries);
2635 unsigned long *num_entries);
2644 unsigned long num_entries);
2647 unsigned long *num_entries);
2656 unsigned long num_entries);
2659 unsigned long *num_entries);
/linux-3.4.99/lib/
Ddma-debug.c473 int dma_debug_resize_entries(u32 num_entries) in dma_debug_resize_entries() argument
482 if (nr_total_entries < num_entries) { in dma_debug_resize_entries()
483 delta = num_entries - nr_total_entries; in dma_debug_resize_entries()
501 delta = nr_total_entries - num_entries; in dma_debug_resize_entries()
511 if (nr_total_entries != num_entries) in dma_debug_resize_entries()
528 static int prealloc_memory(u32 num_entries) in prealloc_memory() argument
533 for (i = 0; i < num_entries; ++i) { in prealloc_memory()
541 num_free_entries = num_entries; in prealloc_memory()
542 min_free_entries = num_entries; in prealloc_memory()
544 pr_info("DMA-API: preallocated %d debug entries\n", num_entries); in prealloc_memory()
[all …]
/linux-3.4.99/arch/sparc/kernel/
Dpci_sun4v.h34 unsigned long num_entries);
38 unsigned long *num_entries);
/linux-3.4.99/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.c213 int num_entries = 0; in __cmd_copy() local
230 num_entries++; in __cmd_copy()
248 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update()
472 int num_entries; in bfa_msgq_rspq_pi_update() local
484 num_entries = ntohs(msghdr->num_entries); in bfa_msgq_rspq_pi_update()
491 BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, in bfa_msgq_rspq_pi_update()
635 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/linux-3.4.99/arch/sparc/mm/
Dsun4c.c579 int num_entries; member
596 sun4c_context_ring[i].num_entries = 0; in sun4c_init_rings()
600 sun4c_ufree_ring.num_entries = 0; in sun4c_init_rings()
603 sun4c_ulru_ring.num_entries = 0; in sun4c_init_rings()
606 sun4c_kernel_ring.num_entries = 0; in sun4c_init_rings()
609 sun4c_kfree_ring.num_entries = 0; in sun4c_init_rings()
620 ring->num_entries++; in add_ring()
645 ring->num_entries++; in add_ring_ordered()
656 ring->num_entries--; in remove_ring()
768 if (sun4c_kfree_ring.num_entries) { in sun4c_kernel_strategy()
[all …]
/linux-3.4.99/drivers/crypto/
Dn2_core.h213 unsigned long num_entries,
218 unsigned long *num_entries);
/linux-3.4.99/drivers/scsi/
Dipr.h416 u8 num_entries; member
423 __be16 num_entries; member
738 u8 num_entries; member
917 __be32 num_entries; member
933 u8 num_entries; member
1007 __be16 num_entries; member
1021 __be16 num_entries; member
1027 cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
1033 u8 num_entries; member
1040 u8 num_entries; member
[all …]
/linux-3.4.99/arch/parisc/include/asm/
Dpdcpat.h195 extern int pdc_pat_get_irt_size(unsigned long *num_entries, unsigned long cell_num);
200 #define pdc_pat_get_irt_size(num_entries, cell_numn) PDC_BAD_PROC argument

123456