Home
last modified time | relevance | path

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

/hardware/knowles/athletico/sound_trigger_hal/
Dtunnel.c38 int tunnel_dev; member
54 thdl->tunnel_dev = open(TUNNELING_DEVICE, O_RDONLY); in ia_start_tunneling()
55 if (-1 == thdl->tunnel_dev) { in ia_start_tunneling()
70 close(thdl->tunnel_dev); in ia_stop_tunneling()
71 thdl->tunnel_dev = 0; in ia_stop_tunneling()
96 err = ioctl(thdl->tunnel_dev, TUNNEL_SETUP, &tm); in ia_enable_tunneling_source()
123 err = ioctl(thdl->tunnel_dev, TUNNEL_TERMINATE, &tm); in ia_disable_tunneling_source()
149 read_bytes = read(thdl->tunnel_dev, buf, buf_sz); in ia_read_tunnel_data()
171 err = ioctl(thdl->tunnel_dev, TUNNEL_SET_EVENT_THRESHOLD, in ia_set_tunnel_out_buf_threshold()