Home
last modified time | relevance | path

Searched refs:nState (Results 1 – 13 of 13) sorted by relevance

/hardware/qcom/bt/msm8960/libbt-vendor/src/
Dbt_vendor_qcom.c37 extern int hw_config(int nState);
100 int nState = -1; in op() local
108 nState = *(int *) param; in op()
109 retval = hw_config(nState); in op()
110 if(nState == BT_VND_PWR_ON in op()
Dhardware.c47 int hw_config(int nState) in hw_config() argument
53 if(nState == BT_VND_PWR_OFF) in hw_config()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhardware.c45 int hw_config(int nState) in hw_config() argument
51 if(nState == BT_VND_PWR_OFF) in hw_config()
58 if(nState == BT_VND_PWR_ON ) { in hw_config()
66 } else if(nState == BT_VND_PWR_ON && !(strncmp(szBtSocStatus, "on", strlen("on")))) { in hw_config()
68 ALOGW("Hw_config: nState = %d", nState); in hw_config()
Dbt_vendor_qcom.c60 extern int hw_config(int nState);
636 int nState = -1; in op() local
655 nState = *(int *) param; in op()
657 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in op()
667 retval = hw_config(nState); in op()
668 if(nState == BT_VND_PWR_ON in op()
680 retval = bt_powerup(nState); in op()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhardware.c47 int hw_config(int nState) in hw_config() argument
53 if(nState == BT_VND_PWR_OFF) in hw_config()
60 if(nState == BT_VND_PWR_ON ) { in hw_config()
70 ALOGW("Hw_config: nState = %d", nState); in hw_config()
Dbt_vendor_qcom.c64 extern int hw_config(int nState);
655 int nState = -1; in op() local
675 nState = *(int *) param; in op()
677 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in op()
687 retval = hw_config(nState); in op()
688 if(nState == BT_VND_PWR_ON in op()
701 … if(nState == BT_VND_PWR_ON && property_get_bool("wc_transport.vnd_power", 0)) { in op()
704 retval = bt_powerup(nState); in op()
706 … property_set("wc_transport.vnd_power", nState == BT_VND_PWR_ON ? "1" : "0"); in op()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dhardware.c47 int hw_config(int nState) in hw_config() argument
53 if(nState == BT_VND_PWR_OFF) in hw_config()
60 if(nState == BT_VND_PWR_ON ) { in hw_config()
70 ALOGW("Hw_config: nState = %d", nState); in hw_config()
Dbt_vendor_qcom.c65 extern int hw_config(int nState);
716 int nState = -1; in op() local
752 nState = *(int *) param; in op()
754 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in op()
764 retval = hw_config(nState); in op()
765 if(nState == BT_VND_PWR_ON in op()
779 retval = bt_powerup(nState); in op()
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhardware.c46 int hw_config(int nState) in hw_config() argument
52 if(nState == BT_VND_PWR_OFF) in hw_config()
59 if(nState == BT_VND_PWR_ON ) { in hw_config()
69 ALOGW("Hw_config: nState = %d", nState); in hw_config()
Dbt_vendor_qcom.c65 extern int hw_config(int nState);
748 int nState = -1; in __op() local
784 nState = *(int *) param; in __op()
786 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in __op()
796 retval = hw_config(nState); in __op()
797 if(nState == BT_VND_PWR_ON in __op()
811 if (nState == BT_VND_PWR_ON) in __op()
820 retval = bt_powerup(nState); in __op()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhardware.c45 int hw_config(int nState) in hw_config() argument
51 if(nState == BT_VND_PWR_OFF) in hw_config()
58 if(nState == BT_VND_PWR_ON ) { in hw_config()
68 ALOGW("Hw_config: nState = %d", nState); in hw_config()
Dbt_vendor_qcom.c61 extern int hw_config(int nState);
744 int nState = -1; in __op() local
780 nState = *(int *) param; in __op()
782 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in __op()
792 retval = hw_config(nState); in __op()
793 if(nState == BT_VND_PWR_ON in __op()
807 if (nState == BT_VND_PWR_ON) in __op()
816 retval = bt_powerup(nState); in __op()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c51 extern int hw_config(int nState);
623 int nState = -1; in op() local
642 nState = *(int *) param; in op()
644 (nState == BT_VND_PWR_ON)? "On" : "Off" ); in op()
654 retval = hw_config(nState); in op()
655 if(nState == BT_VND_PWR_ON in op()
667 … if(nState == BT_VND_PWR_ON && property_get_bool("wc_transport.vnd_power", 0)) { in op()
670 retval = bt_powerup(nState); in op()
672 … property_set("wc_transport.vnd_power", nState == BT_VND_PWR_ON ? "1" : "0"); in op()