• Home
  • Raw
  • Download

Lines Matching refs:p_buf

57   tBTA_HL_API_ENABLE* p_buf =  in BTA_HlEnable()  local
63 p_buf->hdr.event = BTA_HL_API_ENABLE_EVT; in BTA_HlEnable()
64 p_buf->p_cback = p_ctrl_cback; in BTA_HlEnable()
66 bta_sys_sendmsg(p_buf); in BTA_HlEnable()
79 BT_HDR* p_buf = (BT_HDR*)osi_malloc(sizeof(BT_HDR)); in BTA_HlDisable() local
82 p_buf->event = BTA_HL_API_DISABLE_EVT; in BTA_HlDisable()
84 bta_sys_sendmsg(p_buf); in BTA_HlDisable()
103 tBTA_HL_API_UPDATE* p_buf = in BTA_HlUpdate() local
108 p_buf->hdr.event = BTA_HL_API_UPDATE_EVT; in BTA_HlUpdate()
109 p_buf->app_id = app_id; in BTA_HlUpdate()
110 p_buf->is_register = is_register; in BTA_HlUpdate()
113 p_buf->sec_mask = in BTA_HlUpdate()
115 p_buf->p_cback = p_cback; in BTA_HlUpdate()
117 strlcpy(p_buf->srv_name, p_reg_param->p_srv_name, BTA_SERVICE_NAME_LEN); in BTA_HlUpdate()
119 p_buf->srv_name[0] = 0; in BTA_HlUpdate()
122 strlcpy(p_buf->srv_desp, p_reg_param->p_srv_desp, BTA_SERVICE_DESP_LEN); in BTA_HlUpdate()
124 p_buf->srv_desp[0] = 0; in BTA_HlUpdate()
127 strlcpy(p_buf->provider_name, p_reg_param->p_provider_name, in BTA_HlUpdate()
130 p_buf->provider_name[0] = 0; in BTA_HlUpdate()
133 bta_sys_sendmsg(p_buf); in BTA_HlUpdate()
152 tBTA_HL_API_REGISTER* p_buf = in BTA_HlRegister() local
155 p_buf->hdr.event = BTA_HL_API_REGISTER_EVT; in BTA_HlRegister()
156 p_buf->app_id = app_id; in BTA_HlRegister()
157 p_buf->sec_mask = in BTA_HlRegister()
159 p_buf->p_cback = p_cback; in BTA_HlRegister()
162 strlcpy(p_buf->srv_name, p_reg_param->p_srv_name, BTA_SERVICE_NAME_LEN); in BTA_HlRegister()
164 p_buf->srv_name[0] = 0; in BTA_HlRegister()
167 strlcpy(p_buf->srv_desp, p_reg_param->p_srv_desp, BTA_SERVICE_DESP_LEN); in BTA_HlRegister()
169 p_buf->srv_desp[0] = 0; in BTA_HlRegister()
172 strlcpy(p_buf->provider_name, p_reg_param->p_provider_name, in BTA_HlRegister()
175 p_buf->provider_name[0] = 0; in BTA_HlRegister()
177 bta_sys_sendmsg(p_buf); in BTA_HlRegister()
192 tBTA_HL_API_DEREGISTER* p_buf = in BTA_HlDeregister() local
195 p_buf->hdr.event = BTA_HL_API_DEREGISTER_EVT; in BTA_HlDeregister()
196 p_buf->app_id = app_id; in BTA_HlDeregister()
197 p_buf->app_handle = app_handle; in BTA_HlDeregister()
199 bta_sys_sendmsg(p_buf); in BTA_HlDeregister()
222 tBTA_HL_API_CCH_OPEN* p_buf = in BTA_HlCchOpen() local
225 p_buf->hdr.event = BTA_HL_API_CCH_OPEN_EVT; in BTA_HlCchOpen()
226 p_buf->app_id = app_id; in BTA_HlCchOpen()
227 p_buf->app_handle = app_handle; in BTA_HlCchOpen()
228 p_buf->sec_mask = in BTA_HlCchOpen()
230 p_buf->bd_addr = p_open_param->bd_addr; in BTA_HlCchOpen()
231 p_buf->ctrl_psm = p_open_param->ctrl_psm; in BTA_HlCchOpen()
233 bta_sys_sendmsg(p_buf); in BTA_HlCchOpen()
249 tBTA_HL_API_CCH_CLOSE* p_buf = in BTA_HlCchClose() local
252 p_buf->hdr.event = BTA_HL_API_CCH_CLOSE_EVT; in BTA_HlCchClose()
253 p_buf->mcl_handle = mcl_handle; in BTA_HlCchClose()
255 bta_sys_sendmsg(p_buf); in BTA_HlCchClose()
273 tBTA_HL_API_DCH_OPEN* p_buf = in BTA_HlDchOpen() local
276 p_buf->hdr.event = BTA_HL_API_DCH_OPEN_EVT; in BTA_HlDchOpen()
277 p_buf->mcl_handle = mcl_handle; in BTA_HlDchOpen()
278 p_buf->ctrl_psm = p_open_param->ctrl_psm; in BTA_HlDchOpen()
279 p_buf->local_mdep_id = p_open_param->local_mdep_id; in BTA_HlDchOpen()
280 p_buf->peer_mdep_id = p_open_param->peer_mdep_id; in BTA_HlDchOpen()
281 p_buf->local_cfg = p_open_param->local_cfg; in BTA_HlDchOpen()
282 p_buf->sec_mask = in BTA_HlDchOpen()
285 bta_sys_sendmsg(p_buf); in BTA_HlDchOpen()
302 tBTA_HL_API_DCH_RECONNECT* p_buf = in BTA_HlDchReconnect() local
305 p_buf->hdr.event = BTA_HL_API_DCH_RECONNECT_EVT; in BTA_HlDchReconnect()
306 p_buf->mcl_handle = mcl_handle; in BTA_HlDchReconnect()
307 p_buf->ctrl_psm = p_recon_param->ctrl_psm; in BTA_HlDchReconnect()
308 p_buf->mdl_id = p_recon_param->mdl_id; in BTA_HlDchReconnect()
310 bta_sys_sendmsg(p_buf); in BTA_HlDchReconnect()
325 tBTA_HL_API_DCH_CLOSE* p_buf = in BTA_HlDchClose() local
328 p_buf->hdr.event = BTA_HL_API_DCH_CLOSE_EVT; in BTA_HlDchClose()
329 p_buf->mdl_handle = mdl_handle; in BTA_HlDchClose()
331 bta_sys_sendmsg(p_buf); in BTA_HlDchClose()
348 tBTA_HL_API_DCH_ABORT* p_buf = in BTA_HlDchAbort() local
351 p_buf->hdr.event = BTA_HL_API_DCH_ABORT_EVT; in BTA_HlDchAbort()
352 p_buf->mcl_handle = mcl_handle; in BTA_HlDchAbort()
354 bta_sys_sendmsg(p_buf); in BTA_HlDchAbort()
370 tBTA_HL_API_SEND_DATA* p_buf = in BTA_HlSendData() local
373 p_buf->hdr.event = BTA_HL_API_SEND_DATA_EVT; in BTA_HlSendData()
374 p_buf->mdl_handle = mdl_handle; in BTA_HlSendData()
375 p_buf->pkt_size = pkt_size; in BTA_HlSendData()
377 bta_sys_sendmsg(p_buf); in BTA_HlSendData()
397 tBTA_HL_API_DELETE_MDL* p_buf = in BTA_HlDeleteMdl() local
400 p_buf->hdr.event = BTA_HL_API_DELETE_MDL_EVT; in BTA_HlDeleteMdl()
401 p_buf->mcl_handle = mcl_handle; in BTA_HlDeleteMdl()
402 p_buf->mdl_id = mdl_id; in BTA_HlDeleteMdl()
404 bta_sys_sendmsg(p_buf); in BTA_HlDeleteMdl()
421 tBTA_HL_API_DCH_ECHO_TEST* p_buf = in BTA_HlDchEchoTest() local
424 p_buf->hdr.event = BTA_HL_API_DCH_ECHO_TEST_EVT; in BTA_HlDchEchoTest()
425 p_buf->mcl_handle = mcl_handle; in BTA_HlDchEchoTest()
426 p_buf->ctrl_psm = p_echo_test_param->ctrl_psm; in BTA_HlDchEchoTest()
427 p_buf->local_cfg = p_echo_test_param->local_cfg; in BTA_HlDchEchoTest()
428 p_buf->pkt_size = p_echo_test_param->pkt_size; in BTA_HlDchEchoTest()
430 bta_sys_sendmsg(p_buf); in BTA_HlDchEchoTest()
447 tBTA_HL_API_SDP_QUERY* p_buf = in BTA_HlSdpQuery() local
450 p_buf->hdr.event = BTA_HL_API_SDP_QUERY_EVT; in BTA_HlSdpQuery()
451 p_buf->app_id = app_id; in BTA_HlSdpQuery()
452 p_buf->app_handle = app_handle; in BTA_HlSdpQuery()
453 p_buf->bd_addr = bd_addr; in BTA_HlSdpQuery()
455 bta_sys_sendmsg(p_buf); in BTA_HlSdpQuery()
476 tBTA_HL_API_DCH_CREATE_RSP* p_buf = (tBTA_HL_API_DCH_CREATE_RSP*)osi_malloc( in BTA_HlDchCreateRsp() local
479 p_buf->hdr.event = BTA_HL_API_DCH_CREATE_RSP_EVT; in BTA_HlDchCreateRsp()
480 p_buf->mcl_handle = mcl_handle; in BTA_HlDchCreateRsp()
481 p_buf->mdl_id = p_rsp_param->mdl_id; in BTA_HlDchCreateRsp()
482 p_buf->local_mdep_id = p_rsp_param->local_mdep_id; in BTA_HlDchCreateRsp()
483 p_buf->rsp_code = p_rsp_param->rsp_code; in BTA_HlDchCreateRsp()
484 p_buf->cfg_rsp = p_rsp_param->cfg_rsp; in BTA_HlDchCreateRsp()
486 bta_sys_sendmsg(p_buf); in BTA_HlDchCreateRsp()