Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 24 of 24) sorted by relevance

/hardware/intel/bootstub/
Dspi-uart.c102 u32 sr; in spi_max3110_putc() local
107 sr = pspi->sr; in spi_max3110_putc()
108 if (!(sr & SR_TF_NOT_FULL)) in spi_max3110_putc()
Dspi-uart.h42 vu32 sr; member
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c535 long sr = 1000; in inv_generate_hal_outputs() local
552 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs()
555 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
556 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs()
559 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
560 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs()
563 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
564 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c579 long sr = 1000; in inv_generate_hal_outputs() local
596 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs()
599 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
600 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs()
603 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
604 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs()
607 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
608 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
/hardware/bsp/intel/peripheral/libupm/src/mma7660/
Dmma7660.cxx249 bool MMA7660::setSampleRate(MMA7660_AUTOSLEEP_T sr) in setSampleRate() argument
251 return writeByte(REG_SR, sr); in setSampleRate()
Dmma7660.h301 bool setSampleRate(MMA7660_AUTOSLEEP_T sr);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Drdopt.c1373 void vp8_cal_step_param(int sr, int *sp) in vp8_cal_step_param() argument
1377 if (sr > MAX_FIRST_STEP) sr = MAX_FIRST_STEP; in vp8_cal_step_param()
1378 else if (sr < 1) sr = 1; in vp8_cal_step_param()
1380 while (sr>>=1) in vp8_cal_step_param()
1419 int sr; in vp8_rd_pick_best_mbsegmentation() local
1454sr = MAXF((abs(bsi.sv_mvp[0].as_mv.row - bsi.sv_mvp[2].as_mv.row))>>3, (abs(bsi.sv_mvp[0].as_mv.co… in vp8_rd_pick_best_mbsegmentation()
1455 vp8_cal_step_param(sr, &bsi.sv_istep[0]); in vp8_rd_pick_best_mbsegmentation()
1457sr = MAXF((abs(bsi.sv_mvp[1].as_mv.row - bsi.sv_mvp[3].as_mv.row))>>3, (abs(bsi.sv_mvp[1].as_mv.co… in vp8_rd_pick_best_mbsegmentation()
1458 vp8_cal_step_param(sr, &bsi.sv_istep[1]); in vp8_rd_pick_best_mbsegmentation()
1465sr = MAXF((abs(bsi.sv_mvp[0].as_mv.row - bsi.sv_mvp[1].as_mv.row))>>3, (abs(bsi.sv_mvp[0].as_mv.co… in vp8_rd_pick_best_mbsegmentation()
[all …]
Drdopt.h132 int *sr,
Dpickinter.c605 int sr=0; in vp8_pick_inter_mode() local
916 cpi->common.ref_frame_sign_bias, &sr, in vp8_pick_inter_mode()
919 sr += speed_adjust; in vp8_pick_inter_mode()
921 if(sr > step_param) in vp8_pick_inter_mode()
922 step_param = sr; in vp8_pick_inter_mode()
/hardware/ril/reference-ril/
Dreference-ril.c1792 RIL_SIM_IO_Response sr; local
1798 memset(&sr, 0, sizeof(sr));
1825 err = at_tok_nextint(&line, &(sr.sw1));
1828 err = at_tok_nextint(&line, &(sr.sw2));
1832 err = at_tok_nextstr(&line, &(sr.simResponse));
1836 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_mcomp.c55 int sr = 0; in vp9_init_search_range() local
60 while ((size << sr) < MAX_FULL_PEL_VAL) in vp9_init_search_range()
61 sr++; in vp9_init_search_range()
63 sr += cpi->sf.reduce_first_step_size; in vp9_init_search_range()
64 sr = MIN(sr, (cpi->sf.max_step_search_steps - 2)); in vp9_init_search_range()
65 return sr; in vp9_init_search_range()
Dvp9_firstpass.c396 int num00, tmp_err, n, sr = 0; in first_pass_motion_search() local
406 while ((quart_frm << sr) < MAX_FULL_PEL_VAL) in first_pass_motion_search()
407 ++sr; in first_pass_motion_search()
409 step_param += sr; in first_pass_motion_search()
410 further_steps -= sr; in first_pass_motion_search()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp503 struct copybit_rect_t sr = { 0, 0, src->w, src->h }; in blit_copybit() local
504 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1391 struct copybit_rect_t sr = { 0, 0, src->w, src->h }; in blit_copybit() local
1393 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp548 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
549 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1433 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
1435 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp576 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
577 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1411 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
1413 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp548 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
549 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1427 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
1429 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp561 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
562 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1436 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
1438 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp581 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
582 return stretch_copybit(dev, dst, src, &dr, &sr, region); in blit_copybit()
Dcopybit_c2d.cpp1435 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
1437 status = stretch_copybit_internal(dev, dst, src, &dr, &sr, region, false); in blit_copybit()