Lines Matching refs:cdef
1317 avmb1_extcarddef cdef; in old_capi_manufacturer() local
1330 if ((retval = copy_from_user((void *) &cdef, data, in old_capi_manufacturer()
1333 cdef.cardtype = AVM_CARDTYPE_B1; in old_capi_manufacturer()
1335 if ((retval = copy_from_user((void *) &cdef, data, in old_capi_manufacturer()
1339 cparams.port = cdef.port; in old_capi_manufacturer()
1340 cparams.irq = cdef.irq; in old_capi_manufacturer()
1341 cparams.cardnr = cdef.cardnr; in old_capi_manufacturer()
1343 switch (cdef.cardtype) { in old_capi_manufacturer()
1548 kcapi_carddef cdef; in capi_manufacturer() local
1550 if ((retval = copy_from_user((void *) &cdef, data, in capi_manufacturer()
1551 sizeof(cdef)))) in capi_manufacturer()
1554 cparams.port = cdef.port; in capi_manufacturer()
1555 cparams.irq = cdef.irq; in capi_manufacturer()
1556 cparams.membase = cdef.membase; in capi_manufacturer()
1557 cparams.cardnr = cdef.cardnr; in capi_manufacturer()
1559 cdef.driver[sizeof(cdef.driver)-1] = 0; in capi_manufacturer()
1561 if ((driver = find_driver(cdef.driver)) == 0) { in capi_manufacturer()
1563 cdef.driver); in capi_manufacturer()
1568 printk(KERN_ERR "kcapi: driver \"%s\" has no add card function.\n", cdef.driver); in capi_manufacturer()