Lines Matching defs:ops
89 static int wiimod_keys_probe(const struct wiimod_ops *ops,
155 static int wiimod_rumble_probe(const struct wiimod_ops *ops,
167 static void wiimod_rumble_remove(const struct wiimod_ops *ops,
234 static int wiimod_battery_probe(const struct wiimod_ops *ops,
268 static void wiimod_battery_remove(const struct wiimod_ops *ops,
338 static int wiimod_led_probe(const struct wiimod_ops *ops,
353 snprintf(name, namesz, "%s:blue:p%lu", dev_name(dev), ops->arg);
360 wdata->leds[ops->arg] = led;
366 if (ops->arg == 0) {
375 wdata->leds[ops->arg] = NULL;
380 static void wiimod_led_remove(const struct wiimod_ops *ops,
383 if (!wdata->leds[ops->arg])
386 led_classdev_unregister(wdata->leds[ops->arg]);
387 kfree(wdata->leds[ops->arg]);
388 wdata->leds[ops->arg] = NULL;
481 static int wiimod_accel_probe(const struct wiimod_ops *ops,
522 static void wiimod_accel_remove(const struct wiimod_ops *ops,
733 static int wiimod_ir_probe(const struct wiimod_ops *ops,
784 static void wiimod_ir_remove(const struct wiimod_ops *ops,
928 static int wiimod_nunchuk_probe(const struct wiimod_ops *ops,
981 static void wiimod_nunchuk_remove(const struct wiimod_ops *ops,
1222 static int wiimod_classic_probe(const struct wiimod_ops *ops,
1278 static void wiimod_classic_remove(const struct wiimod_ops *ops,
1467 static int wiimod_bboard_probe(const struct wiimod_ops *ops,
1551 static void wiimod_bboard_remove(const struct wiimod_ops *ops,
1862 static int wiimod_pro_probe(const struct wiimod_ops *ops,
1941 static void wiimod_pro_remove(const struct wiimod_ops *ops,
2108 static int wiimod_drums_probe(const struct wiimod_ops *ops,
2172 static void wiimod_drums_remove(const struct wiimod_ops *ops,
2338 static int wiimod_guitar_probe(const struct wiimod_ops *ops,
2388 static void wiimod_guitar_remove(const struct wiimod_ops *ops,
2413 static int wiimod_builtin_mp_probe(const struct wiimod_ops *ops,
2425 static void wiimod_builtin_mp_remove(const struct wiimod_ops *ops,
2449 static int wiimod_no_mp_probe(const struct wiimod_ops *ops,
2461 static void wiimod_no_mp_remove(const struct wiimod_ops *ops,
2573 static int wiimod_mp_probe(const struct wiimod_ops *ops,
2615 static void wiimod_mp_remove(const struct wiimod_ops *ops,