Home
last modified time | relevance | path

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

12345

/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()
162 num_entries = 0; in sgi_tioca_insert_memory()
166 num_entries -= agp_memory_reserved / PAGE_SIZE; in sgi_tioca_insert_memory()
167 if (num_entries < 0) in sgi_tioca_insert_memory()
168 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()
Dintel-gtt.c98 unsigned int num_entries, in intel_gtt_map_memory() argument
104 DBG("try mapping %lu pages\n", (unsigned long)num_entries); in intel_gtt_map_memory()
106 if (sg_alloc_table(st, num_entries, GFP_KERNEL)) in intel_gtt_map_memory()
109 for_each_sg(st->sgl, sg, num_entries, i) in intel_gtt_map_memory()
867 unsigned int num_entries, in intel_gtt_insert_pages() argument
873 for (i = 0, j = first_entry; i < num_entries; i++, j++) { in intel_gtt_insert_pages()
932 void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries) in intel_gtt_clear_range() argument
936 for (i = first_entry; i < (first_entry + num_entries); i++) { in intel_gtt_clear_range()
/drivers/staging/tidspbridge/hw/
Dhw_mmu.c332 s32 num_entries = 1; in hw_mmu_pte_set() local
347 num_entries = 16; in hw_mmu_pte_set()
370 num_entries = 16; in hw_mmu_pte_set()
393 while (--num_entries >= 0) in hw_mmu_pte_set()
394 ((u32 *) pte_addr)[num_entries] = pte_val; in hw_mmu_pte_set()
403 s32 num_entries = 1; in hw_mmu_pte_clear() local
413 num_entries = 16; in hw_mmu_pte_clear()
427 num_entries = 16; in hw_mmu_pte_clear()
437 while (--num_entries >= 0) in hw_mmu_pte_clear()
438 ((u32 *) pte_addr)[num_entries] = 0; in hw_mmu_pte_clear()
/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 …]
/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()
/drivers/gpu/drm/i915/
Di915_gem_gtt.c150 unsigned num_entries) in gen6_ppgtt_clear_range() argument
161 while (num_entries) { in gen6_ppgtt_clear_range()
162 last_pte = first_pte + num_entries; in gen6_ppgtt_clear_range()
173 num_entries -= last_pte - first_pte; in gen6_ppgtt_clear_range()
464 unsigned int num_entries) in gen6_ggtt_clear_range() argument
472 if (WARN(num_entries > max_entries, in gen6_ggtt_clear_range()
474 first_entry, num_entries, max_entries)) in gen6_ggtt_clear_range()
475 num_entries = max_entries; in gen6_ggtt_clear_range()
479 for (i = 0; i < num_entries; i++) in gen6_ggtt_clear_range()
499 unsigned int num_entries) in i915_ggtt_clear_range() argument
[all …]
/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.c211 int num_entries = 0; in __cmd_copy() local
228 num_entries++; in __cmd_copy()
246 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmdq_ci_update()
470 int num_entries; in bfa_msgq_rspq_pi_update() local
482 num_entries = ntohs(msghdr->num_entries); in bfa_msgq_rspq_pi_update()
489 BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, in bfa_msgq_rspq_pi_update()
633 if (ntohs(cmd->msg_hdr->num_entries) <= in bfa_msgq_cmd_post()
/drivers/scsi/
Dipr.h425 u8 num_entries; member
432 __be16 num_entries; member
778 u8 num_entries; member
957 __be32 num_entries; member
973 u8 num_entries; member
1047 __be16 num_entries; member
1061 __be16 num_entries; member
1071 cfg < ((fabric)->elem + be16_to_cpu((fabric)->num_entries)); \
1077 u8 num_entries; member
1084 u8 num_entries; member
[all …]
/drivers/crypto/
Dn2_core.h213 unsigned long num_entries,
218 unsigned long *num_entries);
/drivers/infiniband/hw/ehca/
Dehca_reqs.c799 struct ib_wc *wc, int num_entries, in generate_flush_cqes() argument
815 while ((nr < num_entries) && (qmap_entry->reported == 0)) { in generate_flush_cqes()
872 int ehca_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc) in ehca_poll_cq() argument
880 int entries_left = num_entries; in ehca_poll_cq()
882 if (num_entries < 1) { in ehca_poll_cq()
884 "cq_num=%x", num_entries, my_cq, my_cq->cq_number); in ehca_poll_cq()
923 ret = num_entries - entries_left; in ehca_poll_cq()
/drivers/infiniband/hw/cxgb3/
Diwch_cq.c195 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in iwch_poll_cq() argument
207 for (npolled = 0; npolled < num_entries; ++npolled) { in iwch_poll_cq()
/drivers/staging/et131x/
Det131x.c285 u32 num_entries; member
1846 entry < rx_local->fbr[id]->num_entries; entry++) { in et131x_config_rx_dma_regs()
1860 writel(rx_local->fbr[id]->num_entries - 1, num_des); in et131x_config_rx_dma_regs()
1867 writel(((rx_local->fbr[id]->num_entries * in et131x_config_rx_dma_regs()
2238 rx_ring->fbr[0]->num_entries = 512; in et131x_rx_dma_memory_alloc()
2240 rx_ring->fbr[1]->num_entries = 512; in et131x_rx_dma_memory_alloc()
2243 rx_ring->fbr[0]->num_entries = 1024; in et131x_rx_dma_memory_alloc()
2245 rx_ring->fbr[1]->num_entries = 512; in et131x_rx_dma_memory_alloc()
2248 rx_ring->fbr[0]->num_entries = 768; in et131x_rx_dma_memory_alloc()
2250 rx_ring->fbr[1]->num_entries = 128; in et131x_rx_dma_memory_alloc()
[all …]
/drivers/pci/hotplug/
Dibmphp_ebda.c249 u16 ebda_seg, num_entries, next_offset, offset, blk_id, sub_addr, re, rc_id, re_id, base; in ibmphp_access_ebda() local
347 num_entries = readw (io_mem + sub_addr); in ibmphp_access_ebda()
356 rsrc_list_ptr->num_entries = num_entries; in ibmphp_access_ebda()
361 debug ("num of rsrc: %x\n", num_entries); in ibmphp_access_ebda()
1018 for (rsrc = 0; rsrc < rsrc_list_ptr->num_entries; rsrc++) { in ebda_rsrc_rsrc()
/drivers/staging/tidspbridge/core/
Dtiomap3430.c131 u32 num_entries; /* Number of valid PTEs in the L2 PT */ member
1462 pt->pg_info[l2_page_num].num_entries -= pte_count; in bridge_brd_mem_un_map()
1463 if (pt->pg_info[l2_page_num].num_entries == 0) { in bridge_brd_mem_un_map()
1665 (pt->pg_info[i].num_entries != 0); i++) in pte_set()
1690 pt->pg_info[l2_page_num].num_entries += 16; in pte_set()
1692 pt->pg_info[l2_page_num].num_entries++; in pte_set()
1696 pt->pg_info[l2_page_num].num_entries); in pte_set()
/drivers/net/ethernet/ibm/ehea/
Dehea.h419 int num_entries; member
432 int num_entries; member
/drivers/net/wireless/ath/ath6kl/
Ddebug.c1133 u16 num_entries; in ath6kl_debug_roam_tbl_event() local
1139 num_entries = le16_to_cpu(tbl->num_entries); in ath6kl_debug_roam_tbl_event()
1140 if (sizeof(*tbl) + num_entries * sizeof(struct wmi_bss_roam_info) > in ath6kl_debug_roam_tbl_event()
1170 u16 num_entries, i; in ath6kl_roam_table_read() local
1197 num_entries = le16_to_cpu(tbl->num_entries); in ath6kl_roam_table_read()
1199 buf_len = 100 + num_entries * 100; in ath6kl_roam_table_read()
1209 for (i = 0; i < num_entries; i++) { in ath6kl_roam_table_read()

12345