Lines Matching refs:bt_vendor_cbacks
573 retval = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_BD_ADDR, p_buf, \ in hw_config_set_bdaddr()
601 retval = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_BDADDR, p_buf, \ in hw_config_read_bdaddr()
636 if ((status == 0) && bt_vendor_cbacks) in hw_config_cback()
637 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_cback()
665 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_READ_LOCAL_NAME, \ in hw_config_cback()
716 is_proceeding = bt_vendor_cbacks->xmit_cb( \ in hw_config_cback()
754 is_proceeding = bt_vendor_cbacks->xmit_cb(opcode, \ in hw_config_cback()
786 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_config_cback); in hw_config_cback()
800 is_proceeding = bt_vendor_cbacks->xmit_cb( \ in hw_config_cback()
819 is_proceeding = bt_vendor_cbacks->xmit_cb(HCI_VSC_UPDATE_BAUDRATE, \ in hw_config_cback()
840 bt_vendor_cbacks->dealloc(p_buf); in hw_config_cback()
841 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in hw_config_cback()
874 bt_vendor_cbacks->dealloc(p_buf); in hw_config_cback()
875 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_SUCCESS); in hw_config_cback()
892 if (bt_vendor_cbacks) in hw_config_cback()
893 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_config_cback()
898 if (bt_vendor_cbacks) in hw_config_cback()
901 bt_vendor_cbacks->dealloc(p_buf); in hw_config_cback()
903 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_FAIL); in hw_config_cback()
939 if (bt_vendor_cbacks) in hw_lpm_ctrl_cback()
941 bt_vendor_cbacks->lpm_cb(status); in hw_lpm_ctrl_cback()
942 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_lpm_ctrl_cback()
978 if (bt_vendor_cbacks) in hw_sco_i2spcm_cfg_cback()
979 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_sco_i2spcm_cfg_cback()
989 if (bt_vendor_cbacks) in hw_sco_i2spcm_cfg_cback()
990 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback()
1007 if ((ret = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_SCO_PCM_INT_PARAM, p_buf, in hw_sco_i2spcm_cfg_cback()
1010 bt_vendor_cbacks->dealloc(p_buf); in hw_sco_i2spcm_cfg_cback()
1023 if (bt_vendor_cbacks) in hw_sco_i2spcm_cfg_cback()
1024 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_sco_i2spcm_cfg_cback()
1043 if ((ret = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_PCM_DATA_FORMAT_PARAM, in hw_sco_i2spcm_cfg_cback()
1046 bt_vendor_cbacks->dealloc(p_buf); in hw_sco_i2spcm_cfg_cback()
1056 if (bt_vendor_cbacks) in hw_sco_i2spcm_cfg_cback()
1058 bt_vendor_cbacks->audio_state_cb(status); in hw_sco_i2spcm_cfg_cback()
1121 if (bt_vendor_cbacks) in hw_config_start()
1123 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_config_start()
1140 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_config_cback); in hw_config_start()
1144 if (bt_vendor_cbacks) in hw_config_start()
1147 bt_vendor_cbacks->fwcfg_cb(BT_VND_OP_RESULT_FAIL); in hw_config_start()
1167 if (bt_vendor_cbacks) in hw_lpm_enable()
1168 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_lpm_enable()
1194 if ((ret = bt_vendor_cbacks->xmit_cb(HCI_VSC_WRITE_SLEEP_MODE, p_buf, \ in hw_lpm_enable()
1197 bt_vendor_cbacks->dealloc(p_buf); in hw_lpm_enable()
1201 if ((ret == FALSE) && bt_vendor_cbacks) in hw_lpm_enable()
1202 bt_vendor_cbacks->lpm_cb(BT_VND_OP_RESULT_FAIL); in hw_lpm_enable()
1305 if (bt_vendor_cbacks) in hw_sco_config()
1307 bt_vendor_cbacks->scocfg_cb(BT_VND_OP_RESULT_SUCCESS); in hw_sco_config()
1316 if (bt_vendor_cbacks) in hw_sco_i2spcm_config_from_command()
1317 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_sco_i2spcm_config_from_command()
1321 else if (bt_vendor_cbacks) in hw_sco_i2spcm_config_from_command()
1322 bt_vendor_cbacks->audio_state_cb(BT_VND_OP_RESULT_FAIL); in hw_sco_i2spcm_config_from_command()
1341 if (bt_vendor_cbacks) in hw_sco_i2spcm_config()
1342 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + cmd_u16); in hw_sco_i2spcm_config()
1377 if ((ret = bt_vendor_cbacks->xmit_cb(cmd_u16, p_buf, hw_sco_i2spcm_cfg_cback)) == FALSE) in hw_sco_i2spcm_config()
1379 bt_vendor_cbacks->dealloc(p_buf); in hw_sco_i2spcm_config()
1385 bt_vendor_cbacks->audio_state_cb(BT_VND_OP_RESULT_FAIL); in hw_sco_i2spcm_config()
1409 if (bt_vendor_cbacks) in hw_set_SCO_codec()
1410 p_buf = (HC_BT_HDR *)bt_vendor_cbacks->alloc( in hw_set_SCO_codec()
1450 if ((ret = bt_vendor_cbacks->xmit_cb(HCI_VSC_ENABLE_WBS, p_buf, p_set_SCO_codec_cback))\ in hw_set_SCO_codec()
1453 bt_vendor_cbacks->dealloc(p_buf); in hw_set_SCO_codec()
1480 if (!bt_vendor_cbacks) in hw_set_audio_state()
1575 if (bt_vendor_cbacks) in hw_epilog_cback()
1578 bt_vendor_cbacks->dealloc(p_evt_buf); in hw_epilog_cback()
1582 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_SUCCESS); in hw_epilog_cback()
1603 if (bt_vendor_cbacks) in hw_epilog_process()
1606 p_buf = (HC_BT_HDR *) bt_vendor_cbacks->alloc(BT_HC_HDR_SIZE + \ in hw_epilog_process()
1622 bt_vendor_cbacks->xmit_cb(HCI_RESET, p_buf, hw_epilog_cback); in hw_epilog_process()
1626 if (bt_vendor_cbacks) in hw_epilog_process()
1629 bt_vendor_cbacks->epilog_cb(BT_VND_OP_RESULT_FAIL); in hw_epilog_process()