Searched refs:default_volume (Results 1 – 2 of 2) sorted by relevance
117 int default_volume; in cx18_av_initialize() local236 default_volume = cx18_av_read(cx, 0x8d4); in cx18_av_initialize()241 if (default_volume > 228) { in cx18_av_initialize()243 default_volume = 228; in cx18_av_initialize()245 } else if (default_volume < 20) { in cx18_av_initialize()247 default_volume = 20; in cx18_av_initialize()250 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx18_av_initialize()251 state->volume->cur.val = state->volume->default_value = default_volume; in cx18_av_initialize()
5832 int default_volume; in cx25840_probe() local5971 default_volume = cx25840_read(client, 0x8d4); in cx25840_probe()5977 if (default_volume > 228) { in cx25840_probe()5979 default_volume = 228; in cx25840_probe()5981 } else if (default_volume < 20) { in cx25840_probe()5983 default_volume = 20; in cx25840_probe()5986 default_volume = (((228 - default_volume) >> 1) + 23) << 9; in cx25840_probe()5992 default_volume); in cx25840_probe()