Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 21 of 21) 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/qcom/audio/hal/
Dplatform_api.h28 #define sample_rate_multiple(sr, base) ((sr % base)== 0?true:false) argument
/hardware/qcom/audio/hal/audio_extn/
Dusb.c219 uint32_t sr, min_sr, max_sr, sr_size = 0; in usb_get_sample_rates() local
252 sr = (uint32_t)atoi(next_sr_string); in usb_get_sample_rates()
254 if (supported_sample_rates[i] == sr) { in usb_get_sample_rates()
257 __func__, sr, i, supported_sample_rates[i]); in usb_get_sample_rates()
690 unsigned int *sr) in usb_get_best_match_for_sample_rate() argument
719 *sr = dev_info->rates[i]; in usb_get_best_match_for_sample_rate()
747 *sr = candidate; in usb_get_best_match_for_sample_rate()
/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/msm8998/libcopybit/
Dcopybit.cpp583 struct copybit_rect_t sr = { 0, 0, (int)src->w, (int)src->h }; in blit_copybit() local
584 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()
/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/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/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/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()
/hardware/ril/reference-ril/
Dreference-ril.c1928 RIL_SIM_IO_Response sr; local
1934 memset(&sr, 0, sizeof(sr));
1958 err = parseSimResponseLine(line, &sr);
1963 RIL_onRequestComplete(t, RIL_E_SUCCESS, &sr, sizeof(sr));