Searched defs:mute (Results 1 - 25 of 36) sorted by relevance

12

/drivers/media/radio/
H A Dradio-rtrack2.c83 if (!v4l2_ctrl_g_ctrl(isa->mute))
94 static int rtrack2_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
96 outb(mute, isa->io);
H A Dradio-aimslab.c96 int on = v4l2_ctrl_g_ctrl(isa->mute) ? 0 : 8;
133 static int rtrack_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
138 if (mute) {
142 if (vol == 0) { /* volume = 0 means mute the card */
165 outb(0xc0, isa->io); /* steady volume, mute card */
H A Dradio-aztech.c134 static int aztech_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
138 if (mute)
H A Dradio-terratec.c61 static int terratec_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
65 if (mute)
H A Dradio-typhoon.c8 * steps. The line output has neither volume control nor mute.
23 * There is no explicit mute/unmute. So I set the radio frequency to a
110 static int typhoon_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
114 if (mute)
H A Dradio-isa.h42 struct { /* mute/volume cluster */
43 struct v4l2_ctrl *mute; member in struct:radio_isa_card::__anon1544
64 /* Set mute and volume. */
65 int (*s_mute_volume)(struct radio_isa_card *isa, bool mute, int volume);
H A Dradio-zoltrix.c86 static int zoltrix_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
91 zol->muted = mute;
92 if (mute || vol == 0) {
H A Dradio-miropcm20.c11 * I can't get frequency, 'tuner status', 'tuner flags' or mute/mono
44 static int pcm20_mute(struct pcm20 *dev, unsigned char mute) argument
46 dev->muted = mute;
47 return snd_aci_cmd(dev->aci, ACI_SET_TUNERMUTE, mute, -1);
H A Dradio-sf16fmi.c13 * No volume control - only mute/unmute - you have to use line volume
48 bool mute; member in struct:fmi
107 if (!fmi->mute)
118 val = fmi->mute ? 0x00 : 0x08; /* mute/unmute */
209 ctrl->value = fmi->mute;
226 fmi->mute = ctrl->value;
382 /* mute card - prevents noisy bootups */
H A Dradio-trust.c119 static int trust_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
123 tr->ioval = (tr->ioval & 0xf7) | (mute << 3);
H A Dradio-gemtek.c93 #define GEMTEK_MT 0x10 /* Line mute */
155 int i, bit, q, mute; local
157 mute = gt->muted ? GEMTEK_MT : 0x00;
159 outb_p(mute | GEMTEK_CE | GEMTEK_DA | GEMTEK_CK, isa->io);
164 outb_p(mute | GEMTEK_CE | bit, isa->io);
166 outb_p(mute | GEMTEK_CE | bit | GEMTEK_CK, isa->io);
170 outb_p(mute | GEMTEK_DA | GEMTEK_CK, isa->io);
214 * Set mute flag.
216 static int gemtek_s_mute_volume(struct radio_isa_card *isa, bool mute, int vol) argument
221 gt->muted = mute;
[all...]
H A Dsi4713-i2c.h233 u32 mute; member in struct:si4713_device
/drivers/media/video/cx18/
H A Dcx18-av-audio.c389 static void set_mute(struct cx18 *cx, int mute) argument
395 /* Must turn off microcontroller in order to mute sound.
398 * changes to the mute register. */
400 if (mute) {
412 cx18_av_and_or(cx, 0x8d3, ~0x2, mute ? 0x02 : 0x00);
/drivers/media/video/cx25840/
H A Dcx25840-core.h39 struct v4l2_ctrl *mute; member in struct:cx25840_state::__anon1578
/drivers/crypto/amcc/
H A Dcrypto4xx_alg.c56 u32 cfb, u32 esn, u32 sn_mask, u32 mute,
66 sa->sa_command_1.bf.mutable_bit_proc = mute;
55 set_dynamic_sa_command_1(struct dynamic_sa_ctl *sa, u32 cm, u32 hmac_mc, u32 cfb, u32 esn, u32 sn_mask, u32 mute, u32 cp_pad, u32 cp_pay, u32 cp_hdr) argument
/drivers/media/video/
H A Dwm8739.c60 struct v4l2_ctrl *mute; member in struct:wm8739_state::__anon1683
105 u16 mute; local
123 mute = state->mute->val ? 0x80 : 0;
128 wm8739_write(sd, R0, (vol_l & 0x1f) | mute);
129 wm8739_write(sd, R1, (vol_r & 0x1f) | mute);
231 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8739_ctrl_ops,
262 /* set volume/mute */
H A Dwm8775.c60 struct v4l2_ctrl *mute; member in struct:wm8775_state
99 int muted = 0 != state->mute->val;
114 /* Un-mute */
134 if (!v4l2_ctrl_g_ctrl(state->mute))
252 state->mute = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
310 wm8775_set_audio(sd, 1); /* set volume/mute/mux */
H A Dsaa717x.c743 (reg_data3 & 0x000400) ? " A2/EIAJ noise mute " : "",
747 (reg_data3 & 0x002000) ? " BTSC stereo noise mute " : "",
748 (reg_data3 & 0x004000) ? " SAP noise mute " : "",
783 u8 mute = 0xac; /* -84 dB */ local
799 /* main volume L[7-0],R[7-0],0x00 24=24dB,-83dB, -84(mute) */
801 /* if mute is on, set mute */
803 val = mute | (mute << 8);
/drivers/media/video/tm6000/
H A Dtm6000-core.c716 static void tm6010_set_mute_sif(struct tm6000_core *dev, u8 mute) argument
720 if (mute)
726 static void tm6010_set_mute_adc(struct tm6000_core *dev, u8 mute) argument
730 if (mute)
746 int tm6000_tvaudio_set_mute(struct tm6000_core *dev, u8 mute) argument
759 tm6010_set_mute_sif(dev, mute);
769 tm6010_set_mute_adc(dev, mute);
/drivers/staging/media/easycap/
H A Deasycap_ioctl.c922 peasycap->mute = value;
923 switch (peasycap->mute) {
926 SAM("adjusting mute: %i=peasycap->audio_idle\n",
932 SAM("adjusting mute: %i=peasycap->audio_idle\n",
941 SAM("WARNING: failed to adjust mute: control not found\n");
1346 if (1 == peasycap->mute)
1350 JOM(8, "user enquires mute: %i\n", pv4l2_control->value);
1414 int mute; local
1416 JOM(8, "user requests mute %i\n", v4l2_control.value);
1418 mute
[all...]
H A Deasycap_low.c905 u16 mute; local
919 mute = 0x0000;
921 mute = 0x8000 & ((unsigned int)igot);
922 mute = 0;
929 JOT(8, "0x%04X=(mute|tmp) for VT1612A register 0x0E\n", mute | tmp);
930 write_vt(pusb_device, 0x000E, (mute | tmp));
935 mute = 0x0000;
937 mute = 0x8000 & ((unsigned int)igot);
938 mute
[all...]
/drivers/media/video/saa7134/
H A Dsaa7134-tvaudio.c189 unsigned int mute; local
196 mute = (dev->ctl_mute ||
198 if (card(dev).mute.name) {
200 * 7130 - we'll mute using some unconnected audio input
203 if (mute)
204 in = &card(dev).mute;
207 if (dev->hw_mute == mute &&
209 dprintk("mute/input: nothing to do [mute=%d,input=%s]\n",
210 mute,i
[all...]
/drivers/media/video/saa7164/
H A Dsaa7164-api.c471 int saa7164_api_audio_mute(struct saa7164_port *port, int mute) argument
474 u8 v = mute;
477 dprintk(DBGLVL_API, "%s(%d)\n", __func__, mute);
/drivers/ps3/
H A Dps3av_cmd.c225 int ps3av_cmd_av_video_mute(int num_of_port, u32 *port, u32 mute) argument
235 av_video_mute.mute[i].avport = port[i];
236 av_video_mute.mute[i].mute = mute;
276 int ps3av_cmd_av_tv_mute(u32 avport, u32 mute) argument
283 tv_mute.mute = mute;
421 int ps3av_cmd_video_format_black(u32 head, u32 video_fmt, u32 mute) argument
428 if (mute !
448 ps3av_cmd_av_audio_mute(int num_of_port, u32 *port, u32 mute) argument
811 ps3av_cmd_audio_mute(int num_of_port, u32 *port, u32 mute) argument
[all...]
H A Dps3av.c347 static int ps3av_set_av_video_mute(u32 mute) argument
353 /* video mute on */
355 res = ps3av_cmd_av_video_mute(1, &ps3av->av_port[i], mute);
371 /* tv mute */
380 /* video mute on */
397 static int ps3av_set_audio_mute(u32 mute) argument
406 res = ps3av_cmd_av_audio_mute(1, &ps3av->av_port[i], mute);
411 res = ps3av_cmd_audio_mute(1, &ps3av->opt_port[i], mute);
437 /* audio mute */
469 /* audio mute */
909 ps3av_video_mute(int mute) argument
918 ps3av_audio_mute_analog(int mute) argument
933 ps3av_audio_mute(int mute) argument
[all...]

Completed in 420 milliseconds

12