Lines Matching refs:btpan_cb
88 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle, in bta_pan_co_open()
92 btpan_cb.open_count++; in bta_pan_co_open()
95 if (btpan_cb.tap_fd < 0) { in bta_pan_co_open()
96 btpan_cb.tap_fd = btpan_tap_open(); in bta_pan_co_open()
97 if (btpan_cb.tap_fd >= 0) create_tap_read_thread(btpan_cb.tap_fd); in bta_pan_co_open()
99 if (btpan_cb.tap_fd >= 0) { in bta_pan_co_open()
100 btpan_cb.flow = 1; in bta_pan_co_open()
128 btpan_cb.open_count--; in bta_pan_co_close()
130 if (btpan_cb.open_count == 0 && btpan_cb.tap_fd != -1) { in bta_pan_co_close()
131 btpan_tap_close(btpan_cb.tap_fd); in bta_pan_co_close()
132 btpan_cb.tap_fd = -1; in bta_pan_co_close()
187 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, in bta_pan_co_tx_path()