Searched refs:unit (Results 1 - 25 of 26) sorted by relevance

12

/device/google/contexthub/firmware/os/platform/native/inc/plat/
H A Dusart.h28 uint8_t unit; member in struct:usart
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/MemoryInit/Pei/
H A Dplatform.c48 uint32_t unit,
53 switch (unit)
73 SB_COMMAND(SB_REG_READ_OPCODE, unit, addr));
83 SB_COMMAND(SB_DDRIO_REG_READ_OPCODE, unit, addr));
92 if (unit < MEM)
93 DPF(D_REGRD, "RD32 %03X %08X %08X\n", unit, addr, data);
102 uint32_t unit,
106 if (unit < MEM)
107 DPF(D_REGWR, "WR32 %03X %08X %08X\n", unit, addr, data);
109 switch (unit)
47 Rd32( uint32_t unit, uint32_t addr) argument
101 Wr32( uint32_t unit, uint32_t addr, uint32_t data) argument
159 WrMask32( uint32_t unit, uint32_t addr, uint32_t data, uint32_t mask) argument
[all...]
H A Dio.h123 uint32_t unit,
127 uint32_t unit,
132 uint32_t unit,
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
H A Dusart.h31 uint8_t unit; member in struct:usart
H A Dpwr.h180 void pwrUnitClock(uint32_t bus, uint32_t unit, bool on);
181 void pwrUnitReset(uint32_t bus, uint32_t unit, bool on);
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
H A Ddisklabel.h51 #define DISKMINOR(unit, part) \
52 (((unit) * OLDMAXPARTITIONS) + ((part) % OLDMAXPARTITIONS) + \
/device/google/marlin/time-services/
H A Dtime_genoff.h59 /* Time unit -- Unit in which time is set/get */
88 time_unit_type unit; /* Time unit */ member in struct:time_genoff_info
/device/huawei/angler/time-services/
H A Dtime_genoff.h59 /* Time unit -- Unit in which time is set/get */
88 time_unit_type unit; /* Time unit */ member in struct:time_genoff_info
/device/lge/bullhead/time-services/
H A Dtime_genoff.h59 /* Time unit -- Unit in which time is set/get */
88 time_unit_type unit; /* Time unit */ member in struct:time_genoff_info
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
H A DColorWheel.java133 private int interpColor(int colors[], float unit) { argument
134 if (unit <= 0) {
137 if (unit >= 1) {
141 float p = unit * (colors.length - 1);
205 // need to turn angle [-PI ... PI] into unit [0....1]
206 float unit = angle/(2*PI);
207 if (unit < 0) {
208 unit += 1;
210 mCenterPaint.setColor(interpColor(mColors, unit));
/device/google/contexthub/firmware/os/platform/stm32/
H A Dusart.c95 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit = --port];
134 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit];
140 pwrUnitClock(mUsartBusses[usart->unit], mUsartPeriphs[usart->unit], false);
149 struct StmUsart *block = (struct StmUsart*)mUsartPorts[usart->unit];
H A Dpwr.c109 void pwrUnitClock(uint32_t bus, uint32_t unit, bool on) argument
114 *reg |= unit;
116 *reg &=~ unit;
119 void pwrUnitReset(uint32_t bus, uint32_t unit, bool on) argument
124 *reg |= unit;
126 *reg &=~ unit;
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
H A DGLClientState.cpp93 memset(m_tex.unit, 0, sizeof(m_tex.unit));
94 m_tex.activeUnit = &m_tex.unit[0];
702 GLuint unit = texture - GL_TEXTURE0; local
703 if (unit >= MAX_TEXTURE_UNITS) {
706 m_tex.activeUnit = &m_tex.unit[unit];
712 return GL_TEXTURE0 + (m_tex.activeUnit - &m_tex.unit[0]);
1015 for (TextureUnit* unit = m_tex.unit;
[all...]
H A DGLClientState.h289 // Sets the active texture unit. Up to MAX_TEXTURE_UNITS are supported.
309 // Set the target binding of the active texture unit to texture. Returns
486 TextureUnit unit[MAX_TEXTURE_UNITS]; member in struct:GLClientState::TextureState
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
H A Diobench.py32 size, unit = s.split()
33 size = int(size) * {'KB': 1024, 'MB': 1024 ** 2}[unit]
61 """ read one unit at a time """
101 """ seek forward one unit at a time """
121 """ alternate read & seek one unit """
138 """ write one unit at a time """
167 """ modify one unit at a time """
191 """ alternate write & seek one unit """
210 """ alternate read & write one unit """
313 print("Binary unit
[all...]
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
H A DNetLib.h489 #define NET_ROUNDUP(size, unit) (((size) + (unit) - 1) & (~((unit) - 1)))
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/
H A DGenCfgOpt.py434 unit = int(Struct[4:]) / 8
435 if int(ConfigDict['length']) != unit * len(dataarray):
441 for loop in xrange(unit):
/device/generic/goldfish-opengl/system/GLESv2_enc/
H A Dgl2_entry.cpp313 void glBindSampler(GLuint unit, GLuint sampler);
398 void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
2285 void glBindSampler(GLuint unit, GLuint sampler) argument
2288 ctx->glBindSampler(ctx, unit, sampler);
2804 void glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) argument
2807 ctx->glBindImageTexture(ctx, unit, texture, level, layered, layer, access, format);
H A DGL2Encoder.h532 static void s_glBindSampler(void* self, GLuint unit, GLuint sampler);
H A DGL2Encoder.cpp4038 void GL2Encoder::s_glBindSampler(void* self, GLuint unit, GLuint sampler) {
4042 SET_ERROR_IF(unit >= maxCombinedUnits, GL_INVALID_VALUE);
4044 ctx->m_glBindSampler_enc(ctx, unit, sampler);
H A Dgl2_enc.cpp7691 void glBindSampler_enc(void *self , GLuint unit, GLuint sampler) argument
7709 memcpy(ptr, &unit, 4); ptr += 4;
10466 void glBindImageTexture_enc(void *self , GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format) argument
10484 memcpy(ptr, &unit, 4); ptr += 4;
/device/generic/goldfish-opengl/system/include/GLES3/
H A Dgl31.h911 GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler);
1164 GL_APICALL void GL_APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
H A Dgl3.h911 GL_APICALL void GL_APIENTRY glBindSampler (GLuint unit, GLuint sampler);
/device/generic/goldfish-opengl/system/GLESv1_enc/
H A Dgl_entry.cpp162 void glTexCoordPointerData(GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen);
1235 void glTexCoordPointerData(GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
1238 ctx->glTexCoordPointerData(ctx, unit, size, type, stride, data, datalen);
H A Dgl_enc.cpp4310 void glTexCoordPointerData_enc(void *self , GLint unit, GLint size, GLenum type, GLsizei stride, void* data, GLuint datalen) argument
4329 memcpy(ptr, &unit, 4); ptr += 4;

Completed in 714 milliseconds

12