Lines Matching refs:rem_bda
43 static BOOLEAN l2c_ucd_connect ( BD_ADDR rem_bda );
54 static void l2c_ucd_discover_cback (BD_ADDR rem_bda, UINT8 info_type, UINT32 data) in l2c_ucd_discover_cback() argument
69 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback()
77 p_rcb->ucd.cb_info.pL2CA_UCD_Discover_Cb (rem_bda, info_type, data); in l2c_ucd_discover_cback()
93 static void l2c_ucd_data_ind_cback (BD_ADDR rem_bda, BT_HDR *p_buf) in l2c_ucd_data_ind_cback() argument
114 p_rcb->ucd.cb_info.pL2CA_UCD_Data_Cb(rem_bda, p_buf); in l2c_ucd_data_ind_cback()
127 static void l2c_ucd_congestion_status_cback (BD_ADDR rem_bda, BOOLEAN is_congested) in l2c_ucd_congestion_status_cback() argument
143 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in l2c_ucd_congestion_status_cback()
144 (rem_bda[4]<<8)+rem_bda[5]); in l2c_ucd_congestion_status_cback()
146 p_rcb->ucd.cb_info.pL2CA_UCD_Congestion_Status_Cb ( rem_bda, is_congested ); in l2c_ucd_congestion_status_cback()
329 BOOLEAN L2CA_UcdDiscover ( UINT16 psm, BD_ADDR rem_bda, UINT8 info_type ) in L2CA_UcdDiscover() argument
336 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UcdDiscover()
337 (rem_bda[4]<<8)+rem_bda[5], info_type); in L2CA_UcdDiscover()
349 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDiscover()
352 if ( l2c_ucd_connect (rem_bda) == FALSE ) in L2CA_UcdDiscover()
395 UINT16 L2CA_UcdDataWrite (UINT16 psm, BD_ADDR rem_bda, BT_HDR *p_buf, UINT16 flags) in L2CA_UcdDataWrite() argument
403 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UcdDataWrite()
404 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_UcdDataWrite()
417 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDataWrite()
420 if ( l2c_ucd_connect (rem_bda) == FALSE ) in L2CA_UcdDataWrite()
427 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdDataWrite()
486 BOOLEAN L2CA_UcdSetIdleTimeout ( BD_ADDR rem_bda, UINT16 timeout ) in L2CA_UcdSetIdleTimeout() argument
492 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UcdSetIdleTimeout()
493 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_UcdSetIdleTimeout()
497 if (((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UcdSetIdleTimeout()
519 BOOLEAN L2CA_UCDSetTxPriority ( BD_ADDR rem_bda, tL2CAP_CHNL_PRIORITY priority ) in L2CA_UCDSetTxPriority() argument
525 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in L2CA_UCDSetTxPriority()
526 (rem_bda[4]<<8)+rem_bda[5]); in L2CA_UCDSetTxPriority()
528 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in L2CA_UCDSetTxPriority()
558 static BOOLEAN l2c_ucd_connect ( BD_ADDR rem_bda ) in l2c_ucd_connect() argument
565 (rem_bda[0]<<24)+(rem_bda[1]<<16)+(rem_bda[2]<<8)+rem_bda[3], in l2c_ucd_connect()
566 (rem_bda[4]<<8)+rem_bda[5]); in l2c_ucd_connect()
576 if ((p_lcb = l2cu_find_lcb_by_bd_addr (rem_bda, BT_TRANSPORT_BR_EDR)) == NULL) in l2c_ucd_connect()
579 if ( ((p_lcb = l2cu_allocate_lcb (rem_bda, FALSE, BT_TRANSPORT_BR_EDR)) == NULL) in l2c_ucd_connect()