Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-agp.c28 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 …]
Dgeneric.c286 int current_size; in agp_return_size() local
289 temp = agp_bridge->current_size; in agp_return_size()
293 current_size = A_SIZE_8(temp)->size; in agp_return_size()
296 current_size = A_SIZE_16(temp)->size; in agp_return_size()
299 current_size = A_SIZE_32(temp)->size; in agp_return_size()
302 current_size = A_SIZE_LVL2(temp)->size; in agp_return_size()
305 current_size = A_SIZE_FIX(temp)->size; in agp_return_size()
308 current_size = 0; in agp_return_size()
312 current_size -= (agp_memory_reserved / (1024*1024)); in agp_return_size()
313 if (current_size <0) in agp_return_size()
[all …]
Dnvidia-agp.c51 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()
Dvia-agp.c35 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()
Defficeon-agp.c100 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()
200 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_create_gatt_table()
245 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_insert_memory()
291 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in efficeon_remove_memory()
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()
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()
385 temp = bridge->current_size; in uninorth_create_gatt_table()
397 bridge->current_size = A_IDX32(bridge); in uninorth_create_gatt_table()
455 temp = bridge->current_size; in uninorth_free_gatt_table()
Dati-agp.c162 agp_bridge->current_size = (void *) (values + i); in ati_fetch_size()
276 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in ati_insert_memory()
351 struct aper_size_info_lvl2 *current_size; in ati_create_gatt_table() local
353 value = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table()
369 current_size = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table()
373 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
379 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
Damd-k7-agp.c133 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
214 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()
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()
Dsworks-agp.c146 value = A_SIZE_LVL2(agp_bridge->current_size); in serverworks_create_gatt_table()
219 agp_bridge->current_size = (void *) (values + i); in serverworks_fetch_size()
265 struct aper_size_info_lvl2 *current_size; in serverworks_configure() local
270 current_size = A_SIZE_LVL2(agp_bridge->current_size); in serverworks_configure()
327 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in serverworks_insert_memory()
Dalpha-agp.c94 temp = agp_bridge->current_size; in alpha_core_agp_insert_memory()
188 alpha_bridge->current_size = aper_size; /* only 1 size */ in alpha_core_agp_setup()
Dfrontend.c565 unsigned int size, current_size; in agp_mmap() local
581 current_size = kerninfo.aper_size; in agp_mmap()
582 current_size = current_size * 0x100000; in agp_mmap()
587 if ((size + offset) > current_size) in agp_mmap()
612 if (size != current_size) in agp_mmap()
Dagp.h130 void *current_size; member
Dparisc-agp.c71 agp_bridge->current_size = (void *) &parisc_agp_sizes[0]; in parisc_agp_fetch_size()
Dhp-agp.c233 agp_bridge->current_size = (void *) &hp_zx1_sizes[0]; in hp_zx1_fetch_size()
Damd64-agp.c139 agp_bridge->current_size = (void *) (values + i); in amd64_fetch_size()
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_lib_spectrum.sh41 current_size=$(devlink_resource_size_get kvd "$i")
43 if [ "$size" -ne "$current_size" ]; then
52 current_size=$(devlink_resource_size_get kvd linear "$i")
54 if [ "$size" -ne "$current_size" ]; then
/kernel/linux/linux-5.10/drivers/nvdimm/
Dcore.c273 ssize_t nd_size_select_show(unsigned long current_size, in nd_size_select_show() argument
280 if (current_size == supported[i]) in nd_size_select_show()
289 unsigned long *current_size, const unsigned long *supported) in nd_size_select_store() argument
306 *current_size = lbasize; in nd_size_select_store()
Dnd.h233 ssize_t nd_size_select_show(unsigned long current_size,
236 unsigned long *current_size, const unsigned long *supported);
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
Dintel_bios.c23 u16 total, current_size; in find_section() local
34 current_size = *((u16 *)(base + index)); in find_section()
38 index += current_size; in find_section()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_bios.c93 u32 total, current_size; in find_section() local
103 current_size = _get_blocksize(base + index); in find_section()
106 if (index + current_size > total) in find_section()
112 index += current_size; in find_section()
1096 u32 current_size; in find_panel_sequence_block() local
1113 current_size = *((const u32 *)(data + index + 1)); in find_panel_sequence_block()
1115 current_size = *((const u16 *)(data + index + 1)); in find_panel_sequence_block()
1119 if (index + current_size > total) { in find_panel_sequence_block()
1125 *seq_size = current_size; in find_panel_sequence_block()
1129 index += current_size; in find_panel_sequence_block()
/kernel/linux/linux-5.10/sound/pci/trident/
Dtrident.h328 int current_size; /* current allocated synth mem in bytes */ member
/kernel/linux/linux-5.10/drivers/usb/class/
Dcdc-acm.c364 unsigned int current_size = urb->actual_length; in acm_ctrl_irq() local
397 if (current_size < expected_size) { in acm_ctrl_irq()
415 copy_size = min(current_size, in acm_ctrl_irq()
421 current_size = acm->nb_index; in acm_ctrl_irq()
424 if (current_size >= expected_size) { in acm_ctrl_irq()

12