Home
last modified time | relevance | path

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

/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/msm8996/libbt-vendor/src/
Dbt_vendor_qcom.c83 static char *rfkill_state = NULL; variable
383 for(i=0;(rfkill_id == -1) && (rfkill_state == NULL);i++) in bt_powerup()
402 asprintf(&rfkill_state, "/sys/class/rfkill/rfkill%d/state", rfkill_id = i); in bt_powerup()
408 if (rfkill_state != NULL) in bt_powerup()
410 if ((fd = open(rfkill_state, O_RDWR)) < 0) in bt_powerup()
412 ALOGE("open(%s) for write failed: %s (%d)",rfkill_state, strerror(errno), errno); in bt_powerup()
457 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()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/include/
Dbt_vendor_qcom.h84 char *rfkill_state; member
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dbt_vendor_qcom.c416 for(i = 0; (q->rfkill_id == -1) && (q->rfkill_state == NULL); i++) in bt_powerup()
435 asprintf(&q->rfkill_state, "/sys/class/rfkill/rfkill%d/state", q->rfkill_id = i); in bt_powerup()
441 if (q->rfkill_state != NULL) in bt_powerup()
443 if ((fd = open(q->rfkill_state, O_RDWR)) < 0) in bt_powerup()
445 ALOGE("open(%s) for write failed: %s (%d)", q->rfkill_state, strerror(errno), errno); in bt_powerup()
520 ALOGE("write(%s) failed: %s (%d)", q->rfkill_state, strerror(errno), errno); in bt_powerup()
/hardware/qcom/bt/msm8998/libbt-vendor/src/
Dbt_vendor_qcom.c406 for(i = 0; (q.rfkill_id == -1) && (q.rfkill_state == NULL); i++) in bt_powerup()
425 asprintf(&q.rfkill_state, "/sys/class/rfkill/rfkill%d/state", q.rfkill_id = i); in bt_powerup()
431 if (q.rfkill_state != NULL) in bt_powerup()
433 if ((fd = open(q.rfkill_state, O_RDWR)) < 0) in bt_powerup()
435 ALOGE("open(%s) for write failed: %s (%d)", q.rfkill_state, strerror(errno), errno); in bt_powerup()
504 ALOGE("write(%s) failed: %s (%d)", q.rfkill_state, strerror(errno), errno); in bt_powerup()