/drivers/char/agp/ |
D | intel-agp.c | 28 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in intel_fetch_size() 47 agp_bridge->current_size = (void *) (values + i); in __intel_8xx_fetch_size() 119 struct aper_size_info_16 *current_size; in intel_configure() local 121 current_size = A_SIZE_16(agp_bridge->current_size); in intel_configure() 124 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_configure() 149 struct aper_size_info_8 *current_size; in intel_815_configure() local 159 current_size = A_SIZE_8(agp_bridge->current_size); in intel_815_configure() 163 current_size->size_value); in intel_815_configure() 208 struct aper_size_info_8 *current_size; in intel_820_configure() local 210 current_size = A_SIZE_8(agp_bridge->current_size); in intel_820_configure() [all …]
|
D | generic.c | 290 int current_size; in agp_return_size() local 293 temp = agp_bridge->current_size; in agp_return_size() 297 current_size = A_SIZE_8(temp)->size; in agp_return_size() 300 current_size = A_SIZE_16(temp)->size; in agp_return_size() 303 current_size = A_SIZE_32(temp)->size; in agp_return_size() 306 current_size = A_SIZE_LVL2(temp)->size; in agp_return_size() 309 current_size = A_SIZE_FIX(temp)->size; in agp_return_size() 312 current_size = 0; in agp_return_size() 316 current_size -= (agp_memory_reserved / (1024*1024)); in agp_return_size() 317 if (current_size <0) in agp_return_size() [all …]
|
D | nvidia-agp.c | 51 agp_bridge->current_size = (void *) (values + i); in nvidia_fetch_size() 110 struct aper_size_info_8 *current_size; in nvidia_configure() local 113 current_size = A_SIZE_8(agp_bridge->current_size); in nvidia_configure() 117 current_size->size_value); in nvidia_configure() 122 aplimit = apbase + (current_size->size * 1024 * 1024) - 1; in nvidia_configure() 127 if (0 != (rc = nvidia_init_iorr(apbase, current_size->size * 1024 * 1024))) in nvidia_configure() 131 num_dirs = current_size->size / 64; in nvidia_configure() 132 nvidia_private.num_active_entries = current_size->num_entries; in nvidia_configure() 136 nvidia_private.num_active_entries /= (64 / current_size->size); in nvidia_configure() 138 ~(current_size->size * 1024 * 1024 - 1)) / PAGE_SIZE; in nvidia_configure()
|
D | via-agp.c | 34 agp_bridge->current_size = (void *) (values + i); in via_fetch_size() 46 struct aper_size_info_8 *current_size; in via_configure() local 48 current_size = A_SIZE_8(agp_bridge->current_size); in via_configure() 51 current_size->size_value); in via_configure() 118 agp_bridge->current_size = (void *) (values + i); in via_fetch_size_agp3() 130 struct aper_size_info_16 *current_size; in via_configure_agp3() local 132 current_size = A_SIZE_16(agp_bridge->current_size); in via_configure_agp3()
|
D | i460-agp.c | 160 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in i460_fetch_size() 207 struct aper_size_info_8 *current_size; in i460_configure() local 211 current_size = A_SIZE_8(agp_bridge->current_size); in i460_configure() 212 i460_write_agpsiz(current_size->size_value); in i460_configure() 234 size = current_size->num_entries * sizeof(i460.lp_desc[0]); in i460_configure() 250 temp = agp_bridge->current_size; in i460_create_gatt_table() 276 temp = agp_bridge->current_size; in i460_free_gatt_table() 308 temp = agp_bridge->current_size; in i460_insert_memory_small_io_page() 410 temp = agp_bridge->current_size; in i460_insert_memory_large_io_page() 468 temp = agp_bridge->current_size; in i460_remove_memory_large_io_page()
|
D | efficeon-agp.c | 100 agp_bridge->current_size = (void *) (values + i); in efficeon_fetch_size() 132 struct aper_size_info_lvl2 *current_size; in efficeon_configure() local 136 current_size = A_SIZE_LVL2(agp_bridge->current_size); in efficeon_configure() 140 current_size->size_value); in efficeon_configure() 201 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table() 247 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory() 293 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
|
D | ali-agp.c | 34 agp_bridge->current_size = (void *) (values + i); in ali_fetch_size() 73 struct aper_size_info_32 *current_size; in ali_configure() local 75 current_size = A_SIZE_32(agp_bridge->current_size); in ali_configure() 80 | (current_size->size_value & 0xf)); in ali_configure() 95 switch (current_size->size_value) { in ali_configure() 133 page_count = 1 << A_SIZE_32(agp_bridge->current_size)->page_order; in m1541_cache_flush()
|
D | uninorth-agp.c | 68 agp_bridge->current_size = (void *)(values + i); in uninorth_fetch_size() 112 struct aper_size_info_32 *current_size; in uninorth_configure() local 114 current_size = A_SIZE_32(agp_bridge->current_size); in uninorth_configure() 117 current_size->size_value); in uninorth_configure() 123 | current_size->size_value); in uninorth_configure() 168 temp = agp_bridge->current_size; in uninorth_insert_memory() 385 temp = bridge->current_size; in uninorth_create_gatt_table() 397 bridge->current_size = A_IDX32(bridge); in uninorth_create_gatt_table() 453 temp = bridge->current_size; in uninorth_free_gatt_table()
|
D | ati-agp.c | 160 agp_bridge->current_size = (void *) (values + i); in ati_fetch_size() 274 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in ati_insert_memory() 349 struct aper_size_info_lvl2 *current_size; in ati_create_gatt_table() local 351 value = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table() 367 current_size = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table() 371 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table() 377 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
|
D | amd-k7-agp.c | 131 value = A_SIZE_LVL2(agp_bridge->current_size); in amd_create_gatt_table() 195 agp_bridge->current_size = (void *) (values + i); in amd_irongate_fetch_size() 207 struct aper_size_info_lvl2 *current_size; in amd_irongate_configure() local 212 current_size = A_SIZE_LVL2(agp_bridge->current_size); in amd_irongate_configure() 240 temp = (((temp & ~(0x0000000e)) | current_size->size_value) | 1); in amd_irongate_configure() 289 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in amd_insert_memory()
|
D | sis-agp.c | 36 agp_bridge->current_size = (void *) (values + i); in sis_fetch_size() 53 struct aper_size_info_8 *current_size; in sis_configure() local 55 current_size = A_SIZE_8(agp_bridge->current_size); in sis_configure() 62 current_size->size_value); in sis_configure()
|
D | sworks-agp.c | 145 value = A_SIZE_LVL2(agp_bridge->current_size); in serverworks_create_gatt_table() 218 agp_bridge->current_size = (void *) (values + i); in serverworks_fetch_size() 264 struct aper_size_info_lvl2 *current_size; in serverworks_configure() local 269 current_size = A_SIZE_LVL2(agp_bridge->current_size); in serverworks_configure() 326 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in serverworks_insert_memory()
|
D | frontend.c | 567 unsigned int size, current_size; in agp_mmap() local 583 current_size = kerninfo.aper_size; in agp_mmap() 584 current_size = current_size * 0x100000; in agp_mmap() 589 if ((size + offset) > current_size) in agp_mmap() 614 if (size != current_size) in agp_mmap()
|
D | alpha-agp.c | 96 temp = agp_bridge->current_size; in alpha_core_agp_insert_memory() 190 alpha_bridge->current_size = aper_size; /* only 1 size */ in alpha_core_agp_setup()
|
D | sgi-agp.c | 143 temp = bridge->current_size; in sgi_tioca_insert_memory() 317 sgi_tioca_agp_bridges[j]->current_size = in agp_sgi_init()
|
D | agp.h | 130 void *current_size; member
|
D | parisc-agp.c | 75 agp_bridge->current_size = (void *) &parisc_agp_sizes[0]; in parisc_agp_fetch_size()
|
D | hp-agp.c | 236 agp_bridge->current_size = (void *) &hp_zx1_sizes[0]; in hp_zx1_fetch_size()
|
D | amd64-agp.c | 138 agp_bridge->current_size = (void *) (values + i); in amd64_fetch_size()
|
D | intel-gtt.c | 683 agp_bridge->current_size = in intel_fake_agp_fetch_size()
|
/drivers/gpu/drm/gma500/ |
D | intel_bios.c | 36 u16 total, current_size; in find_section() local 47 current_size = *((u16 *)(base + index)); in find_section() 51 index += current_size; in find_section()
|
/drivers/gpu/drm/i915/ |
D | intel_bios.c | 45 u32 total, current_size; in find_section() local 57 current_size = *((const u16 *)(base + index)); in find_section() 62 current_size = *((const u32 *)(base + index + 1)); in find_section() 64 if (index + current_size > total) in find_section() 70 index += current_size; in find_section()
|