Home | History | Annotate | Download | only in dev

Lines Matching defs:slot

59 /* SPD device can't attach twice. because PS2 PC-Card slot is only one. */
70 #define LEGAL_SLOT(slot) ((slot) >= 0 && (slot) < 2)
159 spd_intr_establish(enum spd_slot slot, int (*func)(void *), void *arg)
162 KDASSERT(LEGAL_SLOT(slot));
163 KDASSERT(__spd_table[slot].func == 0);
165 __spd_table[slot].func = func;
166 __spd_table[slot].arg = arg;
168 return ((void *)slot);
174 int slot = (int)handle;
176 KDASSERT(LEGAL_SLOT(slot));
178 __spd_table[slot].func = 0;