Home
last modified time | relevance | path

Searched refs:default_volume (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/media/video/cx18/
Dcx18-av-core.c132 int default_volume; in cx18_av_initialize() local
251 default_volume = cx18_av_read(cx, 0x8d4); in cx18_av_initialize()
256 if (default_volume > 228) { in cx18_av_initialize()
258 default_volume = 228; in cx18_av_initialize()
260 } else if (default_volume < 20) { in cx18_av_initialize()
262 default_volume = 20; in cx18_av_initialize()
265 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx18_av_initialize()
266 state->volume->cur.val = state->volume->default_value = default_volume; in cx18_av_initialize()
/linux-3.4.99/drivers/media/video/cx25840/
Dcx25840-core.c5119 int default_volume; in cx25840_probe() local
5220 default_volume = cx25840_read(client, 0x8d4); in cx25840_probe()
5226 if (default_volume > 228) { in cx25840_probe()
5228 default_volume = 228; in cx25840_probe()
5231 else if (default_volume < 20) { in cx25840_probe()
5233 default_volume = 20; in cx25840_probe()
5236 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx25840_probe()
5240 0, 65535, 65535 / 100, default_volume); in cx25840_probe()