Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/bcm2079x/adaptation/
Duserial_linux.c182 int sock_power_control; member
596 linux_cb.sock_power_control = -1; in USERIAL_Init()
1062 linux_cb.sock_power_control = linux_cb.sock; in USERIAL_Open()
1065 … if ((linux_cb.sock_power_control = open((char*)power_control_dev, O_RDWR | O_NOCTTY )) == -1) in USERIAL_Open()
1521 if (linux_cb.sock_power_control > 0) in userial_close_thread()
1523 result = ioctl(linux_cb.sock_power_control, BCMNFC_WAKE_CTL, sleep_state()); in userial_close_thread()
1526 result = ioctl(linux_cb.sock_power_control, BCMNFC_POWER_CTL, 0); in userial_close_thread()
1534 if (linux_cb.sock_power_control > 0 && linux_cb.sock_power_control != linux_cb.sock) in userial_close_thread()
1535 result = close(linux_cb.sock_power_control); in userial_close_thread()
1539 linux_cb.sock_power_control = -1; in userial_close_thread()
[all …]