Lines Matching refs:CARDNR
114 #define CARDNR(cp) ((((cp)-cards)+1) & 0xff) macro
764 notify_push(KCI_NCCIUP, CARDNR(card), appl, ncci); in controllercb_new_ncci()
782 notify_push(KCI_NCCIDOWN, CARDNR(card), appl, ncci); in controllercb_free_ncci()
887 CARDNR(card), card->name); in controllercb_ready()
889 notify_push(KCI_CONTRUP, CARDNR(card), 0, 0); in controllercb_ready()
915 notify_push(KCI_NCCIDOWN, CARDNR(card), appl, np->ncci); in controllercb_reseted()
924 printk(KERN_NOTICE "kcapi: card %d down.\n", CARDNR(card)); in controllercb_reseted()
926 notify_push(KCI_CONTRDOWN, CARDNR(card), 0, 0); in controllercb_reseted()
932 printk(KERN_DEBUG "kcapi: card %d suspend\n", CARDNR(card)); in controllercb_suspend_output()
940 printk(KERN_DEBUG "kcapi: card %d resume\n", CARDNR(card)); in controllercb_resume_output()
963 card->cnr = CARDNR(card); in drivercb_attach_ctr()