/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | viddec_intr.c | 22 uint32_t reg=0, temp=0; in mfd_trap_handler() local 23 temp = reg_read(INT_STATUS); in mfd_trap_handler() 25 if(temp & INT_WDOG_ENABLE) in mfd_trap_handler() 31 if(temp & 0x4) in mfd_trap_handler() 34 temp = temp & (~0x4); in mfd_trap_handler() 35 reg_write(INT_REG, temp); in mfd_trap_handler() 41 if(temp & 0x2) in mfd_trap_handler() 44 temp = temp & (~0x2); in mfd_trap_handler() 45 reg_write(INT_REG, temp); in mfd_trap_handler() 48 if(temp & 0x1) in mfd_trap_handler() [all …]
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
D | intel_m4v_config_parser.cpp | 790 uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length); in iGetAVCConfigInfo() local 794 if (temp) in iGetAVCConfigInfo() 796 sps = temp; // Make a copy of the original pointer to be freed later in iGetAVCConfigInfo() 808 OSCL_FREE(temp); in iGetAVCConfigInfo() 835 OSCL_FREE(temp); in iGetAVCConfigInfo() 844 OSCL_FREE(temp); in iGetAVCConfigInfo() 859 OSCL_FREE(temp); in iGetAVCConfigInfo() 877 OSCL_FREE(temp); in iGetAVCConfigInfo() 905 OSCL_FREE(temp); in iGetAVCConfigInfo() 930 uint32 temp; in DecodeSPS() local [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
D | h264parse_bsd.c | 36 uint32_t temp = 0, match = 0, noOfBits = 0, count = 0; in h264_get_codeNum() local 59 bits_operation_result = viddec_pm_peek_bits(parent, &temp, noOfBits); in h264_get_codeNum() 62 temp = (temp << bits_offset); in h264_get_codeNum() 63 if(temp!=0) in h264_get_codeNum() 72 bits_operation_result = viddec_pm_peek_bits(parent, &temp, 8); in h264_get_codeNum() 81 if(temp != 0) in h264_get_codeNum() 85 while(((temp & 0x80) != 0x80) && (count <= noOfBits)) in h264_get_codeNum() 88 temp = temp <<1; in h264_get_codeNum() 104 viddec_pm_get_bits(parent, &temp, noOfBits); in h264_get_codeNum() 109 viddec_pm_get_bits(parent, &temp, count); in h264_get_codeNum() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | iio_utils.h | 260 struct iio_channel_info temp; in bsort_channel_array_by_index() local 266 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index() 268 (*ci_array)[y] = temp; in bsort_channel_array_by_index() 440 char temp[200]; in _write_sysfs_int() local 442 if (temp == NULL) in _write_sysfs_int() 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 445 sysfsfp = fopen(temp, "w"); in _write_sysfs_int() 447 printf("failed to open write %s\n", temp); in _write_sysfs_int() 456 sysfsfp = fopen(temp, "r"); in _write_sysfs_int() 458 printf("failed to open read %s\n", temp); in _write_sysfs_int() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | iio_utils.h | 261 struct iio_channel_info temp; in bsort_channel_array_by_index() local 267 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index() 269 (*ci_array)[y] = temp; in bsort_channel_array_by_index() 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() local 441 if (temp == NULL) in _write_sysfs_int() 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 447 printf("VERB: echo %d > %s\n", val, temp); in _write_sysfs_int() 448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int() 450 printf("failed to open %s\n", temp); in _write_sysfs_int() 458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int() [all …]
|
/hardware/ril/libril/ |
D | rilSocketQueue.h | 103 T* temp = NULL; in dequeue() local 109 temp = this->front; in dequeue() 117 return temp; in dequeue() 139 T* temp; in checkAndDequeue() local 146 temp = *ppCur; in checkAndDequeue() 148 free(temp); in checkAndDequeue()
|
/hardware/intel/common/wrs_omxil_core/base/src/ |
D | portbase.cpp | 92 struct list *entry, *temp; in ~PortBase() local 95 list_foreach_safe(buffer_hdrs, entry, temp) { in ~PortBase() 187 OMX_PARAM_PORTDEFINITIONTYPE temp; in SetPortDefinition() local 189 memcpy(&temp, &portdefinition, sizeof(temp)); in SetPortDefinition() 192 if (temp.nPortIndex != p->nPortIndex) in SetPortDefinition() 194 if (temp.eDir != p->eDir) in SetPortDefinition() 196 if (temp.eDomain != p->eDomain) in SetPortDefinition() 198 if (temp.nBufferCountActual != p->nBufferCountActual) { in SetPortDefinition() 199 if (temp.nBufferCountMin > p->nBufferCountActual) in SetPortDefinition() 201 temp.nBufferCountActual = p->nBufferCountActual; in SetPortDefinition() [all …]
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | queue.c | 106 Node *temp; in pop() local 112 temp = q->head; in pop() 113 element = temp->element; in pop() 124 free(temp); in pop()
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | queue.c | 101 Node *temp; in pop() local 107 temp = q->head; in pop() 108 element = temp->element; in pop() 116 free(temp); in pop()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 55 memset(temp, 0, sizeof(temp)); in NatApp() 742 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 743 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() 744 temp[cnt].private_port == new_entry->private_port && in AddTempEntry() 745 temp[cnt].target_port == new_entry->target_port && in AddTempEntry() 746 temp[cnt].protocol == new_entry->protocol) in AddTempEntry() 755 if(temp[cnt].private_ip == 0 && in AddTempEntry() 756 temp[cnt].target_ip == 0) in AddTempEntry() 758 memcpy(&temp[cnt], new_entry, sizeof(nat_table_entry)); in AddTempEntry() 780 if(temp[cnt].private_ip == entry->private_ip && in DeleteTempEntry() [all …]
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_AOC.c | 155 AKFLOAT temp; in Get4points() local 168 temp = CalcR(&v[i], &out[0]); in Get4points() 169 if(d < temp){ in Get4points() 170 d = temp; in Get4points() 187 temp = tempv.u.x * tempv.u.x in Get4points() 190 if(d < temp){ in Get4points() 191 d = temp; in Get4points() 200 temp = dv[i].u.x * cross.u.x in Get4points() 203 temp = fabs(temp); in Get4points() 204 if(d < temp){ in Get4points() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 415 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp() 416 if (timestamp < sensors.temp.timestamp) in inv_get_last_timestamp() 417 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp() 638 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias() 639 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias() 675 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument 681 if (temp != NULL) in inv_get_mpl_gyro_bias() 682 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias() 756 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument 761 if (temp != NULL) in inv_get_mpl_accel_bias() [all …]
|
D | ml_math_func.c | 73 long temp; in inv_get_gyro_sum_of_sqr() local 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr() 78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr() 98 long long temp; in inv_q29_mult() 100 temp = (long long)a * b; in inv_q29_mult() 101 result = (long)(temp >> 29); in inv_q29_mult() 120 long long temp; in inv_q30_mult() 122 temp = (long long)a * b; in inv_q30_mult() 123 result = (long)(temp >> 30); in inv_q30_mult() 131 long long temp; in inv_q30_div() local [all …]
|
D | data_builder.h | 131 struct inv_single_sensor_t temp; member 245 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 275 void inv_get_mpl_gyro_bias(long *bias, long *temp); 279 void inv_get_mpl_accel_bias(long *bias, long *temp);
|
/hardware/qcom/camera/msm8998/usbcamcore/inc/ |
D | QCameraUsbPriv.h | 87 char temp[1001] = {0};\ 90 strlcpy(temp,parms+n,1000);\ 91 ALOGD("parms = %s", temp);\ 92 if (strlen(temp) < 1000) break;\
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 615 struct bt_qcom_struct *temp = NULL; in init() local 626 temp = (struct bt_qcom_struct *) malloc(sizeof(*q)); in init() 627 if (!temp) { in init() 632 memset(temp, 0, sizeof(*temp)); in init() 634 temp->rfkill_id = -1; in init() 635 temp->enable_extldo = FALSE; in init() 636 temp->cb = cb; in init() 637 temp->ant_fd = -1; in init() 638 temp->soc_type = get_bt_soc_type(); in init() 639 soc_init(temp->soc_type); in init() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
D | vc1parse.c | 282 uint32_t temp; in vc1_ParseEntryPointLayer() local 311 result = viddec_pm_get_bits(ctxt, &temp, 1); in vc1_ParseEntryPointLayer() 314 ep.CODED_SIZE_FLAG = temp; in vc1_ParseEntryPointLayer() 324 result = viddec_pm_get_bits(ctxt, &temp, 1); in vc1_ParseEntryPointLayer() 325 md->EXTENDED_DMV = ep.EXTENDED_DMV = temp; in vc1_ParseEntryPointLayer() 328 result = viddec_pm_get_bits(ctxt, &temp, 1); in vc1_ParseEntryPointLayer() 331 md->RANGE_MAPY_FLAG = ep.RANGE_MAPY_FLAG = temp; in vc1_ParseEntryPointLayer() 334 result = viddec_pm_get_bits(ctxt, &temp, 3); in vc1_ParseEntryPointLayer() 335 md->RANGE_MAPY = ep.RANGE_MAPY = temp; in vc1_ParseEntryPointLayer() 339 result = viddec_pm_get_bits(ctxt, &temp, 1); in vc1_ParseEntryPointLayer() [all …]
|
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
D | ThermalUtils.java | 122 public static int calculateThermalState(int temp, Integer thresholds[]) { in calculateThermalState() argument 125 if (temp < thresholds[0]) in calculateThermalState() 128 if (temp >= thresholds[thresholds.length - 2]) in calculateThermalState() 132 if (temp >= thresholds[i] && temp < thresholds[i + 1]) { in calculateThermalState()
|
D | ThermalEvent.java | 29 ThermalEvent(int id, int type, int state, int temp, String zoneName, String profName) { in ThermalEvent() argument 33 mZoneTemp = temp; in ThermalEvent()
|
D | ThermalSensor.java | 144 public void setErrorCorrectionTemp(int temp) { in setErrorCorrectionTemp() argument 145 mErrorCorrectionTemp = temp; in setErrorCorrectionTemp() 210 public void setCurrTemp(int temp) { in setCurrTemp() argument 211 mCurrTemp = temp; in setCurrTemp()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 618 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp() 619 if (timestamp < sensors.temp.timestamp) { in inv_get_last_timestamp() 620 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp() 852 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias() 853 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias() 889 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument 895 if (temp != NULL) in inv_get_mpl_gyro_bias() 896 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias() 970 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument 975 if (temp != NULL) in inv_get_mpl_accel_bias() [all …]
|
D | ml_math_func.c | 73 long temp; in inv_get_gyro_sum_of_sqr() local 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr() 78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr() 98 long long temp; in inv_q29_mult() 100 temp = (long long)a * b; in inv_q29_mult() 101 result = (long)(temp >> 29); in inv_q29_mult() 120 long long temp; in inv_q30_mult() 122 temp = (long long)a * b; in inv_q30_mult() 123 result = (long)(temp >> 30); in inv_q30_mult() 131 long long temp; in inv_q30_div() local [all …]
|
D | data_builder.h | 134 struct inv_single_sensor_t temp; member 248 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 278 void inv_get_mpl_gyro_bias(long *bias, long *temp); 282 void inv_get_mpl_accel_bias(long *bias, long *temp);
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
D | viddec_mpeg2_metadata.c | 946 uint32_t temp = 0; in viddec_mpeg2_get_first_mb_number() local 961 viddec_pm_get_bits(parent, &temp, 3); in viddec_mpeg2_get_first_mb_number() 962 mb_row += (temp << 7); in viddec_mpeg2_get_first_mb_number() 979 temp = 0; in viddec_mpeg2_get_first_mb_number() 980 viddec_pm_peek_bits(parent, &temp, 1); in viddec_mpeg2_get_first_mb_number() 981 if (temp == 0x1) in viddec_mpeg2_get_first_mb_number() 985 temp=0; in viddec_mpeg2_get_first_mb_number() 986 viddec_pm_peek_bits(parent, &temp, 1); in viddec_mpeg2_get_first_mb_number() 987 while (temp == 0x1) in viddec_mpeg2_get_first_mb_number() 991 temp=0; in viddec_mpeg2_get_first_mb_number() [all …]
|
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
D | TngCursorPlane.cpp | 126 uint8_t temp; in setDataBuffer() local 134 temp = srcPixel[0]; in setDataBuffer() 136 srcPixel[2] = temp; in setDataBuffer() 149 uint8_t temp; in setDataBuffer() local 159 temp = srcPixel[0]; in setDataBuffer()
|