Lines Matching refs:cmd
60 uint16_t cmd; member
109 static char *cmd_to_str(uint16_t cmd) in cmd_to_str() argument
111 switch (cmd) { in cmd_to_str()
141 static HC_BT_HDR *build_cmd_buf(uint16_t cmd, uint8_t pl_len, uint8_t *payload) in build_cmd_buf() argument
162 UINT16_TO_STREAM(p, cmd); in build_cmd_buf()
182 STREAM_TO_UINT16(evt_params->cmd, p); in parse_evt_buf()
200 switch (evt_params.cmd) { in hw_mrvl_config_start_cb()
209 evt_params.cmd); in hw_mrvl_config_start_cb()
221 uint16_t cmd; in hw_mrvl_sco_config_cb() local
231 switch (evt_params.cmd) { in hw_mrvl_sco_config_cb()
234 cmd = HCI_CMD_MARVELL_WRITE_PCM_SYNC_SETTINGS; in hw_mrvl_sco_config_cb()
235 p_buf = build_cmd_buf(cmd, in hw_mrvl_sco_config_cb()
242 cmd = HCI_CMD_MARVELL_WRITE_PCM_LINK_SETTINGS; in hw_mrvl_sco_config_cb()
243 p_buf = build_cmd_buf(cmd, in hw_mrvl_sco_config_cb()
250 cmd = HCI_CMD_MARVELL_SET_SCO_DATA_PATH; in hw_mrvl_sco_config_cb()
251 p_buf = build_cmd_buf(cmd, in hw_mrvl_sco_config_cb()
264 evt_params.cmd); in hw_mrvl_sco_config_cb()
270 ALOGI("Sending hci command 0x%04hX (%s)", cmd, cmd_to_str(cmd)); in hw_mrvl_sco_config_cb()
271 if (vnd_cb->xmit_cb(cmd, p_buf, hw_mrvl_sco_config_cb)) in hw_mrvl_sco_config_cb()
288 uint16_t cmd; in hw_mrvl_config_start() local
299 cmd = HCI_CMD_MARVELL_WRITE_BD_ADDRESS; in hw_mrvl_config_start()
300 p_buf = build_cmd_buf(cmd, in hw_mrvl_config_start()
305 ALOGI("Sending hci command 0x%04hX (%s)", cmd, cmd_to_str(cmd)); in hw_mrvl_config_start()
306 if (vnd_cb->xmit_cb(cmd, p_buf, hw_mrvl_config_start_cb)) in hw_mrvl_config_start()
320 uint16_t cmd; in hw_mrvl_sco_config() local
326 cmd = HCI_CMD_MARVELL_WRITE_PCM_SETTINGS; in hw_mrvl_sco_config()
327 p_buf = build_cmd_buf(cmd, in hw_mrvl_sco_config()
332 ALOGI("Sending hci command 0x%04hX (%s)", cmd, cmd_to_str(cmd)); in hw_mrvl_sco_config()
333 if (vnd_cb->xmit_cb(cmd, p_buf, hw_mrvl_sco_config_cb)) in hw_mrvl_sco_config()