Searched refs:elem_idx (Results 1 – 2 of 2) sorted by relevance
1102 u32 elem_idx; in k3_dmaring_fwd_pop() local1112 elem_idx = ring->state.windex - ring->state.occ; in k3_dmaring_fwd_pop()1114 elem_idx = ring->size - (ring->state.occ - ring->state.windex); in k3_dmaring_fwd_pop()1116 elem_ptr = k3_ringacc_get_elm_addr(ring, elem_idx); in k3_dmaring_fwd_pop()1124 __func__, ring->state.occ, ring->state.windex, elem_idx, in k3_dmaring_fwd_pop()
6258 u32 elem_idx; in btf_struct_walk() local6305 elem_idx = (off - moff) / msize; in btf_struct_walk()6306 moff += elem_idx * msize; in btf_struct_walk()