/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portaudio.cpp | 38 const OMX_AUDIO_PARAM_PORTFORMATTYPE *p, bool overwrite_readonly) in SetPortAudioParam() argument 43 ret = ComponentBase::CheckTypeHeader((void *)p, sizeof(*p)); in SetPortAudioParam() 46 if (audioparam.nPortIndex != p->nPortIndex) in SetPortAudioParam() 50 audioparam.nPortIndex = p->nPortIndex; in SetPortAudioParam() 52 audioparam.nIndex = p->nIndex; in SetPortAudioParam() 53 audioparam.eEncoding = p->eEncoding; in SetPortAudioParam() 77 OMX_ERRORTYPE PortMp3::SetPortMp3Param(const OMX_AUDIO_PARAM_MP3TYPE *p, in SetPortMp3Param() argument 83 ret = ComponentBase::CheckTypeHeader((void *)p, sizeof(*p)); in SetPortMp3Param() 86 if (mp3param.nPortIndex != p->nPortIndex) in SetPortMp3Param() 93 audioparam.nPortIndex = p->nPortIndex; in SetPortMp3Param() [all …]
|
D | portvideo.cpp | 65 const OMX_VIDEO_PARAM_PORTFORMATTYPE *p, bool internal) in SetPortVideoParam() argument 70 ret = ComponentBase::CheckTypeHeader((void *)p, sizeof(*p)); in SetPortVideoParam() 73 if (videoparam.nPortIndex != p->nPortIndex) in SetPortVideoParam() 77 videoparam.nPortIndex = p->nPortIndex; in SetPortVideoParam() 79 videoparam.nIndex = p->nIndex; in SetPortVideoParam() 80 videoparam.eCompressionFormat = p->eCompressionFormat; in SetPortVideoParam() 81 videoparam.eColorFormat = p->eColorFormat; in SetPortVideoParam() 82 videoparam.xFramerate = p->xFramerate; in SetPortVideoParam() 93 const OMX_VIDEO_PARAM_BITRATETYPE *p, bool internal) in SetPortBitrateParam() argument 98 ret = ComponentBase::CheckTypeHeader((void *)p, sizeof(*p)); in SetPortBitrateParam() [all …]
|
/hardware/intel/common/libva/va/ |
D | va_trace.c | 218 char *p = env_value, *q; in va_TraceInit() local 220 trace_ctx->trace_surface_width = strtod(p, &q); in va_TraceInit() 221 p = q+1; /* skip "x" */ in va_TraceInit() 222 trace_ctx->trace_surface_height = strtod(p, &q); in va_TraceInit() 223 p = q+1; /* skip "+" */ in va_TraceInit() 224 trace_ctx->trace_surface_xoff = strtod(p, &q); in va_TraceInit() 225 p = q+1; /* skip "+" */ in va_TraceInit() 226 trace_ctx->trace_surface_yoff = strtod(p, &q); in va_TraceInit() 463 VASurfaceAttrib *p; in va_TraceSurfaceAttributes() local 468 p = attrib_list; in va_TraceSurfaceAttributes() [all …]
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderPAVC.cpp | 84 OMX_ERRORTYPE OMXVideoDecoderPAVC::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 86 ret = OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 88 p->width = 1920; in PrepareConfigBuffer() 89 p->height = 1088; in PrepareConfigBuffer() 90 p->surfaceNumber = 16; in PrepareConfigBuffer() 91 p->profile = VAProfileH264High; in PrepareConfigBuffer() 92 p->flag = WANT_SURFACE_PROTECTION | HAS_VA_PROFILE | HAS_SURFACE_NUMBER; in PrepareConfigBuffer() 96 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 98 ret = OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 109 p->flag |= HAS_EXTRADATA; in PrepareDecodeBuffer() [all …]
|
D | OMXVideoDecoderAVC.cpp | 102 OMX_ERRORTYPE OMXVideoDecoderAVC::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 105 ret = OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 109 p->flag |= WANT_LOW_DELAY; in PrepareConfigBuffer() 120 p->width = mDecodeSettings.nMaxWidth; in PrepareConfigBuffer() 121 p->height = mDecodeSettings.nMaxHeight; in PrepareConfigBuffer() 122 p->profile = VAProfileH264ConstrainedBaseline; in PrepareConfigBuffer() 123 if(!(p->flag & USE_NATIVE_GRAPHIC_BUFFER)) { in PrepareConfigBuffer() 124 p->surfaceNumber = mDecodeSettings.nMaxNumberOfReferenceFrame + EXTRA_REFERENCE_FRAME; in PrepareConfigBuffer() 125 p->flag = WANT_ERROR_CONCEALMENT | WANT_LOW_DELAY | HAS_SURFACE_NUMBER | HAS_VA_PROFILE; in PrepareConfigBuffer() 127 p->flag |= WANT_ERROR_CONCEALMENT | WANT_LOW_DELAY | HAS_SURFACE_NUMBER | HAS_VA_PROFILE; in PrepareConfigBuffer() [all …]
|
D | OMXVideoDecoderMPEG4.cpp | 75 OMX_ERRORTYPE OMXVideoDecoderMPEG4::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 76 return OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 79 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 92 OMX_VIDEO_PARAM_MPEG4TYPE *p = (OMX_VIDEO_PARAM_MPEG4TYPE *)pStructure; in GetParamVideoMpeg4() local 93 CHECK_TYPE_HEADER(p); in GetParamVideoMpeg4() 94 CHECK_PORT_INDEX(p, INPORT_INDEX); in GetParamVideoMpeg4() 96 memcpy(p, &mParamMpeg4, sizeof(*p)); in GetParamVideoMpeg4() 102 OMX_VIDEO_PARAM_MPEG4TYPE *p = (OMX_VIDEO_PARAM_MPEG4TYPE *)pStructure; in SetParamVideoMpeg4() local 103 CHECK_TYPE_HEADER(p); in SetParamVideoMpeg4() [all …]
|
D | OMXVideoDecoderMPEG2.cpp | 75 OMX_ERRORTYPE OMXVideoDecoderMPEG2::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 76 return OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 79 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 92 OMX_VIDEO_PARAM_MPEG2TYPE *p = (OMX_VIDEO_PARAM_MPEG2TYPE *)pStructure; in GetParamVideoMpeg2() local 93 CHECK_TYPE_HEADER(p); in GetParamVideoMpeg2() 94 CHECK_PORT_INDEX(p, INPORT_INDEX); in GetParamVideoMpeg2() 96 memcpy(p, &mParamMpeg2, sizeof(*p)); in GetParamVideoMpeg2() 102 OMX_VIDEO_PARAM_MPEG2TYPE *p = (OMX_VIDEO_PARAM_MPEG2TYPE *)pStructure; in SetParamVideoMpeg2() local 103 CHECK_TYPE_HEADER(p); in SetParamVideoMpeg2() [all …]
|
D | OMXVideoDecoderH263.cpp | 75 OMX_ERRORTYPE OMXVideoDecoderH263::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 76 return OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 79 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 80 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 92 OMX_VIDEO_PARAM_H263TYPE *p = (OMX_VIDEO_PARAM_H263TYPE *)pStructure; in GetParamVideoH263() local 93 CHECK_TYPE_HEADER(p); in GetParamVideoH263() 94 CHECK_PORT_INDEX(p, INPORT_INDEX); in GetParamVideoH263() 96 memcpy(p, &mParamH263, sizeof(*p)); in GetParamVideoH263() 102 OMX_VIDEO_PARAM_H263TYPE *p = (OMX_VIDEO_PARAM_H263TYPE *)pStructure; in SetParamVideoH263() local 103 CHECK_TYPE_HEADER(p); in SetParamVideoH263() [all …]
|
D | OMXVideoEncoderBase.cpp | 423 OMX_VIDEO_PARAM_PORTFORMATTYPE *p = (OMX_VIDEO_PARAM_PORTFORMATTYPE *)pStructure; in GetParamVideoPortFormat() local 425 CHECK_TYPE_HEADER(p); in GetParamVideoPortFormat() 426 CHECK_PORT_INDEX_RANGE(p); in GetParamVideoPortFormat() 427 CHECK_ENUMERATION_RANGE(p->nIndex, 2); in GetParamVideoPortFormat() 430 port = static_cast<PortVideo *>(this->ports[p->nPortIndex]); in GetParamVideoPortFormat() 431 index = p->nIndex; in GetParamVideoPortFormat() 432 memcpy(p, port->GetPortVideoParam(), sizeof(*p)); in GetParamVideoPortFormat() 435 p->nIndex = 1; in GetParamVideoPortFormat() 436 p->eColorFormat = OMX_COLOR_FormatAndroidOpaque; in GetParamVideoPortFormat() 443 OMX_VIDEO_PARAM_PORTFORMATTYPE *p = (OMX_VIDEO_PARAM_PORTFORMATTYPE *)pStructure; in SetParamVideoPortFormat() local [all …]
|
D | OMXComponentCodecBase.cpp | 29 HandlerEntry *p = NULL; in ~OMXComponentCodecBase() local 31 p = mHandlerList->next; in ~OMXComponentCodecBase() 33 mHandlerList = p; in ~OMXComponentCodecBase() 174 HandlerEntry *p = mHandlerList; in AddHandler() local 176 while (p) { in AddHandler() 177 if (p->type == type) { in AddHandler() 178 p->getter = getter; in AddHandler() 179 p->setter = setter; in AddHandler() 182 last = p; in AddHandler() 183 p = p->next; in AddHandler() [all …]
|
D | OMXVideoDecoderWMV.cpp | 73 OMX_ERRORTYPE OMXVideoDecoderWMV::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 74 return OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 77 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 78 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 89 OMX_VIDEO_PARAM_WMVTYPE *p = (OMX_VIDEO_PARAM_WMVTYPE *)pStructure; in GetParamVideoWmv() local 90 CHECK_TYPE_HEADER(p); in GetParamVideoWmv() 91 CHECK_PORT_INDEX(p, INPORT_INDEX); in GetParamVideoWmv() 93 memcpy(p, &mParamWmv, sizeof(*p)); in GetParamVideoWmv() 99 OMX_VIDEO_PARAM_WMVTYPE *p = (OMX_VIDEO_PARAM_WMVTYPE *)pStructure; in SetParamVideoWmv() local 100 CHECK_TYPE_HEADER(p); in SetParamVideoWmv() [all …]
|
D | OMXVideoDecoderVP8.cpp | 74 OMX_ERRORTYPE OMXVideoDecoderVP8::PrepareConfigBuffer(VideoConfigBuffer *p) { in PrepareConfigBuffer() argument 75 return OMXVideoDecoderBase::PrepareConfigBuffer(p); in PrepareConfigBuffer() 78 …:PrepareDecodeBuffer(OMX_BUFFERHEADERTYPE *buffer, buffer_retain_t *retain, VideoDecodeBuffer *p) { in PrepareDecodeBuffer() argument 79 return OMXVideoDecoderBase::PrepareDecodeBuffer(buffer, retain, p); in PrepareDecodeBuffer() 90 OMX_VIDEO_PARAM_VP8TYPE *p = (OMX_VIDEO_PARAM_VP8TYPE *)pStructure; in GetParamVideoVp8() local 91 CHECK_TYPE_HEADER(p); in GetParamVideoVp8() 92 CHECK_PORT_INDEX(p, INPORT_INDEX); in GetParamVideoVp8() 94 memcpy(p, &mParamVp8, sizeof(*p)); in GetParamVideoVp8() 100 OMX_VIDEO_PARAM_VP8TYPE *p = (OMX_VIDEO_PARAM_VP8TYPE *)pStructure; in SetParamVideoVp8() local 101 CHECK_TYPE_HEADER(p); in SetParamVideoVp8() [all …]
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/test/ |
D | HidParserExample.cpp | 27 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doParse() local 28 if (p->data == nullptr || p->len == 0) { in doParse() 31 const char *name = p->name != nullptr ? p->name : "unnamed"; in doParse() 32 bool parseResult = hidParser.parse(p->data, p->len); in doParse() 49 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doParseAndFilter() local 50 if (p->data == nullptr || p->len == 0) { in doParseAndFilter() 53 const char *name = p->name != nullptr ? p->name : "unnamed"; in doParseAndFilter() 54 bool parseResult = hidParser.parse(p->data, p->len); in doParseAndFilter() 80 for (const TestHidDescriptor *p = gDescriptorArray; ; ++p) { in doDigest() local 81 if (p->data == nullptr || p->len == 0) { in doDigest() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/ips/common/ |
D | VideoPayloadManager.cpp | 42 VideoPayloadBuffer *p = (VideoPayloadBuffer*) mapper->getCpuAddress(SUB_BUFFER1); in getMetaData() local 43 if (!p) { in getMetaData() 48 metadata->format = p->format; in getMetaData() 49 metadata->transform = p->metadata_transform; in getMetaData() 50 metadata->timestamp = p->timestamp; in getMetaData() 52 metadata->normalBuffer.khandle = p->khandle; in getMetaData() 53 metadata->normalBuffer.width = p->crop_width; in getMetaData() 54 metadata->normalBuffer.height = p->crop_height; in getMetaData() 55 metadata->normalBuffer.bufWidth = p->width; in getMetaData() 56 metadata->normalBuffer.bufHeight = p->height; in getMetaData() [all …]
|
/hardware/intel/common/libmix/mix_audio/src/ |
D | sst_proxy.c | 57 struct snd_mp3_params *p = &s->sparams.uc.mp3_params; in mix_sst_params_convert_mp3() local 59 s->codec = p->codec = SST_CODEC_TYPE_MP3; in mix_sst_params_convert_mp3() 60 p->num_chan = MIX_ACP_NUM_CHANNELS(acp); in mix_sst_params_convert_mp3() 61 p->brate = MIX_ACP_BITRATE(acp); in mix_sst_params_convert_mp3() 62 p->sfreq = MIX_ACP_SAMPLE_FREQ(acp); in mix_sst_params_convert_mp3() 63 p->crc_check = MIX_ACP_MP3_CRC(acp); in mix_sst_params_convert_mp3() 64 p->pcm_wd_sz = mix_acp_get_bps(MIX_AUDIOCONFIGPARAMS(acp)); in mix_sst_params_convert_mp3() 65 if (p->pcm_wd_sz == MIX_ACP_BPS_16) in mix_sst_params_convert_mp3() 66 p->op_align = MIX_ACP_OUTPUT_ALIGN_16; in mix_sst_params_convert_mp3() 68 p->op_align = mix_acp_get_op_align(MIX_AUDIOCONFIGPARAMS(acp)); in mix_sst_params_convert_mp3() [all …]
|
/hardware/interfaces/health/1.0/default/ |
D | convert.cpp | 104 void convertToHealthInfo(const struct android::BatteryProperties *p, in convertToHealthInfo() argument 106 info.chargerAcOnline = p->chargerAcOnline; in convertToHealthInfo() 107 info.chargerUsbOnline = p->chargerUsbOnline; in convertToHealthInfo() 108 info.chargerWirelessOnline = p->chargerWirelessOnline; in convertToHealthInfo() 109 info.maxChargingCurrent = p->maxChargingCurrent; in convertToHealthInfo() 110 info.maxChargingVoltage = p->maxChargingVoltage; in convertToHealthInfo() 111 info.batteryStatus = static_cast<BatteryStatus>(p->batteryStatus); in convertToHealthInfo() 112 info.batteryHealth = static_cast<BatteryHealth>(p->batteryHealth); in convertToHealthInfo() 113 info.batteryPresent = p->batteryPresent; in convertToHealthInfo() 114 info.batteryLevel = p->batteryLevel; in convertToHealthInfo() [all …]
|
/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderHost.cpp | 42 VideoDecoderWMV *p = new VideoDecoderWMV(mimeType); in createVideoDecoder() local 43 return (IVideoDecoder *)p; in createVideoDecoder() 46 VideoDecoderAVC *p = new VideoDecoderAVC(mimeType); in createVideoDecoder() local 47 return (IVideoDecoder *)p; in createVideoDecoder() 52 VideoDecoderMPEG4 *p = new VideoDecoderMPEG4(mimeType); in createVideoDecoder() local 53 return (IVideoDecoder *)p; in createVideoDecoder() 55 VideoDecoderMPEG2 *p = new VideoDecoderMPEG2(mimeType); in createVideoDecoder() local 56 return (IVideoDecoder *)p; in createVideoDecoder() 60 VideoDecoderAVC *p = new VideoDecoderAVCSecure(mimeType); in createVideoDecoder() local 61 return (IVideoDecoder *)p; in createVideoDecoder() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument 67 for (; p && offset; p = PKTNEXT(osh, p)) { in pktcopy() 68 if (offset < (uint)PKTLEN(osh, p)) in pktcopy() 70 offset -= PKTLEN(osh, p); in pktcopy() 73 if (!p) in pktcopy() 77 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy() 78 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy() 79 bcopy(PKTDATA(osh, p) + offset, buf, n); in pktcopy() 91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument 96 for (; p && offset; p = PKTNEXT(osh, p)) { in pktfrombuf() [all …]
|
D | miniopt.c | 60 char *p, *eq, *valstr, *endptr = NULL; in miniopt() local 76 p = *argv++; in miniopt() 79 if (!t->opt_end && !strcmp(p, "--")) { in miniopt() 85 p = *argv++; in miniopt() 91 valstr = p; in miniopt() 93 else if (!strncmp(p, "--", 2)) { in miniopt() 94 eq = strchr(p, '='); in miniopt() 97 "%s: missing \" = \" in long param \"%s\"\n", t->name, p); in miniopt() 101 keylen = eq ? (eq - (p + 2)) : (int)strlen(p) - 2; in miniopt() 103 memcpy(t->key, p + 2, keylen); in miniopt() [all …]
|
/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderHost.cpp | 47 VideoEncoderAVC *p = new VideoEncoderAVC(); in createVideoEncoder() local 48 return (IVideoEncoder *)p; in createVideoEncoder() 51 VideoEncoderH263 *p = new VideoEncoderH263(); in createVideoEncoder() local 53 PVSoftMPEG4Encoder *p = new PVSoftMPEG4Encoder("OMX.google.h263.encoder"); in createVideoEncoder() 55 return (IVideoEncoder *)p; in createVideoEncoder() 59 VideoEncoderMP4 *p = new VideoEncoderMP4(); in createVideoEncoder() local 61 PVSoftMPEG4Encoder *p = new PVSoftMPEG4Encoder("OMX.google.mpeg4.encoder"); in createVideoEncoder() 63 return (IVideoEncoder *)p; in createVideoEncoder() 65 VideoEncoderVP8 *p = new VideoEncoderVP8(); in createVideoEncoder() local 66 return (IVideoEncoder *)p; in createVideoEncoder() [all …]
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
D | bt_vendor_qcom.h | 32 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument 33 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument 34 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
D | bt_vendor_qcom.h | 23 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument 24 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument 25 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
|
/hardware/qcom/bt/msm8996/libbt-vendor/include/ |
D | bt_vendor_qcom.h | 32 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument 33 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument 34 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument
|
/hardware/broadcom/libbt/src/ |
D | hardware.c | 98 #define STREAM_TO_UINT16(u16, p) {u16 = ((uint16_t)(*(p)) + (((uint16_t)(*((p) + 1))) << 8)); (p) +… argument 99 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (uint8_t)(u8);} argument 100 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (uint8_t)(u16); *(p)++ = (uint8_t)((u16) >> 8);} argument 101 #define UINT32_TO_STREAM(p, u32) {*(p)++ = (uint8_t)(u32); *(p)++ = (uint8_t)((u32) >> 8); *(p)++ =… argument 513 char *p = p_chip_id_str + len - 1; in hw_config_findpatch() local 520 if ((isdigit(*p)==0) && (*p != 'M') && (*p != 'm')) in hw_config_findpatch() 523 p--; in hw_config_findpatch() 529 *p = 0; in hw_config_findpatch() 555 uint8_t *p = (uint8_t *) (p_buf + 1); in hw_config_set_bdaddr() local 561 UINT16_TO_STREAM(p, HCI_VSC_WRITE_BD_ADDR); in hw_config_set_bdaddr() [all …]
|
/hardware/intel/common/libwsbm/src/ |
D | wsbm_userpool.c | 164 struct _WsbmUserPool *p; in evict_lru() local 173 p = userPool(vBuf); in evict_lru() 174 WSBM_MUTEX_UNLOCK(&p->mutex); in evict_lru() 176 WSBM_MUTEX_LOCK(&p->mutex); in evict_lru() 207 struct _WsbmUserPool *p = containerOf(pool, struct _WsbmUserPool, pool); in pool_create() local 221 WSBM_MUTEX_LOCK(&p->mutex); in pool_create() 224 vBuf->node = wsbmMMSearchFree(&p->agpMM, size, alignment, 1); in pool_create() 230 vBuf->kBuf.gpuOffset = p->agpOffset + vBuf->node->start; in pool_create() 231 vBuf->map = (void *)(p->agpMap + vBuf->node->start); in pool_create() 232 WSBMLISTADDTAIL(&vBuf->lru, &p->agpLRU); in pool_create() [all …]
|