Home
last modified time | relevance | path

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

123

/linux-4.19.296/drivers/char/agp/
Dsgi-agp.c105 sgi_tioca_sizes[0].num_entries = info->ca_gfxgart_entries; in sgi_tioca_fetch_size()
130 int num_entries; in sgi_tioca_insert_memory() local
147 num_entries = A_SIZE_8(temp)->num_entries; in sgi_tioca_insert_memory()
150 num_entries = A_SIZE_16(temp)->num_entries; in sgi_tioca_insert_memory()
153 num_entries = A_SIZE_32(temp)->num_entries; in sgi_tioca_insert_memory()
156 num_entries = A_SIZE_FIX(temp)->num_entries; in sgi_tioca_insert_memory()
161 num_entries = 0; in sgi_tioca_insert_memory()
165 num_entries -= agp_memory_reserved / PAGE_SIZE; in sgi_tioca_insert_memory()
166 if (num_entries < 0) in sgi_tioca_insert_memory()
167 num_entries = 0; in sgi_tioca_insert_memory()
[all …]
Dgeneric.c321 int num_entries; in agp_num_entries() local
328 num_entries = A_SIZE_8(temp)->num_entries; in agp_num_entries()
331 num_entries = A_SIZE_16(temp)->num_entries; in agp_num_entries()
334 num_entries = A_SIZE_32(temp)->num_entries; in agp_num_entries()
337 num_entries = A_SIZE_LVL2(temp)->num_entries; in agp_num_entries()
340 num_entries = A_SIZE_FIX(temp)->num_entries; in agp_num_entries()
343 num_entries = 0; in agp_num_entries()
347 num_entries -= agp_memory_reserved>>PAGE_SHIFT; in agp_num_entries()
348 if (num_entries<0) in agp_num_entries()
349 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.c199 int num_entries, l1_pages; in efficeon_create_gatt_table() local
201 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table()
203 printk(KERN_DEBUG PFX "efficeon_create_gatt_table(%d)\n", num_entries); in efficeon_create_gatt_table()
206 BUG_ON(num_entries & 0x3ff); in efficeon_create_gatt_table()
207 l1_pages = num_entries >> 10; in efficeon_create_gatt_table()
240 int i, count = mem->page_count, num_entries; in efficeon_insert_memory() local
247 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory()
248 if ((pg_start + mem->page_count) > num_entries) in efficeon_insert_memory()
289 int i, count = mem->page_count, num_entries; in efficeon_remove_memory() local
293 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
[all …]
Dalpha-agp.c88 int num_entries, status; in alpha_core_agp_insert_memory() local
95 num_entries = A_SIZE_FIX(temp)->num_entries; in alpha_core_agp_insert_memory()
96 if ((pg_start + mem->page_count) > num_entries) in alpha_core_agp_insert_memory()
169 aper_size->num_entries = agp->aperture.size / PAGE_SIZE; in alpha_core_agp_setup()
170 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.c150 int i, num_entries; in uninorth_insert_memory() local
168 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_insert_memory()
170 if ((pg_start + mem->page_count) > num_entries) in uninorth_insert_memory()
373 int num_entries; in uninorth_create_gatt_table() local
385 size = page_order = num_entries = 0; in uninorth_create_gatt_table()
390 num_entries = A_SIZE_32(temp)->num_entries; in uninorth_create_gatt_table()
435 for (i = 0; i < num_entries; i++) in uninorth_create_gatt_table()
Dati-agp.c271 int i, j, num_entries; in ati_insert_memory() local
276 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in ati_insert_memory()
285 if ((pg_start + mem->page_count) > num_entries) in ati_insert_memory()
358 retval = ati_create_gatt_pages(value->num_entries / 1024); in ati_create_gatt_table()
394 for (i = 0; i < value->num_entries / 1024; i++, addr += 0x00400000) { in ati_create_gatt_table()
400 for (i = 0; i < value->num_entries; i++) { in ati_create_gatt_table()
Damd-k7-agp.c138 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()
Dsworks-agp.c162 retval = serverworks_create_gatt_pages(value->num_entries / 1024); in serverworks_create_gatt_table()
182 for (i = 0; i < value->num_entries / 1024; i++) in serverworks_create_gatt_table()
323 int i, j, num_entries; in serverworks_insert_memory() local
327 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in serverworks_insert_memory()
332 if ((pg_start + mem->page_count) > num_entries) { in serverworks_insert_memory()
Dintel-gtt.c99 unsigned int num_entries, in intel_gtt_map_memory() argument
105 DBG("try mapping %lu pages\n", (unsigned long)num_entries); in intel_gtt_map_memory()
107 if (sg_alloc_table(st, num_entries, GFP_KERNEL)) in intel_gtt_map_memory()
110 for_each_sg(st->sgl, sg, num_entries, i) in intel_gtt_map_memory()
885 unsigned int num_entries, in intel_gtt_insert_pages() argument
891 for (i = 0, j = first_entry; i < num_entries; i++, j++) { in intel_gtt_insert_pages()
951 void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries) in intel_gtt_clear_range() argument
955 for (i = first_entry; i < (first_entry + num_entries); i++) { in intel_gtt_clear_range()
/linux-4.19.296/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-4.19.296/drivers/regulator/
Dti-abb-regulator.c514 int num_entries, min_uV = INT_MAX, max_uV = 0; in ti_abb_init_table() local
522 num_entries = of_property_count_u32_elems(dev->of_node, pname); in ti_abb_init_table()
523 if (num_entries < 0) { in ti_abb_init_table()
525 return num_entries; in ti_abb_init_table()
528 if (!num_entries || (num_entries % num_values)) { in ti_abb_init_table()
533 num_entries /= num_values; in ti_abb_init_table()
535 info = devm_kcalloc(dev, num_entries, sizeof(*info), GFP_KERNEL); in ti_abb_init_table()
541 volt_table = devm_kcalloc(dev, num_entries, sizeof(unsigned int), in ti_abb_init_table()
546 abb->rdesc.n_voltages = num_entries; in ti_abb_init_table()
551 for (i = 0; i < num_entries; i++, info++, volt_table++) { in ti_abb_init_table()
/linux-4.19.296/include/uapi/linux/netfilter_arp/
Darp_tables.h150 unsigned int num_entries; member
166 unsigned int num_entries; member
/linux-4.19.296/include/uapi/linux/netfilter_ipv4/
Dip_tables.h172 unsigned int num_entries; member
188 unsigned int num_entries; member
/linux-4.19.296/include/linux/mlx5/
Dcmd.h41 u16 num_entries; member
/linux-4.19.296/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h212 unsigned int num_entries; member
228 unsigned int num_entries; member
/linux-4.19.296/include/drm/
Dintel-gtt.h24 void intel_gtt_clear_range(unsigned int first_entry, unsigned int num_entries);
/linux-4.19.296/include/linux/
Ddma-debug.h33 extern int dma_debug_resize_entries(u32 num_entries);
101 static inline int dma_debug_resize_entries(u32 num_entries) in dma_debug_resize_entries() argument
Dreset-controller.h89 unsigned int num_entries);
/linux-4.19.296/include/drm/bridge/
Dmhl.h329 u8 num_entries; member
338 u8 num_entries; member
/linux-4.19.296/drivers/misc/mic/host/
Dmic_smpt.c209 int num_entries; in mic_map() local
220 num_entries = mic_get_smpt_ref_count(mdev, dma_addr, size, in mic_map()
224 mic_addr = mic_smpt_op(mdev, smpt_start, num_entries, ref, size); in mic_map()
/linux-4.19.296/include/acpi/
Dcppc_acpi.h65 int num_entries; member
Dprocessor.h97 u64 num_entries; member
138 u64 num_entries; member
/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_ebda.c234 u16 ebda_seg, num_entries, next_offset, offset, blk_id, sub_addr, re, rc_id, re_id, base; in ibmphp_access_ebda() local
332 num_entries = readw(io_mem + sub_addr); in ibmphp_access_ebda()
341 rsrc_list_ptr->num_entries = num_entries; in ibmphp_access_ebda()
346 debug("num of rsrc: %x\n", num_entries); in ibmphp_access_ebda()
983 for (rsrc = 0; rsrc < rsrc_list_ptr->num_entries; rsrc++) { in ebda_rsrc_rsrc()

123