Home
last modified time | relevance | path

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

12345

/linux-2.6.39/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-2.6.39/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-2.6.39/arch/arm/mach-pnx4008/
Ddma.c697 int new_len = ctrl->tr_size, num_entries = 0; in pnx4008_dma_split_head_entry() local
730 num_entries++; in pnx4008_dma_split_head_entry()
731 new_len = (ctrl->tr_size + num_entries) / (num_entries + 1); in pnx4008_dma_split_head_entry()
733 if (num_entries != 0) { in pnx4008_dma_split_head_entry()
739 while (num_entries) { in pnx4008_dma_split_head_entry()
767 num_entries--; in pnx4008_dma_split_head_entry()
773 while (num_entries) { in pnx4008_dma_split_head_entry()
801 num_entries--; in pnx4008_dma_split_head_entry()
819 int new_len = ctrl->tr_size, num_entries = 0; in pnx4008_dma_split_ll_entry() local
852 num_entries++; in pnx4008_dma_split_ll_entry()
[all …]
/linux-2.6.39/include/drm/
Dintel-gtt.h20 void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries);
21 int intel_gtt_map_memory(struct page **pages, unsigned int num_entries,
27 void intel_gtt_insert_pages(unsigned int first_entry, unsigned int num_entries,
/linux-2.6.39/drivers/parisc/
Diosapic.c237 static struct irt_entry *iosapic_alloc_irt(int num_entries) in iosapic_alloc_irt() argument
246 a = (unsigned long)kmalloc(sizeof(struct irt_entry) * num_entries + 8, GFP_KERNEL); in iosapic_alloc_irt()
283 unsigned long num_entries = 0UL; in iosapic_load_irt() local
290 status = pdc_pat_get_irt_size(&num_entries, cell_num); in iosapic_load_irt()
294 BUG_ON(num_entries == 0); in iosapic_load_irt()
302 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt()
323 status = pdc_pci_irt_size(&num_entries, 0); in iosapic_load_irt()
331 BUG_ON(num_entries == 0); in iosapic_load_irt()
333 table = iosapic_alloc_irt(num_entries); in iosapic_load_irt()
341 status = pdc_pci_irt(num_entries, 0, table); in iosapic_load_irt()
[all …]
/linux-2.6.39/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-2.6.39/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-2.6.39/lib/
Ddma-debug.c419 int dma_debug_resize_entries(u32 num_entries) in dma_debug_resize_entries() argument
428 if (nr_total_entries < num_entries) { in dma_debug_resize_entries()
429 delta = num_entries - nr_total_entries; in dma_debug_resize_entries()
447 delta = nr_total_entries - num_entries; in dma_debug_resize_entries()
457 if (nr_total_entries != num_entries) in dma_debug_resize_entries()
474 static int prealloc_memory(u32 num_entries) in prealloc_memory() argument
479 for (i = 0; i < num_entries; ++i) { in prealloc_memory()
487 num_free_entries = num_entries; in prealloc_memory()
488 min_free_entries = num_entries; in prealloc_memory()
490 pr_info("DMA-API: preallocated %d debug entries\n", num_entries); in prealloc_memory()
[all …]
/linux-2.6.39/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-2.6.39/arch/sparc/kernel/
Dpci_sun4v.h34 unsigned long num_entries);
38 unsigned long *num_entries);
/linux-2.6.39/drivers/crypto/
Dn2_core.h213 unsigned long num_entries,
218 unsigned long *num_entries);
/linux-2.6.39/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-2.6.39/drivers/scsi/
Dipr.h411 u8 num_entries; member
418 __be16 num_entries; member
733 u8 num_entries; member
912 __be32 num_entries; member
928 u8 num_entries; member
1002 __be16 num_entries; member
1016 __be16 num_entries; member
1022 cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
1028 u8 num_entries; member
1035 u8 num_entries; member
[all …]
/linux-2.6.39/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
/linux-2.6.39/include/linux/netfilter_arp/
Darp_tables.h154 unsigned int num_entries; member
170 unsigned int num_entries; member
/linux-2.6.39/include/linux/netfilter_ipv4/
Dip_tables.h176 unsigned int num_entries; member
192 unsigned int num_entries; member

12345