Home
last modified time | relevance | path

Searched refs:halCmd (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c366 int halCmd(uint8_t cmd, char *arg) in halCmd() function
561 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()
/device/google/contexthub/firmware/os/core/
DhostIntf.c1239 const struct NanohubHalLegacyCommand *halCmd = nanohubHalLegacyFindCommand(halData[0]); in handleLegacyHalCmd() local
1240 if (halCmd) in handleLegacyHalCmd()
1241 halCmd->handler((void *)&halData[1], size - 1); in handleLegacyHalCmd()
1254 const struct NanohubHalCommand *halCmd; in onEvtAppFromHostChre() local
1263 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()