Lines Matching full:p_cb
68 typedef void (*tBTA_HH_ACTION)(tBTA_HH_DEV_CB* p_cb, tBTA_HH_DATA* p_data);
230 void bta_hh_sm_execute(tBTA_HH_DEV_CB* p_cb, uint16_t event,
244 if (!p_cb) {
318 in_state = p_cb->state;
324 if ((p_cb->state == BTA_HH_NULL_ST) || (p_cb->state >= BTA_HH_INVALID_ST)) {
327 p_cb->state, event);
330 state_table = bta_hh_st_tbl[p_cb->state - 1];
334 p_cb->state = state_table[event][BTA_HH_NEXT_STATE];
338 (*bta_hh_action[action])(p_cb, p_data);
342 if (in_state != p_cb->state) {
345 bta_hh_state_code(p_cb->state),
365 tBTA_HH_DEV_CB* p_cb = NULL;
399 * treat this as a NULL p_cb. Hence we
412 if (index != BTA_HH_IDX_INVALID) p_cb = &bta_hh_cb.kdev[index];
418 bta_hh_sm_execute(p_cb, p_msg->event, (tBTA_HH_DATA*)p_msg);