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