/haiku/src/add-ons/accelerants/s3/ |
H A D | register_io.cpp | 64 if (gInfo.sharedInfo->chipType == S3_TRIO64) in ReadReg8() 73 if (gInfo.sharedInfo->chipType == S3_TRIO64) in ReadReg16() 82 if (gInfo.sharedInfo->chipType == S3_TRIO64) in ReadReg32() 94 if (gInfo.sharedInfo->chipType == S3_TRIO64) in WriteReg8() 103 if (gInfo.sharedInfo->chipType == S3_TRIO64) in WriteReg16() 112 if (gInfo.sharedInfo->chipType == S3_TRIO64) in WriteReg32() 124 if (gInfo.sharedInfo->chipType == S3_TRIO64) { in ReadCrtcReg() 136 if (gInfo.sharedInfo->chipType == S3_TRIO64) { in WriteCrtcReg() 151 if (gInfo.sharedInfo->chipType == S3_TRIO64) { in WriteCrtcReg() 166 if (gInfo.sharedInfo->chipType == S3_TRIO64) { in ReadSeqReg() [all …]
|
H A D | savage_draw.cpp | 41 BCI_SEND(gInfo.sharedInfo->frameBufferOffset); in Savage_FillRectangle() 42 BCI_SEND(gInfo.sharedInfo->globalBitmapDesc); in Savage_FillRectangle() 81 BCI_SEND(gInfo.sharedInfo->frameBufferOffset); in Savage_FillSpan() 82 BCI_SEND(gInfo.sharedInfo->globalBitmapDesc); in Savage_FillSpan() 112 BCI_SEND(gInfo.sharedInfo->frameBufferOffset); in Savage_InvertRectangle() 113 BCI_SEND(gInfo.sharedInfo->globalBitmapDesc); in Savage_InvertRectangle() 160 BCI_SEND(gInfo.sharedInfo->frameBufferOffset); in Savage_ScreenToScreenBlit() 161 BCI_SEND(gInfo.sharedInfo->globalBitmapDesc); in Savage_ScreenToScreenBlit() 163 BCI_SEND(gInfo.sharedInfo->frameBufferOffset); in Savage_ScreenToScreenBlit() 164 BCI_SEND(gInfo.sharedInfo->globalBitmapDesc); in Savage_ScreenToScreenBlit()
|
H A D | accel.cpp | 37 gInfo.sharedInfoArea = clone_area("S3 shared info", (void**)&(gInfo.sharedInfo), in InitCommon() 43 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, gInfo.sharedInfo->regsArea); in InitCommon() 51 if (S3_SAVAGE_FAMILY(gInfo.sharedInfo->chipType)) in InitCommon() 53 else if (S3_TRIO64_FAMILY(gInfo.sharedInfo->chipType)) in InitCommon() 55 else if (S3_VIRGE_FAMILY(gInfo.sharedInfo->chipType)) in InitCommon() 73 gInfo.sharedInfo = 0; in UninitCommon() 89 SharedInfo& si = *gInfo.sharedInfo; in InitAccelerant() 167 gInfo.sharedInfo->modeArea); in CloneAccelerant() 207 SharedInfo& si = *gInfo.sharedInfo; in GetAccelerantDeviceInfo()
|
H A D | mode.cpp | 124 uint32 modeCount = gInfo.sharedInfo->modeCount; in FindDisplayMode() 165 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 179 SharedInfo& si = *gInfo.sharedInfo; in IsModeUsable() 232 SharedInfo& si = *gInfo.sharedInfo; in CreateModeList() 306 uint32 modeCount = gInfo.sharedInfo->modeCount; in ProposeDisplayMode() 329 SharedInfo& si = *gInfo.sharedInfo; in SetDisplayMode() 400 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in MoveDisplay() 419 return gInfo.sharedInfo->modeCount; in AccelerantModeCount() 429 memcpy(dmList, gInfo.modeList, gInfo.sharedInfo->modeCount * sizeof(display_mode)); in GetModeList() 437 *current_mode = gInfo.sharedInfo->displayMode; // return current display mode in GetDisplayMode() [all …]
|
H A D | savage_cursor.cpp | 37 if ( ! bShow && S3_SAVAGE4_SERIES(gInfo.sharedInfo->chipType)) in Savage_ShowCursor() 47 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetCursorPosition() 85 SharedInfo& si = *gInfo.sharedInfo; in Savage_LoadCursorImage()
|
H A D | virge_draw.cpp | 34 cmd |= gInfo.sharedInfo->commonCmd; in Virge_FillRectangle() 62 cmd |= gInfo.sharedInfo->commonCmd; in Virge_FillSpan() 98 cmd |= gInfo.sharedInfo->commonCmd; in Virge_InvertRectangle() 125 cmd |= gInfo.sharedInfo->commonCmd; in Virge_ScreenToScreenBlit()
|
H A D | savage_mode.cpp | 39 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetGBD_Twister() 137 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetGBD_MX() 192 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetGBD_Super() 242 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetGBD_2000() 280 SharedInfo& si = *gInfo.sharedInfo; in Savage_SetGBD() 284 switch (gInfo.sharedInfo->chipType) { in Savage_SetGBD() 325 SharedInfo& si = *gInfo.sharedInfo; in Savage_Initialize2DEngine() 412 switch (gInfo.sharedInfo->chipType) { in Savage_GEReset() 509 SharedInfo& si = *gInfo.sharedInfo; in Savage_WriteMode() 662 SharedInfo& si = *gInfo.sharedInfo; in Savage_ModeInit() [all …]
|
H A D | engine.cpp | 29 if (gInfo.sharedInfo->engineLock.Acquire() != B_OK) in AcquireEngine() 49 gInfo.sharedInfo->engineLock.Release(); in ReleaseEngine()
|
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/ |
H A D | framebuffer.cpp | 100 vesa_shared_info& sharedInfo = *info.shared_info; in remap_frame_buffer() local 134 sharedInfo.frame_buffer_area = area; in remap_frame_buffer() 148 sharedInfo.frame_buffer = (uint8*)frameBuffer; in remap_frame_buffer() 149 sharedInfo.physical_frame_buffer = (uint8*)physicalBase; in remap_frame_buffer() 150 sharedInfo.bytes_per_row = bytesPerRow; in remap_frame_buffer() 183 vesa_shared_info& sharedInfo = *info.shared_info; in framebuffer_init() local 185 memset(&sharedInfo, 0, sizeof(vesa_shared_info)); in framebuffer_init() 187 sharedInfo.frame_buffer_area = bufferInfo->area; in framebuffer_init() 195 sharedInfo.current_mode.virtual_width = bufferInfo->width; in framebuffer_init() 196 sharedInfo.current_mode.virtual_height = bufferInfo->height; in framebuffer_init() [all …]
|
/haiku/src/add-ons/accelerants/intel_extreme/ |
H A D | mode.cpp | 133 intel_shared_info &sharedInfo = *gInfo->shared_info; in set_frame_buffer_registers() local 134 display_mode &mode = sharedInfo.current_mode; in set_frame_buffer_registers() 135 uint32 bytes_per_pixel = (sharedInfo.bits_per_pixel + 7) / 8; in set_frame_buffer_registers() 137 if (sharedInfo.device_type.InGroup(INTEL_GROUP_96x) in set_frame_buffer_registers() 138 || sharedInfo.device_type.InGroup(INTEL_GROUP_G4x) in set_frame_buffer_registers() 139 || sharedInfo.device_type.InGroup(INTEL_GROUP_ILK) in set_frame_buffer_registers() 140 || sharedInfo.device_type.InFamily(INTEL_FAMILY_SER5) in set_frame_buffer_registers() 141 || sharedInfo.device_type.InFamily(INTEL_FAMILY_LAKE) in set_frame_buffer_registers() 142 || sharedInfo.device_type.InFamily(INTEL_FAMILY_SOC0)) { in set_frame_buffer_registers() 143 if (sharedInfo.device_type.InGroup(INTEL_GROUP_HAS)) { in set_frame_buffer_registers() [all …]
|
/haiku/src/add-ons/accelerants/ati/ |
H A D | accelerant.cpp | 36 gInfo.sharedInfoArea = clone_area("ATI shared info", (void**)&(gInfo.sharedInfo), in InitCommon() 42 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, gInfo.sharedInfo->regsArea); in InitCommon() 50 if (RAGE128_FAMILY(gInfo.sharedInfo->chipType)) in InitCommon() 52 else if (MACH64_FAMILY(gInfo.sharedInfo->chipType)) in InitCommon() 70 gInfo.sharedInfo = 0; in UninitCommon() 86 SharedInfo& si = *gInfo.sharedInfo; in InitAccelerant() 164 gInfo.sharedInfo->modeArea); in CloneAccelerant() 204 SharedInfo& si = *gInfo.sharedInfo; in GetAccelerantDeviceInfo()
|
H A D | mode.cpp | 30 uint32 modeCount = gInfo.sharedInfo->modeCount; in FindDisplayMode() 71 return (maxWidth * maxHeight * bytesPerPixel < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 82 SharedInfo& si = *gInfo.sharedInfo; in GetVesaModeNumber() 109 SharedInfo& si = *gInfo.sharedInfo; in IsModeUsable() 171 SharedInfo& si = *gInfo.sharedInfo; in CreateModeList() 239 uint32 modeCount = gInfo.sharedInfo->modeCount; in ProposeDisplayMode() 261 SharedInfo& si = *gInfo.sharedInfo; in SetDisplayMode() 323 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in MoveDisplay() 342 return gInfo.sharedInfo->modeCount; in AccelerantModeCount() 352 memcpy(dmList, gInfo.modeList, gInfo.sharedInfo->modeCount * sizeof(display_mode)); in GetModeList() [all …]
|
H A D | rage128_draw.cpp | 66 SharedInfo& si = *gInfo.sharedInfo; in Rage128_EngineInit() 93 OUTREG(R128_DEFAULT_OFFSET, gInfo.sharedInfo->frameBufferOffset); in Rage128_EngineInit() 135 OUTREG(R128_DP_GUI_MASTER_CNTL, (gInfo.sharedInfo->r128_dpGuiMasterCntl in Rage128_FillRectangle() 164 OUTREG(R128_DP_GUI_MASTER_CNTL, (gInfo.sharedInfo->r128_dpGuiMasterCntl in Rage128_FillSpan() 192 OUTREG(R128_DP_GUI_MASTER_CNTL, (gInfo.sharedInfo->r128_dpGuiMasterCntl in Rage128_InvertRectangle() 221 OUTREG(R128_DP_GUI_MASTER_CNTL, (gInfo.sharedInfo->r128_dpGuiMasterCntl in Rage128_ScreenToScreenBlit()
|
H A D | engine.cpp | 29 if (gInfo.sharedInfo->engineLock.Acquire() != B_OK) in AcquireEngine() 49 gInfo.sharedInfo->engineLock.Release(); in ReleaseEngine()
|
H A D | overlay.cpp | 50 SharedInfo& si = *gInfo.sharedInfo; in AllocateOverlayBuffer() 165 SharedInfo& si = *gInfo.sharedInfo; in ReleaseOverlayBuffer() 248 SharedInfo& si = *gInfo.sharedInfo; in AllocateOverlay() 265 SharedInfo& si = *gInfo.sharedInfo; in ReleaseOverlay() 286 SharedInfo& si = *gInfo.sharedInfo; in ConfigureOverlay()
|
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | mode.cpp | 34 < gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 47 SharedInfo& si = *gInfo.sharedInfo; in IsModeUsable() 94 SharedInfo& si = *gInfo.sharedInfo; in CreateModeList() 138 SharedInfo& si = *gInfo.sharedInfo; in ProposeDisplayMode() 175 SharedInfo& si = *gInfo.sharedInfo; in SetDisplayMode() 234 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in MoveDisplay() 253 return gInfo.sharedInfo->modeCount; in AccelerantModeCount() 264 gInfo.sharedInfo->modeCount * sizeof(display_mode)); in GetModeList() 272 *current_mode = gInfo.sharedInfo->displayMode; // return current display mode in GetDisplayMode() 280 SharedInfo& si = *gInfo.sharedInfo; in GetFrameBufferConfig() [all …]
|
H A D | accelerant.cpp | 38 (void**)&(gInfo.sharedInfo), B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, in InitCommon() 44 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, gInfo.sharedInfo->regsArea); in InitCommon() 63 gInfo.sharedInfo = 0; in UninitCommon() 79 SharedInfo& si = *gInfo.sharedInfo; in InitAccelerant() 158 gInfo.sharedInfo->modeArea); in CloneAccelerant() 188 SharedInfo& si = *gInfo.sharedInfo; in GetAccelerantDeviceInfo()
|
H A D | 3dfx_draw.cpp | 30 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in TDFX_FillRectangle() 59 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in TDFX_FillSpan() 88 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in TDFX_InvertRectangle() 115 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in TDFX_ScreenToScreenBlit()
|
H A D | engine.cpp | 29 if (gInfo.sharedInfo->engineLock.Acquire() != B_OK) in AcquireEngine() 49 gInfo.sharedInfo->engineLock.Release(); in ReleaseEngine()
|
/haiku/src/add-ons/accelerants/intel_810/ |
H A D | accelerant.cpp | 73 (void**)&(gInfo.sharedInfo), B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, in InitCommon() 79 B_ANY_ADDRESS, B_READ_AREA | B_WRITE_AREA, gInfo.sharedInfo->regsArea); in InitCommon() 98 gInfo.sharedInfo = 0; in UninitCommon() 114 SharedInfo& si = *gInfo.sharedInfo; in InitAccelerant() 134 gInfo.sharedInfo); in InitAccelerant() 195 gInfo.sharedInfo->modeArea); in CloneAccelerant() 225 SharedInfo& si = *gInfo.sharedInfo; in GetAccelerantDeviceInfo()
|
H A D | mode.cpp | 34 <= gInfo.sharedInfo->maxFrameBufferSize); in IsThereEnoughFBMemory() 47 SharedInfo& si = *gInfo.sharedInfo; in IsModeUsable() 88 SharedInfo& si = *gInfo.sharedInfo; in CreateModeList() 149 uint32 modeCount = gInfo.sharedInfo->modeCount; in ProposeDisplayMode() 171 SharedInfo& si = *gInfo.sharedInfo; in SetDisplayMode() 231 DisplayModeEx& mode = gInfo.sharedInfo->displayMode; in MoveDisplay() 250 return gInfo.sharedInfo->modeCount; in AccelerantModeCount() 261 gInfo.sharedInfo->modeCount * sizeof(display_mode)); in GetModeList() 269 *current_mode = gInfo.sharedInfo->displayMode; // current display mode in GetDisplayMode() 277 SharedInfo& si = *gInfo.sharedInfo; in GetFrameBufferConfig() [all …]
|
H A D | engine.cpp | 31 if (gInfo.sharedInfo->engineLock.Acquire() != B_OK) in AcquireEngine() 48 gInfo.sharedInfo->engineLock.Release(); in ReleaseEngine()
|
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | vesa.cpp | 299 vesa_shared_info& sharedInfo = *info.shared_info; in remap_frame_buffer() local 332 sharedInfo.frame_buffer_area = area; in remap_frame_buffer() 346 sharedInfo.frame_buffer = (uint8*)frameBuffer; in remap_frame_buffer() 347 sharedInfo.physical_frame_buffer = (uint8*)physicalBase; in remap_frame_buffer() 348 sharedInfo.bytes_per_row = bytesPerRow; in remap_frame_buffer() 387 vesa_shared_info& sharedInfo = *info.shared_info; in vesa_init() local 389 memset(&sharedInfo, 0, sizeof(vesa_shared_info)); in vesa_init() 392 sharedInfo.vesa_mode_offset = sharedSize; in vesa_init() 393 sharedInfo.vesa_mode_count = modesSize / sizeof(vesa_mode); in vesa_init() 395 memcpy((uint8*)&sharedInfo + sharedSize, modes, modesSize); in vesa_init() [all …]
|
/haiku/src/add-ons/kernel/drivers/graphics/virtio/ |
H A D | virtio_gpu.cpp | 55 virtio_gpu_shared_info* sharedInfo; member 204 info->sharedInfo->has_edid = true; in virtio_gpu_get_edids() 205 memcpy(&info->sharedInfo->edid_raw, response.edid, sizeof(edid1_raw)); in virtio_gpu_get_edids() 453 virtio_gpu_shared_info& sharedInfo = *info->sharedInfo; in virtio_gpu_set_display_mode() local 454 sharedInfo.frame_buffer_area = info->framebufferArea; in virtio_gpu_set_display_mode() 455 sharedInfo.frame_buffer = (uint8*)info->framebuffer; in virtio_gpu_set_display_mode() 456 sharedInfo.bytes_per_row = info->displayWidth * 4; in virtio_gpu_set_display_mode() 457 sharedInfo.current_mode.virtual_width = info->displayWidth; in virtio_gpu_set_display_mode() 458 sharedInfo.current_mode.virtual_height = info->displayHeight; in virtio_gpu_set_display_mode() 459 sharedInfo.current_mode.space = B_RGB32; in virtio_gpu_set_display_mode() [all …]
|
/haiku/src/add-ons/kernel/drivers/graphics/3dfx/ |
H A D | driver.cpp | 66 SharedInfo* sharedInfo; // pointer to shared info area memory member 125 SharedInfo& si = *(di.sharedInfo); in MapDevice() 193 SharedInfo& si = *(di.sharedInfo); in UnmapDevice() 220 (void**) &(di.sharedInfo), in InitDevice() 228 SharedInfo& si = *(di.sharedInfo); in InitDevice() 244 di.sharedInfo = NULL; in InitDevice() 349 di.sharedInfo = NULL; in init_driver() 486 di.sharedInfo = NULL; in device_free()
|