Lines Matching refs:cnr
96 if(hycapi_applications[i].listen_req[ctrl->cnr-1]) { in hycapi_remove_ctr()
97 kfree_skb(hycapi_applications[i].listen_req[ctrl->cnr-1]); in hycapi_remove_ctr()
98 hycapi_applications[i].listen_req[ctrl->cnr-1] = NULL; in hycapi_remove_ctr()
184 hycapi_applications[appl-1].ctrl_mask |= (1 << (ctrl->cnr-1)); in hycapi_register_internal()
204 if(_hycapi_appCheck(i+1, ctrl->cnr) == 1) { in hycapi_restart_internal()
207 if(hycapi_applications[i].listen_req[ctrl->cnr-1]) { in hycapi_restart_internal()
208 skb = skb_copy(hycapi_applications[i].listen_req[ctrl->cnr-1], GFP_ATOMIC); in hycapi_restart_internal()
229 int chk = _hycapi_appCheck(appl, ctrl->cnr); in hycapi_register_appl()
288 hycapi_applications[appl-1].ctrl_mask &= ~(1 << (ctrl->cnr-1)); in hycapi_release_internal()
303 chk = _hycapi_appCheck(appl, ctrl->cnr); in hycapi_release_appl()
305 printk(KERN_ERR "HYCAPI: Releasing invalid appl %d on controller %d\n", appl, ctrl->cnr); in hycapi_release_appl()
308 if(hycapi_applications[appl-1].listen_req[ctrl->cnr-1]) { in hycapi_release_appl()
309 kfree_skb(hycapi_applications[appl-1].listen_req[ctrl->cnr-1]); in hycapi_release_appl()
310 hycapi_applications[appl-1].listen_req[ctrl->cnr-1] = NULL; in hycapi_release_appl()
385 switch(_hycapi_appCheck(appl_id, ctrl->cnr)) in hycapi_send_message()
415 if(hycapi_applications[appl_id-1].listen_req[ctrl->cnr-1]) in hycapi_send_message()
417 kfree_skb(hycapi_applications[appl_id-1].listen_req[ctrl->cnr-1]); in hycapi_send_message()
418 hycapi_applications[appl_id-1].listen_req[ctrl->cnr-1] = NULL; in hycapi_send_message()
420 if (!(hycapi_applications[appl_id-1].listen_req[ctrl->cnr-1] = skb_copy(skb, GFP_ATOMIC))) in hycapi_send_message()