/kernel/linux/linux-5.10/sound/pci/ |
H A D | rme96.c | 224 u16 vol[2]; /* cached volume of analog output */ member 529 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0); in snd_rme96_apply_dac_volume() 530 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2); in snd_rme96_apply_dac_volume() 532 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000); in snd_rme96_apply_dac_volume() 533 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400); in snd_rme96_apply_dac_volume() 1703 rme96->vol[0] = rme96->vol[1] = 0; in snd_rme96_create() 1847 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); in snd_rme96_proc_read() 1848 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); in snd_rme96_proc_read() 2220 u->value.integer.value[0] = rme96->vol[ in snd_rme96_dac_volume_get() 2232 unsigned int vol, maxvol; snd_rme96_dac_volume_put() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | rme96.c | 219 u16 vol[2]; /* cached volume of analog output */ member 502 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0); in snd_rme96_apply_dac_volume() 503 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2); in snd_rme96_apply_dac_volume() 505 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000); in snd_rme96_apply_dac_volume() 506 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400); in snd_rme96_apply_dac_volume() 1668 rme96->vol[0] = rme96->vol[1] = 0; in snd_rme96_create() 1812 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); in snd_rme96_proc_read() 1813 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); in snd_rme96_proc_read() 2185 u->value.integer.value[0] = rme96->vol[ in snd_rme96_dac_volume_get() 2197 unsigned int vol, maxvol; snd_rme96_dac_volume_put() local [all...] |
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | xattrs.h | 74 struct XATTRMAPPING *ntfs_xattr_build_mapping(ntfs_volume *vol, 81 ntfs_volume *vol);
|
H A D | cache.h | 114 void ntfs_create_lru_caches(ntfs_volume *vol); 115 void ntfs_free_lru_caches(ntfs_volume *vol);
|
H A D | unistr.h | 72 extern BOOL ntfs_forbidden_names(ntfs_volume *vol, 74 extern BOOL ntfs_collapsible_chars(ntfs_volume *vol,
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
H A D | radio-zoltrix.c | 87 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument 91 zol->curvol = vol; in zoltrix_s_mute_volume() 93 if (mute || vol == 0) { in zoltrix_s_mute_volume() 100 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
|
/kernel/linux/linux-6.6/drivers/media/radio/ |
H A D | radio-zoltrix.c | 87 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument 91 zol->curvol = vol; in zoltrix_s_mute_volume() 93 if (mute || vol == 0) { in zoltrix_s_mute_volume() 100 outb(vol - 1, isa->io); in zoltrix_s_mute_volume()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_cs_dsp_ctl.c | 79 unsigned int out, rd, wr, vol; in wmfw_convert_flags() local 83 vol = SNDRV_CTL_ELEM_ACCESS_VOLATILE; in wmfw_convert_flags() 92 out |= vol; in wmfw_convert_flags() 94 out |= rd | wr | vol; in wmfw_convert_flags()
|
H A D | cs35l56_hda.c | 276 int vol; in cs35l56_hda_vol_get() local 284 vol = (s16)(raw_vol & 0xFFFF); in cs35l56_hda_vol_get() 285 vol >>= CS35L56_MAIN_RENDER_USER_VOLUME_SHIFT; in cs35l56_hda_vol_get() 287 if (vol & BIT(CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT)) in cs35l56_hda_vol_get() 288 vol |= ~((int)(BIT(CS35L56_MAIN_RENDER_USER_VOLUME_SIGNBIT) - 1)); in cs35l56_hda_vol_get() 290 ucontrol->value.integer.value[0] = vol - CS35L56_MAIN_RENDER_USER_VOLUME_MIN; in cs35l56_hda_vol_get() 299 long vol = ucontrol->value.integer.value[0]; in cs35l56_hda_vol_put() local 304 if ((vol < 0) || (vol > (CS35L56_MAIN_RENDER_USER_VOLUME_MAX - in cs35l56_hda_vol_put() 308 raw_vol = (vol in cs35l56_hda_vol_put() [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | logfile.c | 496 ntfs_volume *vol = log_na->ni->vol; in ntfs_check_logfile() local 506 if (NVolLogFileEmpty(vol)) in ntfs_check_logfile() 614 NVolSetLogFileEmpty(vol); in ntfs_check_logfile() 685 if (NVolLogFileEmpty(log_na->ni->vol)) { in ntfs_is_logfile_clean() 735 if (NVolLogFileEmpty(na->ni->vol)) in ntfs_empty_logfile() 762 NVolSetLogFileEmpty(na->ni->vol); in ntfs_empty_logfile()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-av-audio.c | 334 int vol = volume >> 9; in set_volume() local 338 if (vol <= 23) in set_volume() 339 vol = 0; in set_volume() 341 vol -= 23; in set_volume() 344 cx18_av_write(cx, 0x8d4, 228 - (vol * 2)); in set_volume()
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-av-audio.c | 334 int vol = volume >> 9; in set_volume() local 338 if (vol <= 23) in set_volume() 339 vol = 0; in set_volume() 341 vol -= 23; in set_volume() 344 cx18_av_write(cx, 0x8d4, 228 - (vol * 2)); in set_volume()
|
/kernel/linux/linux-5.10/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 635 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get() local 638 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get() 639 vol -= (bal & 0x3f); in snd_cx88_volume_get() 640 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get() 735 u32 vol; in snd_cx88_switch_put() local 738 vol = cx_read(AUD_VOL_CTL); in snd_cx88_switch_put() 739 if (value->value.integer.value[0] != !(vol & bit)) { in snd_cx88_switch_put() 740 vol ^= bit; in snd_cx88_switch_put() 741 cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, vol); in snd_cx88_switch_put() [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cx88/ |
H A D | cx88-alsa.c | 634 int vol = 0x3f - (cx_read(AUD_VOL_CTL) & 0x3f), in snd_cx88_volume_get() local 637 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get() 638 vol -= (bal & 0x3f); in snd_cx88_volume_get() 639 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get() 734 u32 vol; in snd_cx88_switch_put() local 737 vol = cx_read(AUD_VOL_CTL); in snd_cx88_switch_put() 738 if (value->value.integer.value[0] != !(vol & bit)) { in snd_cx88_switch_put() 739 vol ^= bit; in snd_cx88_switch_put() 740 cx_swrite(SHADOW_AUD_VOL_CTL, AUD_VOL_CTL, vol); in snd_cx88_switch_put() [all...] |
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_adapter_interface_impl.cpp | 834 uint32_t vol; in GetAudioVolume() local 837 vol = audioRender->GetVolumeInner(); in GetAudioVolume() 840 vol = audioRender->GetMaxVolumeInner(); in GetAudioVolume() 843 vol = audioRender->GetMinVolumeInner(); in GetAudioVolume() 846 vol = streamMuteStatus_; in GetAudioVolume() 849 vol = 0; in GetAudioVolume() 852 DHLOGI("Get volume : %{public}" PRIu32" type : %{public}d", vol, type); in GetAudioVolume() 853 param = std::to_string(vol); in GetAudioVolume() 935 int32_t vol = AUDIO_DEFAULT_MIN_VOLUME_LEVEL; in HandleVolumeChangeEvent() local 936 int32_t ret = GetVolFromEvent(event.content, VOLUME_LEVEL, vol); in HandleVolumeChangeEvent() 990 GetVolFromEvent(const std::string &content, const std::string &key, int32_t &vol) GetVolFromEvent() argument [all...] |
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | speakup_dummy.c | 66 __ATTR(vol, 0644, spk_var_show, spk_var_store); 148 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 162 MODULE_PARM_DESC(vol, "Set the vol variable on load.");
|
H A D | speakup_spkout.c | 59 __ATTR(vol, 0644, spk_var_show, spk_var_store); 139 module_param_named(vol, vars[PITCH_ID].u.n.default_val, int, 0444); 150 MODULE_PARM_DESC(vol, "Set the vol variable on load.");
|
H A D | speakup_txprt.c | 58 __ATTR(vol, 0644, spk_var_show, spk_var_store); 132 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 143 MODULE_PARM_DESC(vol, "Set the vol variable on load.");
|
H A D | speakup_acntsa.c | 57 __ATTR(vol, 0644, spk_var_show, spk_var_store); 144 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 153 MODULE_PARM_DESC(vol, "Set the vol variable on load.");
|
H A D | speakup_bns.c | 53 __ATTR(vol, 0644, spk_var_show, spk_var_store); 127 module_param_named(vol, vars[VOL_ID].u.n.default_val, int, 0444); 137 MODULE_PARM_DESC(vol, "Set the vol variable on load.");
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | motorcomm.c | 849 * @vol: ldo voltage 854 u32 vol; member 860 {.vol = YT8531_LDO_VOL_1V8, .ds = 0, .cur = 1200}, 861 {.vol = YT8531_LDO_VOL_1V8, .ds = 1, .cur = 2100}, 862 {.vol = YT8531_LDO_VOL_1V8, .ds = 2, .cur = 2700}, 863 {.vol = YT8531_LDO_VOL_1V8, .ds = 3, .cur = 2910}, 864 {.vol = YT8531_LDO_VOL_1V8, .ds = 4, .cur = 3110}, 865 {.vol = YT8531_LDO_VOL_1V8, .ds = 5, .cur = 3600}, 866 {.vol = YT8531_LDO_VOL_1V8, .ds = 6, .cur = 3970}, 867 {.vol 890 u32 vol; yt8531_get_ds_map() local [all...] |
/drivers/peripheral/audio/supportlibs/alsa_adapter/src/ |
H A D | alsa_lib_render.c | 24 long vol; in AudioCtlRenderSetVolume() local 31 vol = (long)handleData->renderMode.ctlParam.volume; in AudioCtlRenderSetVolume() 32 ret = renderIns->SetVolume(renderIns, vol); in AudioCtlRenderSetVolume() 45 long vol; in AudioCtlRenderGetVolume() local 52 ret = renderIns->GetVolume(renderIns, &vol); in AudioCtlRenderGetVolume() 57 handleData->renderMode.ctlParam.volume = (float)vol; in AudioCtlRenderGetVolume()
|
H A D | alsa_lib_capture.c | 43 long vol; in AudioCtlCaptureGetVolume() local 50 ret = captureIns->GetVolume(captureIns, &vol); in AudioCtlCaptureGetVolume() 55 handleData->captureMode.ctlParam.volume = (float)vol; in AudioCtlCaptureGetVolume() 64 long vol; in AudioCtlCaptureSetVolume() local 71 vol = (long)handleData->captureMode.ctlParam.volume; in AudioCtlCaptureSetVolume() 72 ret = captureIns->SetVolume(captureIns, vol); in AudioCtlCaptureSetVolume()
|
/third_party/alsa-lib/test/ |
H A D | playmidi1.c | 265 static void do_noteon(int chan, int pitch, int vol) in do_noteon() argument 270 printf("%lu: NoteOn (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteon() 272 snd_seq_ev_set_noteon(&ev, chan, pitch, vol); in do_noteon() 277 static void do_noteoff(int chan, int pitch, int vol) in do_noteoff() argument 282 printf("%lu: NoteOff (%d) %d %d\n", Mf_currtime, chan, pitch, vol); in do_noteoff() 284 snd_seq_ev_set_noteoff(&ev, chan, pitch, vol); in do_noteoff()
|
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfstruncate.c | 83 ntfs_volume *vol; variable 697 err = ntfs_umount(vol, 0); in ntfstruncate_exit() 746 vol = ntfs_mount(dev_name, ul); in main() 747 if (!vol) in main() 760 ni = ntfs_inode_open(vol, inode); in main() 800 err = ntfs_umount(vol, 0); in main()
|