Home
last modified time | relevance | path

Searched refs:xx (Results 1 – 25 of 33) sorted by relevance

12

/device/soc/esp/esp32/components/bt/host/bluedroid/bta/hh/
Dbta_hh_utils.c64 UINT8 xx; in bta_hh_find_cb() local
67 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb()
69 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb()
72 APPL_TRACE_DEBUG("found kdev_cb[%d] hid_handle = %d ", xx, in bta_hh_find_cb()
73 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
75 return xx; in bta_hh_find_cb()
80 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb()
81 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
82 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
88 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx++) { in bta_hh_find_cb()
[all …]
Dbta_hh_act.c72 UINT8 xx; in bta_hh_api_enable() local
88 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) { in bta_hh_api_enable()
89 bta_hh_cb.kdev[xx].state = BTA_HH_IDLE_ST; in bta_hh_api_enable()
90 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
91 bta_hh_cb.kdev[xx].index = xx; in bta_hh_api_enable()
95 for (xx = 0; xx < BTA_HH_MAX_KNOWN; xx ++) { in bta_hh_api_enable()
96 bta_hh_cb.cb_index[xx] = BTA_HH_IDX_INVALID; in bta_hh_api_enable()
122 UINT8 xx; in bta_hh_api_disable() local
135 for (xx = 0; xx < BTA_HH_MAX_DEVICE; xx ++) { in bta_hh_api_disable()
137 if ( bta_hh_cb.kdev[xx].state == BTA_HH_CONN_ST ) { in bta_hh_api_disable()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/
Dsdp_db.c65 UINT16 xx, yy; in sdp_db_service_search() local
88 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in sdp_db_service_search()
104 if (xx == p_rec->num_attributes) { in sdp_db_service_search()
203 UINT16 xx; in sdp_db_find_attr_in_rec() local
206 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec()
207 xx++, p_at++) { in sdp_db_find_attr_in_rec()
231 UINT16 xx, yy, len; in sdp_compose_proto_list() local
240 for (xx = 0; xx < num_elem; xx++, p_elem_list++) { in sdp_compose_proto_list()
408 UINT16 xx, yy; in SDP_AddAttribute() local
446 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in SDP_AddAttribute()
[all …]
Dsdp_utils.c60 UINT16 xx; in sdpu_find_ccb_by_cid() local
64 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_cid()
88 UINT16 xx; in sdpu_find_ccb_by_db() local
93 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_find_ccb_by_db()
116 UINT16 xx; in sdpu_allocate_ccb() local
120 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++) { in sdpu_allocate_ccb()
179 UINT16 xx; in sdpu_build_attrib_seq() local
184 xx = 5; in sdpu_build_attrib_seq()
186 xx = num_attrs * 3; in sdpu_build_attrib_seq()
189 if (xx > 255) { in sdpu_build_attrib_seq()
[all …]
Dsdp_server.c177 UINT16 rsp_param_len, num_rsp_handles, xx; in process_service_search() local
271 for (xx = cont_offset; xx < cont_offset + cur_handles; xx++) { in process_service_search()
272 UINT32_TO_BE_STREAM (p_rsp, rsp_handles[xx]); in process_service_search()
314 UINT16 rsp_param_len, xx; in process_service_attr_req() local
407 for (xx = p_ccb->cont_info.next_attr_index; xx < attr_seq.num_attr; xx++) { in process_service_attr_req()
408 …_attr = sdp_db_find_attr_in_rec (p_rec, attr_seq.attr_entry[xx].start, attr_seq.attr_entry[xx].end… in process_service_attr_req()
416 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req()
444 p_ccb->cont_info.next_attr_index = xx; in process_service_attr_req()
452 if (attr_seq.attr_entry[xx].start != attr_seq.attr_entry[xx].end) { in process_service_attr_req()
454 attr_seq.attr_entry[xx].start = p_attr->id + 1; in process_service_attr_req()
[all …]
Dsdp_discovery.c73 UINT16 xx; in sdpu_build_uuid_seq() local
84 for (xx = 0; xx < num_uuids; xx++, p_uuid_list++) { in sdpu_build_uuid_seq()
98 xx = (UINT16)(p_out - p_len - 1); in sdpu_build_uuid_seq()
99 UINT8_TO_BE_STREAM (p_len, xx); in sdpu_build_uuid_seq()
274 UINT16 xx; in process_service_search_rsp() local
299 for (xx = orig; xx < p_ccb->num_handles; xx++) { in process_service_search_rsp()
300 BE_STREAM_TO_UINT32 (p_ccb->handles[xx], p_reply); in process_service_search_rsp()
Dsdp_api.c69 UINT16 xx; in SDP_InitDiscoveryDb() local
87 for (xx = 0; xx < num_uuid; xx++) { in SDP_InitDiscoveryDb()
88 p_db->uuid_filters[xx] = *p_uuid_list++; in SDP_InitDiscoveryDb()
93 for (xx = 0; xx < num_attr; xx++) { in SDP_InitDiscoveryDb()
94 p_db->attr_filters[xx] = *p_attr_list++; in SDP_InitDiscoveryDb()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/
Dbtm_sco.c313 UINT8 num_handles, xx; in btm_sco_process_num_completed_pkts() local
320 for (xx = 0; xx < num_handles; xx++) { in btm_sco_process_num_completed_pkts()
652 UINT16 xx; in BTM_CreateSco() local
675 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco()
684 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco()
692 for (xx = 0, p = &btm_cb.sco_cb.sco_db[0]; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in BTM_CreateSco()
773 *p_sco_inx = xx; in BTM_CreateSco()
798 UINT16 xx; in btm_sco_chk_pend_unpark() local
802 for (xx = 0; xx < BTM_MAX_SCO_LINKS; xx++, p++) { in btm_sco_chk_pend_unpark()
832 UINT16 xx; in btm_sco_chk_pend_rolechange() local
[all …]
Dbtm_pm.c132 int xx; in BTM_PmRegister() local
143 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) { in BTM_PmRegister()
145 if (btm_cb.pm_reg_db[xx].mask == BTM_PM_REC_NOT_USED) { in BTM_PmRegister()
151 btm_cb.pm_reg_db[xx].cback = p_cb; in BTM_PmRegister()
153 btm_cb.pm_reg_db[xx].mask = mask; in BTM_PmRegister()
154 *p_pm_id = xx; in BTM_PmRegister()
355 int xx; in btm_pm_reset() local
366 for (xx = 0; xx < BTM_MAX_PM_RECORDS; xx++) { in btm_pm_reset()
367 btm_cb.pm_reg_db[xx].mask = BTM_PM_REC_NOT_USED; in btm_pm_reset()
494 int xx, loop_max; in btm_pm_get_set_mode() local
[all …]
Dbtm_inq.c1135 UINT16 xx; in BTM_InqDbFirst() local
1138 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in BTM_InqDbFirst()
1415 UINT16 xx; in btm_clr_inq_db() local
1421 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in btm_clr_inq_db()
1473 UINT16 xx; in btm_inq_find_bdaddr() local
1480 for (xx = 0; xx < p_inq->num_bd_entries; xx++, p_db++) { in btm_inq_find_bdaddr()
1487 if (xx < p_inq->max_bd_entries) { in btm_inq_find_bdaddr()
1509 UINT16 xx; in btm_inq_db_find() local
1512 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in btm_inq_db_find()
1535 UINT16 xx; in btm_inq_db_new() local
[all …]
Dbtm_dev.c432 UINT8 xx; in btm_dev_support_switch() local
449 for (xx = 0 ; xx < BD_FEATURES_LEN ; xx++) { in btm_dev_support_switch()
450 if (p_dev_rec->features[HCI_EXT_FEATURES_PAGE_0][xx] != 0x00) { in btm_dev_support_switch()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/
Dl2c_utils.c1246 int xx; in l2cu_send_peer_info_rsp() local
1248 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) in l2cu_send_peer_info_rsp()
1249 if (l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb != NULL) { in l2cu_send_peer_info_rsp()
1250 … p[(xx + L2CAP_FIRST_FIXED_CHNL) / 8] |= 1 << ((xx + L2CAP_FIRST_FIXED_CHNL) % 8); in l2cu_send_peer_info_rsp()
1781 UINT16 xx; in l2cu_allocate_rcb() local
1783 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_allocate_rcb()
1812 UINT16 xx; in l2cu_allocate_ble_rcb() local
1814 for (xx = 0; xx < BLE_MAX_L2CAP_CLIENTS; xx++, p_rcb++) in l2cu_allocate_ble_rcb()
1890 UINT16 xx; in l2cu_find_rcb_by_psm() local
1892 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2cu_find_rcb_by_psm()
[all …]
Dl2c_ucd.c53 UINT16 xx; in l2c_ucd_discover_cback() local
57 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_discover_cback()
119 UINT16 xx; in l2c_ucd_congestion_status_cback() local
123 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_congestion_status_cback()
262 UINT16 xx; in L2CA_UcdDeregister() local
276 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in L2CA_UcdDeregister()
625 UINT16 xx; in l2c_ucd_check_pending_info_req() local
633 for (xx = 0; xx < MAX_L2CAP_CLIENTS; xx++, p_rcb++) { in l2c_ucd_check_pending_info_req()
Dl2c_link.c440 int xx; in l2c_link_hci_disc_comp() local
441 for (xx = 0; xx < L2CAP_NUM_FIXED_CHNLS; xx++) { in l2c_link_hci_disc_comp()
442 … if (p_lcb->p_fixed_ccbs[xx] && p_lcb->p_fixed_ccbs[xx] != p_lcb->p_pending_ccb) { in l2c_link_hci_disc_comp()
444 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
447 (*l2cb.fixed_reg[xx].pL2CA_FixedConn_Cb)(xx + L2CAP_FIRST_FIXED_CHNL, in l2c_link_hci_disc_comp()
450 l2cu_release_ccb (p_lcb->p_fixed_ccbs[xx]); in l2c_link_hci_disc_comp()
452 p_lcb->p_fixed_ccbs[xx] = NULL; in l2c_link_hci_disc_comp()
1351 UINT8 num_handles, xx; in l2c_link_process_num_completed_pkts() local
1358 for (xx = 0; xx < num_handles; xx++) { in l2c_link_process_num_completed_pkts()
Dl2c_fcr.c880 UINT8 req_seq, num_bufs_acked, xx; in process_reqseq() local
923 for (xx = 0; xx < num_bufs_acked; xx++) { in process_reqseq()
2135 UINT8 xx; in l2c_fcr_collect_ack_delay() local
2158 for (const list_node_t *node = list_begin(list), xx = 0; in l2c_fcr_collect_ack_delay() local
2159 (node != list_end(list)) && (xx < num_bufs_acked); in l2c_fcr_collect_ack_delay()
2160 node = list_next(node), xx++) { in l2c_fcr_collect_ack_delay()
2165 if ( xx == num_bufs_acked - 1 ) { in l2c_fcr_collect_ack_delay()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
Dgap_conn.c721 UINT16 xx; in gap_connect_ind() local
726 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_connect_ind()
735 if (xx == GAP_MAX_CONNECTIONS) { in gap_connect_ind()
1062 UINT16 xx; in gap_find_ccb_by_cid() local
1066 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_find_ccb_by_cid()
1116 UINT16 xx; in gap_allocate_ccb() local
1120 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_allocate_ccb()
1126 p_ccb->gap_handle = xx; in gap_allocate_ccb()
1149 UINT16 xx; in gap_release_ccb() local
1171 for (xx = 0, p_ccb = gap_cb.conn.ccb_pool; xx < GAP_MAX_CONNECTIONS; xx++, p_ccb++) { in gap_release_ccb()
/device/soc/esp/esp32/components/bt/host/bluedroid/btc/profile/std/hid/
Dhidh_conn.c90 int xx; in hidh_conn_reg() local
111 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) { in hidh_conn_reg()
112 hh_cb.devices[xx].in_use = 0 ; in hidh_conn_reg()
113 hh_cb.devices[xx].conn.conn_state = HID_CONN_STATE_UNUSED; in hidh_conn_reg()
996 UINT8 xx; in find_conn_by_cid() local
998 for (xx = 0; xx < HID_HOST_MAX_DEVICES; xx++) { in find_conn_by_cid()
999 … if ((hh_cb.devices[xx].in_use) && (hh_cb.devices[xx].conn.conn_state != HID_CONN_STATE_UNUSED) in find_conn_by_cid()
1000 … && ((hh_cb.devices[xx].conn.ctrl_cid == cid) || (hh_cb.devices[xx].conn.intr_cid == cid))) { in find_conn_by_cid()
1005 return (xx); in find_conn_by_cid()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/
Dhalmac.mk20 series := 88xx
25 series := 88xx
30 series := 88xx
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/rfcomm/
Dport_api.c515 UINT8 xx, yy; in PORT_IsOpening() local
521 for (xx = 0; xx < MAX_BD_CONNECTIONS; xx++) { in PORT_IsOpening()
522 if ((rfc_cb.port.rfc_mcb[xx].state > RFC_MX_STATE_IDLE) && in PORT_IsOpening()
523 (rfc_cb.port.rfc_mcb[xx].state < RFC_MX_STATE_CONNECTED)) { in PORT_IsOpening()
524 memcpy (bd_addr, rfc_cb.port.rfc_mcb[xx].bd_addr, BD_ADDR_LEN); in PORT_IsOpening()
528 if (rfc_cb.port.rfc_mcb[xx].state == RFC_MX_STATE_CONNECTED) { in PORT_IsOpening()
530 p_mcb = &rfc_cb.port.rfc_mcb[xx]; in PORT_IsOpening()
543 memcpy (bd_addr, rfc_cb.port.rfc_mcb[xx].bd_addr, BD_ADDR_LEN); in PORT_IsOpening()
Dport_utils.c67 UINT8 xx, yy; in port_allocate_port() local
69 for (xx = 0, yy = rfc_cb.rfc.last_port + 1; xx < MAX_RFC_PORTS; xx++, yy++) { in port_allocate_port()
Drfc_ts_frames.c514 UINT16 xx; in rfc_send_test() local
529 for (xx = 0; xx < p_buf->len; xx++) { in rfc_send_test()
/device/board/isoftstone/yangfan/common/seetafaceengine/opencv2/3rdparty/carotene/src/
Dblur.cpp471 size_t xx = x%cn; in blur3x3() local
476 nextx[xx] = borderValue; in blur3x3()
479 nextx[xx] = srow2[x-cn] + srow1[x-cn] + srow0[x-cn]; in blur3x3()
481 nextx[xx] = srow2[x] + srow1[x] + srow0[x]; in blur3x3()
484 nextx[xx] = srow2[x+cn] + srow1[x+cn] + srow0[x+cn]; in blur3x3()
486 *(drow+x) = internal::saturate_cast<u8>((prevx[xx] + rowx[xx] + nextx[xx])*(1/9.)); in blur3x3()
487 prevx[xx] = rowx[xx]; in blur3x3()
488 rowx[xx] = nextx[xx]; in blur3x3()
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/dm/
Dbta_dm_api.c820 UINT8 xx, yy; in BTA_GetEirService() local
827 for ( xx = 0; xx < num_uuid; xx++ ) { in BTA_GetEirService()
830 if ( *(p_uuid16 + xx) == bta_service_id_to_uuid_lkup_tbl[yy] ) { in BTA_GetEirService()
838 if (*(p_uuid16 + xx) == UUID_SERVCLASS_HEADSET_HS) { in BTA_GetEirService()
842 if (*(p_uuid16 + xx) == UUID_SERVCLASS_HDP_SOURCE) { in BTA_GetEirService()
846 if (*(p_uuid16 + xx) == UUID_SERVCLASS_HDP_SINK) { in BTA_GetEirService()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_utils.c1209 UINT8 xx; in gatt_parse_uuid_from_cmd() local
1224 for (xx = 0; xx < LEN_UUID_128 - 4; xx++) { in gatt_parse_uuid_from_cmd()
1225 if (p_uuid[xx] != base_uuid[xx]) { in gatt_parse_uuid_from_cmd()
/device/soc/winnermicro/wm800/board/include/arch/xt804/csi_dsp/
Dcsky_math.h270 #define ADD2(x, xx, y, yy, z, zz, r, s) do { \ argument
272 (((((x)-(r))+(y))+(yy))+(xx)) : \
273 (((((y)-(r))+(x))+(xx))+(yy)); \
284 #define SUB2(x, xx, y, yy, z, zz, r, s) do { \ argument
286 (((((x)-(r))-(y))-(yy))+(xx)) : \
287 ((((x)-((y)+(r)))+(xx))-(yy)); \
298 #define MUL2(x, xx, y, yy, z, zz, p, hx, tx, hy, ty, q, c, cc) do { \ argument
300 (cc)=((x)*(yy)+(xx)*(y))+(cc); \

12