Searched refs:num_axes (Results 1 – 1 of 1) sorted by relevance
136 unsigned int num_axes; in adc_joystick_set_axes() local139 num_axes = device_get_child_node_count(dev); in adc_joystick_set_axes()140 if (!num_axes) { in adc_joystick_set_axes()145 if (num_axes != joy->num_chans) { in adc_joystick_set_axes()147 num_axes, joy->num_chans); in adc_joystick_set_axes()158 if (i >= num_axes) { in adc_joystick_set_axes()