Searched refs:curvol (Results 1 – 9 of 9) sorted by relevance
/drivers/media/radio/ |
D | radio-aimslab.c | 56 int curvol; member 102 if(vol == dev->curvol) { /* requested volume = current */ in rt_setvol() 115 dev->curvol = 0; /* track the volume state! */ in rt_setvol() 121 if(vol > dev->curvol) in rt_setvol() 122 for(i = dev->curvol; i < vol; i++) in rt_setvol() 125 for(i = dev->curvol; i > vol; i--) in rt_setvol() 128 dev->curvol = vol; in rt_setvol() 140 if ((dev->curvol == 0) || (dev->muted)) { in send_0_byte() 153 if ((dev->curvol == 0) || (dev->muted)) { in send_1_byte() 199 if ((dev->curvol == 0) || (dev->muted)) in rt_setfreq() [all …]
|
D | radio-aztech.c | 74 int curvol; member 102 outb_p(2+volconvert(dev->curvol), io); in send_0_byte() 103 outb_p(64+2+volconvert(dev->curvol), io); in send_0_byte() 109 outb_p(128+2+volconvert(dev->curvol), io); in send_1_byte() 110 outb_p(128+64+2+volconvert(dev->curvol), io); in send_1_byte() 178 outb_p(128+64+volconvert(dev->curvol), io); in az_setfreq() 307 if (az->curvol==0) in vidioc_g_ctrl() 313 ctrl->value=az->curvol * 6554; in vidioc_g_ctrl() 329 az_setvol(az,az->curvol); in vidioc_s_ctrl()
|
D | radio-zoltrix.c | 74 int curvol; member 83 dev->curvol = vol; in zol_setvol() 96 outb(dev->curvol-1, io); in zol_setvol() 116 zol_setvol(dev, dev->curvol); in zol_unmute() 186 zol_setvol(dev, dev->curvol); in zol_setfreq() 199 outb(dev->curvol, io); in zol_getsigstr() 224 outb(dev->curvol, io); in zol_is_stereo() 327 ctrl->value = zol->curvol * 4096; in vidioc_g_ctrl() 344 zol_setvol(zol,zol->curvol); in vidioc_s_ctrl() 479 zoltrix_unit.curvol = 0; in zoltrix_init()
|
D | radio-sf16fmr2.c | 69 int curvol; /* 0-15 */ member 189 int n = vol[dev->curvol & 0x0f]; in fmr2_setvolume() 277 if (fmr2->curvol && !fmr2->mute) { in vidioc_s_frequency() 321 ctrl->value = fmr2->curvol; in vidioc_g_ctrl() 338 fmr2->curvol = radio_qctrl[AUD_VOL_INDEX].maximum; in vidioc_s_ctrl() 340 fmr2->curvol = ctrl->value; in vidioc_s_ctrl() 348 if (fmr2->curvol && !fmr2->mute) in vidioc_s_ctrl() 355 if (fmr2->curvol && !fmr2->mute) { in vidioc_s_ctrl() 442 fmr2_unit.curvol = 0; in fmr2_init()
|
D | radio-terratec.c | 84 int curvol; member 119 if(vol == dev->curvol) { /* requested volume = current */ in tt_setvol() 130 dev->curvol = vol; /* track the volume state! */ in tt_setvol() 138 dev->curvol = vol; in tt_setvol() 296 ctrl->value = tt->curvol * 6554; in vidioc_g_ctrl() 312 tt_setvol(tt,tt->curvol); in vidioc_s_ctrl() 423 terratec_unit.curvol = 0; in terratec_init()
|
D | radio-typhoon.c | 84 int curvol; member 162 typhoon_setvol_generic(dev, dev->curvol); in typhoon_unmute() 169 dev->curvol = vol; in typhoon_setvol() 173 if (vol == dev->curvol) /* requested volume == current */ in typhoon_setvol() 178 dev->curvol = vol; in typhoon_setvol() 182 dev->curvol = vol; in typhoon_setvol() 269 ctrl->value = typhoon->curvol; in vidioc_g_ctrl() 387 seq_printf(m, "volume = %d\n", typhoon_unit.curvol); in typhoon_proc_show()
|
D | radio-sf16fmi.c | 50 int curvol; /* 1 or 0 */ member 112 if (dev->curvol) fmi_unmute(myport); in fmi_setfreq() 124 val = dev->curvol ? 0x08 : 0x00; /* unmute/mute */ in fmi_getsigstr() 226 ctrl->value = fmi->curvol; in vidioc_g_ctrl() 243 fmi->curvol = ctrl->value; in vidioc_s_ctrl() 377 fmi_unit.curvol = 0; in fmi_init()
|
D | radio-cadet.c | 111 int curvol,i; in cadet_gettune() local 121 curvol=inb(io+1); /* Save current volume/mute setting */ in cadet_gettune() 140 outb(curvol,io+1); in cadet_gettune() 213 int curvol; in cadet_setfreq() local 243 curvol=inb(io+1); in cadet_setfreq() 254 outb(curvol,io+1); in cadet_setfreq()
|
D | radio-trust.c | 75 static __u16 curvol; variable 141 curvol = vol / 2048; in tr_setvol() 142 write_i2c(2, TDA7318_ADDR, curvol ^ 0x1f); in tr_setvol() 276 ctrl->value = curvol * 2048; in vidioc_g_ctrl()
|