Searched refs:default_volume (Results 1 – 2 of 2) sorted by relevance
132 int default_volume; in cx18_av_initialize() local251 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()
5119 int default_volume; in cx25840_probe() local5220 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()