Lines Matching refs:value
19 uinfo->value.integer.min = 0; in pcsp_enable_info()
20 uinfo->value.integer.max = 1; in pcsp_enable_info()
28 ucontrol->value.integer.value[0] = chip->enable; in pcsp_enable_get()
37 int enab = ucontrol->value.integer.value[0]; in pcsp_enable_put()
51 uinfo->value.enumerated.items = chip->max_treble + 1; in pcsp_treble_info()
52 if (uinfo->value.enumerated.item > chip->max_treble) in pcsp_treble_info()
53 uinfo->value.enumerated.item = chip->max_treble; in pcsp_treble_info()
54 sprintf(uinfo->value.enumerated.name, "%lu", in pcsp_treble_info()
55 (unsigned long)PCSP_CALC_RATE(uinfo->value.enumerated.item)); in pcsp_treble_info()
63 ucontrol->value.enumerated.item[0] = chip->treble; in pcsp_treble_get()
72 int treble = ucontrol->value.enumerated.item[0]; in pcsp_treble_put()
88 uinfo->value.integer.min = 0; in pcsp_pcspkr_info()
89 uinfo->value.integer.max = 1; in pcsp_pcspkr_info()
97 ucontrol->value.integer.value[0] = chip->pcspkr; in pcsp_pcspkr_get()
106 int spkr = ucontrol->value.integer.value[0]; in pcsp_pcspkr_put()