Searched refs:ctrl_no (Results 1 – 1 of 1) sorted by relevance
45 static inline int _hycapi_appCheck(int app_id, int ctrl_no) in _hycapi_appCheck() argument47 if((ctrl_no <= 0) || (ctrl_no > CAPI_MAXCONTR) || (app_id <= 0) || in _hycapi_appCheck()50 printk(KERN_ERR "HYCAPI: Invalid request app_id %d for controller %d", app_id, ctrl_no); in _hycapi_appCheck()53 return ((hycapi_applications[app_id-1].ctrl_mask & (1 << (ctrl_no-1))) != 0); in _hycapi_appCheck()