• Home
  • Raw
  • Download

Lines Matching refs:p_msg

220 BOOLEAN bta_sys_sm_execute(BT_HDR *p_msg)  in bta_sys_sm_execute()  argument
227 APPL_TRACE_EVENT("bta_sys_sm_execute state:%d, event:0x%x", bta_sys_cb.state, p_msg->event); in bta_sys_sm_execute()
232 bta_sys_cb.state = state_table[p_msg->event & 0x00ff][BTA_SYS_NEXT_STATE]; in bta_sys_sm_execute()
237 if ((action = state_table[p_msg->event & 0x00ff][i]) != BTA_SYS_IGNORE) in bta_sys_sm_execute()
239 (*bta_sys_action[action])( (tBTA_SYS_HW_MSG*) p_msg); in bta_sys_sm_execute()
361 tBTA_SYS_HW_MSG *p_msg; in bta_sys_hw_api_enable() local
362 if ((p_msg = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL) in bta_sys_hw_api_enable()
364 p_msg->hdr.event = BTA_SYS_EVT_ENABLED_EVT; in bta_sys_hw_api_enable()
365 p_msg->hw_module = p_sys_hw_msg->hw_module; in bta_sys_hw_api_enable()
367 bta_sys_sendmsg(p_msg); in bta_sys_hw_api_enable()
420 tBTA_SYS_HW_MSG *p_msg; in bta_sys_hw_api_disable() local
421 if ((p_msg = (tBTA_SYS_HW_MSG *) GKI_getbuf(sizeof(tBTA_SYS_HW_MSG))) != NULL) in bta_sys_hw_api_disable()
423 p_msg->hdr.event = BTA_SYS_EVT_DISABLED_EVT; in bta_sys_hw_api_disable()
424 p_msg->hw_module = p_sys_hw_msg->hw_module; in bta_sys_hw_api_disable()
426 bta_sys_sendmsg(p_msg); in bta_sys_hw_api_disable()
510 void bta_sys_event(BT_HDR *p_msg) in bta_sys_event() argument
515 APPL_TRACE_EVENT("BTA got event 0x%x", p_msg->event); in bta_sys_event()
518 id = (UINT8) (p_msg->event >> 8); in bta_sys_event()
523 freebuf = (*bta_sys_cb.reg[id]->evt_hdlr)(p_msg); in bta_sys_event()
532 GKI_freebuf(p_msg); in bta_sys_event()
598 void bta_sys_sendmsg(void *p_msg) in bta_sys_sendmsg() argument
605 fixed_queue_enqueue(btu_bta_msg_queue, p_msg); in bta_sys_sendmsg()