Home
last modified time | relevance | path

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

/drivers/char/agp/
Dintel-agp.c31 agp_bridge->previous_size = agp_bridge->current_size = (void *) (values + i); in intel_fetch_size()
50 agp_bridge->current_size = (void *) (values + i); in __intel_8xx_fetch_size()
123 struct aper_size_info_16 *current_size; in intel_configure() local
125 current_size = A_SIZE_16(agp_bridge->current_size); in intel_configure()
128 pci_write_config_word(agp_bridge->dev, INTEL_APSIZE, current_size->size_value); in intel_configure()
153 struct aper_size_info_8 *current_size; in intel_815_configure() local
163 current_size = A_SIZE_8(agp_bridge->current_size); in intel_815_configure()
167 current_size->size_value); in intel_815_configure()
213 struct aper_size_info_8 *current_size; in intel_820_configure() local
215 current_size = A_SIZE_8(agp_bridge->current_size); in intel_820_configure()
[all …]
Dgeneric.c302 int current_size; in agp_return_size() local
305 temp = agp_bridge->current_size; in agp_return_size()
309 current_size = A_SIZE_8(temp)->size; in agp_return_size()
312 current_size = A_SIZE_16(temp)->size; in agp_return_size()
315 current_size = A_SIZE_32(temp)->size; in agp_return_size()
318 current_size = A_SIZE_LVL2(temp)->size; in agp_return_size()
321 current_size = A_SIZE_FIX(temp)->size; in agp_return_size()
324 current_size = 0; in agp_return_size()
328 current_size -= (agp_memory_reserved / (1024*1024)); in agp_return_size()
329 if (current_size <0) in agp_return_size()
[all …]
Dnvidia-agp.c51 agp_bridge->current_size = (void *) (values + i); in nvidia_fetch_size()
109 struct aper_size_info_8 *current_size; in nvidia_configure() local
112 current_size = A_SIZE_8(agp_bridge->current_size); in nvidia_configure()
116 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()
Dvia-agp.c34 agp_bridge->current_size = (void *) (values + i); in via_fetch_size()
47 struct aper_size_info_8 *current_size; in via_configure() local
49 current_size = A_SIZE_8(agp_bridge->current_size); in via_configure()
52 current_size->size_value); in via_configure()
119 agp_bridge->current_size = (void *) (values + i); in via_fetch_size_agp3()
131 struct aper_size_info_16 *current_size; in via_configure_agp3() local
133 current_size = A_SIZE_16(agp_bridge->current_size); in via_configure_agp3()
Di460-agp.c160 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()
Defficeon-agp.c100 agp_bridge->current_size = (void *) (values + i); in efficeon_fetch_size()
133 struct aper_size_info_lvl2 *current_size; in efficeon_configure() local
137 current_size = A_SIZE_LVL2(agp_bridge->current_size); in efficeon_configure()
141 current_size->size_value); in efficeon_configure()
202 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table()
248 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory()
294 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
Dali-agp.c34 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()
Duninorth-agp.c68 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()
382 temp = bridge->current_size; in uninorth_create_gatt_table()
394 bridge->current_size = A_IDX32(bridge); in uninorth_create_gatt_table()
450 temp = bridge->current_size; in uninorth_free_gatt_table()
Dati-agp.c160 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()
Damd-k7-agp.c132 value = A_SIZE_LVL2(agp_bridge->current_size); in amd_create_gatt_table()
197 agp_bridge->current_size = (void *) (values + i); in amd_irongate_fetch_size()
209 struct aper_size_info_lvl2 *current_size; in amd_irongate_configure() local
213 current_size = A_SIZE_LVL2(agp_bridge->current_size); in amd_irongate_configure()
242 temp = (((temp & ~(0x0000000e)) | current_size->size_value) | 1); in amd_irongate_configure()
291 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in amd_insert_memory()
Dsis-agp.c36 agp_bridge->current_size = (void *) (values + i); in sis_fetch_size()
54 struct aper_size_info_8 *current_size; in sis_configure() local
56 current_size = A_SIZE_8(agp_bridge->current_size); in sis_configure()
63 current_size->size_value); in sis_configure()
Dsworks-agp.c145 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()
Dfrontend.c568 unsigned int size, current_size; in agp_mmap() local
584 current_size = kerninfo.aper_size; in agp_mmap()
585 current_size = current_size * 0x100000; in agp_mmap()
590 if ((size + offset) > current_size) in agp_mmap()
614 if (size != current_size) in agp_mmap()
Dalpha-agp.c96 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()
Dsgi-agp.c144 temp = bridge->current_size; in sgi_tioca_insert_memory()
318 sgi_tioca_agp_bridges[j]->current_size = in agp_sgi_init()
Dagp.h130 void *current_size; member
Dparisc-agp.c75 agp_bridge->current_size = (void *) &parisc_agp_sizes[0]; in parisc_agp_fetch_size()
Dhp-agp.c236 agp_bridge->current_size = (void *) &hp_zx1_sizes[0]; in hp_zx1_fetch_size()
Damd64-agp.c138 agp_bridge->current_size = (void *) (values + i); in amd64_fetch_size()
Dintel-gtt.c684 agp_bridge->current_size = in intel_fake_agp_fetch_size()
/drivers/gpu/drm/gma500/
Dintel_bios.c36 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/net/ethernet/icplus/
Dipg.c1191 jumbo->current_size = 0; in ipg_nic_rx_with_start_and_end()
1241 jumbo->current_size = sp->rxfrag_size; in ipg_nic_rx_with_start()
1265 endframelen = framelen - jumbo->current_size; in ipg_nic_rx_with_end()
1281 jumbo->current_size = 0; in ipg_nic_rx_with_end()
1288 jumbo->current_size = 0; in ipg_nic_rx_with_end()
1305 jumbo->current_size += sp->rxfrag_size; in ipg_nic_rx_no_start_no_end()
1306 if (jumbo->current_size <= sp->rxsupport_size) { in ipg_nic_rx_no_start_no_end()
1317 jumbo->current_size = 0; in ipg_nic_rx_no_start_no_end()
1783 sp->jumbo.current_size = 0; in ipg_nic_open()
Dipg.h706 int current_size; member
/drivers/gpu/drm/i915/
Dintel_bios.c44 u16 total, current_size; in find_section() local
55 current_size = *((u16 *)(base + index)); in find_section()
59 index += current_size; in find_section()
/drivers/staging/sep/
Dsep_crypto.c157 size_t current_size; in sep_alloc_sg_buf() local
167 current_size = 0; in sep_alloc_sg_buf()
176 while (current_size < size) { in sep_alloc_sg_buf()
177 current_size += real_page_size; in sep_alloc_sg_buf()
187 current_size = 0; in sep_alloc_sg_buf()
199 if ((size - current_size) > real_page_size) { in sep_alloc_sg_buf()
201 current_size += real_page_size; in sep_alloc_sg_buf()
203 sg_temp->length = (size - current_size); in sep_alloc_sg_buf()
204 current_size = size; in sep_alloc_sg_buf()