Home
last modified time | relevance | path

Searched refs:mContext (Results 1 – 25 of 51) sorted by relevance

123

/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/
DAnnRGBPlane.cpp30 memset(&mContext, 0, sizeof(mContext)); in AnnRGBPlane()
51 return (void *)&mContext; in getContext()
135 mContext.type = DC_SPRITE_PLANE; in setDataBuffer()
137 mContext.type = DC_PRIMARY_PLANE; in setDataBuffer()
147 mContext.ctx.sp_ctx.index = mIndex; in setDataBuffer()
148 mContext.ctx.sp_ctx.pipe = mDevice; in setDataBuffer()
149 mContext.ctx.sp_ctx.cntr = spriteFormat | 0x80000000; in setDataBuffer()
150 mContext.ctx.sp_ctx.linoff = linoff; in setDataBuffer()
151 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer()
155 mContext.ctx.sp_ctx.cntr |= (0x1 << 23); in setDataBuffer()
[all …]
DAnnCursorPlane.cpp31 memset(&mContext, 0, sizeof(mContext)); in AnnCursorPlane()
61 return (void *)&mContext; in getContext()
147 mContext.type = DC_CURSOR_PLANE; in setDataBuffer()
148 mContext.ctx.cs_ctx.index = mIndex; in setDataBuffer()
149 mContext.ctx.cs_ctx.pipe = mDevice; in setDataBuffer()
150 mContext.ctx.cs_ctx.cntr = cntr; in setDataBuffer()
151 mContext.ctx.cs_ctx.surf = mapper.getGttOffsetInPage(0) << 12; in setDataBuffer()
153 mContext.ctx.cs_ctx.pos = 0; in setDataBuffer()
155 mContext.ctx.cs_ctx.pos |= 1 << 15; in setDataBuffer()
159 mContext.ctx.cs_ctx.pos |= 1 << 31; in setDataBuffer()
[all …]
DAnnOverlayPlane.cpp40 memset(&mContext, 0, sizeof(mContext)); in AnnOverlayPlane()
90 if (mContext.ctx.ov_ctx.ovadd & (0x1 << 15)) in enable()
93 mContext.ctx.ov_ctx.ovadd |= (0x1 << 15); in enable()
105 if (!(mContext.ctx.ov_ctx.ovadd & (0x1 << 15))) in disable()
108 mContext.ctx.ov_ctx.ovadd &= ~(0x1 << 15); in disable()
110 mContext.ctx.ov_ctx.ovadd &= ~(0x300); in disable()
112 mContext.ctx.ov_ctx.ovadd |= mPipeConfig; in disable()
593 mContext.type = DC_OVERLAY_PLANE; in flip()
594 mContext.ctx.ov_ctx.ovadd = ovadd; in flip()
595 mContext.ctx.ov_ctx.index = mIndex; in flip()
[all …]
DAnnCursorPlane.h52 struct intel_dc_plane_ctx mContext; variable
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/anniedale/
DAnnRGBPlane.cpp30 memset(&mContext, 0, sizeof(mContext)); in AnnRGBPlane()
75 return (void *)&mContext; in getContext()
194 mContext.type = DC_SPRITE_PLANE; in setDataBuffer()
196 mContext.type = DC_PRIMARY_PLANE; in setDataBuffer()
206 mContext.ctx.sp_ctx.index = mIndex; in setDataBuffer()
207 mContext.ctx.sp_ctx.pipe = mDevice; in setDataBuffer()
208 mContext.ctx.sp_ctx.cntr = spriteFormat | 0x80000000; in setDataBuffer()
209 mContext.ctx.sp_ctx.linoff = linoff; in setDataBuffer()
210 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer()
214 mContext.ctx.sp_ctx.cntr |= (0x1 << 23); in setDataBuffer()
[all …]
DAnnCursorPlane.cpp31 memset(&mContext, 0, sizeof(mContext)); in AnnCursorPlane()
60 return (void *)&mContext; in getContext()
168 mContext.type = DC_CURSOR_PLANE; in setDataBuffer()
169 mContext.ctx.cs_ctx.index = mIndex; in setDataBuffer()
170 mContext.ctx.cs_ctx.pipe = mDevice; in setDataBuffer()
171 mContext.ctx.cs_ctx.cntr = cntr; in setDataBuffer()
172 mContext.ctx.cs_ctx.surf = mapper.getGttOffsetInPage(0) << 12; in setDataBuffer()
174 mContext.ctx.cs_ctx.pos = 0; in setDataBuffer()
176 mContext.ctx.cs_ctx.pos |= 1 << 15; in setDataBuffer()
180 mContext.ctx.cs_ctx.pos |= 1 << 31; in setDataBuffer()
[all …]
DAnnOverlayPlane.cpp38 memset(&mContext, 0, sizeof(mContext)); in AnnOverlayPlane()
98 if (mContext.ctx.ov_ctx.ovadd & (0x1 << 15)) in enable()
101 mContext.ctx.ov_ctx.ovadd |= (0x1 << 15); in enable()
113 if (!(mContext.ctx.ov_ctx.ovadd & (0x1 << 15))) in disable()
116 mContext.ctx.ov_ctx.ovadd &= ~(0x1 << 15); in disable()
118 mContext.ctx.ov_ctx.ovadd &= ~(0x300); in disable()
120 mContext.ctx.ov_ctx.ovadd |= mPipeConfig; in disable()
660 mContext.type = DC_OVERLAY_PLANE; in flip()
661 mContext.ctx.ov_ctx.ovadd = ovadd; in flip()
662 mContext.ctx.ov_ctx.index = mIndex; in flip()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/
DTngSpritePlane.cpp29 memset(&mContext, 0, sizeof(mContext)); in TngSpritePlane()
88 mContext.type = DC_SPRITE_PLANE; in setDataBuffer()
89 mContext.ctx.sp_ctx.index = mIndex; in setDataBuffer()
90 mContext.ctx.sp_ctx.pipe = mDevice; in setDataBuffer()
93 mContext.ctx.sp_ctx.cntr = PixelFormat::PLANE_PIXEL_FORMAT_BGRX8888 in setDataBuffer()
96 mContext.ctx.sp_ctx.cntr = spriteFormat | 0x80000000; in setDataBuffer()
97 mContext.ctx.sp_ctx.linoff = linoff; in setDataBuffer()
98 mContext.ctx.sp_ctx.stride = stride; in setDataBuffer()
99 mContext.ctx.sp_ctx.surf = mapper.getGttOffsetInPage(0) << 12; in setDataBuffer()
100 mContext.ctx.sp_ctx.pos = (dstY & 0xfff) << 16 | (dstX & 0xfff); in setDataBuffer()
[all …]
DTngPrimaryPlane.cpp54 mContext.type = DC_PRIMARY_PLANE; in setFramebufferTarget()
55 mContext.ctx.prim_ctx.update_mask = SPRITE_UPDATE_ALL; in setFramebufferTarget()
56 mContext.ctx.prim_ctx.index = mIndex; in setFramebufferTarget()
57 mContext.ctx.prim_ctx.pipe = mDevice; in setFramebufferTarget()
58 mContext.ctx.prim_ctx.stride = align_to((4 * align_to(mPosition.w, 32)), 64); in setFramebufferTarget()
60mContext.ctx.prim_ctx.linoff = (mPosition.h - 1) * mContext.ctx.prim_ctx.stride + (mPosition.w - … in setFramebufferTarget()
62 mContext.ctx.prim_ctx.linoff = 0; in setFramebufferTarget()
64 mContext.ctx.prim_ctx.pos = 0; in setFramebufferTarget()
65 mContext.ctx.prim_ctx.size = in setFramebufferTarget()
67 mContext.ctx.prim_ctx.surf = 0; in setFramebufferTarget()
[all …]
DTngOverlayPlane.cpp32 memset(&mContext, 0, sizeof(mContext)); in TngOverlayPlane()
47 mContext.type = DC_OVERLAY_PLANE; in flip()
48 mContext.ctx.ov_ctx.ovadd = 0x0; in flip()
49 mContext.ctx.ov_ctx.ovadd = (mBackBuffer[mCurrent]->gttOffsetInPage << 12); in flip()
50 mContext.ctx.ov_ctx.index = mIndex; in flip()
51 mContext.ctx.ov_ctx.pipe = mDevice; in flip()
52 mContext.ctx.ov_ctx.ovadd |= mPipeConfig; in flip()
53 mContext.ctx.ov_ctx.ovadd |= 0x1; in flip()
59 mContext.ctx.ov_ctx.ovadd, in flip()
77 return (void *)&mContext; in getContext()
[all …]
DTngCursorPlane.cpp32 memset(&mContext, 0, sizeof(mContext)); in TngCursorPlane()
54 return (void *)&mContext; in getContext()
165 mContext.type = DC_CURSOR_PLANE; in setDataBuffer()
166 mContext.ctx.cs_ctx.index = mIndex; in setDataBuffer()
167 mContext.ctx.cs_ctx.pipe = mDevice; in setDataBuffer()
168 mContext.ctx.cs_ctx.cntr = cntr | (mIndex << 28); in setDataBuffer()
169 mContext.ctx.cs_ctx.surf = mapper.getGttOffsetInPage(0) << 12; in setDataBuffer()
171 mContext.ctx.cs_ctx.pos = 0; in setDataBuffer()
173 mContext.ctx.cs_ctx.pos |= 1 << 15; in setDataBuffer()
177 mContext.ctx.cs_ctx.pos |= 1 << 31; in setDataBuffer()
[all …]
DTngSpritePlane.h42 struct intel_dc_plane_ctx mContext; variable
DTngCursorPlane.h51 struct intel_dc_plane_ctx mContext; variable
/hardware/qcom/gps/msm8996/core/
DLocAdapterBase.h43 ContextBase* mContext; variable
49 mEvtMask(0), mContext(NULL), mLocApi(NULL), in LocAdapterBase()
113 ContextBase* getContext() const { return mContext; } in getContext()
/hardware/qcom/gps/core/
DLocAdapterBase.h43 ContextBase* mContext; variable
49 mEvtMask(0), mContext(NULL), mLocApi(NULL), in LocAdapterBase()
113 ContextBase* getContext() const { return mContext; } in getContext()
/hardware/qcom/gps/msm8994/core/
DLocAdapterBase.h43 ContextBase* mContext; variable
49 mEvtMask(0), mContext(NULL), mLocApi(NULL), in LocAdapterBase()
113 ContextBase* getContext() const { return mContext; } in getContext()
/hardware/qcom/gps/msm8084/core/
DLocAdapterBase.h43 ContextBase* mContext; variable
49 mEvtMask(0), mContext(NULL), mLocApi(NULL), mLocAdapterProxyBase(NULL), mMsgTask(msgTask) {} in LocAdapterBase()
104 ContextBase* getContext() const { return mContext; } in getContext()
/hardware/qcom/gps/msm8909/core/
DLocAdapterBase.h43 ContextBase* mContext; variable
49 mEvtMask(0), mContext(NULL), mLocApi(NULL), in LocAdapterBase()
113 ContextBase* getContext() const { return mContext; } in getContext()
/hardware/qcom/gps/msm8960/core/
DLocAdapterBase.h41 ContextBase* mContext; variable
46 mEvtMask(0), mContext(NULL), mLocApi(NULL), mMsgTask(msgTask) {} in LocAdapterBase()
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalCooling.java50 private Context mContext; field in ThermalCooling
138 mParser = mContext.getResources(). in ThermalParser()
417 mContext = context; in init()
436 mContext.registerReceiver(mThermalIntentReceiver, filter); in init()
553 arglist[0] = mContext; in loadCoolingDevice()
595 mContext.startActivity(criticalIntent); in doShutdown()
602 mContext.registerReceiver(mProfChangeReceiver, profChangeIntentFilter); in registerProfChangeListener()
774 if (mContext != null) { in unregisterReceivers()
775 mContext.unregisterReceiver(mThermalIntentReceiver); in unregisterReceivers()
781 mContext.unregisterReceiver(mProfChangeReceiver); in unregisterReceivers()
DThermalService.java69 private static Context mContext; field in ThermalService
151 mParser = mContext.getResources(). in ThermalParser()
480 mContext.sendBroadcastAsUser(statusIntent, UserHandle.ALL); in consume()
518 mContext = getApplicationContext(); in onCreate()
519 ThermalManager.setContext(mContext); in onCreate()
533 ThermalUtils.initialiseConfigFiles(mContext); in onStartCommand()
548 ret = ThermalManager.sCoolingManager.init(mContext); in onStartCommand()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
DLocEngAdapter.h97 mContext->requestUlp(mInternalAdapter, capabilities); in requestUlp()
103 return mContext->hasAgpsExtendedCapabilities(); in hasAgpsExtendedCapabilities()
106 return mContext->hasCPIExtendedCapabilities(); in hasCPIExtendedCapabilities()
308 mContext->modemPowerVote(powerOn); in setPowerVote()
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
DLocEngAdapter.h97 mContext->requestUlp(mInternalAdapter, capabilities); in requestUlp()
103 return mContext->hasAgpsExtendedCapabilities(); in hasAgpsExtendedCapabilities()
106 return mContext->hasCPIExtendedCapabilities(); in hasCPIExtendedCapabilities()
308 mContext->modemPowerVote(powerOn); in setPowerVote()
/hardware/qcom/gps/loc_api/libloc_api_50001/
DLocEngAdapter.h96 mContext->requestUlp(mInternalAdapter, capabilities); in requestUlp()
102 return mContext->hasAgpsExtendedCapabilities(); in hasAgpsExtendedCapabilities()
105 return mContext->hasCPIExtendedCapabilities(); in hasCPIExtendedCapabilities()
307 mContext->modemPowerVote(powerOn); in setPowerVote()
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
DLocEngAdapter.h96 mContext->requestUlp(mInternalAdapter, capabilities); in requestUlp()
102 return mContext->hasAgpsExtendedCapabilities(); in hasAgpsExtendedCapabilities()
105 return mContext->hasCPIExtendedCapabilities(); in hasCPIExtendedCapabilities()
307 mContext->modemPowerVote(powerOn); in setPowerVote()

123