• Home
  • Raw
  • Download

Lines Matching refs:xx

65     UINT8 xx;  in bta_hh_find_cb()  local
68 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_find_cb()
71 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb()
75 APPL_TRACE_DEBUG2("found kdev_cb[%d] hid_handle = %d ", xx, in bta_hh_find_cb()
76 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
78 return xx; in bta_hh_find_cb()
83 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb()
84 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
85 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
90 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_find_cb()
92 if (!bta_hh_cb.kdev[xx].in_use) in bta_hh_find_cb()
94 bdcpy(bta_hh_cb.kdev[xx].addr, bda); in bta_hh_find_cb()
101 xx, BTA_HH_MAX_DEVICE); in bta_hh_find_cb()
104 if (xx == BTA_HH_MAX_DEVICE) in bta_hh_find_cb()
105 xx = BTA_HH_IDX_INVALID; in bta_hh_find_cb()
107 return xx; in bta_hh_find_cb()
221 UINT8 xx; in bta_hh_tod_spt() local
224 for (xx = 0 ; xx < p_bta_hh_cfg->max_devt_spt; xx ++) in bta_hh_tod_spt()
226 if (cod == (UINT8) p_bta_hh_cfg->p_devt_list[xx].tod) in bta_hh_tod_spt()
228 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
258 UINT16 xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local
280 for (xx = 0; xx < BTA_HH_MOD_MAX_KEY; xx ++ ) in bta_hh_parse_keybd_rpt()
282 if (ctl_shift & bta_hh_mod_key_mask[xx]) in bta_hh_parse_keybd_rpt()
284 APPL_TRACE_DEBUG1("Mod Key[%02x] pressed", bta_hh_mod_key_mask[xx] ); in bta_hh_parse_keybd_rpt()
285 p_kb->mod_key[xx] = TRUE; in bta_hh_parse_keybd_rpt()
287 else if (p_kb->mod_key[xx]) in bta_hh_parse_keybd_rpt()
289 p_kb->mod_key[xx] = FALSE; in bta_hh_parse_keybd_rpt()
292 p_data->mod_key[xx] = p_kb->mod_key[xx]; in bta_hh_parse_keybd_rpt()
298 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
302 if (this_report[xx] == p_kb->last_report[yy]) in bta_hh_parse_keybd_rpt()
304 this_report[xx] = 0; in bta_hh_parse_keybd_rpt()
311 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
314 APPL_TRACE_DEBUG1("this_char = %02x", this_report[xx]); in bta_hh_parse_keybd_rpt()
316 if ((this_char = this_report[xx]) == 0) in bta_hh_parse_keybd_rpt()
319 if (this_report[xx] == BTA_HH_KB_CAPS_LOCK) in bta_hh_parse_keybd_rpt()
321 else if (this_report[xx] == BTA_HH_KB_NUM_LOCK) in bta_hh_parse_keybd_rpt()
327 APPL_TRACE_DEBUG1("found keycode %02x ", this_report[xx]); in bta_hh_parse_keybd_rpt()
353 UINT8 xx; in bta_hh_parse_mice_rpt() local
366 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_mice_rpt()
368 APPL_TRACE_DEBUG1("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt()
459 UINT8 xx; in bta_hh_cleanup_disable() local
461 for(xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) in bta_hh_cleanup_disable()
463 utl_freebuf((void **)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
505 UINT8 xx; in bta_hh_trace_dev_db() local
509 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_trace_dev_db()
511 APPL_TRACE_DEBUG3("kdev[%d] in_use[%d] handle[%d] ",xx, in bta_hh_trace_dev_db()
512 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
515 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
516 bta_hh_cb.kdev[xx].sub_class, bta_hh_cb.kdev[xx].index); in bta_hh_trace_dev_db()