/drivers/media/radio/ |
D | radio-gemtek.c | 152 int i, bit, q, mute; in gemtek_bu2614_transmit() local 154 mute = gt->muted ? GEMTEK_MT : 0x00; in gemtek_bu2614_transmit() 156 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 161 outb_p(mute | GEMTEK_CE | bit, isa->io); in gemtek_bu2614_transmit() 163 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 167 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io); in gemtek_bu2614_transmit() 213 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in gemtek_s_mute_volume() argument 218 gt->muted = mute; in gemtek_s_mute_volume() 220 if (!mute) in gemtek_s_mute_volume() 239 outb_p((i >> 5) | (mute ? GEMTEK_MT : 0), isa->io); in gemtek_s_mute_volume()
|
D | radio-rtrack2.c | 86 outb_p(v4l2_ctrl_g_ctrl(isa->mute), isa->io); in rtrack2_s_frequency() 96 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack2_s_mute_volume() argument 98 outb(mute, isa->io); in rtrack2_s_mute_volume()
|
D | radio-sf16fmi.c | 52 bool mute; member 75 if (!fmi->mute) in fmi_set_pins() 110 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */ in fmi_getsigstr() 201 fmi->mute = ctrl->val; in fmi_s_ctrl() 352 fmi->mute = true; in fmi_init()
|
D | radio-aimslab.c | 91 if (!v4l2_ctrl_g_ctrl(rt->isa.mute)) in rtrack_set_pins() 117 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in rtrack_s_mute_volume() argument 122 if (mute) { in rtrack_s_mute_volume()
|
D | radio-isa.h | 39 struct v4l2_ctrl *mute; member 61 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
|
D | radio-zoltrix.c | 86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in zoltrix_s_mute_volume() argument 91 zol->muted = mute; in zoltrix_s_mute_volume() 92 if (mute || vol == 0) { in zoltrix_s_mute_volume()
|
D | radio-aztech.c | 108 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in aztech_s_mute_volume() argument 112 if (mute) in aztech_s_mute_volume()
|
D | radio-terratec.c | 61 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in terratec_s_mute_volume() argument 65 if (mute) in terratec_s_mute_volume()
|
D | radio-typhoon.c | 110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in typhoon_s_mute_volume() argument 114 if (mute) in typhoon_s_mute_volume()
|
D | radio-trust.c | 119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) in trust_s_mute_volume() argument 123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3); in trust_s_mute_volume()
|
D | tea575x.c | 115 if (!tea->mute) in snd_tea575x_write() 147 if (tea->mute) in snd_tea575x_read() 472 tea->mute = ctrl->val; in tea575x_s_ctrl() 512 tea->mute = true; in snd_tea575x_hw_init()
|
/drivers/ps3/ |
D | ps3av_cmd.c | 225 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_video_mute() argument 235 av_video_mute.mute[i].avport = port[i]; in ps3av_cmd_av_video_mute() 236 av_video_mute.mute[i].mute = mute; in ps3av_cmd_av_video_mute() 276 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) in ps3av_cmd_av_tv_mute() argument 283 tv_mute.mute = mute; in ps3av_cmd_av_tv_mute() 421 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) in ps3av_cmd_video_format_black() argument 428 if (mute != PS3AV_CMD_MUTE_OFF) in ps3av_cmd_video_format_black() 448 int ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) in ps3av_cmd_av_audio_mute() argument 459 av_audio_mute.mute[i].avport = port[i]; in ps3av_cmd_av_audio_mute() 460 av_audio_mute.mute[i].mute = mute; in ps3av_cmd_av_audio_mute() [all …]
|
D | ps3av.c | 347 static int ps3av_set_av_video_mute(u32 mute) in ps3av_set_av_video_mute() argument 355 res = ps3av_cmd_av_video_mute(1, &ps3av->av_port[i], mute); in ps3av_set_av_video_mute() 397 static int ps3av_set_audio_mute(u32 mute) in ps3av_set_audio_mute() argument 406 res = ps3av_cmd_av_audio_mute(1, &ps3av->av_port[i], mute); in ps3av_set_audio_mute() 411 res = ps3av_cmd_audio_mute(1, &ps3av->opt_port[i], mute); in ps3av_set_audio_mute() 905 int ps3av_video_mute(int mute) in ps3av_video_mute() argument 907 return ps3av_set_av_video_mute(mute ? PS3AV_CMD_MUTE_ON in ps3av_video_mute() 913 int ps3av_audio_mute_analog(int mute) in ps3av_audio_mute_analog() argument 920 mute); in ps3av_audio_mute_analog() 928 int ps3av_audio_mute(int mute) in ps3av_audio_mute() argument [all …]
|
/drivers/media/i2c/ |
D | wm8739.c | 55 struct v4l2_ctrl *mute; member 100 u16 mute; in wm8739_s_ctrl() local 118 mute = state->mute->val ? 0x80 : 0; in wm8739_s_ctrl() 123 wm8739_write(sd, R0, (vol_l & 0x1f) | mute); in wm8739_s_ctrl() 124 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); in wm8739_s_ctrl() 211 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops, in wm8739_probe()
|
D | wm8775.c | 55 struct v4l2_ctrl *mute; member 94 int muted = 0 != state->mute->val; in wm8775_set_audio() 129 if (v4l2_ctrl_g_ctrl(state->mute)) in wm8775_s_routing() 230 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
|
D | tda7432.c | 72 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/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 182 unsigned int mute; in mute_input_7134() local 189 mute = (dev->ctl_mute || in mute_input_7134() 191 if (card(dev).mute.type) { in mute_input_7134() 196 if (mute) in mute_input_7134() 197 in = &card(dev).mute; in mute_input_7134() 200 if (dev->hw_mute == mute && in mute_input_7134() 203 mute, saa7134_input_name[in->type]); in mute_input_7134() 209 saa7134_input_name[dev->input->type], mute, in mute_input_7134() 211 dev->hw_mute = mute; in mute_input_7134() 216 saa_writeb(SAA7134_AUDIO_MUTE_CTRL, mute ? in mute_input_7134() [all …]
|
D | saa7134-cards.c | 147 .mute = { 189 .mute = { 264 .mute = { 312 .mute = { 408 .mute = { 621 .mute = { 716 .mute = { 776 .mute = { 838 .mute = { 995 .mute = { [all …]
|
/drivers/staging/vc04_services/bcm2835-audio/ |
D | bcm2835-ctl.c | 69 if (chip->mute == nmute) in toggle_mute() 73 if (chip->mute == CTRL_VOL_MUTE) { in toggle_mute() 82 chip->mute = nmute; in toggle_mute() 99 ucontrol->value.integer.value[0] = chip->mute; in snd_bcm2835_ctl_get() 118 if (chip->mute == CTRL_VOL_MUTE) { in snd_bcm2835_ctl_put()
|
/drivers/media/usb/tm6000/ |
D | tm6000-core.c | 715 static void tm6010_set_mute_sif(struct tm6000_core *dev, u8 mute) in tm6010_set_mute_sif() argument 719 if (mute) in tm6010_set_mute_sif() 725 static void tm6010_set_mute_adc(struct tm6000_core *dev, u8 mute) in tm6010_set_mute_adc() argument 729 if (mute) in tm6010_set_mute_adc() 745 int tm6000_tvaudio_set_mute(struct tm6000_core *dev, u8 mute) in tm6000_tvaudio_set_mute() argument 758 tm6010_set_mute_sif(dev, mute); in tm6000_tvaudio_set_mute() 767 tm6010_set_mute_adc(dev, mute); in tm6000_tvaudio_set_mute()
|
/drivers/media/pci/cx18/ |
D | cx18-av-audio.c | 384 static void set_mute(struct cx18 *cx, int mute) in set_mute() argument 395 if (mute) { in set_mute() 407 cx18_av_and_or(cx, 0x8d3, ~0x2, mute ? 0x02 : 0x00); in set_mute()
|
/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 928 struct v4l2_ctrl *mute; in cx23885_set_freq() local 939 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); in cx23885_set_freq() 940 if (mute) { in cx23885_set_freq() 941 old_mute_val = v4l2_ctrl_g_ctrl(mute); in cx23885_set_freq() 943 v4l2_ctrl_s_ctrl(mute, 1); in cx23885_set_freq() 953 v4l2_ctrl_s_ctrl(mute, old_mute_val); in cx23885_set_freq() 961 struct v4l2_ctrl *mute; in cx23885_set_freq_via_ops() local 976 mute = v4l2_ctrl_find(&dev->ctrl_handler, V4L2_CID_AUDIO_MUTE); in cx23885_set_freq_via_ops() 977 if (mute) { in cx23885_set_freq_via_ops() 978 old_mute_val = v4l2_ctrl_g_ctrl(mute); in cx23885_set_freq_via_ops() [all …]
|
/drivers/staging/greybus/ |
D | audio_codec.c | 582 static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) in gbcodec_mute_stream() argument 592 dev_dbg(dai->dev, "Mute:%d, Direction:%s\n", mute, in gbcodec_mute_stream() 606 if (mute) { in gbcodec_mute_stream() 636 if (!mute && !stream) {/* start playback */ in gbcodec_mute_stream() 643 } else if (!mute && stream) {/* start capture */ in gbcodec_mute_stream() 650 } else if (mute && !stream) {/* stop playback */ in gbcodec_mute_stream() 656 } else if (mute && stream) {/* stop capture */ in gbcodec_mute_stream() 669 module->name, mute ? "Mute" : "Unmute", in gbcodec_mute_stream()
|
/drivers/gpu/drm/radeon/ |
D | dce3_1_afmt.c | 223 void dce3_2_set_mute(struct drm_encoder *encoder, u32 offset, bool mute) in dce3_2_set_mute() argument 228 if (mute) in dce3_2_set_mute()
|
/drivers/staging/most/aim-v4l2/ |
D | video.c | 40 bool mute; member 143 mdev->mute = true; in aim_vdev_close() 152 mdev->mute = false; in aim_vdev_close() 429 if (unlikely(mdev->mute)) { in aim_rx_data()
|