Home
last modified time | relevance | path

Searched refs:mute (Results 1 – 25 of 93) sorted by relevance

1234

/drivers/media/radio/
Dradio-gemtek.c153 int i, bit, q, mute; in gemtek_bu2614_transmit() local
155 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit()
157 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
162 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit()
164 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
168 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit()
214 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument
219 gt->muted = mute; in gemtek_s_mute_volume()
221 if (!mute) in gemtek_s_mute_volume()
240 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume()
Dradio-rtrack2.c87 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency()
97 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument
99 outb(mute, isa->io); in rtrack2_s_mute_volume()
Dradio-sf16fmi.c53 bool mute; member
76 if (!fmi->mute) in fmi_set_pins()
111 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */ in fmi_getsigstr()
200 fmi->mute = ctrl->val; in fmi_s_ctrl()
352 fmi->mute = true; in fmi_init()
Dradio-aimslab.c92 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins()
118 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument
123 if (mute) { in rtrack_s_mute_volume()
Dradio-isa.h31 struct v4l2_ctrl *mute; member
53 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
Dradio-zoltrix.c87 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument
92 zol->muted = mute; in zoltrix_s_mute_volume()
93 if (mute || vol == 0) { in zoltrix_s_mute_volume()
Dradio-terratec.c62 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in terratec_s_mute_volume() argument
66 if (mute) in terratec_s_mute_volume()
Dradio-aztech.c109 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in aztech_s_mute_volume() argument
113 if (mute) in aztech_s_mute_volume()
Dradio-typhoon.c111 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument
115 if (mute) in typhoon_s_mute_volume()
/drivers/ps3/
Dps3av_cmd.c213 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_video_mute() argument
223 av_video_mute.mute[i].avport = port[i]; in ps3av_cmd_av_video_mute()
224 av_video_mute.mute[i].mute = mute; in ps3av_cmd_av_video_mute()
264 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) in ps3av_cmd_av_tv_mute() argument
271 tv_mute.mute = mute; in ps3av_cmd_av_tv_mute()
409 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument
416 if (mute != PS3AV_CMD_MUTE_OFF) in ps3av_cmd_video_format_black()
436 int ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_audio_mute() argument
447 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute()
448 av_audio_mute.mute[i].mute = mute; in ps3av_cmd_av_audio_mute()
[all …]
Dps3av.c334 static int ps3av_set_av_video_mute(u32 mute) in ps3av_set_av_video_mute() argument
342 res = ps3av_cmd_av_video_mute(1, &ps3av->av_port[i], mute); in ps3av_set_av_video_mute()
384 static int ps3av_set_audio_mute(u32 mute) in ps3av_set_audio_mute() argument
393 res = ps3av_cmd_av_audio_mute(1, &ps3av->av_port[i], mute); in ps3av_set_audio_mute()
398 res = ps3av_cmd_audio_mute(1, &ps3av->opt_port[i], mute); in ps3av_set_audio_mute()
892 int ps3av_video_mute(int mute) in ps3av_video_mute() argument
894 return ps3av_set_av_video_mute(mute ? PS3AV_CMD_MUTE_ON in ps3av_video_mute()
900 int ps3av_audio_mute_analog(int mute) in ps3av_audio_mute_analog() argument
907 mute); in ps3av_audio_mute_analog()
915 int ps3av_audio_mute(int mute) in ps3av_audio_mute() argument
[all …]
/drivers/media/i2c/
Dwm8739.c46 struct v4l2_ctrl *mute; member
91 u16 mute; in wm8739_s_ctrl() local
109 mute = state->mute->val ? 0x80 : 0; in wm8739_s_ctrl()
114 wm8739_write(sd, R0, (vol_l & 0x1f) | mute); in wm8739_s_ctrl()
115 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); in wm8739_s_ctrl()
202 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
Dwm8775.c46 struct v4l2_ctrl *mute; member
85 int muted = 0 != state->mute->val; in wm8775_set_audio()
120 if (v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing()
221 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
Dtda7432.c72 struct v4l2_ctrl *mute; member
293 if (t->mute->val) { in tda7432_s_ctrl()
363 t->mute = v4l2_ctrl_new_std(&t->hdl, &tda7432_ctrl_ops, in tda7432_probe()
379 v4l2_ctrl_cluster(2, &t->mute); in tda7432_probe()
/drivers/staging/media/av7110/
Daudio-set-mute.rst41 - Indicates if audio device shall mute or not.
45 FALSE: Audio Un-mute
54 This ioctl call asks the audio device to mute the stream that is
/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c173 unsigned int mute; in mute_input_7134() local
180 mute = (dev->ctl_mute || in mute_input_7134()
182 if (card(dev).mute.type) { in mute_input_7134()
187 if (mute) in mute_input_7134()
188 in = &card(dev).mute; in mute_input_7134()
191 if (dev->hw_mute == mute && in mute_input_7134()
194 mute, saa7134_input_name[in->type]); in mute_input_7134()
200 saa7134_input_name[dev->input->type], mute, in mute_input_7134()
202 dev->hw_mute = mute; in mute_input_7134()
207 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134()
[all …]
Dsaa7134-cards.c138 .mute = {
180 .mute = {
255 .mute = {
303 .mute = {
399 .mute = {
612 .mute = {
707 .mute = {
767 .mute = {
829 .mute = {
986 .mute = {
[all …]
/drivers/usb/gadget/function/
Du_audio.c62 int mute; member
693 *val = prm->mute; in u_audio_get_mute()
706 int mute; in u_audio_set_mute() local
713 mute = val ? 1 : 0; in u_audio_set_mute()
716 if (prm->mute != mute) { in u_audio_set_mute()
717 prm->mute = mute; in u_audio_set_mute()
809 ucontrol->value.integer.value[0] = !prm->mute; in u_audio_mute_get()
828 if (val != prm->mute) { in u_audio_mute_put()
829 prm->mute = val; in u_audio_mute_put()
1106 prm->mute = 0; in g_audio_setup()
/drivers/media/usb/tm6000/
Dtm6000-core.c705 static void tm6010_set_mute_sif(struct tm6000_core *dev, u8 mute) in tm6010_set_mute_sif() argument
709 if (mute) in tm6010_set_mute_sif()
715 static void tm6010_set_mute_adc(struct tm6000_core *dev, u8 mute) in tm6010_set_mute_adc() argument
719 if (mute) in tm6010_set_mute_adc()
735 int tm6000_tvaudio_set_mute(struct tm6000_core *dev, u8 mute) in tm6000_tvaudio_set_mute() argument
748 tm6010_set_mute_sif(dev, mute); in tm6000_tvaudio_set_mute()
757 tm6010_set_mute_adc(dev, mute); in tm6000_tvaudio_set_mute()
/drivers/media/pci/cx18/
Dcx18-av-audio.c375 static void set_mute(struct cx18 *cx, int mute) in set_mute() argument
386 if (mute) { in set_mute()
398 cx18_av_and_or(cx, 0x8d3, ~0x2, mute ? 0x02 : 0x00); in set_mute()
/drivers/media/pci/cx23885/
Dcx23885-video.c970 struct v4l2_ctrl *mute; in cx23885_set_freq() local
990 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); in cx23885_set_freq()
991 if (mute) { in cx23885_set_freq()
992 old_mute_val = v4l2_ctrl_g_ctrl(mute); in cx23885_set_freq()
994 v4l2_ctrl_s_ctrl(mute, 1); in cx23885_set_freq()
1004 v4l2_ctrl_s_ctrl(mute, old_mute_val); in cx23885_set_freq()
1012 struct v4l2_ctrl *mute; in cx23885_set_freq_via_ops() local
1027 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); in cx23885_set_freq_via_ops()
1028 if (mute) { in cx23885_set_freq_via_ops()
1029 old_mute_val = v4l2_ctrl_g_ctrl(mute); in cx23885_set_freq_via_ops()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_audio.h63 void (*set_mute)(struct drm_encoder *encoder, u32 offset, bool mute);
95 void dce3_2_set_mute(struct drm_encoder *encoder, u32 offset, bool mute);
/drivers/staging/greybus/
Daudio_codec.c562 static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in gbcodec_mute_stream() argument
571 dev_dbg(dai->dev, "Mute:%d, Direction:%s\n", mute, in gbcodec_mute_stream()
585 if (mute) { in gbcodec_mute_stream()
615 if (!mute && !stream) {/* start playback */ in gbcodec_mute_stream()
620 } else if (!mute && stream) {/* start capture */ in gbcodec_mute_stream()
625 } else if (mute && !stream) {/* stop playback */ in gbcodec_mute_stream()
630 } else if (mute && stream) {/* stop capture */ in gbcodec_mute_stream()
642 module->name, mute ? "Mute" : "Unmute", in gbcodec_mute_stream()
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_afmt.c146 bool mute) in afmt3_audio_mute_control() argument
151 REG_UPDATE(AFMT_AUDIO_PACKET_CONTROL, AFMT_AUDIO_SAMPLE_SEND, !mute); in afmt3_audio_mute_control()
/drivers/staging/most/video/
Dvideo.c33 bool mute; member
132 mdev->mute = true; in comp_vdev_close()
141 mdev->mute = false; in comp_vdev_close()
395 if (unlikely(mdev->mute)) { in comp_rx_data()

1234