Home
last modified time | relevance | path

Searched refs:rfkill_state (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c70 static char *rfkill_state = NULL; variable
354 for(i=0;(rfkill_id == -1) && (rfkill_state == NULL);i++) in bt_powerup()
373 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); in bt_powerup()
379 if (rfkill_state != NULL) in bt_powerup()
381 if ((fd = open(rfkill_state, O_RDWR)) < 0) in bt_powerup()
383 ALOGE("open(%s) for write failed: %s (%d)",rfkill_state, strerror(errno), errno); in bt_powerup()
427 ALOGE("write(%s) failed: %s (%d)",rfkill_state, strerror(errno),errno); in bt_powerup()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dbt_vendor_qcom.c70 static char *rfkill_state = NULL; variable
354 for(i=0;(rfkill_id == -1) && (rfkill_state == NULL);i++) in bt_powerup()
373 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); in bt_powerup()
379 if (rfkill_state != NULL) in bt_powerup()
381 if ((fd = open(rfkill_state, O_RDWR)) < 0) in bt_powerup()
383 ALOGE("open(%s) for write failed: %s (%d)",rfkill_state, strerror(errno), errno); in bt_powerup()
427 ALOGE("write(%s) failed: %s (%d)",rfkill_state, strerror(errno),errno); in bt_powerup()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dbt_vendor_qcom.c79 static char *rfkill_state = NULL; variable
367 for(i=0;(rfkill_id == -1) && (rfkill_state == NULL);i++) in bt_powerup()
386 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); in bt_powerup()
392 if (rfkill_state != NULL) in bt_powerup()
394 if ((fd = open(rfkill_state, O_RDWR)) < 0) in bt_powerup()
396 ALOGE("open(%s) for write failed: %s (%d)",rfkill_state, strerror(errno), errno); in bt_powerup()
440 ALOGE("write(%s) failed: %s (%d)",rfkill_state, strerror(errno),errno); in bt_powerup()