Home
last modified time | relevance | path

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

123

/haiku/src/add-ons/accelerants/s3/
H A Dregister_io.cpp64 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 Dsavage_draw.cpp41 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 Daccel.cpp37 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 Dmode.cpp124 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 Dsavage_cursor.cpp37 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 Dvirge_draw.cpp34 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 Dsavage_mode.cpp39 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 Dengine.cpp29 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 Dframebuffer.cpp100 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 Dmode.cpp133 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 Daccelerant.cpp36 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 Dmode.cpp30 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 Drage128_draw.cpp66 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 Dengine.cpp29 if (gInfo.sharedInfo->engineLock.Acquire() != B_OK) in AcquireEngine()
49 gInfo.sharedInfo->engineLock.Release(); in ReleaseEngine()
H A Doverlay.cpp50 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 Dmode.cpp34 < 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 Daccelerant.cpp38 (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 D3dfx_draw.cpp30 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 Dengine.cpp29 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 Daccelerant.cpp73 (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 Dmode.cpp34 <= 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 Dengine.cpp31 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 Dvesa.cpp299 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 Dvirtio_gpu.cpp55 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 Ddriver.cpp66 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()

123