Lines Matching refs:conn_count
19 static uint8_t volatile conn_count; variable
87 conn_count++; in connected()
88 if (conn_count < conn_count_max) { in connected()
94 printk("Connected (%u): %s\n", conn_count, addr); in connected()
105 if ((conn_count == 1U) && is_disconnecting) { in disconnected()
109 conn_count--; in disconnected()
291 uint8_t prev_count = conn_count; in init_peripheral()
295 if (conn_count == conn_count_max) { in init_peripheral()
330 if (prev_count != conn_count) { in init_peripheral()
331 prev_count = conn_count; in init_peripheral()
341 while ((prev_count == conn_count) && wait) { in init_peripheral()
343 prev_count, conn_count, wait); in init_peripheral()