Lines Matching refs:chan_id
287 const uint chan_id = get_chan_id_from_chan_num(get_chan_num((uint16_t)dev)); in backchannel_sync_send() local
290 printk("Sending sync to %u\n", chan_id); in backchannel_sync_send()
291 bs_bc_send_msg(chan_id, sync_msg, ARRAY_SIZE(sync_msg)); in backchannel_sync_send()
307 const uint chan_id = get_chan_id_from_chan_num(get_chan_num((uint16_t)dev)); in backchannel_sync_wait() local
309 printk("Waiting for sync to %u\n", chan_id); in backchannel_sync_wait()
312 if (bs_bc_is_msg_received(chan_id) > 0) { in backchannel_sync_wait()
315 bs_bc_receive_msg(chan_id, sync_msg, ARRAY_SIZE(sync_msg)); in backchannel_sync_wait()
342 const uint chan_id = in backchannel_sync_wait_any() local
345 if (bs_bc_is_msg_received(chan_id) > 0) { in backchannel_sync_wait_any()
348 bs_bc_receive_msg(chan_id, sync_msg, ARRAY_SIZE(sync_msg)); in backchannel_sync_wait_any()
362 const uint chan_id = get_chan_id_from_chan_num(get_chan_num((uint16_t)dev)); in backchannel_sync_clear() local
364 while (bs_bc_is_msg_received(chan_id)) { in backchannel_sync_clear()
367 bs_bc_receive_msg(chan_id, sync_msg, ARRAY_SIZE(sync_msg)); in backchannel_sync_clear()