Searched refs:fd_btpower (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 374 int fd = 0, size, i, ret, fd_ldo, fd_btpower; in bt_powerup() local 485 fd_btpower = open(BT_PWR_CNTRL_DEVICE, O_RDWR, O_NONBLOCK); in bt_powerup() 486 if (fd_btpower < 0) { in bt_powerup() 494 ret = ioctl(fd_btpower, BT_CMD_PWR_CTRL, (unsigned long)en); in bt_powerup() 498 close(fd_btpower); in bt_powerup()
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 384 int fd = 0, size, i, ret, fd_ldo, fd_btpower; in bt_powerup() local 501 fd_btpower = open(BT_PWR_CNTRL_DEVICE, O_RDWR, O_NONBLOCK); in bt_powerup() 502 if (fd_btpower < 0) { in bt_powerup() 510 ret = ioctl(fd_btpower, BT_CMD_PWR_CTRL, (unsigned long)en); in bt_powerup() 514 close(fd_btpower); in bt_powerup()
|