Searched refs:elem (Results 1 – 3 of 3) sorted by relevance
23 struct backup_data *elem = NULL; in caam_pwr_add_backup() local44 elem = SLIST_FIRST(&data_list); in caam_pwr_add_backup()45 if (elem) { in caam_pwr_add_backup()46 while (SLIST_NEXT(elem, next)) in caam_pwr_add_backup()47 elem = SLIST_NEXT(elem, next); in caam_pwr_add_backup()65 reg = elem->regs; in do_save_regs()70 elem->val[validx] = in do_save_regs()79 elem->val[validx]); in do_save_regs()95 reg = elem->regs; in do_restore_regs()103 elem->val[validx]); in do_restore_regs()[all …]
67 } elem[8]; member185 next_begin = (ring_buffer.begin + 1) % ARRAY_SIZE(ring_buffer.elem); in push_ring_buffer()189 ring_buffer.elem[next_begin].snum = snum; in push_ring_buffer()190 ring_buffer.elem[next_begin].pnum = pnum; in push_ring_buffer()191 ring_buffer.elem[next_begin].dlen = dl; in push_ring_buffer()192 memcpy(ring_buffer.elem[next_begin].data, data, dl); in push_ring_buffer()209 next_end = (ring_buffer.end + 1) % ARRAY_SIZE(ring_buffer.elem); in pop_ring_buffer()211 *snum = ring_buffer.elem[ring_buffer.end].snum; in pop_ring_buffer()212 *pnum = ring_buffer.elem[ring_buffer.end].pnum; in pop_ring_buffer()214 assert(ring_buffer.elem[ring_buffer.end].dlen == dlen); in pop_ring_buffer()[all …]
113 #define SCATTERED_ARRAY_FOREACH(elem, array_name, element_type) \ argument114 for ((elem) = SCATTERED_ARRAY_BEGIN(array_name, element_type); \115 (elem) < SCATTERED_ARRAY_END(array_name, element_type); (elem)++)
Completed in 6 milliseconds