Lines Matching refs:pos
38 int pos = kcontrol->private_value; in control_info() local
39 int is_intval = pos & CNT_INTVAL; in control_info()
43 pos &= ~CNT_INTVAL; in control_info()
48 if (pos == 0) { in control_info()
84 int pos = kcontrol->private_value; in control_get() local
86 if (pos & CNT_INTVAL) in control_get()
88 = cdev->control_state[pos & ~CNT_INTVAL]; in control_get()
91 = !!(cdev->control_state[pos / 8] & (1 << pos % 8)); in control_get()
101 int pos = kcontrol->private_value; in control_put() local
117 if (pos & CNT_INTVAL) { in control_put()
118 int i = pos & ~CNT_INTVAL; in control_put()
153 cdev->control_state[pos / 8] |= 1 << (pos % 8); in control_put()
155 cdev->control_state[pos / 8] &= ~(1 << (pos % 8)); in control_put()