Searched refs:item_idx (Results 1 – 3 of 3) sorted by relevance
349 int item_idx = ctxld->ctx_size[curr_ctx][ctx_id]; in dcss_ctxld_write_irqsafe() local351 if (item_idx + 1 > dcss_ctxld_ctx_size[ctx_id]) { in dcss_ctxld_write_irqsafe()356 ctx[ctx_id][item_idx].val = val; in dcss_ctxld_write_irqsafe()357 ctx[ctx_id][item_idx].ofs = reg_ofs; in dcss_ctxld_write_irqsafe()
4851 u32 item_idx; in sli_resource_alloc() local4877 item_idx = *index % size; in sli_resource_alloc()4879 *rid = sli4->ext[rtype].base[ext_idx] + item_idx; in sli_resource_alloc()
2788 static int get_vref_idx(unsigned int vref_caps, unsigned int item_idx) in get_vref_idx() argument2794 if (n == item_idx) in get_vref_idx()