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