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.c37 int tunnel_dev; member
53 thdl->tunnel_dev = open(TUNNELING_DEVICE, O_RDONLY); in ia_start_tunneling()
54 if (-1 == thdl->tunnel_dev) { in ia_start_tunneling()
69 close(thdl->tunnel_dev); in ia_stop_tunneling()
70 thdl->tunnel_dev = 0; in ia_stop_tunneling()
95 err = ioctl(thdl->tunnel_dev, TUNNEL_SETUP, &tm); in ia_enable_tunneling_source()
122 err = ioctl(thdl->tunnel_dev, TUNNEL_TERMINATE, &tm); in ia_disable_tunneling_source()
148 read_bytes = read(thdl->tunnel_dev, buf, buf_sz); in ia_read_tunnel_data()
170 err = ioctl(thdl->tunnel_dev, TUNNEL_SET_EVENT_THRESHOLD, in ia_set_tunnel_out_buf_threshold()