Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/char/agp/
H A Dintel-agp.c121 current_size = A_SIZE_16(agp_bridge->current_size); 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()
210 current_size = A_SIZE_8(agp_bridge->current_size); in intel_820_configure()
240 current_size = A_SIZE_8(agp_bridge->current_size); in intel_840_configure()
268 current_size = A_SIZE_8(agp_bridge->current_size); in intel_845_configure()
302 current_size = A_SIZE_8(agp_bridge->current_size); in intel_850_configure()
330 current_size = A_SIZE_8(agp_bridge->current_size); in intel_860_configure()
358 current_size = A_SIZE_8(agp_bridge->current_size); in intel_830mp_configure()
[all …]
H A Dgeneric.c286 int current_size; in agp_return_size() local
289 temp = agp_bridge->current_size; in agp_return_size()
308 current_size = 0; in agp_return_size()
313 if (current_size <0) in agp_return_size()
314 current_size = 0; in agp_return_size()
315 return current_size; in agp_return_size()
324 temp = agp_bridge->current_size; in agp_num_entries()
866 temp = bridge->current_size; in agp_generic_create_gatt_table()
975 temp = bridge->current_size; in agp_generic_free_gatt_table()
1041 temp = bridge->current_size; in agp_generic_insert_memory()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A Duninorth-agp.c69 agp_bridge->current_size = (void *)(values + i); in uninorth_fetch_size()
113 struct aper_size_info_32 *current_size; in uninorth_configure() local
115 current_size = A_SIZE_32(agp_bridge->current_size); in uninorth_configure()
118 current_size->size_value); in uninorth_configure()
124 | current_size->size_value); in uninorth_configure()
169 temp = agp_bridge->current_size; in uninorth_insert_memory()
386 temp = bridge->current_size; in uninorth_create_gatt_table()
398 bridge->current_size = A_IDX32(bridge); in uninorth_create_gatt_table()
456 temp = bridge->current_size; in uninorth_free_gatt_table()
H A Dati-agp.c166 agp_bridge->current_size = (void *) (values + i); in ati_fetch_size()
267 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in ati_insert_memory()
342 struct aper_size_info_lvl2 *current_size; in ati_create_gatt_table() local
344 value = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table()
360 current_size = A_SIZE_LVL2(agp_bridge->current_size); in ati_create_gatt_table()
364 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
370 temp = (((temp & ~(0x0000000e)) | current_size->size_value) in ati_create_gatt_table()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dfrontend.c567 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()
H A 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()
324 num_entries = A_SIZE_LVL2(agp_bridge->current_size)->num_entries; in serverworks_insert_memory()
H A Dagp.h130 void *current_size; member
/openbmc/qemu/tests/qemu-iotests/
H A D14660 echo === Testing VPC with current_size force ===
87 echo === Testing Hyper-V with current_size force ===
114 echo === Testing d2v with current_size force ===
156 echo === Read created image, force_size_calc=current_size ====
186 echo === Read created image, force_size_calc=current_size ====
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_lib_spectrum.sh39 current_size=$(devlink_resource_size_get kvd "$i")
41 if [ "$size" -ne "$current_size" ]; then
50 current_size=$(devlink_resource_size_get kvd linear "$i")
52 if [ "$size" -ne "$current_size" ]; then
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_region_lmem.c56 resource_size_t current_size; in i915_resize_lmem_bar() local
61 current_size = roundup_pow_of_two(pci_resource_len(pdev, GEN12_LMEM_BAR)); in i915_resize_lmem_bar()
70 if (rebar_size == current_size) in i915_resize_lmem_bar()
82 rebar_size = current_size; in i915_resize_lmem_bar()
/openbmc/linux/drivers/nvdimm/
H A Dcore.c241 ssize_t nd_size_select_show(unsigned long current_size, in nd_size_select_show() argument
248 if (current_size == supported[i]) in nd_size_select_show()
257 unsigned long *current_size, const unsigned long *supported) in nd_size_select_store() argument
274 *current_size = lbasize; in nd_size_select_store()
H A Dnd.h499 ssize_t nd_size_select_show(unsigned long current_size,
502 unsigned long *current_size, const unsigned long *supported);
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dintel_bios.c24 u16 total, current_size; in find_section() local
35 current_size = *((u16 *)(base + index)); in find_section()
39 index += current_size; in find_section()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_bios.c97 u32 total, current_size; in find_raw_section() local
107 current_size = _get_blocksize(base + index); in find_raw_section()
110 if (index + current_size > total) in find_raw_section()
116 index += current_size; in find_raw_section()
1750 u32 current_size; in find_panel_sequence_block() local
1767 current_size = *((const u32 *)(data + index + 1)); in find_panel_sequence_block()
1769 current_size = *((const u16 *)(data + index + 1)); in find_panel_sequence_block()
1773 if (index + current_size > total) { in find_panel_sequence_block()
1779 *seq_size = current_size; in find_panel_sequence_block()
1783 index += current_size; in find_panel_sequence_block()
/openbmc/linux/sound/pci/trident/
H A Dtrident.h327 int current_size; /* current allocated synth mem in bytes */ member
/openbmc/qemu/block/
H A Dvpc.c81 uint64_t current_size; member
339 bs->total_sectors = be64_to_cpu(footer->current_size) / in vpc_open()
1065 footer.current_size = cpu_to_be64(total_size); in vpc_co_create()
/openbmc/linux/drivers/usb/class/
H A Dcdc-acm.c375 unsigned int current_size = urb->actual_length; in acm_ctrl_irq() local
408 if (current_size < expected_size) { in acm_ctrl_irq()
426 copy_size = min(current_size, in acm_ctrl_irq()
432 current_size = acm->nb_index; in acm_ctrl_irq()
435 if (current_size >= expected_size) { in acm_ctrl_irq()

12