Searched refs:nState (Results 1 - 10 of 10) sorted by relevance

/hardware/qcom/bt/msm8960/libbt-vendor/src/
H A Dbt_vendor_qcom.c37 extern int hw_config(int nState);
100 int nState = -1; local
108 nState = *(int *) param;
109 retval = hw_config(nState);
110 if(nState == BT_VND_PWR_ON
H A Dhardware.c47 int hw_config(int nState) argument
53 if(nState == BT_VND_PWR_OFF)
/hardware/qcom/bt/msm8909/libbt-vendor/src/
H A Dhardware.c45 int hw_config(int nState) argument
51 if(nState == BT_VND_PWR_OFF)
58 if(nState == BT_VND_PWR_ON ) {
66 } else if(nState == BT_VND_PWR_ON && !(strncmp(szBtSocStatus, "on", strlen("on")))) {
68 ALOGW("Hw_config: nState = %d", nState);
H A Dbt_vendor_qcom.c60 extern int hw_config(int nState);
636 int nState = -1; local
655 nState = *(int *) param;
657 (nState == BT_VND_PWR_ON)? "On" : "Off" );
667 retval = hw_config(nState);
668 if(nState == BT_VND_PWR_ON
680 retval = bt_powerup(nState);
/hardware/qcom/bt/msm8996/libbt-vendor/src/
H A Dhardware.c46 int hw_config(int nState) argument
52 if(nState == BT_VND_PWR_OFF)
59 if(nState == BT_VND_PWR_ON ) {
69 ALOGW("Hw_config: nState = %d", nState);
H A Dbt_vendor_qcom.c64 extern int hw_config(int nState);
655 int nState = -1; local
675 nState = *(int *) param;
677 (nState == BT_VND_PWR_ON)? "On" : "Off" );
687 retval = hw_config(nState);
688 if(nState == BT_VND_PWR_ON
701 if(nState == BT_VND_PWR_ON && property_get_bool("wc_transport.vnd_power", 0)) {
704 retval = bt_powerup(nState);
706 property_set("wc_transport.vnd_power", nState == BT_VND_PWR_ON ? "1" : "0");
/hardware/qcom/bt/msm8998/libbt-vendor/src/
H A Dhardware.c45 int hw_config(int nState) argument
51 if(nState == BT_VND_PWR_OFF)
58 if(nState == BT_VND_PWR_ON ) {
68 ALOGW("Hw_config: nState = %d", nState);
H A Dbt_vendor_qcom.c61 extern int hw_config(int nState);
738 int nState = -1; local
774 nState = *(int *) param;
776 (nState == BT_VND_PWR_ON)? "On" : "Off" );
786 retval = hw_config(nState);
787 if(nState == BT_VND_PWR_ON
800 retval = bt_powerup(nState);
/hardware/qcom/bt/msm8992/libbt-vendor/src/
H A Dhardware.c46 int hw_config(int nState) argument
52 if(nState == BT_VND_PWR_OFF)
H A Dbt_vendor_qcom.c51 extern int hw_config(int nState);
623 int nState = -1; local
642 nState = *(int *) param;
644 (nState == BT_VND_PWR_ON)? "On" : "Off" );
654 retval = hw_config(nState);
655 if(nState == BT_VND_PWR_ON
667 if(nState == BT_VND_PWR_ON && property_get_bool("wc_transport.vnd_power", 0)) {
670 retval = bt_powerup(nState);
672 property_set("wc_transport.vnd_power", nState == BT_VND_PWR_ON ? "1" : "0");

Completed in 480 milliseconds