Lines Matching defs:unit
116 int unit;
123 unit = device_get_unit(dev);
127 error = (*sw->probe)(unit, args, flags);
130 error = (*sw->init)(unit, kbd, args, flags);
339 atkbd_probe(int unit, void *arg, int flags)
345 if (unit == ATKBD_DEFAULT) {
362 atkbd_init(int unit, keyboard_t **kbdp, void *arg, int flags)
379 if (unit == ATKBD_DEFAULT) {
422 kbd_init_struct(kbd, ATKBD_DRIVER_NAME, KB_OTHER, unit, flags,
465 snprintf(phys_loc, sizeof(phys_loc), "atkbd%d", unit);