/hardware/qcom/audio/legacy/libalsa-intf/ |
D | alsa_mixer.c | 50 #define check_range(val, min, max) \ argument 51 (((val < min) ? (min) : (val > max) ? (max) : (val))) 56 #define percent_to_index(val, min, max) \ argument 57 ((val) * ((max) - (min)) * 0.01 + (min) + .5) 137 unsigned max = mixer->ctl[n].info->value.enumerated.items; in mixer_close() local 138 for (m = 0; m < max; m++) in mixer_close() 261 ei->value.integer.max, in mixer_dump() 268 ei->value.integer64.max, in mixer_dump() 313 long *min, long *max, unsigned int *tlv_type) in mixer_ctl_read_tlv() argument 362 *max = (ctl->info->value.integer.max); in mixer_ctl_read_tlv() [all …]
|
/hardware/libhardware/modules/consumerir/ |
D | consumerir.c | 28 {.min = 30000, .max = 30000}, 29 {.min = 33000, .max = 33000}, 30 {.min = 36000, .max = 36000}, 31 {.min = 38000, .max = 38000}, 32 {.min = 40000, .max = 40000}, 33 {.min = 56000, .max = 56000},
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | ALSAMixer.cpp | 85 max(SND_MIXER_VOL_RANGE_MAX), in mixer_info_t() 92 long max; member 197 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 198 info->volume = info->max; in ALSAMixer() 234 getVolumeRange[i] (elem, &info->min, &info->max); in ALSAMixer() 235 info->volume = info->max; in ALSAMixer() 273 long maxVol = info->max; in setMasterVolume() 292 long maxVol = info->max; in setMasterGain() 314 long maxVol = info->max; in setVolume() 337 long maxVol = info->max; in setGain()
|
/hardware/qcom/bt/msm8996/libbt-vendor/include/ |
D | hw_rome.h | 153 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8909/libbt-vendor/include/ |
D | hw_rome.h | 151 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8992/libbt-vendor/include/ |
D | hw_rome.h | 152 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/qcom/bt/msm8998/libbt-vendor/include/ |
D | hw_rome.h | 152 #define CALC_SEG_SIZE(len, max) ((plen) % (max))?((plen/max)+1) : ((plen) / (max)) argument
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmutils.h | 106 uint16 max; /* maximum number of queued packets */ member 146 uint16 max; /* total max packets */ \ 287 #define pktq_psetmax(pq, prec, _max) ((pq)->q[prec].max = (_max)) 288 #define pktq_pmax(pq, prec) ((pq)->q[prec].max) 290 #define pktq_pavail(pq, prec) ((pq)->q[prec].max - (pq)->q[prec].len) 291 #define pktq_pfull(pq, prec) ((pq)->q[prec].len >= (pq)->q[prec].max) 318 #define pktq_max(pq) ((int)(pq)->max) 319 #define pktq_avail(pq) ((int)((pq)->max - (pq)->len)) 320 #define pktq_full(pq) ((pq)->len >= (pq)->max) 603 #define LIMIT_TO_RANGE(x, min, max) \ argument [all …]
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_AOC.c | 127 AKFVEC max; in MeanVar() local 132 max.v[j] = v[0].v[j]; in MeanVar() 137 if(v[i].v[j] > max.v[j]){ in MeanVar() 138 max.v[j] = v[i].v[j]; in MeanVar() 141 mean->v[j] = (max.v[j] + min.v[j]) / 2.0; /*mean */ in MeanVar() 142 var->v[j] = max.v[j] - min.v[j]; /*var */ in MeanVar()
|
/hardware/interfaces/ir/1.0/default/ |
D | ConsumerIr.cpp | 59 rangeVec[i].max = static_cast<uint32_t>(rangeAr[i].max); in getCarrierFreqs()
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
D | hwc_qdcm.cpp | 236 out->writeInt32(value.max.hue); in qdcmGetPaRange() 237 out->writeInt32(value.max.saturation); in qdcmGetPaRange() 238 out->writeInt32(value.max.value); in qdcmGetPaRange() 239 out->writeInt32(value.max.contrast); in qdcmGetPaRange() 240 out->writeInt32(value.max.sat_thresh); in qdcmGetPaRange()
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 115 EGLint i, n, max; in select_config_for_window() local 131 if (eglGetConfigs(dpy, NULL, 0, &max) == EGL_FALSE) { in select_config_for_window() 136 cfg = (EGLConfig*) malloc(sizeof(EGLConfig) * max); in select_config_for_window() 140 if (eglChooseConfig(dpy, attr, cfg, max, &n) == EGL_FALSE) { in select_config_for_window()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FormatConvert.cpp | 36 static inline float clamp(float v, float min, float max) { in clamp() argument 38 if (v > max) return max; in clamp()
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.h | 82 #ifndef max 83 #define max(a, b) ((a) > (b)) ? (a) : (b) macro 690 #define psb__bounds_check(x, max) \ argument 691 do { ASSERT(x < max); if (x >= max) x = max - 1; } while(0);
|
D | psb_overlay.h | 78 #define CLAMP_ATTR(a,max,min) (a>max?max:(a<min?min:a)) argument
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/display/msm8996/sdm/libs/utils/ |
D | rect.cpp | 69 res.left = std::max(rect1.left, rect2.left); in Intersection() 70 res.top = std::max(rect1.top, rect2.top); in Intersection() 136 res.right = std::max(rect1.right, rect2.right); in Union() 137 res.bottom = std::max(rect1.bottom, rect2.bottom); in Union()
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | async_fd_watcher.cc | 135 max_read_fd = std::max(max_read_fd, it.first); in ThreadRoutine() 147 int nfds = std::max(notification_listen_fd_, max_read_fd); in ThreadRoutine()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | cb_utils.cpp | 36 irect.right = max(rect1.right, rect2.right); in getUnion() 37 irect.bottom = max(rect1.bottom, rect2.bottom); in getUnion()
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | gscancommand.h | 53 u32 max; /* max num of cached results specified by caller */ member 133 virtual int allocCachedResultsTemp(int max,
|
/hardware/libhardware/include/hardware/ |
D | consumerir.h | 31 int max; member
|
/hardware/interfaces/gnss/1.0/default/ |
D | GnssDebug.cpp | 48 length = std::max(length, kMaxDebugStrLen); in getDebugData()
|
/hardware/qcom/display/msm8998/sdm/libs/utils/ |
D | rect.cpp | 69 res.left = std::max(rect1.left, rect2.left); in Intersection() 70 res.top = std::max(rect1.top, rect2.top); in Intersection() 136 res.right = std::max(rect1.right, rect2.right); in Union() 137 res.bottom = std::max(rect1.bottom, rect2.bottom); in Union()
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHost.cpp | 40 int32_t min, int32_t max, float resolution) { in declareUsage() argument 42 id, usage, min, max, resolution); in declareUsage()
|