Home
last modified time | relevance | path

Searched refs:gain (Results 1 – 15 of 15) sorted by relevance

/titanic_41/usr/src/uts/common/io/audio/impl/
H A Daudio_sun.c263 prinfo->gain = AUDIO_MAX_GAIN; in devaudio_proc_alloc()
284 prinfo->gain = AUDIO_MAX_GAIN; in devaudio_proc_alloc()
410 auclnt_set_gain(sp, ((play->gain * 100) / AUDIO_MAX_GAIN)); in devaudio_proc_hold()
432 auclnt_set_gain(sp, ((rec->gain * 100) / AUDIO_MAX_GAIN)); in devaudio_proc_hold()
584 info->play.gain = in devaudio_proc_update()
608 info->record.gain = in devaudio_proc_update()
747 if (CHANGED(npr, opr, gain)) { in devaudio_ioc_setinfo()
748 if (npr->gain > AUDIO_MAX_GAIN) { in devaudio_ioc_setinfo()
799 if (CHANGED(npr, opr, gain)) { in devaudio_ioc_setinfo()
800 if (npr->gain > AUDIO_MAX_GAIN) { in devaudio_ioc_setinfo()
[all …]
H A Daudio_client.c665 auimpl_set_gain_master(audio_stream_t *sp, uint8_t gain) in auimpl_set_gain_master() argument
669 if (gain > 100) { in auimpl_set_gain_master()
670 gain = 0; in auimpl_set_gain_master()
674 if (sp->s_gain_master == gain) { in auimpl_set_gain_master()
683 scaled = (gain * sp->s_gain_pct * AUDIO_DB_SIZE) / (100 * 100); in auimpl_set_gain_master()
685 sp->s_gain_master = gain; in auimpl_set_gain_master()
727 auclnt_set_gain(audio_stream_t *sp, uint8_t gain) in auclnt_set_gain() argument
731 if (gain > 100) { in auclnt_set_gain()
732 gain = 0; in auclnt_set_gain()
738 if (sp->s_gain_pct == gain) { in auclnt_set_gain()
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c1024 int gain; in audiohd_do_set_pin_volume() local
1056 gain = AUDIOHDC_GAIN_MAX; in audiohd_do_set_pin_volume()
1064 gain); in audiohd_do_set_pin_volume()
1072 gain); in audiohd_do_set_pin_volume()
1286 uint_t caddr, audiohd_pin_t *pin, uint64_t gain) in audiohd_set_pin_monitor_gain() argument
1293 l = (gain & 0xff00) >> 8; in audiohd_set_pin_monitor_gain()
1294 r = (gain & 0xff); in audiohd_set_pin_monitor_gain()
1430 int gain; in audiohd_do_set_beep_volume() local
1462 gain = AUDIOHDC_GAIN_MAX; in audiohd_do_set_beep_volume()
1470 gain); in audiohd_do_set_beep_volume()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_ac/
H A Dusb_ac.c2795 uint_t dir, uint_t channel, uint_t control, uint_t gain, uint_t *depth) in usb_ac_set_monitor_gain() argument
2848 control, gain, depth) != USB_SUCCESS) { in usb_ac_set_monitor_gain()
2852 0, control, gain, depth) != in usb_ac_set_monitor_gain()
2879 uint_t dir, uint_t channel, uint_t control, uint_t gain, uint_t *depth) in usb_ac_set_gain() argument
2885 featureID, dir, channel, control, gain); in usb_ac_set_gain()
2888 dir, channel, control, gain, depth) != USB_SUCCESS) { in usb_ac_set_gain()
2935 if (gain == 0) { in usb_ac_set_gain()
2936 gain = USB_AUDIO_VOLUME_SILENCE; in usb_ac_set_gain()
2938 gain = max - ((max - min) * (AF_MAX_GAIN - gain))/AF_MAX_GAIN; in usb_ac_set_gain()
2943 channel, dir, max, min, gain); in usb_ac_set_gain()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Daudioio.h62 uint_t gain; /* gain level: 0 - 255 */ member
/titanic_41/usr/src/cmd/audio/utilities/
H A Ddevice_ctl.c180 up = &prinfo->gain; break; in audio__setval()
/titanic_41/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Demu10k1.mac152 // Apply master record gain
H A Demu10k2.mac157 // Apply master record gain
/titanic_41/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c1637 audiocs_set_mgain(void *arg, uint64_t gain) in audiocs_set_mgain() argument
1642 if (gain > 100) in audiocs_set_mgain()
1646 cc->cc_val = gain; in audiocs_set_mgain()
/titanic_41/usr/src/uts/common/io/urtw/
H A Durtw.c2207 urtw_8225_setgain(struct urtw_softc *sc, int16_t gain) in urtw_8225_setgain() argument
2212 urtw_8225_gain[gain * 4])) in urtw_8225_setgain()
2215 urtw_8225_gain[gain * 4 + 2])) in urtw_8225_setgain()
2218 urtw_8225_gain[gain * 4 + 3])) in urtw_8225_setgain()
2221 urtw_8225_gain[gain * 4 + 1]); in urtw_8225_setgain()
2597 urtw_8225v2_setgain(struct urtw_softc *sc, int16_t gain) in urtw_8225v2_setgain() argument
2604 if (error = urtw_8187_write_phy_ofdm_c(sc, 0x0d, gainp[gain * 3])) in urtw_8225v2_setgain()
2607 if (error = urtw_8187_write_phy_ofdm_c(sc, 0x1b, gainp[gain * 3 + 1])) in urtw_8225v2_setgain()
2609 if (error = urtw_8187_write_phy_ofdm_c(sc, 0x1d, gainp[gain * 3 + 2])) in urtw_8225v2_setgain()
/titanic_41/usr/src/lib/librstp/common/
H A DCOPYING94 case, there is little to gain by limiting the free library to free
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c1261 au_pr->gain, in show_audio_prinfo()
/titanic_41/usr/src/cmd/look/
H A Dwords9415 gain
/titanic_41/usr/src/cmd/spell/
H A Dlist9413 gain
/titanic_41/usr/src/uts/intel/io/acpica/
H A Dchanges.txt6400 gain