Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-av-core.c117 int default_volume; in cx18_av_initialize() local
236 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()
/linux-6.6.21/drivers/media/i2c/cx25840/
Dcx25840-core.c5832 int default_volume; in cx25840_probe() local
5971 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()