Lines Matching refs:slot
86 unsigned int slot; in mhu2_isr() local
91 slot = __builtin_ctz(channel_ctx->recv_channel->STAT); in mhu2_isr()
96 if (channel_ctx->bound_slots & (1 << slot)) { in mhu2_isr()
97 bound_channel = &channel_ctx->bound_channels_table[slot]; in mhu2_isr()
102 channel_ctx->recv_channel->STAT_CLEAR = 1 << slot; in mhu2_isr()
112 unsigned int slot; in raise_interrupt() local
117 slot = fwk_id_get_sub_element_idx(slot_id); in raise_interrupt()
125 channel_ctx->send_channel->STAT_SET |= (1 << slot); in raise_interrupt()
362 unsigned int slot; in mhu2_bind() local
367 for (slot = 0; slot < MHU_SLOT_COUNT_MAX; slot++) { in mhu2_bind()
369 if (!(channel_ctx->bound_slots & (UINT32_C(1) << slot))) in mhu2_bind()
372 bound_channel = &channel_ctx->bound_channels_table[slot]; in mhu2_bind()
398 unsigned int slot; in mhu2_process_bind_request() local
412 slot = fwk_id_get_sub_element_idx(target_id); in mhu2_process_bind_request()
413 if (channel_ctx->bound_slots & (1 << slot)) { in mhu2_process_bind_request()
419 channel_ctx->bound_channels_table[slot].id = source_id; in mhu2_process_bind_request()
420 channel_ctx->bound_slots |= 1 << slot; in mhu2_process_bind_request()