Home
last modified time | relevance | path

Searched refs:vol (Results 1 – 25 of 146) sorted by relevance

123456

/external/arm-trusted-firmware/plat/brcm/board/stingray/driver/
Dswreg.c57 #define VOL_DIV(vol) (((vol*10000ull)/(14117*98ull)) * 100ull) argument
58 #define STEP_VALUE(vol) \ argument
59 ((((((VOL_DIV(vol)) - A2_VOL_REF) / ONE_STEP_VALUE) & 0xFF) << 8) | 4)
71 #define B0_VOL_DIV(vol) (((vol)*100ull)/156) argument
72 #define B0_STEP_VALUE(vol) \ argument
73 ((((((B0_VOL_DIV(vol)) - B0_VOL_REF) / B0_ONE_STEP_VALUE) \
84 #define B0_DDR_VDDC_VOL_DIV(vol) ((vol)/1) argument
85 #define B0_DDR_VDDC_STEP_VALUE(vol) \ argument
86 ((((((B0_DDR_VDDC_VOL_DIV(vol)) - B0_VOL_REF) / B0_ONE_STEP_VALUE) \
/external/webrtc/modules/audio_device/mac/
Daudio_mixer_manager_mac.cc226 const Float32 vol = (Float32)(volume / 255.0); in SetSpeakerVolume() local
228 RTC_DCHECK(vol <= 1.0 && vol >= 0.0); in SetSpeakerVolume()
238 size = sizeof(vol); in SetSpeakerVolume()
240 _outputDeviceID, &propertyAddress, 0, NULL, size, &vol)); in SetSpeakerVolume()
252 size = sizeof(vol); in SetSpeakerVolume()
254 _outputDeviceID, &propertyAddress, 0, NULL, size, &vol)); in SetSpeakerVolume()
277 Float32 vol = 0; in SpeakerVolume() local
286 size = sizeof(vol); in SpeakerVolume()
288 _outputDeviceID, &propertyAddress, 0, NULL, &size, &vol)); in SpeakerVolume()
291 volume = static_cast<uint32_t>(vol * 255 + 0.5); in SpeakerVolume()
[all …]
/external/arm-trusted-firmware/plat/hisilicon/hikey/
Dhisi_dvfs.c37 unsigned int vol[ACPU_OPP_NUM]; member
702 INFO(" - %d: 0x%x\n", i, acpu_dvfs_sram_buf->vol[i]); in acpu_dvfs_set_freq()
713 unsigned int vol[7]; member
740 volt->vol[0] = 0x49; in acpu_dvfs_volt_init()
741 volt->vol[1] = 0x49; in acpu_dvfs_volt_init()
742 volt->vol[2] = 0x50; in acpu_dvfs_volt_init()
743 volt->vol[3] = 0x60; in acpu_dvfs_volt_init()
744 volt->vol[4] = 0x78; in acpu_dvfs_volt_init()
745 volt->vol[5] = 0x78; in acpu_dvfs_volt_init()
746 volt->vol[6] = 0x78; in acpu_dvfs_volt_init()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java130 int vol = 1; in setStreamVolume_shouldSetVolume() local
132 audioManager.setStreamVolume(stream, vol, 0); in setStreamVolume_shouldSetVolume()
133 vol++; in setStreamVolume_shouldSetVolume()
134 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
135 vol = 1; in setStreamVolume_shouldSetVolume()
139 vol = 1; in setStreamVolume_shouldSetVolume()
141 assertThat(audioManager.getStreamVolume(stream)).isEqualTo(vol); in setStreamVolume_shouldSetVolume()
142 vol++; in setStreamVolume_shouldSetVolume()
143 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
144 vol = 1; in setStreamVolume_shouldSetVolume()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java311 public void setCurrentVolume(int vol) { in setCurrentVolume() argument
312 if (vol > maxVolume) { in setCurrentVolume()
313 vol = maxVolume; in setCurrentVolume()
314 } else if (vol < 0) { in setCurrentVolume()
315 vol = 0; in setCurrentVolume()
317 currentVolume = vol; in setCurrentVolume()
320 public void setMaxVolume(int vol) { in setMaxVolume() argument
321 maxVolume = vol; in setMaxVolume()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.s.dcache.wb.vol.ll3 declare void @llvm.amdgcn.s.dcache.wb.vol() #0
11 call void @llvm.amdgcn.s.dcache.wb.vol()
20 call void @llvm.amdgcn.s.dcache.wb.vol()
Dllvm.amdgcn.s.dcache.inv.vol.ll4 declare void @llvm.amdgcn.s.dcache.inv.vol() #0
13 call void @llvm.amdgcn.s.dcache.inv.vol()
22 call void @llvm.amdgcn.s.dcache.inv.vol()
Dllvm.amdgcn.buffer.wbinvl1.vol.ll4 declare void @llvm.amdgcn.buffer.wbinvl1.vol() #0
12 call void @llvm.amdgcn.buffer.wbinvl1.vol()
/external/eigen/unsupported/Eigen/src/BVH/
DBVAlgorithms.h50 …bool intersectVolume(const Volume1 &vol) { return intersector.intersectVolumeObject(vol, stored); } in intersectVolume()
62 …bool intersectVolume(const Volume2 &vol) { return intersector.intersectObjectVolume(stored, vol); } in intersectVolume()
187 …Scalar minimumOnVolume(const Volume1 &vol) { return minimizer.minimumOnVolumeObject(vol, stored); } in minimumOnVolume()
200 …Scalar minimumOnVolume(const Volume2 &vol) { return minimizer.minimumOnObjectVolume(stored, vol); } in minimumOnVolume()
/external/clang/test/Sema/
Dwarn-cast-qual.c15 volatile char *vol = 0; in foo() local
16 …char *vol2 = (char *)vol; // expected-warning {{cast from 'volatile char *' to 'char *' drops vola… in foo()
/external/webrtc/modules/audio_device/linux/
Daudio_mixer_manager_alsa_linux.cc331 long int vol(0); in SpeakerVolume() local
334 _outputMixerElement, (snd_mixer_selem_channel_id_t)0, &vol); in SpeakerVolume()
341 << vol; in SpeakerVolume()
343 volume = static_cast<uint32_t>(vol); in SpeakerVolume()
769 long int vol(0); in MicrophoneVolume() local
772 _inputMixerElement, (snd_mixer_selem_channel_id_t)0, &vol); in MicrophoneVolume()
779 << "AudioMixerManagerLinuxALSA::MicrophoneVolume() => vol=" << vol; in MicrophoneVolume()
781 volume = static_cast<uint32_t>(vol); in MicrophoneVolume()
/external/exfatprogs/lib/
Dlibexfat.c443 struct exfat_dentry vol; in exfat_set_volume_label() local
455 vol.type = EXFAT_VOLUME; in exfat_set_volume_label()
456 memset(vol.vol_label, 0, sizeof(vol.vol_label)); in exfat_set_volume_label()
457 memcpy(vol.vol_label, volume_label, volume_label_len); in exfat_set_volume_label()
458 vol.vol_char_cnt = volume_label_len/2; in exfat_set_volume_label()
460 nbytes = exfat_write(bd->dev_fd, &vol, sizeof(struct exfat_dentry), in exfat_set_volume_label()
/external/webrtc/modules/audio_coding/neteq/
Ddtmf_buffer.h31 DtmfEvent(uint32_t ts, int ev, int vol, int dur, bool end) in DtmfEvent()
32 : timestamp(ts), event_no(ev), volume(vol), duration(dur), end_bit(end) {} in DtmfEvent()
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAudioManager.java915 public void setCurrentVolume(int vol) { in setCurrentVolume() argument
916 if (vol > maxVolume) { in setCurrentVolume()
917 vol = maxVolume; in setCurrentVolume()
918 } else if (vol < MIN_VOLUME) { in setCurrentVolume()
919 vol = MIN_VOLUME; in setCurrentVolume()
921 currentVolume = vol; in setCurrentVolume()
924 public void setMaxVolume(int vol) { in setMaxVolume() argument
925 maxVolume = vol; in setMaxVolume()
/external/cronet/base/android/java/src/org/chromium/base/
DPathUtils.java306 for (String vol : volumes) { in getExternalDownloadVolumesNames()
307 if (!TextUtils.isEmpty(vol) && !vol.contains(MediaStore.VOLUME_EXTERNAL_PRIMARY)) { in getExternalDownloadVolumesNames()
311 ApiHelperForR.getVolumeDir(manager, MediaStore.Files.getContentUri(vol)); in getExternalDownloadVolumesNames()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/
Dtensorrt_test.cc175 unsigned vol = batch_size; in GetBindingSizeBytes() local
183 vol *= scalarsPerVec; in GetBindingSizeBytes()
185 vol *= std::accumulate(dims.d, dims.d + dims.nbDims, 1, std::multiplies<>()); in GetBindingSizeBytes()
186 return vol * sizeof(T); in GetBindingSizeBytes()
/external/exfatprogs/include/
Dexfat_ondisk.h155 } __attribute__((packed)) vol; /* file directory entry */ member
204 #define vol_char_cnt dentry.vol.character_count
205 #define vol_label dentry.vol.volume_label
/external/arm-trusted-firmware/drivers/renesas/common/avs/
Davs_driver.c104 uint8_t vol; /* Voltage */ member
297 init_vol_tbl[efuse_avs].vol); in rcar_avs_setting()
341 mmio_write_8(IIC_ICDR, init_vol_tbl[EFUSE_AVS0].vol); in rcar_avs_setting()
417 init_vol_tbl[efuse_avs].vol); in rcar_avs_end()
/external/autotest/client/cros/audio/
Dsox_utils.py43 gain=None, vol=None, raw=True): argument
75 if vol is not None:
76 args += ['vol', str(vol)]
/external/libmonet/quantize/
DQuantizerWu.java145 volumeVariance[next] = (cubes[next].vol > 1) ? variance(cubes[next]) : 0.0; in createBoxes()
146 volumeVariance[i] = (cubes[i].vol > 1) ? variance(cubes[i]) : 0.0; in createBoxes()
257 one.vol = (one.r1 - one.r0) * (one.g1 - one.g0) * (one.b1 - one.b0); in cut()
258 two.vol = (two.r1 - two.r0) * (two.g1 - two.g0) * (two.b1 - two.b0); in cut()
404 int vol = 0; field in QuantizerWu.Box
/external/openscreen/third_party/abseil/src/absl/strings/
Dsubstitute_test.cc72 volatile int vol = 237; in TEST() local
73 volatile int *volatile volptr = &vol; in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/strings/
Dsubstitute_test.cc72 volatile int vol = 237; in TEST() local
73 volatile int *volatile volptr = &vol; in TEST()
/external/libtextclassifier/abseil-cpp/absl/strings/
Dsubstitute_test.cc72 volatile int vol = 237; in TEST() local
73 volatile int *volatile volptr = &vol; in TEST()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowAudioManagerTest.java183 int vol = 1; in setStreamVolume_shouldSetVolume() local
185 audioManager.setStreamVolume(stream, vol, 0); in setStreamVolume_shouldSetVolume()
186 vol++; in setStreamVolume_shouldSetVolume()
187 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
188 vol = 1; in setStreamVolume_shouldSetVolume()
192 vol = 1; in setStreamVolume_shouldSetVolume()
194 assertThat(audioManager.getStreamVolume(stream)).isEqualTo(vol); in setStreamVolume_shouldSetVolume()
195 vol++; in setStreamVolume_shouldSetVolume()
196 if (vol > ShadowAudioManager.DEFAULT_MAX_VOLUME) { in setStreamVolume_shouldSetVolume()
197 vol = 1; in setStreamVolume_shouldSetVolume()
/external/abseil-cpp/absl/strings/
Dsubstitute_test.cc72 volatile int vol = 237; in TEST() local
73 volatile int *volatile volptr = &vol; in TEST()

123456