Lines Matching refs:lbl
123 UINT8 lbl; member
405 btif_rc_cb.rc_vol_label=p_transaction->lbl; in handle_rc_features()
1413 __FUNCTION__,p_transaction->lbl); in set_volume()
1414 BTA_AvMetaCmd(btif_rc_cb.rc_handle,p_transaction->lbl, AVRC_CMD_CTRL, p_msg); in set_volume()
1449 static void register_volumechange (UINT8 lbl) in register_volumechange() argument
1458 BTIF_TRACE_DEBUG("%s called with label:%d",__FUNCTION__,lbl); in register_volumechange()
1468 p_transaction=get_transaction_by_lbl(lbl); in register_volumechange()
1471 BTA_AvMetaCmd(btif_rc_cb.rc_handle,p_transaction->lbl, AVRC_CMD_NOTIF, p_msg); in register_volumechange()
1478 BTIF_TRACE_ERROR("%s transaction not obtained with label: %d",__FUNCTION__,lbl); in register_volumechange()
1599 BTA_AvRemoteCmd(btif_rc_cb.rc_handle, p_transaction->lbl, in send_passthrough_cmd()
1681 static void initialize_transaction(int lbl) in initialize_transaction() argument
1684 if(lbl < MAX_TRANSACTIONS_PER_SESSION) in initialize_transaction()
1686 device.transaction[lbl].lbl = lbl; in initialize_transaction()
1687 device.transaction[lbl].in_use=FALSE; in initialize_transaction()
1688 device.transaction[lbl].handle=0; in initialize_transaction()
1736 rc_transaction_t *get_transaction_by_lbl(UINT8 lbl) in get_transaction_by_lbl() argument
1742 if (lbl < MAX_TRANSACTIONS_PER_SESSION) in get_transaction_by_lbl()
1744 if (FALSE==device.transaction[lbl].in_use) in get_transaction_by_lbl()
1750 transaction = &(device.transaction[lbl]); in get_transaction_by_lbl()
1751 BTIF_TRACE_DEBUG("%s: Got transaction.label: %d",__FUNCTION__,lbl); in get_transaction_by_lbl()
1779 BTIF_TRACE_DEBUG("%s:Got transaction.label: %d",__FUNCTION__,device.transaction[i].lbl); in get_transaction()
1800 void release_transaction(UINT8 lbl) in release_transaction() argument
1802 rc_transaction_t *transaction = get_transaction_by_lbl(lbl); in release_transaction()
1807 BTIF_TRACE_DEBUG("%s: lbl: %d", __FUNCTION__, lbl); in release_transaction()
1808 initialize_transaction(lbl); in release_transaction()