Home
last modified time | relevance | path

Searched refs:num_cmd (Results 1 – 3 of 3) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcommon.cpp204 if (info->num_cmd < info->alloc_cmd) { in wifi_register_cmd()
205 info->cmd[info->num_cmd].id = id; in wifi_register_cmd()
206 info->cmd[info->num_cmd].cmd = cmd; in wifi_register_cmd()
207 ALOGV("Successfully added command %d: %p at %d", id, cmd, info->num_cmd); in wifi_register_cmd()
208 info->num_cmd++; in wifi_register_cmd()
212 id, cmd, info->num_cmd, info->alloc_cmd); in wifi_register_cmd()
226 for (int i = 0; i < info->num_cmd; i++) { in wifi_unregister_cmd()
229 memmove(&info->cmd[i], &info->cmd[i+1], (info->num_cmd - i - 1) * sizeof(cmd_info)); in wifi_unregister_cmd()
230 info->num_cmd--; in wifi_unregister_cmd()
249 for (int i = 0; i < info->num_cmd; i++) { in wifi_get_cmd()
[all …]
Dwifi_hal.cpp444 halInfo->num_cmd = 0; in wifi_pre_initialize()
665 ALOGI("Check bad commands: num_cmd:%d bad_commands:%d", info->num_cmd, bad_commands); in wifi_cleanup()
666 while (info->num_cmd > bad_commands) { in wifi_cleanup()
667 int num_cmd = info->num_cmd; in wifi_cleanup() local
675 if (num_cmd == info->num_cmd) { in wifi_cleanup()
Dcommon.h325 int num_cmd; // number of commands member