Searched refs:default_volume (Results 1 – 2 of 2) sorted by relevance
131 int default_volume; in cx18_av_initialize() local250 default_volume = cx18_av_read(cx, 0x8d4); in cx18_av_initialize()255 if (default_volume > 228) { in cx18_av_initialize()257 default_volume = 228; in cx18_av_initialize()259 } else if (default_volume < 20) { in cx18_av_initialize()261 default_volume = 20; in cx18_av_initialize()264 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx18_av_initialize()265 state->volume->cur.val = state->volume->default_value = default_volume; in cx18_av_initialize()
5168 int default_volume; in cx25840_probe() local5299 default_volume = cx25840_read(client, 0x8d4); in cx25840_probe()5305 if (default_volume > 228) { in cx25840_probe()5307 default_volume = 228; in cx25840_probe()5310 else if (default_volume < 20) { in cx25840_probe()5312 default_volume = 20; in cx25840_probe()5315 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx25840_probe()5319 0, 65535, 65535 / 100, default_volume); in cx25840_probe()