Searched refs:rfkill_state (Results 1 – 5 of 5) sorted by relevance
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 70 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/ |
D | bt_vendor_qcom.c | 79 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/msm8996/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 83 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/msm8998/libbt-vendor/include/ |
D | bt_vendor_qcom.h | 84 char *rfkill_state; member
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 416 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() 514 ALOGE("write(%s) failed: %s (%d)", q->rfkill_state, strerror(errno), errno); in bt_powerup()
|