Lines Matching refs:value

38 		unsigned int value)  in rt715_index_write()  argument
43 ret = regmap_write(regmap, addr, value); in rt715_index_write()
46 addr, value); in rt715_index_write()
53 unsigned int nid, unsigned int reg, unsigned int value) in rt715_index_write_nid() argument
58 ret = regmap_write(regmap, addr, value); in rt715_index_write_nid()
61 addr, value, ret); in rt715_index_write_nid()
67 unsigned int nid, unsigned int reg, unsigned int *value) in rt715_index_read_nid() argument
72 *value = 0; in rt715_index_read_nid()
73 ret = regmap_read(regmap, addr, value); in rt715_index_read_nid()
76 addr, *value, ret); in rt715_index_read_nid()
140 if (ucontrol->value.integer.value[i] != rt715->kctl_2ch_vol_ori[i]) { in rt715_set_amp_gain_put()
162 rt715->kctl_2ch_vol_ori[0] = ucontrol->value.integer.value[0]; in rt715_set_amp_gain_put()
164 val_ll = ((ucontrol->value.integer.value[0]) & 0x7f); in rt715_set_amp_gain_put()
171 rt715->kctl_2ch_vol_ori[1] = ucontrol->value.integer.value[1]; in rt715_set_amp_gain_put()
173 val_lr = ((ucontrol->value.integer.value[1]) & 0x7f); in rt715_set_amp_gain_put()
245 ucontrol->value.integer.value[0] = read_ll; in rt715_set_amp_gain_get()
246 ucontrol->value.integer.value[1] = read_rl; in rt715_set_amp_gain_get()
269 if (ucontrol->value.integer.value[i] != rt715->kctl_8ch_switch_ori[i]) in rt715_set_main_switch_put()
286 ucontrol->value.integer.value[j * 2]; in rt715_set_main_switch_put()
287 val_ll = (!ucontrol->value.integer.value[j * 2]) << 7; in rt715_set_main_switch_put()
294 ucontrol->value.integer.value[j * 2 + 1]; in rt715_set_main_switch_put()
295 val_lr = (!ucontrol->value.integer.value[j * 2 + 1]) << 7; in rt715_set_main_switch_put()
352 ucontrol->value.integer.value[i * 2] = !(read_ll & 0x80); in rt715_set_main_switch_get()
353 ucontrol->value.integer.value[i * 2 + 1] = !(read_rl & 0x80); in rt715_set_main_switch_get()
377 if (ucontrol->value.integer.value[i] != rt715->kctl_8ch_vol_ori[i]) in rt715_set_main_vol_put()
392 rt715->kctl_8ch_vol_ori[j * 2] = ucontrol->value.integer.value[j * 2]; in rt715_set_main_vol_put()
393 val_ll = ((ucontrol->value.integer.value[j * 2]) & 0x7f); in rt715_set_main_vol_put()
402 ucontrol->value.integer.value[j * 2 + 1]; in rt715_set_main_vol_put()
403 val_lr = ((ucontrol->value.integer.value[j * 2 + 1]) & 0x7f); in rt715_set_main_vol_put()
461 ucontrol->value.integer.value[i * 2] = read_ll & 0x7f; in rt715_set_main_vol_get()
462 ucontrol->value.integer.value[i * 2 + 1] = read_rl & 0x7f; in rt715_set_main_vol_get()
476 uinfo->value.integer.min = 0; in rt715_switch_info()
477 uinfo->value.integer.max = 1; in rt715_switch_info()
486 uinfo->value.integer.min = 0; in rt715_vol_info()
487 uinfo->value.integer.max = 0x3f; in rt715_vol_info()
582 ucontrol->value.enumerated.item[0] = val; in rt715_mux_get()
596 unsigned int *item = ucontrol->value.enumerated.item; in rt715_mux_put()
994 unsigned int clk_freq, value; in rt715_clock_config() local
1000 value = 0x0; in rt715_clock_config()
1003 value = 0x1; in rt715_clock_config()
1006 value = 0x2; in rt715_clock_config()
1009 value = 0x3; in rt715_clock_config()
1012 value = 0x4; in rt715_clock_config()
1015 value = 0x5; in rt715_clock_config()
1021 regmap_write(rt715->regmap, 0xe0, value); in rt715_clock_config()
1022 regmap_write(rt715->regmap, 0xf0, value); in rt715_clock_config()