Home | History | Annotate | Download | only in hh

Lines Matching defs:p_cb

77 typedef void (*tBTA_HH_ACTION)(tBTA_HH_DEV_CB *p_cb, tBTA_HH_DATA *p_data);
275 void bta_hh_sm_execute(tBTA_HH_DEV_CB *p_cb, UINT16 event, tBTA_HH_DATA * p_data)
289 if (!p_cb)
377 in_state = p_cb->state;
383 if ((p_cb->state == BTA_HH_NULL_ST) || (p_cb->state >= BTA_HH_INVALID_ST))
386 p_cb->state,event);
389 state_table = bta_hh_st_tbl[p_cb->state - 1];
393 p_cb->state = state_table[event][BTA_HH_NEXT_STATE] ;
397 (*bta_hh_action[action])(p_cb, p_data);
401 if (in_state != p_cb->state)
405 bta_hh_state_code(p_cb->state),
426 tBTA_HH_DEV_CB *p_cb = NULL;
463 * So if REMOVE_DEVICE is called and in_use is FALSE then we should treat this as a NULL p_cb. Hence we
481 p_cb = &bta_hh_cb.kdev[index];
486 bta_hh_sm_execute(p_cb, p_msg->event, (tBTA_HH_DATA *) p_msg);