/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
H A D | viddec_intr.c | 22 uint32_t reg=0, temp=0; local 23 temp = reg_read(INT_STATUS); 24 //DEBUG_WRITE(0xff, temp, timer, 0, 0, 0); 25 if(temp & INT_WDOG_ENABLE) 31 if(temp & 0x4) 34 temp = temp & (~0x4); 35 reg_write(INT_REG, temp); 41 if(temp & 0x2) 44 temp [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/ |
H A D | h264parse_bsd.c | 36 uint32_t temp = 0, match = 0, noOfBits = 0, count = 0;
local 59 bits_operation_result = viddec_pm_peek_bits(parent, &temp, noOfBits);
62 temp = (temp << bits_offset);
63 if(temp!=0)
72 bits_operation_result = viddec_pm_peek_bits(parent, &temp, 8);
81 if(temp != 0)
85 while(((temp & 0x80) != 0x80) && (count <= noOfBits))
88 temp = temp << [all...] |
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/ |
H A D | ThermalEvent.java | 29 ThermalEvent(int id, int type, int state, int temp, String zoneName, String profName) { argument 33 mZoneTemp = temp;
|
H A D | ThermalUtils.java | 122 public static int calculateThermalState(int temp, Integer thresholds[]) { argument 125 if (temp < thresholds[0]) 128 if (temp >= thresholds[thresholds.length - 2]) 132 if (temp >= thresholds[i] && temp < thresholds[i + 1]) { 158 Log.i(TAG, "TjMax temp read failed, Default TjMax value =" +
|
H A D | ThermalSensor.java | 37 private String mSensorPath; /* sys path to read temp from */ 39 private String mInputTempPath; /* sys path to read the current temp */ 114 * If sensor path is "none", sensor temp is not read via any sysfs 144 public void setErrorCorrectionTemp(int temp) { argument 145 mErrorCorrectionTemp = temp; 161 name = "temp"; 210 public void setCurrTemp(int temp) { argument 211 mCurrTemp = temp;
|
/hardware/intel/common/wrs_omxil_core/core/src/ |
H A D | intel_m4v_config_parser.cpp | 790 uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length); local 794 if (temp) 796 sps = temp; // Make a copy of the original pointer to be freed later 808 OSCL_FREE(temp); 835 OSCL_FREE(temp); 844 OSCL_FREE(temp); 859 OSCL_FREE(temp); 877 OSCL_FREE(temp); 905 OSCL_FREE(temp); 930 uint32 temp; local 1088 uint temp; local 1180 uint temp; local 1211 uint32 temp, pic_parameter_set_id, seq_parameter_set_id, entropy_coding_mode_flag; local 1231 uint32 temp; local 1260 uint32 temp; local [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
H A D | queue.c | 106 Node *temp; local 112 temp = q->head; 113 element = temp->element; 124 free(temp);
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
H A D | queue.c | 101 Node *temp; local 107 temp = q->head; 108 element = temp->element; 116 free(temp);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
H A D | iio_utils.h | 260 struct iio_channel_info temp; local 266 temp = (*ci_array)[y + 1]; 268 (*ci_array)[y] = temp; 439 //char *temp = malloc(strlen(basedir) + strlen(filename) + 2); 440 char temp[200]; local 442 if (temp == NULL) 444 sprintf(temp, "%s/%s", basedir, filename); 445 sysfsfp = fopen(temp, "w"); 447 printf("failed to open write %s\n", temp); 456 sysfsfp = fopen(temp, " 496 char temp[200]; local 521 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 580 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 602 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 624 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local [all...] |
/hardware/ril/libril/ |
H A D | rilSocketQueue.h | 103 T* temp = NULL; local 109 temp = this->front; 117 return temp; 139 T* temp; local 146 temp = *ppCur; 148 free(temp);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
H A D | iio_utils.h | 261 struct iio_channel_info temp; local 267 temp = (*ci_array)[y + 1]; 269 (*ci_array)[y] = temp; 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 441 if (temp == NULL) 444 sprintf(temp, "%s/%s", basedir, filename); 447 printf("VERB: echo %d > %s\n", val, temp); 448 sysfsfp = fopen(temp, "w"); 450 printf("failed to open %s\n", temp); 458 sysfsfp = fopen(temp, " 494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 554 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 576 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local [all...] |
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
H A D | iio_utils.h | 261 struct iio_channel_info temp; local 267 temp = (*ci_array)[y + 1]; 269 (*ci_array)[y] = temp; 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 441 if (temp == NULL) 444 sprintf(temp, "%s/%s", basedir, filename); 447 printf("VERB: echo %d > %s\n", val, temp); 448 sysfsfp = fopen(temp, "w"); 450 printf("failed to open %s\n", temp); 458 sysfsfp = fopen(temp, " 494 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 554 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local 576 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); local [all...] |
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
H A D | AKFS_AOC.c | 155 AKFLOAT temp; local 168 temp = CalcR(&v[i], &out[0]); 169 if(d < temp){ 170 d = temp; 187 temp = tempv.u.x * tempv.u.x 190 if(d < temp){ 191 d = temp; 200 temp = dv[i].u.x * cross.u.x 203 temp = fabs(temp); [all...] |
/hardware/intel/common/wrs_omxil_core/base/src/ |
H A D | portbase.cpp | 92 struct list *entry, *temp; local 95 list_foreach_safe(buffer_hdrs, entry, temp) { 187 OMX_PARAM_PORTDEFINITIONTYPE temp; local 189 memcpy(&temp, &portdefinition, sizeof(temp)); 192 if (temp.nPortIndex != p->nPortIndex) 194 if (temp.eDir != p->eDir) 196 if (temp.eDomain != p->eDomain) 198 if (temp.nBufferCountActual != p->nBufferCountActual) { 199 if (temp [all...] |
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/ |
H A D | vc1parse.c | 282 uint32_t temp; local 311 result = viddec_pm_get_bits(ctxt, &temp, 1); 314 ep.CODED_SIZE_FLAG = temp; 324 result = viddec_pm_get_bits(ctxt, &temp, 1); 325 md->EXTENDED_DMV = ep.EXTENDED_DMV = temp; 328 result = viddec_pm_get_bits(ctxt, &temp, 1); 331 md->RANGE_MAPY_FLAG = ep.RANGE_MAPY_FLAG = temp; 334 result = viddec_pm_get_bits(ctxt, &temp, 3); 335 md->RANGE_MAPY = ep.RANGE_MAPY = temp; 339 result = viddec_pm_get_bits(ctxt, &temp, 394 uint32_t temp; local [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 131 struct inv_single_sensor_t temp; member in struct:inv_sensor_cal_t 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);
|
H A D | data_builder.c | 415 if (sensors.temp.status & INV_SENSOR_ON) { 416 if (timestamp < sensors.temp.timestamp) 417 timestamp = sensors.temp.timestamp; 638 if (sensors.temp.calibrated[0]) 639 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; 675 void inv_get_mpl_gyro_bias(long *bias, long *temp) argument 681 if (temp != NULL) 682 temp[0] = inv_data_builder.save.gyro_temp; 754 * @param[out] temp Temperature where 1 C = 2^16 756 void inv_get_mpl_accel_bias(long *bias, long *temp) argument 893 inv_build_temp(const long temp, inv_time_t timestamp) argument [all...] |
/hardware/interfaces/memtrack/1.0/default/ |
H A D | Memtrack.cpp | 44 size_t temp = 0; local 45 size_t *size = &temp;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | data_builder.c | 618 if (sensors.temp.status & INV_SENSOR_ON) { 619 if (timestamp < sensors.temp.timestamp) { 620 timestamp = sensors.temp.timestamp; 852 if (sensors.temp.calibrated[0]) 853 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; 889 void inv_get_mpl_gyro_bias(long *bias, long *temp) argument 895 if (temp != NULL) 896 temp[0] = inv_data_builder.save.gyro_temp; 968 * @param[out] temp Temperature where 1 C = 2^16 970 void inv_get_mpl_accel_bias(long *bias, long *temp) argument 1119 inv_build_temp(const long temp, inv_time_t timestamp) argument [all...] |
H A D | ml_math_func.c | 73 long temp; local 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); 78 gmag += temp * temp; 98 long long temp; 100 temp = (long long)a * b; 101 result = (long)(temp >> 29); 120 long long temp; 122 temp = (long long)a * b; 123 result = (long)(temp >> 3 131 long long temp; local 713 long temp; local [all...] |
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
H A D | bt_vendor_qcom.c | 609 struct bt_qcom_struct *temp = NULL; local 620 temp = (struct bt_qcom_struct *) malloc(sizeof(*q)); 621 if (!temp) { 626 memset(temp, 0, sizeof(*temp)); 628 temp->rfkill_id = -1; 629 temp->enable_extldo = FALSE; 630 temp->cb = (bt_vendor_callbacks_t*)cb; 631 temp->ant_fd = -1; 632 temp [all...] |
/hardware/intel/img/hwcomposer/merrifield/ips/tangier/ |
H A D | TngCursorPlane.cpp | 126 uint8_t temp; local 134 temp = srcPixel[0]; 136 srcPixel[2] = temp; 149 uint8_t temp; local 159 temp = srcPixel[0];
|
/hardware/intel/img/hwcomposer/merrifield/ips/anniedale/ |
H A D | AnnCursorPlane.cpp | 127 uint8_t temp; local 135 temp = srcPixel[0]; 137 srcPixel[2] = temp;
|
/hardware/libhardware/modules/thermal/ |
H A D | thermal.c | 42 float temp; local 48 * /sys/class/thermal/thermal_zone[0-9]+/temp files. 58 snprintf(file_name, MAX_LENGTH, "%s/%s/temp", TEMPERATURE_DIR, de->d_name); 63 if (1 != fscanf(file, "%f", &temp)) { 72 .current_value = temp,
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/ |
H A D | viddec_mpeg2_metadata.c | 946 uint32_t temp = 0; local 961 viddec_pm_get_bits(parent, &temp, 3); 962 mb_row += (temp << 7); 979 temp = 0; 980 viddec_pm_peek_bits(parent, &temp, 1); 981 if (temp == 0x1) 985 temp=0; 986 viddec_pm_peek_bits(parent, &temp, 1); 987 while (temp == 0x1) 991 temp [all...] |