• 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_DEBUG("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()
228 UINT8 xx; in bta_hh_tod_spt() local
231 for (xx = 0 ; xx < p_bta_hh_cfg->max_devt_spt; xx ++) in bta_hh_tod_spt()
233 if (cod == (UINT8) p_bta_hh_cfg->p_devt_list[xx].tod) in bta_hh_tod_spt()
235 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
265 UINT16 xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local
287 for (xx = 0; xx < BTA_HH_MOD_MAX_KEY; xx ++ ) in bta_hh_parse_keybd_rpt()
289 if (ctl_shift & bta_hh_mod_key_mask[xx]) in bta_hh_parse_keybd_rpt()
291 APPL_TRACE_DEBUG("Mod Key[%02x] pressed", bta_hh_mod_key_mask[xx] ); in bta_hh_parse_keybd_rpt()
292 p_kb->mod_key[xx] = TRUE; in bta_hh_parse_keybd_rpt()
294 else if (p_kb->mod_key[xx]) in bta_hh_parse_keybd_rpt()
296 p_kb->mod_key[xx] = FALSE; in bta_hh_parse_keybd_rpt()
299 p_data->mod_key[xx] = p_kb->mod_key[xx]; in bta_hh_parse_keybd_rpt()
305 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
309 if (this_report[xx] == p_kb->last_report[yy]) in bta_hh_parse_keybd_rpt()
311 this_report[xx] = 0; in bta_hh_parse_keybd_rpt()
318 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
321 APPL_TRACE_DEBUG("this_char = %02x", this_report[xx]); in bta_hh_parse_keybd_rpt()
323 if ((this_char = this_report[xx]) == 0) in bta_hh_parse_keybd_rpt()
326 if (this_report[xx] == BTA_HH_KB_CAPS_LOCK) in bta_hh_parse_keybd_rpt()
328 else if (this_report[xx] == BTA_HH_KB_NUM_LOCK) in bta_hh_parse_keybd_rpt()
334 APPL_TRACE_DEBUG("found keycode %02x ", this_report[xx]); in bta_hh_parse_keybd_rpt()
360 UINT8 xx; in bta_hh_parse_mice_rpt() local
373 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_mice_rpt()
375 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt()
463 UINT8 xx; in bta_hh_cleanup_disable() local
465 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) { in bta_hh_cleanup_disable()
466 osi_free_and_reset((void **)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
519 UINT8 xx; in bta_hh_trace_dev_db() local
523 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_trace_dev_db()
525 APPL_TRACE_DEBUG("kdev[%d] in_use[%d] handle[%d] ",xx, in bta_hh_trace_dev_db()
526 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
529 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
530 bta_hh_cb.kdev[xx].sub_class, bta_hh_cb.kdev[xx].index); in bta_hh_trace_dev_db()