Lines Matching refs:cdef
1019 avmb1_extcarddef cdef; in old_capi_manufacturer() local
1032 if ((retval = copy_from_user(&cdef, data, in old_capi_manufacturer()
1035 cdef.cardtype = AVM_CARDTYPE_B1; in old_capi_manufacturer()
1036 cdef.cardnr = 0; in old_capi_manufacturer()
1038 if ((retval = copy_from_user(&cdef, data, in old_capi_manufacturer()
1042 cparams.port = cdef.port; in old_capi_manufacturer()
1043 cparams.irq = cdef.irq; in old_capi_manufacturer()
1044 cparams.cardnr = cdef.cardnr; in old_capi_manufacturer()
1048 switch (cdef.cardtype) { in old_capi_manufacturer()
1230 kcapi_carddef cdef; in capi20_manufacturer() local
1232 if ((retval = copy_from_user(&cdef, data, sizeof(cdef)))) in capi20_manufacturer()
1235 cparams.port = cdef.port; in capi20_manufacturer()
1236 cparams.irq = cdef.irq; in capi20_manufacturer()
1237 cparams.membase = cdef.membase; in capi20_manufacturer()
1238 cparams.cardnr = cdef.cardnr; in capi20_manufacturer()
1240 cdef.driver[sizeof(cdef.driver) - 1] = 0; in capi20_manufacturer()
1246 if (strcmp(driver->name, cdef.driver) == 0) in capi20_manufacturer()
1251 cdef.driver); in capi20_manufacturer()
1254 printk(KERN_ERR "kcapi: driver \"%s\" has no add card function.\n", cdef.driver); in capi20_manufacturer()