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()
231 UINT8 xx; in bta_hh_tod_spt() local
234 for (xx = 0 ; xx < p_bta_hh_cfg->max_devt_spt; xx ++) in bta_hh_tod_spt()
236 if (cod == (UINT8) p_bta_hh_cfg->p_devt_list[xx].tod) in bta_hh_tod_spt()
238 p_cb->app_id = p_bta_hh_cfg->p_devt_list[xx].app_id; in bta_hh_tod_spt()
268 UINT16 xx, yy, key_idx = 0; in bta_hh_parse_keybd_rpt() local
290 for (xx = 0; xx < BTA_HH_MOD_MAX_KEY; xx ++ ) in bta_hh_parse_keybd_rpt()
292 if (ctl_shift & bta_hh_mod_key_mask[xx]) in bta_hh_parse_keybd_rpt()
294 APPL_TRACE_DEBUG("Mod Key[%02x] pressed", bta_hh_mod_key_mask[xx] ); in bta_hh_parse_keybd_rpt()
295 p_kb->mod_key[xx] = TRUE; in bta_hh_parse_keybd_rpt()
297 else if (p_kb->mod_key[xx]) in bta_hh_parse_keybd_rpt()
299 p_kb->mod_key[xx] = FALSE; in bta_hh_parse_keybd_rpt()
302 p_data->mod_key[xx] = p_kb->mod_key[xx]; in bta_hh_parse_keybd_rpt()
308 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
312 if (this_report[xx] == p_kb->last_report[yy]) in bta_hh_parse_keybd_rpt()
314 this_report[xx] = 0; in bta_hh_parse_keybd_rpt()
321 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_keybd_rpt()
324 APPL_TRACE_DEBUG("this_char = %02x", this_report[xx]); in bta_hh_parse_keybd_rpt()
326 if ((this_char = this_report[xx]) == 0) in bta_hh_parse_keybd_rpt()
329 if (this_report[xx] == BTA_HH_KB_CAPS_LOCK) in bta_hh_parse_keybd_rpt()
331 else if (this_report[xx] == BTA_HH_KB_NUM_LOCK) in bta_hh_parse_keybd_rpt()
337 APPL_TRACE_DEBUG("found keycode %02x ", this_report[xx]); in bta_hh_parse_keybd_rpt()
363 UINT8 xx; in bta_hh_parse_mice_rpt() local
376 for (xx = 0; xx < report_len; xx++) in bta_hh_parse_mice_rpt()
378 APPL_TRACE_DEBUG("this_char = %02x", p_report[xx]); in bta_hh_parse_mice_rpt()
466 UINT8 xx; in bta_hh_cleanup_disable() local
468 for(xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) in bta_hh_cleanup_disable()
470 utl_freebuf((void **)&bta_hh_cb.kdev[xx].dscp_info.descriptor.dsc_list); in bta_hh_cleanup_disable()
523 UINT8 xx; in bta_hh_trace_dev_db() local
527 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) in bta_hh_trace_dev_db()
529 APPL_TRACE_DEBUG("kdev[%d] in_use[%d] handle[%d] ",xx, in bta_hh_trace_dev_db()
530 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
533 bta_hh_cb.kdev[xx].attr_mask, bta_hh_cb.kdev[xx].state, in bta_hh_trace_dev_db()
534 bta_hh_cb.kdev[xx].sub_class, bta_hh_cb.kdev[xx].index); in bta_hh_trace_dev_db()