• Home
  • Raw
  • Download

Lines Matching refs:p_buf

62     tBTA_HL_API_ENABLE *p_buf =  in BTA_HlEnable()  local
68 p_buf->hdr.event = BTA_HL_API_ENABLE_EVT; in BTA_HlEnable()
69 p_buf->p_cback = p_ctrl_cback; in BTA_HlEnable()
71 bta_sys_sendmsg(p_buf); in BTA_HlEnable()
85 BT_HDR *p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR)); in BTA_HlDisable() local
88 p_buf->event = BTA_HL_API_DISABLE_EVT; in BTA_HlDisable()
90 bta_sys_sendmsg(p_buf); in BTA_HlDisable()
110 tBTA_HL_API_UPDATE *p_buf = in BTA_HlUpdate() local
115 p_buf->hdr.event = BTA_HL_API_UPDATE_EVT; in BTA_HlUpdate()
116 p_buf->app_id = app_id; in BTA_HlUpdate()
117 p_buf->is_register = is_register; in BTA_HlUpdate()
120 p_buf->sec_mask = (p_reg_param->sec_mask | BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in BTA_HlUpdate()
121 p_buf->p_cback = p_cback; in BTA_HlUpdate()
123 strlcpy(p_buf->srv_name, p_reg_param->p_srv_name, BTA_SERVICE_NAME_LEN); in BTA_HlUpdate()
125 p_buf->srv_name[0] = 0; in BTA_HlUpdate()
128 strlcpy(p_buf->srv_desp, p_reg_param->p_srv_desp, BTA_SERVICE_DESP_LEN); in BTA_HlUpdate()
130 p_buf->srv_desp[0] = 0; in BTA_HlUpdate()
133 strlcpy(p_buf->provider_name, p_reg_param->p_provider_name, BTA_PROVIDER_NAME_LEN); in BTA_HlUpdate()
135 p_buf->provider_name[0] = 0; in BTA_HlUpdate()
138 bta_sys_sendmsg(p_buf); in BTA_HlUpdate()
159 tBTA_HL_API_REGISTER *p_buf = in BTA_HlRegister() local
162 p_buf->hdr.event = BTA_HL_API_REGISTER_EVT; in BTA_HlRegister()
163 p_buf->app_id = app_id; in BTA_HlRegister()
164 p_buf->sec_mask = (p_reg_param->sec_mask | BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in BTA_HlRegister()
165 p_buf->p_cback = p_cback; in BTA_HlRegister()
168 strlcpy(p_buf->srv_name, p_reg_param->p_srv_name, BTA_SERVICE_NAME_LEN); in BTA_HlRegister()
170 p_buf->srv_name[0] = 0; in BTA_HlRegister()
173 strlcpy(p_buf->srv_desp, p_reg_param->p_srv_desp, BTA_SERVICE_DESP_LEN); in BTA_HlRegister()
175 p_buf->srv_desp[0] = 0; in BTA_HlRegister()
178 strlcpy(p_buf->provider_name, p_reg_param->p_provider_name, BTA_PROVIDER_NAME_LEN); in BTA_HlRegister()
180 p_buf->provider_name[0] = 0; in BTA_HlRegister()
182 bta_sys_sendmsg(p_buf); in BTA_HlRegister()
198 tBTA_HL_API_DEREGISTER *p_buf = in BTA_HlDeregister() local
201 p_buf->hdr.event = BTA_HL_API_DEREGISTER_EVT; in BTA_HlDeregister()
202 p_buf->app_id = app_id; in BTA_HlDeregister()
203 p_buf->app_handle = app_handle; in BTA_HlDeregister()
205 bta_sys_sendmsg(p_buf); in BTA_HlDeregister()
227 tBTA_HL_API_CCH_OPEN *p_buf = in BTA_HlCchOpen() local
230 p_buf->hdr.event = BTA_HL_API_CCH_OPEN_EVT; in BTA_HlCchOpen()
231 p_buf->app_id = app_id; in BTA_HlCchOpen()
232 p_buf->app_handle = app_handle; in BTA_HlCchOpen()
233 p_buf->sec_mask = (p_open_param->sec_mask | BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in BTA_HlCchOpen()
234 bdcpy(p_buf->bd_addr, p_open_param->bd_addr); in BTA_HlCchOpen()
235 p_buf->ctrl_psm = p_open_param->ctrl_psm; in BTA_HlCchOpen()
237 bta_sys_sendmsg(p_buf); in BTA_HlCchOpen()
254 tBTA_HL_API_CCH_CLOSE *p_buf = in BTA_HlCchClose() local
257 p_buf->hdr.event = BTA_HL_API_CCH_CLOSE_EVT; in BTA_HlCchClose()
258 p_buf->mcl_handle = mcl_handle; in BTA_HlCchClose()
260 bta_sys_sendmsg(p_buf); in BTA_HlCchClose()
278 tBTA_HL_API_DCH_OPEN *p_buf = in BTA_HlDchOpen() local
281 p_buf->hdr.event = BTA_HL_API_DCH_OPEN_EVT; in BTA_HlDchOpen()
282 p_buf->mcl_handle = mcl_handle; in BTA_HlDchOpen()
283 p_buf->ctrl_psm = p_open_param->ctrl_psm; in BTA_HlDchOpen()
284 p_buf->local_mdep_id = p_open_param->local_mdep_id; in BTA_HlDchOpen()
285 p_buf->peer_mdep_id = p_open_param->peer_mdep_id; in BTA_HlDchOpen()
286 p_buf->local_cfg = p_open_param->local_cfg; in BTA_HlDchOpen()
287 p_buf->sec_mask = (p_open_param->sec_mask | BTA_SEC_AUTHENTICATE | BTA_SEC_ENCRYPT); in BTA_HlDchOpen()
289 bta_sys_sendmsg(p_buf); in BTA_HlDchOpen()
307 tBTA_HL_API_DCH_RECONNECT *p_buf = in BTA_HlDchReconnect() local
310 p_buf->hdr.event = BTA_HL_API_DCH_RECONNECT_EVT; in BTA_HlDchReconnect()
311 p_buf->mcl_handle = mcl_handle; in BTA_HlDchReconnect()
312 p_buf->ctrl_psm = p_recon_param->ctrl_psm; in BTA_HlDchReconnect()
313 p_buf->mdl_id = p_recon_param->mdl_id; in BTA_HlDchReconnect()
315 bta_sys_sendmsg(p_buf); in BTA_HlDchReconnect()
331 tBTA_HL_API_DCH_CLOSE *p_buf = in BTA_HlDchClose() local
334 p_buf->hdr.event = BTA_HL_API_DCH_CLOSE_EVT; in BTA_HlDchClose()
335 p_buf->mdl_handle = mdl_handle; in BTA_HlDchClose()
337 bta_sys_sendmsg(p_buf); in BTA_HlDchClose()
355 tBTA_HL_API_DCH_ABORT *p_buf = in BTA_HlDchAbort() local
358 p_buf->hdr.event = BTA_HL_API_DCH_ABORT_EVT; in BTA_HlDchAbort()
359 p_buf->mcl_handle = mcl_handle; in BTA_HlDchAbort()
361 bta_sys_sendmsg(p_buf); in BTA_HlDchAbort()
379 tBTA_HL_API_SEND_DATA *p_buf = in BTA_HlSendData() local
382 p_buf->hdr.event = BTA_HL_API_SEND_DATA_EVT; in BTA_HlSendData()
383 p_buf->mdl_handle = mdl_handle; in BTA_HlSendData()
384 p_buf->pkt_size = pkt_size; in BTA_HlSendData()
386 bta_sys_sendmsg(p_buf); in BTA_HlSendData()
408 tBTA_HL_API_DELETE_MDL *p_buf = in BTA_HlDeleteMdl() local
411 p_buf->hdr.event = BTA_HL_API_DELETE_MDL_EVT; in BTA_HlDeleteMdl()
412 p_buf->mcl_handle = mcl_handle; in BTA_HlDeleteMdl()
413 p_buf->mdl_id = mdl_id; in BTA_HlDeleteMdl()
415 bta_sys_sendmsg(p_buf); in BTA_HlDeleteMdl()
433 tBTA_HL_API_DCH_ECHO_TEST *p_buf = in BTA_HlDchEchoTest() local
436 p_buf->hdr.event = BTA_HL_API_DCH_ECHO_TEST_EVT; in BTA_HlDchEchoTest()
437 p_buf->mcl_handle = mcl_handle; in BTA_HlDchEchoTest()
438 p_buf->ctrl_psm = p_echo_test_param->ctrl_psm; in BTA_HlDchEchoTest()
439 p_buf->local_cfg = p_echo_test_param->local_cfg; in BTA_HlDchEchoTest()
440 p_buf->pkt_size = p_echo_test_param->pkt_size; in BTA_HlDchEchoTest()
442 bta_sys_sendmsg(p_buf); in BTA_HlDchEchoTest()
460 tBTA_HL_API_SDP_QUERY *p_buf = in BTA_HlSdpQuery() local
463 p_buf->hdr.event = BTA_HL_API_SDP_QUERY_EVT; in BTA_HlSdpQuery()
464 p_buf->app_id = app_id; in BTA_HlSdpQuery()
465 p_buf->app_handle = app_handle; in BTA_HlSdpQuery()
466 bdcpy(p_buf->bd_addr, bd_addr); in BTA_HlSdpQuery()
468 bta_sys_sendmsg(p_buf); in BTA_HlSdpQuery()
490 tBTA_HL_API_DCH_CREATE_RSP *p_buf = in BTA_HlDchCreateRsp() local
493 p_buf->hdr.event = BTA_HL_API_DCH_CREATE_RSP_EVT; in BTA_HlDchCreateRsp()
494 p_buf->mcl_handle = mcl_handle; in BTA_HlDchCreateRsp()
495 p_buf->mdl_id = p_rsp_param->mdl_id; in BTA_HlDchCreateRsp()
496 p_buf->local_mdep_id = p_rsp_param->local_mdep_id; in BTA_HlDchCreateRsp()
497 p_buf->rsp_code = p_rsp_param->rsp_code; in BTA_HlDchCreateRsp()
498 p_buf->cfg_rsp = p_rsp_param->cfg_rsp; in BTA_HlDchCreateRsp()
500 bta_sys_sendmsg(p_buf); in BTA_HlDchCreateRsp()