Lines Matching full:axes
26 struct adc_joystick_axis *axes; member
41 input_report_abs(input, joy->axes[i].code, val); in adc_joystick_poll()
89 input_report_abs(joy->input, joy->axes[i].code, val); in adc_joystick_handle()
124 struct adc_joystick_axis *axes; in adc_joystick_set_axes() local
140 axes = devm_kmalloc_array(dev, num_axes, sizeof(*axes), GFP_KERNEL); in adc_joystick_set_axes()
141 if (!axes) in adc_joystick_set_axes()
158 &axes[i].code); in adc_joystick_set_axes()
165 axes[i].range, 2); in adc_joystick_set_axes()
171 fwnode_property_read_u32(child, "abs-fuzz", &axes[i].fuzz); in adc_joystick_set_axes()
172 fwnode_property_read_u32(child, "abs-flat", &axes[i].flat); in adc_joystick_set_axes()
174 input_set_abs_params(joy->input, axes[i].code, in adc_joystick_set_axes()
175 axes[i].range[0], axes[i].range[1], in adc_joystick_set_axes()
176 axes[i].fuzz, axes[i].flat); in adc_joystick_set_axes()
177 input_set_capability(joy->input, EV_ABS, axes[i].code); in adc_joystick_set_axes()
180 joy->axes = axes; in adc_joystick_set_axes()