Searched refs:halCmd (Results 1 – 2 of 2) sorted by relevance
366 int halCmd(uint8_t cmd, char *arg) in halCmd() function561 return halCmd(NANOHUB_HAL_EXT_APPS_ON, argv[2]); in main()568 return halCmd(NANOHUB_HAL_EXT_APPS_OFF, argv[2]); in main()575 return halCmd(NANOHUB_HAL_EXT_APP_DELETE, argv[2]); in main()
1239 const struct NanohubHalLegacyCommand *halCmd = nanohubHalLegacyFindCommand(halData[0]); in handleLegacyHalCmd() local1240 if (halCmd) in handleLegacyHalCmd()1241 halCmd->handler((void *)&halData[1], size - 1); in handleLegacyHalCmd()1254 const struct NanohubHalCommand *halCmd; in onEvtAppFromHostChre() local1263 halCmd = nanohubHalFindCommand(halData[0]); in onEvtAppFromHostChre()1264 if (halCmd) { in onEvtAppFromHostChre()1265 if (len >= halCmd->minDataLen && len <= halCmd->maxDataLen) in onEvtAppFromHostChre()1266 halCmd->handler((void *)&halData[1], len, transactionId); in onEvtAppFromHostChre()