/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_Device.c | 34 vdata[i].u.x = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 35 vdata[i].u.y = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 36 vdata[i].u.z = AKFS_INIT_VALUE_F; in AKFS_InitBuffer() 71 tmp = vec->u.x; in AKFS_Rotate() 72 vec->u.x = vec->u.y; in AKFS_Rotate() 73 vec->u.y = -tmp; in AKFS_Rotate() 76 vec->u.x = -(vec->u.x); in AKFS_Rotate() 77 vec->u.y = -(vec->u.y); in AKFS_Rotate() 80 tmp = vec->u.x; in AKFS_Rotate() 81 vec->u.x = -(vec->u.y); in AKFS_Rotate() [all …]
|
D | AKFS_VNorm.c | 46 if ((s->u.x <= AKFS_EPSILON) || in AKFS_VbNorm() 47 (s->u.y <= AKFS_EPSILON) || in AKFS_VbNorm() 48 (s->u.z <= AKFS_EPSILON) || in AKFS_VbNorm() 58 vvec[i].u.x = ((vdata[i].u.x - o->u.x) / (s->u.x) * (AKFLOAT)tgt); in AKFS_VbNorm() 59 vvec[i].u.y = ((vdata[i].u.y - o->u.y) / (s->u.y) * (AKFLOAT)tgt); in AKFS_VbNorm() 60 vvec[i].u.z = ((vdata[i].u.z - o->u.z) / (s->u.z) * (AKFLOAT)tgt); in AKFS_VbNorm() 83 vave->u.x = 0; in AKFS_VbAve() 84 vave->u.y = 0; in AKFS_VbAve() 85 vave->u.z = 0; in AKFS_VbAve() 87 if ((vvec[i].u.x == AKFS_INIT_VALUE_F) || in AKFS_VbAve() [all …]
|
D | AKFS_Direction.c | 48 av = AKFS_SQRT((avec->u.x)*(avec->u.x) + (avec->u.y)*(avec->u.y) + (avec->u.z)*(avec->u.z)); in AKFS_Angle() 50 *pitch = AKFS_ASIN(-(avec->u.y) / av); in AKFS_Angle() 51 *roll = AKFS_ASIN((avec->u.x) / av); in AKFS_Angle() 76 Yh = -(hvec->u.x)*cosR + (hvec->u.z)*sinR; in AKFS_Azimuth() 77 Xh = (hvec->u.x)*sinP*sinR + (hvec->u.y)*cosP + (hvec->u.z)*sinP*cosR; in AKFS_Azimuth()
|
D | AKFS_AK8975.c | 39 hdata[0].u.x = mag[0] * (((asa->u.x)/256.0f) + 0.5f); in AKFS_DecompAK8975() 40 hdata[0].u.y = mag[1] * (((asa->u.y)/256.0f) + 0.5f); in AKFS_DecompAK8975() 41 hdata[0].u.z = mag[2] * (((asa->u.z)/256.0f) + 0.5f); in AKFS_DecompAK8975()
|
D | AKFS_AOC.c | 187 temp = tempv.u.x * tempv.u.x in Get4points() 188 + tempv.u.y * tempv.u.y in Get4points() 189 + tempv.u.z * tempv.u.z; in Get4points() 200 temp = dv[i].u.x * cross.u.x in Get4points() 201 + dv[i].u.y * cross.u.y in Get4points() 202 + dv[i].u.z * cross.u.z; in Get4points() 303 if ((var.u.x >= tempf) || (var.u.y >= tempf) || (var.u.z >= tempf)){ in AKFS_AOC()
|
D | AKFS_Device.h | 62 }u; member 71 }u; member
|
/hardware/akm/AK8975_FS/akmdfs/ |
D | AKFS_APIs.c | 52 g_prms.mfv_hs.u.x = AK8975_HSENSE_DEFAULT; in AKFS_Init() 53 g_prms.mfv_hs.u.y = AK8975_HSENSE_DEFAULT; in AKFS_Init() 54 g_prms.mfv_hs.u.z = AK8975_HSENSE_DEFAULT; in AKFS_Init() 55 g_prms.mfv_as.u.x = AK8975_ASENSE_DEFAULT; in AKFS_Init() 56 g_prms.mfv_as.u.y = AK8975_ASENSE_DEFAULT; in AKFS_Init() 57 g_prms.mfv_as.u.z = AK8975_ASENSE_DEFAULT; in AKFS_Init() 66 g_prms.mi_asa.u.x = regs[0]; in AKFS_Init() 67 g_prms.mi_asa.u.y = regs[1]; in AKFS_Init() 68 g_prms.mi_asa.u.z = regs[2]; in AKFS_Init() 231 (g_prms.mfv_hvec.u.x * g_prms.mfv_hvec.u.x) + in AKFS_Get_MAGNETIC_FIELD() [all …]
|
D | AKFS_FileIO.c | 58 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.x) != 2) { in AKFS_LoadParameters() 65 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.y) != 2) { in AKFS_LoadParameters() 72 if (fscanf(fp, AKFS_SCANF_FORMAT, buf, &prms->mfv_ho.u.z) != 2) { in AKFS_LoadParameters() 115 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.x", prms->mfv_ho.u.x) < 0) { ret = 0; } in AKFS_SaveParameters() 116 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.y", prms->mfv_ho.u.y) < 0) { ret = 0; } in AKFS_SaveParameters() 117 if (fprintf(fp, AKFS_PRINTF_FORMAT, "HO.z", prms->mfv_ho.u.z) < 0) { ret = 0; } in AKFS_SaveParameters()
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAStreamOps.cpp | 84 static inline uint32_t popCount(uint32_t u) in popCount() argument 86 u = ((u&0x55555555) + ((u>>1)&0x55555555)); in popCount() 87 u = ((u&0x33333333) + ((u>>2)&0x33333333)); in popCount() 88 u = ((u&0x0f0f0f0f) + ((u>>4)&0x0f0f0f0f)); in popCount() 89 u = ((u&0x00ff00ff) + ((u>>8)&0x00ff00ff)); in popCount() 90 u = ( u&0x0000ffff) + (u>>16); in popCount() 91 return u; in popCount()
|
D | AudioUsbALSA.cpp | 695 uint64_t u; in pollForProxyData() local 696 read(mproxypfdPlayback, &u, sizeof(uint64_t)); in pollForProxyData() 698 if (u == SIGNAL_EVENT_KILLTHREAD) { in pollForProxyData() 704 } else if (u == SIGNAL_EVENT_TIMEOUT) { in pollForProxyData() 738 uint64_t u; in pollForUsbData() local 739 read(musbpfdPlayback, &u, sizeof(uint64_t)); in pollForUsbData() 742 if (u == SIGNAL_EVENT_KILLTHREAD) { in pollForUsbData() 746 } else if (u == SIGNAL_EVENT_TIMEOUT) { in pollForUsbData()
|
/hardware/ti/wlan/mac80211/wpa_supplicant_lib/ |
D | driver_mac80211.c | 351 char *dpos = (char *) &iwe_buf.u.data.length; in wpa_driver_wext_event_wireless() 364 MAC2STR((u8 *) iwe->u.ap_addr.sa_data)); in wpa_driver_wext_event_wireless() 366 (const u8 *) iwe->u.ap_addr.sa_data) || in wpa_driver_wext_event_wireless() 367 os_memcmp(iwe->u.ap_addr.sa_data, in wpa_driver_wext_event_wireless() 394 if (custom + iwe->u.data.length > end) { in wpa_driver_wext_event_wireless() 400 ctx, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless() 403 if (custom + iwe->u.data.length > end) { in wpa_driver_wext_event_wireless() 408 buf = os_malloc(iwe->u.data.length + 1); in wpa_driver_wext_event_wireless() 412 os_memcpy(buf, custom, iwe->u.data.length); in wpa_driver_wext_event_wireless() 413 buf[iwe->u.data.length] = '\0'; in wpa_driver_wext_event_wireless() [all …]
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
D | fimg2d.h | 257 #define image_table(u) \ argument 259 (u)->src, \ 260 (u)->msk, \ 261 (u)->tmp, \ 262 (u)->dst \
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
D | driver_cmd_wext.c | 119 iwr.u.data.pointer = buf; in wpa_driver_wext_combo_scan() 120 iwr.u.data.length = bp; in wpa_driver_wext_combo_scan() 262 iwr.u.data.pointer = buf; in wpa_driver_set_backgroundscan_params() 263 iwr.u.data.length = bp; in wpa_driver_set_backgroundscan_params() 324 iwr.u.data.pointer = buf; in wpa_driver_wext_driver_cmd() 325 iwr.u.data.length = buf_len; in wpa_driver_wext_driver_cmd() 330 iwr.u.data.length = wpa_driver_wext_set_cscan_params(buf, buf_len, cmd); in wpa_driver_wext_driver_cmd()
|
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
D | OMX_VPP_ImgConv.c | 181 OMX_U8 *y, *u, *v, *w; /* Pointers on Y U V buffers and Weight buffer */ in ConvertChromReduction() local 221 u = (y+iWidth*iHeight); /* Initialise pointer on YUV420 output buffers */ in ConvertChromReduction() 222 v = (u+(iWidth*iHeight)/4); in ConvertChromReduction() 432 *u++ = (OMX_U8)(((OMX_U32)(*pu1+2*(*(pu1+1))+*(pu1+2)+*pu2+2*(*(pu2+1))+*(pu2+2)))>>3); in ConvertChromReduction() 461 OMX_U8 *y, *u, *v, *w; in ConvertNoChromReduction() local 475 u = (y+iWidth*iHeight); in ConvertNoChromReduction() 476 v = (u+(iWidth*iHeight)/4); in ConvertNoChromReduction() 545 *u++ = (OMX_U8)(((OMX_S32)(*pu1+2*(*(pu1+1))+*(pu1+2)+*pu2+2*(*(pu2+1))+*(pu2+2)))>>3); in ConvertNoChromReduction()
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | mdpWrapper.h | 87 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 239 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument 242 ALOGE("i=%d val=%d", i, u[i]); in dump()
|
/hardware/qcom/display/msm8x26/liboverlay/ |
D | mdpWrapper.h | 87 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 239 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument 242 ALOGE("i=%d val=%d", i, u[i]); in dump()
|
D | overlayMdp.h | 342 const int u = getUserData(); in setRotationFlags() local 343 if (u & MDP_ROT_90) in setRotationFlags()
|
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_channel.c | 170 my_obj->bundle.super_buf_notify_cb(&cmd_cb->u.superbuf, my_obj->bundle.user_data); in mm_channel_dispatch_super_buf() 205 &cmd_cb->u.buf); in mm_channel_process_stream_buf() 208 ch_obj->pending_cnt = cmd_cb->u.req_buf.num_buf_requested; in mm_channel_process_stream_buf() 211 ch_obj->bundle.superbuf_queue.attr.notify_mode = cmd_cb->u.notify_mode; in mm_channel_process_stream_buf() 213 ch_obj->bundle.superbuf_queue.expected_frame_id = cmd_cb->u.frame_idx; in mm_channel_process_stream_buf() 249 cb_node->u.superbuf.num_bufs = node->num_of_bufs; in mm_channel_process_stream_buf() 251 cb_node->u.superbuf.bufs[i] = node->super_buf[i].buf; in mm_channel_process_stream_buf() 253 cb_node->u.superbuf.camera_handle = ch_obj->cam_obj->my_hdl; in mm_channel_process_stream_buf() 254 cb_node->u.superbuf.ch_id = ch_obj->my_hdl; in mm_channel_process_stream_buf() 1094 node->u.req_buf.num_buf_requested = num_buf_requested; in mm_channel_request_super_buf() [all …]
|
/hardware/qcom/camera/hdr/include/ |
D | morpho_image_data.h | 19 void * u; /**< U�摜�̐擪�|�C���^ */ member
|
D | morpho_image_data_ex.h | 21 int u; member
|
/hardware/qcom/display/msm8974/liboverlay/ |
D | mdpWrapper.h | 104 void dump(const char* const s, const uint32_t u[], uint32_t cnt); 327 inline void dump(const char* const s, const uint32_t u[], uint32_t cnt) { in dump() argument 330 ALOGE("i=%d val=%d", i, u[i]); in dump()
|
D | overlayMdp.h | 343 const int u = getUserData(); in setRotationFlags() local 344 if (u & MDP_ROT_90) in setRotationFlags()
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
D | AudioSystemLegacy.h | 319 static uint32_t popCount(uint32_t u) { in popCount() argument 320 return popcount(u); in popCount()
|
/hardware/qcom/msm8x74/original-kernel-headers/media/ |
D | msmb_isp.h | 254 } u; member 356 } u; /* union can have max 52 bytes */ member
|
/hardware/qcom/msm8x74/kernel-headers/media/ |
D | msmb_isp.h | 294 } u; member 391 } u; member
|