Home
last modified time | relevance | path

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

12

/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_info.c23 si->ps.memory_size = 896; in set_nm2070()
42 si->ps.memory_size = 1152; in set_nm2090_nm2093()
61 si->ps.memory_size = 1152; in set_nm2097()
80 si->ps.memory_size = 2048; in set_nm2160()
99 si->ps.memory_size = 2560; in set_nm2200()
118 si->ps.memory_size = 3008; in set_nm2230()
137 si->ps.memory_size = 4096; in set_nm2360()
156 si->ps.memory_size = 6144; in set_nm2380()
249 LOG(2,("card memory_size: %dKbytes\n", si->ps.memory_size)); in dump_specs()
H A Dnm_general.c160 si->ps.memory_size = si->settings.memory; in nm_general_powerup()
559 mem_avail = (si->ps.memory_size * 1024); in nm_general_validate_pic_size()
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_acc_dma.c149 ACCW(NV10_FBTIL0ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
150 ACCW(NV10_FBTIL1ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
151 ACCW(NV10_FBTIL2ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
152 ACCW(NV10_FBTIL3ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
153 ACCW(NV10_FBTIL4ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
154 ACCW(NV10_FBTIL5ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
155 ACCW(NV10_FBTIL6ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
156 ACCW(NV10_FBTIL7ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
173 ACCW(NV41_FBTIL0ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
174 ACCW(NV41_FBTIL1ED, (si->ps.memory_size - 1)); in nv_acc_init_dma()
[all …]
H A Dnv_acc.c276 ACCW(PR_CTX1_R, (si->ps.memory_size - 1)); /* DMA limit: size is all cardRAM */ in nv_acc_init()
326 ACCW(PR_CTX1_R, (si->ps.memory_size - 1)); /* DMA limit: size is all cardRAM */ in nv_acc_init()
565 ACCW(BLIMIT0, (si->ps.memory_size - 1)); in nv_acc_init()
566 ACCW(BLIMIT1, (si->ps.memory_size - 1)); in nv_acc_init()
567 ACCW(BLIMIT2, (si->ps.memory_size - 1)); in nv_acc_init()
568 ACCW(BLIMIT3, (si->ps.memory_size - 1)); in nv_acc_init()
573 ACCW(NV10_BLIMIT4, (si->ps.memory_size - 1)); in nv_acc_init()
574 ACCW(NV10_BLIMIT5, (si->ps.memory_size - 1)); in nv_acc_init()
580 ACCW(NV40P_BLIMIT6, (si->ps.memory_size - 1)); in nv_acc_init()
581 ACCW(NV40P_BLIMIT7, (si->ps.memory_size - 1)); in nv_acc_init()
[all …]
/haiku/src/add-ons/accelerants/matrox/engine/
H A Dmga_info.c131 si->ps.memory_size = 0; in pins1_read()
234 si->ps.memory_size = 2 << ((pins[55] & 0xc0) >> 6); in pins3_read()
361 si->ps.memory_size = 4 << ((pins[92] >> 2) & 0x03); in pins4_read()
514 si->ps.memory_size = ((pins[114] & 0x03) + 1) * 8; in pins5_read()
518 si->ps.memory_size = 8; in pins5_read()
651 si->ps.memory_size = 2; in pinsmil1_fake()
690 si->ps.memory_size = 4; in pinsmil2_fake()
731 si->ps.memory_size = 2; in pinsg100_fake()
772 si->ps.memory_size = 2; in pinsg200_fake()
812 si->ps.memory_size = 4; in pinsg400_fake()
[all …]
/haiku/src/add-ons/accelerants/matrox/
H A DGetDeviceInfo.c21 adi->memory = (si->ps.memory_size * 1024 * 1024); in GET_ACCELERANT_DEVICE_INFO()
H A DProposeDisplayMode.c260 ((si->ps.memory_size * 1024 * 1024) - pointer_reservation)) in PROPOSE_DISPLAY_MODE()
263 ((si->ps.memory_size * 1024 * 1024) - pointer_reservation) / row_bytes; in PROPOSE_DISPLAY_MODE()
336 if ((((si->ps.memory_size * 1024 * 1024) - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
344 if (((si->ps.memory_size * 1024 * 1024) - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
351 if (((si->ps.memory_size * 1024 * 1024) - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
H A DOverlay.c91 LOG(4, ("Overlay: cardRAM_size = %dMb\n", si->ps.memory_size)); in ALLOCATE_OVERLAY_BUFFER()
269 adress = (((uintptr_t)((uint8*)si->framebuffer)) + (si->ps.memory_size * 1024 * 1024)); in ALLOCATE_OVERLAY_BUFFER()
363 adress = (((uintptr_t)((uint8*)si->framebuffer_pci)) + (si->ps.memory_size * 1024 * 1024)); in ALLOCATE_OVERLAY_BUFFER()
/haiku/src/add-ons/accelerants/neomagic/
H A DGetDeviceInfo.c21 adi->memory = (si->ps.memory_size * 1024); in GET_ACCELERANT_DEVICE_INFO()
H A DOverlay.c80 LOG(4,("Overlay: cardRAM_size = %dKb\n",si->ps.memory_size)); in ALLOCATE_OVERLAY_BUFFER()
192 adress = (((uint32)((uint8*)si->framebuffer)) + (si->ps.memory_size * 1024)); in ALLOCATE_OVERLAY_BUFFER()
279 adress = (((uint32)((uint8*)si->framebuffer_pci)) + (si->ps.memory_size * 1024)); in ALLOCATE_OVERLAY_BUFFER()
H A DProposeDisplayMode.c249 ((si->ps.memory_size * 1024) - pointer_reservation)) in PROPOSE_DISPLAY_MODE()
252 ((si->ps.memory_size * 1024) - pointer_reservation) / row_bytes; in PROPOSE_DISPLAY_MODE()
/haiku/src/add-ons/accelerants/via/
H A DGetDeviceInfo.c41 adi->memory = si->ps.memory_size; in GET_ACCELERANT_DEVICE_INFO()
H A DProposeDisplayMode.c379 (si->ps.memory_size - pointer_reservation)) in PROPOSE_DISPLAY_MODE()
382 (si->ps.memory_size - pointer_reservation) / row_bytes; in PROPOSE_DISPLAY_MODE()
449 if (((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
457 if ((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
464 if ((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
H A DOverlay.c82 LOG(4,("Overlay: cardRAM_size = %3.3fMb\n",(si->ps.memory_size / (1024.0 * 1024.0)))); in ALLOCATE_OVERLAY_BUFFER()
196 adress = (((uintptr_t)((uint8*)si->framebuffer)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
280 adress = (((uintptr_t)((uint8*)si->framebuffer_pci)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
/haiku/src/add-ons/accelerants/skeleton/
H A DProposeDisplayMode.c377 (si->ps.memory_size - pointer_reservation)) in PROPOSE_DISPLAY_MODE()
380 (si->ps.memory_size - pointer_reservation) / row_bytes; in PROPOSE_DISPLAY_MODE()
447 if (((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
455 if ((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
462 if ((si->ps.memory_size - pointer_reservation) >= in PROPOSE_DISPLAY_MODE()
H A DGetDeviceInfo.c95 adi->memory = si->ps.memory_size; in GET_ACCELERANT_DEVICE_INFO()
H A DOverlay.c83 LOG(4,("Overlay: cardRAM_size = %3.3fMb\n",(si->ps.memory_size / (1024.0 * 1024.0)))); in ALLOCATE_OVERLAY_BUFFER()
207 adress = (((uint32)((uint8*)si->framebuffer)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
291 adress = (((uint32)((uint8*)si->framebuffer_pci)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
/haiku/src/add-ons/accelerants/nvidia/
H A DProposeDisplayMode.c431 if (row_bytes * target->virtual_height > si->ps.memory_size - mem_reservation) { in PROPOSE_DISPLAY_MODE()
432 target->virtual_height = (si->ps.memory_size - mem_reservation) / row_bytes; in PROPOSE_DISPLAY_MODE()
495 if (si->ps.memory_size - mem_reservation in PROPOSE_DISPLAY_MODE()
501 if (si->ps.memory_size - mem_reservation in PROPOSE_DISPLAY_MODE()
506 if (si->ps.memory_size - mem_reservation in PROPOSE_DISPLAY_MODE()
H A DOverlay.c85 LOG(4, ("Overlay: cardRAM_size = %3.3fMb\n", (si->ps.memory_size / (1024.0 * 1024.0)))); in ALLOCATE_OVERLAY_BUFFER()
231 adress = (((uintptr_t)((uint8*)si->framebuffer)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
320 adress = (((uintptr_t)((uint8*)si->framebuffer_pci)) + si->ps.memory_size); in ALLOCATE_OVERLAY_BUFFER()
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dinfo.c2053 si->ps.memory_size = si->settings.memory * 1024 * 1024; in fake_panel_start()
2858 si->ps.memory_size = 1024 * 1024 * in getRAMsize_arch_nv4()
2869 si->ps.memory_size = 32 * 1024 * 1024; in getRAMsize_arch_nv4()
2872 si->ps.memory_size = 4 * 1024 * 1024; in getRAMsize_arch_nv4()
2875 si->ps.memory_size = 8 * 1024 * 1024; in getRAMsize_arch_nv4()
2878 si->ps.memory_size = 16 * 1024 * 1024; in getRAMsize_arch_nv4()
2917 si->ps.memory_size = 2 * 1024 * 1024; in getRAMsize_arch_nv10_20_30_40()
2920 si->ps.memory_size = 4 * 1024 * 1024; in getRAMsize_arch_nv10_20_30_40()
2923 si->ps.memory_size = 8 * 1024 * 1024; in getRAMsize_arch_nv10_20_30_40()
2926 si->ps.memory_size = 16 * 1024 * 1024; in getRAMsize_arch_nv10_20_30_40()
[all …]
/haiku/src/add-ons/kernel/drivers/graphics/nvidia/
H A Ddriver.c717 si->ps.memory_size = di->pcii.u.h0.base_register_sizes[frame_buffer]; in map_device()
1011 if (si->ps.memory_size > mem_size) si->ps.memory_size = mem_size; in open_hook()
1013 si->ps.memory_size -= (64 * 1024); in open_hook()
1020 if (si->ps.memory_size > mem_size) si->ps.memory_size = mem_size; in open_hook()
1022 si->ps.memory_size -= (64 * 1024); in open_hook()
/haiku/src/add-ons/accelerants/via/engine/
H A Dinfo.c115 si->ps.memory_size = si->settings.memory * 1024 * 1024; in fake_panel_start()
936 si->ps.memory_size = (ram_size + 1) * 512 * 1024; in getRAMsize()
943 si->ps.memory_size = ram_size * 4 * 1024 * 1024; in getRAMsize()
948 si->ps.memory_size = 16 * 1024 * 1024; in getRAMsize()
1124 LOG(2,("card memory_size: %3.3fMb\n", (si->ps.memory_size / (1024.0 * 1024.0)))); in dump_pins()
/haiku/src/add-ons/kernel/drivers/graphics/skeleton/
H A Ddriver.c676 si->ps.memory_size = 1024 * 1024 * in open_hook()
679 si->ps.memory_size -= (64 * 1024); in open_hook()
683 si->ps.memory_size = 1024 * 1024 * in open_hook()
686 si->ps.memory_size -= (64 * 1024); in open_hook()
/haiku/headers/private/graphics/neomagic/
H A DDriverInterface.h202 uint32 memory_size; /* memory (Kbytes) */ member
/haiku/headers/private/graphics/matrox/
H A DDriverInterface.h227 uint32 memory_size; /* memory (Mb) */ member

12